Skip to content

Commit c22ea2d

Browse files
committed
upgrade gpg toolstack to latest versions
- Remove unrecognized configure options - fixes gawk issue #668 by upgrading to libgpg-error 1.37 instead of patching 1.32 for regex change (fixed upstream) Version change: - gpg 2.2.10 -> 2.2.20 - libassuan 2.5.1 -> 2.5.3 - libgcrypt 1.8.3 -> 1.8.5 - libgpg-error 1.32 -> 1.37 Unrecognized options on gpg2 toolstack: - disable-nls and disable-asm disable-keyserver-helpers disable-hkp disable-finger disable-dns-srv disable-dns-cert and disable-wks-server
1 parent fa35b3c commit c22ea2d

7 files changed

Lines changed: 9 additions & 23 deletions

File tree

modules/gpg2

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
modules-$(CONFIG_GPG2) += gpg2
22

3-
gpg2_version := 2.2.10
3+
gpg2_version := 2.2.20
44
gpg2_dir := gnupg-$(gpg2_version)
55
gpg2_tar := gnupg-$(gpg2_version).tar.bz2
66
gpg2_url := https://www.gnupg.org/ftp/gcrypt/gnupg/$(gpg2_tar)
7-
gpg2_hash := 799dd37a86a1448732e339bd20440f4f5ee6e69755f6fd7a73ee8af30840c915
7+
gpg2_hash := 04a7c9d48b74c399168ee8270e548588ddbe52218c337703d7f06373d326ca30
88

99
# For reproducibility reasons we have to override the exec_prefix
1010
# and datarootdir on the configure line so that the Makefiles will
@@ -30,19 +30,12 @@ gpg2_configure := ./configure \
3030
--disable-regex \
3131
--disable-doc \
3232
--disable-bzip2 \
33-
--disable-asm \
3433
--disable-exec \
3534
--disable-photo-viewers \
36-
--disable-keyserver-helpers \
3735
--disable-ldap \
38-
--disable-hkp \
39-
--disable-finger \
40-
--disable-dns-srv \
41-
--disable-dns-cert \
4236
--disable-regex \
4337
--disable-nls \
4438
--disable-all-tests \
45-
--disable-wks-server \
4639
--disable-wks-tools \
4740
--disable-gnutls \
4841
--disable-dirmngr \

modules/libassuan

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
modules-$(CONFIG_GPG2) += libassuan
2-
libassuan_version := 2.5.1
2+
libassuan_version := 2.5.3
33
libassuan_dir := libassuan-$(libassuan_version)
44
libassuan_tar := libassuan-$(libassuan_version).tar.bz2
55
libassuan_url := https://gnupg.org/ftp/gcrypt/libassuan/$(libassuan_tar)
6-
libassuan_hash := 47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449
6+
libassuan_hash := 91bcb0403866b4e7c4bc1cc52ed4c364a9b5414b3994f718c70303f7f765e702
77

88
libassuan_configure := ./configure \
99
$(CROSS_TOOLS) \
1010
--host x86_64-linux-musl \
1111
--prefix "/" \
1212
--disable-static \
13-
--disable-nls \
1413
--with-libgpg-error-prefix="$(INSTALL)" \
15-
--disable-asm \
1614

1715
libassuan_target := $(MAKE_JOBS) \
1816
DESTDIR="$(INSTALL)" \

modules/libgcrypt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
modules-$(CONFIG_GPG2) += libgcrypt
2-
libgcrypt_version := 1.8.3
2+
libgcrypt_version := 1.8.5
33
libgcrypt_dir := libgcrypt-$(libgcrypt_version)
44
libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
55
libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
6-
libgcrypt_hash := 66ec90be036747602f2b48f98312361a9180c97c68a690a5f376fa0f67d0af7c
6+
libgcrypt_hash := 3b4a2a94cb637eff5bdebbcaf46f4d95c4f25206f459809339cdada0eb577ac3
77

88
libgcrypt_configure := ./configure \
99
$(CROSS_TOOLS) \

modules/libgpg-error

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
modules-$(CONFIG_GPG2) += libgpg-error
2-
libgpg-error_version := 1.32
2+
libgpg-error_version := 1.37
33
libgpg-error_dir := libgpg-error-$(libgpg-error_version)
44
libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
55
libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
6-
libgpg-error_hash := c345c5e73cc2332f8d50db84a2280abfb1d8f6d4f1858b9daa30404db44540ca
6+
libgpg-error_hash := b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
77

88
libgpg-error_configure := ./configure \
99
$(CROSS_TOOLS) \
@@ -14,7 +14,6 @@ libgpg-error_configure := ./configure \
1414
--disable-languages \
1515
--disable-doc \
1616
--disable-tests \
17-
--disable-asm \
1817

1918
libgpg-error_target := $(MAKE_JOBS) \
2019
DESTDIR="$(INSTALL)" \

modules/libksba

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ libksba_configure := ./configure \
1010
--host x86_64-linux-musl \
1111
--prefix "/" \
1212
--disable-static \
13-
--disable-nls \
1413
--with-libgpg-error-prefix="$(INSTALL)" \
15-
--disable-asm \
1614

1715
libksba_target := $(MAKE_JOBS) \
1816
DESTDIR="$(INSTALL)" \

modules/npth

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ npth_configure := ./configure \
1010
--host x86_64-linux-musl \
1111
--prefix "/" \
1212
--disable-static \
13-
--disable-nls \
1413
--with-libgpg-error-prefix="$(INSTALL)" \
15-
--disable-asm \
1614

1715
npth_target := $(MAKE_JOBS) \
1816
DESTDIR="$(INSTALL)" \

modules/pinentry

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ pinentry_configure := ./configure \
2121
--disable-libsecret \
2222
--disable-fallback-curses \
2323
--disable-pinentry-curses \
24-
--disable-pinentry-qt \
2524
--disable-pinentry-gtk2 \
2625
--disable-pinentry-gnome3 \
2726
--disable-pinentry-fltk \
2827
--disable-pinentry-emacs \
2928
--disable-fallback-curses \
29+
--disable-pinentry-qt5 \
3030
--with-libgpg-error-prefix="$(INSTALL)" \
3131
--with-libassuan-prefix="$(INSTALL)" \
3232

0 commit comments

Comments
 (0)