[gnome-build-meta/abderrahim/tarballs: 3/5] sdk/krb5.bst: update and fix build




commit dcf69b7fc74bd0ff491aa73b1e70e0cc1c391a3a
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Fri Feb 5 10:55:46 2021 +0100

    sdk/krb5.bst: update and fix build
    
    Also reformat since I'm touching it

 elements/sdk/krb5.bst | 53 +++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 23 deletions(-)
---
diff --git a/elements/sdk/krb5.bst b/elements/sdk/krb5.bst
index d49a8f8f..93acd720 100644
--- a/elements/sdk/krb5.bst
+++ b/elements/sdk/krb5.bst
@@ -1,12 +1,41 @@
 kind: autotools
 
+sources:
+- kind: tar
+  url: https://kerberos.org/dist/krb5/1.19/krb5-1.19.tar.gz
+- kind: local
+  path: files/krb5
+  directory: krb5-config
+
 build-depends:
 - freedesktop-sdk.bst:components/bison.bst
 - freedesktop-sdk.bst:components/perl.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
 depends:
 - freedesktop-sdk.bst:components/e2fsprogs.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  command-subdir: src
+
+  # krb5 configure script doesnt like --disable-Werror
+  conf-global: >-
+    --disable-static
+    --host=%{triplet}
+    --build=%{triplet}
+  conf-local: >-
+    --runstatedir=/run
+    --disable-rpath
+    --with-system-et
+    --with-system-ss
+
+config:
+  install-commands:
+    (>):
+    - mkdir -p %{install-root}%{sysconfdir}
+    - install -m 644 ../krb5-config/krb5.conf %{install-root}%{sysconfdir}/krb5.conf
+
 public:
   bst:
     split-rules:
@@ -26,26 +55,4 @@ public:
         - '%{libdir}/libverto.so'
   cpe:
     product: kerberos
-    version: 5-1.16.1
-
-variables:
-  command-subdir: src
-
-  # krb5 configure script doesnt like --disable-Werror
-  conf-global: |
-    --disable-static --host=%{triplet} --build=%{triplet}
-  conf-local: |
-    --disable-rpath --with-system-et --with-system-ss
-
-config:
-  install-commands:
-    (>):
-    - mkdir -p %{install-root}%{sysconfdir}
-    - install -m 644 ../krb5-config/krb5.conf %{install-root}%{sysconfdir}/krb5.conf
-
-sources:
-- kind: tar
-  url: https://kerberos.org/dist/krb5/1.16/krb5-1.16.2.tar.gz
-- kind: local
-  path: files/krb5
-  directory: krb5-config
+    version: 5-1.19


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]