Skip to content

Commit 5728572

Browse files
committed
gnupg 2.2.21 -> 2.4.0
830.63 -> 917.89 kB
1 parent aa3fb08 commit 5728572

File tree

3 files changed

+27
-30
lines changed

3 files changed

+27
-30
lines changed

modules/gpg2

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

3-
gpg2_version := 2.2.21
3+
gpg2_version := 2.4.0
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 := 61e83278fb5fa7336658a8b73ab26f379d41275bb1c7c6e694dd9f9a6e8e76ec
7+
gpg2_hash := 1d79158dd01d992431dd2e3facb89fdac97127f89784ea2cb610c600fb0c1483
88

99
# For reproducibility reasons we have to override the exec_prefix
1010
# and datarootdir on the configure line so that the Makefiles will
@@ -41,6 +41,7 @@ gpg2_configure := \
4141
--disable-wks-tools \
4242
--disable-gnutls \
4343
--disable-dirmngr \
44+
--disable-ntbtls \
4445
--disable-zip \
4546
--disable-sqlite \
4647
--disable-gpgsm \
@@ -53,6 +54,6 @@ gpg2_target := $(MAKE_JOBS) \
5354
DESTDIR="$(INSTALL)" \
5455
install
5556

56-
gpg2_output := g10/gpg agent/gpg-agent scd/scdaemon
57+
gpg2_output := g10/gpg agent/gpg-agent scd/scdaemon tools/gpg-connect-agent
5758

5859
gpg2_depends := libgpg-error libgcrypt libksba libassuan npth libusb-compat $(musl_dep)

patches/gpg2-2.2.21.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

patches/gpg2-2.4.0.patch

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
diff -u --recursive gnupg-2.4.0/configure gnupg-2.4.0/configure
2+
--- gnupg-2.4.0/configure 2016-08-17 09:20:25.000000000 -0400
3+
+++ gnupg-2.4.0/configure 2018-01-20 16:55:14.502067084 -0500
4+
@@ -572,7 +572,7 @@
5+
ac_clean_files=
6+
ac_config_libobj_dir=.
7+
LIBOBJS=
8+
-cross_compiling=no
9+
+cross_compiling=yes
10+
subdirs=
11+
MFLAGS=
12+
MAKEFLAGS=
13+
--- gnupg-2.4.0/common/ttyio.c.orig 2023-03-24 02:37:40.384435064 +0100
14+
+++ gnupg-2.4.0/common/ttyio.c 2023-03-24 02:38:21.825961221 +0100
15+
@@ -186,7 +186,7 @@
16+
SetConsoleMode (con.out, DEF_OUTMODE);
17+
18+
#else /* Unix */
19+
- ttyfp = batchmode? stderr : fopen (tty_get_ttyname (), "r+");
20+
+ ttyfp = stderr;
21+
if (!ttyfp)
22+
{
23+
log_error ("cannot open '%s': %s\n", tty_get_ttyname (), strerror(errno));

0 commit comments

Comments
 (0)