-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update GnuPG and friends to 2.4.0 #1350
Changes from all commits
9e39e01
1bd2f88
5d9e70d
aa3fb08
5728572
671bd54
04ba326
84ac7eb
885651a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
disable-scdaemon |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
modules-$(CONFIG_GPG2) += gpg2 | ||
|
||
gpg2_version := 2.2.21 | ||
gpg2_version := 2.4.0 | ||
gpg2_dir := gnupg-$(gpg2_version) | ||
gpg2_tar := gnupg-$(gpg2_version).tar.bz2 | ||
gpg2_url := https://www.gnupg.org/ftp/gcrypt/gnupg/$(gpg2_tar) | ||
gpg2_hash := 61e83278fb5fa7336658a8b73ab26f379d41275bb1c7c6e694dd9f9a6e8e76ec | ||
gpg2_hash := 1d79158dd01d992431dd2e3facb89fdac97127f89784ea2cb610c600fb0c1483 | ||
|
||
# For reproducibility reasons we have to override the exec_prefix | ||
# and datarootdir on the configure line so that the Makefiles will | ||
|
@@ -41,6 +41,7 @@ gpg2_configure := \ | |
--disable-wks-tools \ | ||
--disable-gnutls \ | ||
--disable-dirmngr \ | ||
--disable-ntbtls \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could add |
||
--disable-zip \ | ||
--disable-sqlite \ | ||
--disable-gpgsm \ | ||
|
@@ -53,6 +54,6 @@ gpg2_target := $(MAKE_JOBS) \ | |
DESTDIR="$(INSTALL)" \ | ||
install | ||
|
||
gpg2_output := g10/gpg agent/gpg-agent scd/scdaemon | ||
gpg2_output := g10/gpg agent/gpg-agent scd/scdaemon tools/gpg-connect-agent | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should revert adding tools/gpg-connect-agent |
||
|
||
gpg2_depends := libgpg-error libgcrypt libksba libassuan npth libusb-compat $(musl_dep) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
modules-$(CONFIG_GPG2) += libassuan | ||
|
||
libassuan_version := 2.5.3 | ||
libassuan_version := 2.5.5 | ||
libassuan_dir := libassuan-$(libassuan_version) | ||
libassuan_tar := libassuan-$(libassuan_version).tar.bz2 | ||
libassuan_url := https://gnupg.org/ftp/gcrypt/libassuan/$(libassuan_tar) | ||
libassuan_hash := 91bcb0403866b4e7c4bc1cc52ed4c364a9b5414b3994f718c70303f7f765e702 | ||
libassuan_hash := 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4 | ||
|
||
libassuan_configure := \ | ||
CFLAGS="-Os" \ | ||
|
@@ -13,7 +13,6 @@ libassuan_configure := \ | |
--host $(MUSL_ARCH)-linux-musl \ | ||
--prefix "/" \ | ||
--disable-static \ | ||
--disable-debug \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
--with-gpg-error-prefix="$(INSTALL)" \ | ||
|
||
libassuan_target := $(MAKE_JOBS) \ | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff -u --recursive gnupg-2.4.0/configure gnupg-2.4.0/configure | ||
--- gnupg-2.4.0/configure 2016-08-17 09:20:25.000000000 -0400 | ||
+++ gnupg-2.4.0/configure 2018-01-20 16:55:14.502067084 -0500 | ||
@@ -572,7 +572,7 @@ | ||
ac_clean_files= | ||
ac_config_libobj_dir=. | ||
LIBOBJS= | ||
-cross_compiling=no | ||
+cross_compiling=yes | ||
subdirs= | ||
MFLAGS= | ||
MAKEFLAGS= | ||
--- gnupg-2.4.0/common/ttyio.c.orig 2023-03-24 02:37:40.384435064 +0100 | ||
+++ gnupg-2.4.0/common/ttyio.c 2023-03-24 02:38:21.825961221 +0100 | ||
@@ -186,7 +186,7 @@ | ||
SetConsoleMode (con.out, DEF_OUTMODE); | ||
|
||
#else /* Unix */ | ||
- ttyfp = batchmode? stderr : fopen (tty_get_ttyname (), "r+"); | ||
+ ttyfp = stderr; | ||
if (!ttyfp) | ||
{ | ||
log_error ("cannot open '%s': %s\n", tty_get_ttyname (), strerror(errno)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.4.1 fixes issues with copy to card for yubikey.
2.4.2 is out.