diff options
Diffstat (limited to 'extra/gnupg2')
-rwxr-xr-x | extra/gnupg2/build | 8 | ||||
-rw-r--r-- | extra/gnupg2/checksums | 4 | ||||
-rw-r--r-- | extra/gnupg2/meta | 3 | ||||
-rw-r--r-- | extra/gnupg2/patches/fix-ldap.patch | 12 | ||||
-rw-r--r-- | extra/gnupg2/sources | 3 | ||||
-rw-r--r-- | extra/gnupg2/version | 2 |
6 files changed, 28 insertions, 4 deletions
diff --git a/extra/gnupg2/build b/extra/gnupg2/build index ef2670bc..5ad311a1 100755 --- a/extra/gnupg2/build +++ b/extra/gnupg2/build @@ -2,10 +2,16 @@ export LDFLAGS="$LDFLAGS -static" +if cpt l gnutls; then + LIBGNUTLS_CFLAGS="$(pkgconf --static --cflags gnutls)" + LIBGNUTLS_LIBS="$(pkgconf --static --libs gnutls)" + export LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS +fi + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ - --disable-gnutls + --disable-scdaemon make make DESTDIR="$1" install diff --git a/extra/gnupg2/checksums b/extra/gnupg2/checksums index 18f5fc08..9479ffc1 100644 --- a/extra/gnupg2/checksums +++ b/extra/gnupg2/checksums @@ -1 +1,3 @@ -34e60009014ea16402069136e0a5f63d9b65f90096244975db5cea74b3d02399 gnupg-2.2.27.tar.bz2 +%BLAKE3 +9420bb90ecbfb651f0840b042634c4742a5858802b901c6fdd18971ddb8e5f5a gnupg-2.5.0.tar.bz2 +c8b97b99d49e3790e30c53875077a40c5a5d64b4b837464625c64946e0f1ce3d fix-ldap.patch diff --git a/extra/gnupg2/meta b/extra/gnupg2/meta new file mode 100644 index 00000000..94b57d8c --- /dev/null +++ b/extra/gnupg2/meta @@ -0,0 +1,3 @@ +description: GNU Privacy Guard +license: GPL-3.0-or-later +maintainer: Cem Keylan <cem@carbslinux.org> diff --git a/extra/gnupg2/patches/fix-ldap.patch b/extra/gnupg2/patches/fix-ldap.patch new file mode 100644 index 00000000..9359484d --- /dev/null +++ b/extra/gnupg2/patches/fix-ldap.patch @@ -0,0 +1,12 @@ +--- a/dirmngr/server.c Fri Jun 30 10:53:58 2023 ++++ b/dirmngr/server.c Thu Jul 6 11:56:44 2023 +@@ -2776,7 +2776,9 @@ + + if (opt_help) + { ++#if USE_LDAP + ks_ldap_help_variables (ctrl); ++#endif /*USE_LDAP*/ + err = 0; + goto leave; + } diff --git a/extra/gnupg2/sources b/extra/gnupg2/sources index 006ad198..be62a7c4 100644 --- a/extra/gnupg2/sources +++ b/extra/gnupg2/sources @@ -1 +1,2 @@ -https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.27.tar.bz2 +https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.0.tar.bz2 +patches/fix-ldap.patch diff --git a/extra/gnupg2/version b/extra/gnupg2/version index 3ab35b44..bc7f0700 100644 --- a/extra/gnupg2/version +++ b/extra/gnupg2/version @@ -1 +1 @@ -2.2.27 1 +2.5.0 1 |