File tree Expand file tree Collapse file tree 13 files changed +68
-71
lines changed
Expand file tree Collapse file tree 13 files changed +68
-71
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,10 @@ gpg_key_reset()
128128 echo ${ADMIN_PIN_DEF}
129129 echo ${USER_PIN_DEF}
130130 echo 0
131- echo y
132131 echo ${GPG_USER_NAME}
133132 echo ${GPG_USER_MAIL}
134133 echo ${GPG_USER_COMMENT}
134+ echo ${USER_PIN_DEF}
135135 } | gpg --command-fd=0 --status-fd=2 --pinentry-mode=loopback --card-edit \
136136 > /tmp/gpg_card_edit_output 2>&1
137137 if [ $? -ne 0 ]; then
@@ -508,13 +508,8 @@ if [ "$prompt_output" == "y" \
508508 echo -e " We will generate a GnuPG (PGP) keypair identifiable with the following text form:"
509509 echo -e " Real Name (Comment) email@address.org"
510510
511- echo -e " \nEnter your Real Name (At least 5 characters long ):"
511+ echo -e " \nEnter your Real Name (Optional ):"
512512 read -r GPG_USER_NAME
513- while [[ ${# GPG_USER_NAME} -lt 5 ]]; do
514- {
515- echo -e " \nEnter your Real Name (At least 5 characters long):"
516- read -r GPG_USER_NAME
517- }; done
518513
519514 echo -e " \nEnter your email@adress.org:"
520515 read -r GPG_USER_MAIL
Original file line number Diff line number Diff line change 1+ disable-scdaemon
Original file line number Diff line number Diff line change 11modules-$(CONFIG_GPG2) += gpg2
22
3- gpg2_version := 2.2.21
3+ gpg2_version := 2.4.0
44gpg2_dir := gnupg-$(gpg2_version)
55gpg2_tar := gnupg-$(gpg2_version).tar.bz2
66gpg2_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
5859gpg2_depends := libgpg-error libgcrypt libksba libassuan npth libusb-compat $(musl_dep)
Original file line number Diff line number Diff line change 11modules-$(CONFIG_GPG2) += libassuan
22
3- libassuan_version := 2.5.3
3+ libassuan_version := 2.5.5
44libassuan_dir := libassuan-$(libassuan_version)
55libassuan_tar := libassuan-$(libassuan_version).tar.bz2
66libassuan_url := https://gnupg.org/ftp/gcrypt/libassuan/$(libassuan_tar)
7- libassuan_hash := 91bcb0403866b4e7c4bc1cc52ed4c364a9b5414b3994f718c70303f7f765e702
7+ libassuan_hash := 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4
88
99libassuan_configure := \
1010 CFLAGS="-Os" \
@@ -13,7 +13,6 @@ libassuan_configure := \
1313 --host $(MUSL_ARCH)-linux-musl \
1414 --prefix "/" \
1515 --disable-static \
16- --disable-debug \
1716 --with-gpg-error-prefix="$(INSTALL)" \
1817
1918libassuan_target := $(MAKE_JOBS) \
Original file line number Diff line number Diff line change 11modules-$(CONFIG_GPG2) += libgcrypt
22
3- libgcrypt_version := 1.8.6
3+ libgcrypt_version := 1.10.1
44libgcrypt_dir := libgcrypt-$(libgcrypt_version)
55libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
66libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
7- libgcrypt_hash := 0cba2700617b99fc33864a0c16b1fa7fdf9781d9ed3509f5d767178e5fd7b975
7+ libgcrypt_hash := ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de
88
99libgcrypt_configure := \
1010 $(CROSS_TOOLS) \
@@ -15,6 +15,7 @@ libgcrypt_configure := \
1515 --disable-static \
1616 --with-gpg-error-prefix="$(INSTALL)" \
1717 --disable-asm \
18+ --disable-doc \
1819
1920libgcrypt_target := $(MAKE_JOBS) \
2021 DESTDIR="$(INSTALL)" \
Original file line number Diff line number Diff line change 11modules-$(CONFIG_GPG2) += libgpg-error
22
3- libgpg-error_version := 1.37
3+ libgpg-error_version := 1.46
44libgpg-error_dir := libgpg-error-$(libgpg-error_version)
55libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
66libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
7- libgpg-error_hash := b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
7+ libgpg-error_hash := b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d
88
99libgpg-error_configure := \
1010 $(CROSS_TOOLS) \
@@ -17,6 +17,7 @@ libgpg-error_configure := \
1717 --disable-languages \
1818 --disable-doc \
1919 --disable-tests \
20+ --enable-install-gpg-error-config \
2021
2122libgpg-error_target := $(MAKE_JOBS) \
2223 DESTDIR="$(INSTALL)" \
Original file line number Diff line number Diff line change 11modules-$(CONFIG_GPG2) += libksba
22
3- libksba_version := 1.4.0
3+ libksba_version := 1.6.3
44libksba_dir := libksba-$(libksba_version)
55libksba_tar := libksba-$(libksba_version).tar.bz2
66libksba_url := https://gnupg.org/ftp/gcrypt/libksba/$(libksba_tar)
7- libksba_hash := bfe6a8e91ff0f54d8a329514db406667000cb207238eded49b599761bfca41b6
7+ libksba_hash := 3f72c68db30971ebbf14367527719423f0a4d5f8103fc9f4a1c01a9fa440de5c
88
99libksba_configure := \
1010 $(CROSS_TOOLS) \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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));
Original file line number Diff line number Diff line change 1- diff -u -r libassuan-2.5.1 -clean/configure libassuan-2.5.1 /configure
2- --- libassuan-2.5.1 -clean/configure 2017-12-07 06:55:50.000000000 -0800
3- +++ libassuan-2.5.1 /configure 2020-01-12 13:39:50.655638965 -0800
1+ diff -u -r libassuan-2.5.5 -clean/configure libassuan-2.5.5 /configure
2+ --- libassuan-2.5.5 -clean/configure 2017-12-07 06:55:50.000000000 -0800
3+ +++ libassuan-2.5.5 /configure 2020-01-12 13:39:50.655638965 -0800
44@@ -10781,7 +10781,7 @@
55 version_type=linux # correct to gnu/linux during the next big refactor
66 need_lib_prefix=no
You can’t perform that action at this time.
0 commit comments