upgrade to 2.2.23
This commit is contained in:
parent
332ed7b946
commit
0cad93b7c9
2
.gitignore
vendored
2
.gitignore
vendored
@ -92,3 +92,5 @@ gnupg-2.0.16.tar.bz2.sig
|
|||||||
/gnupg-2.2.20.tar.bz2.sig
|
/gnupg-2.2.20.tar.bz2.sig
|
||||||
/gnupg-2.2.21.tar.bz2
|
/gnupg-2.2.21.tar.bz2
|
||||||
/gnupg-2.2.21.tar.bz2.sig
|
/gnupg-2.2.21.tar.bz2.sig
|
||||||
|
/gnupg-2.2.23.tar.bz2
|
||||||
|
/gnupg-2.2.23.tar.bz2.sig
|
||||||
|
@ -1,62 +0,0 @@
|
|||||||
diff -up gnupg-2.1.21/tools/Makefile.am.insttools gnupg-2.1.21/tools/Makefile.am
|
|
||||||
--- gnupg-2.1.21/tools/Makefile.am.insttools 2017-04-03 17:13:56.000000000 +0200
|
|
||||||
+++ gnupg-2.1.21/tools/Makefile.am 2017-07-18 12:10:59.431729640 +0200
|
|
||||||
@@ -35,8 +35,8 @@ AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ER
|
|
||||||
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
|
||||||
|
|
||||||
if HAVE_USTAR
|
|
||||||
-# bin_SCRIPTS += gpg-zip
|
|
||||||
-noinst_SCRIPTS = gpg-zip
|
|
||||||
+bin_PROGRAMS += gpg-zip
|
|
||||||
+#noinst_SCRIPTS = gpg-zip
|
|
||||||
endif
|
|
||||||
|
|
||||||
if BUILD_SYMCRYPTRUN
|
|
||||||
@@ -53,7 +53,7 @@ endif
|
|
||||||
|
|
||||||
libexec_PROGRAMS = gpg-wks-client
|
|
||||||
|
|
||||||
-bin_PROGRAMS = gpgconf gpg-connect-agent ${symcryptrun}
|
|
||||||
+bin_PROGRAMS = gpgconf gpg-connect-agent ${symcryptrun} gpgsplit
|
|
||||||
if !HAVE_W32_SYSTEM
|
|
||||||
bin_PROGRAMS += watchgnupg gpgparsemail ${gpg_wks_server}
|
|
||||||
endif
|
|
||||||
@@ -63,7 +63,7 @@ libexec_PROGRAMS += gpg-check-pattern
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !HAVE_W32CE_SYSTEM
|
|
||||||
-noinst_PROGRAMS = clean-sat make-dns-cert gpgsplit
|
|
||||||
+noinst_PROGRAMS = clean-sat make-dns-cert
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !HAVE_W32CE_SYSTEM
|
|
||||||
diff -up gnupg-2.1.21/tools/Makefile.in.insttools gnupg-2.1.21/tools/Makefile.in
|
|
||||||
--- gnupg-2.1.21/tools/Makefile.in.insttools 2017-05-15 16:15:04.000000000 +0200
|
|
||||||
+++ gnupg-2.1.21/tools/Makefile.in 2017-07-18 12:12:17.907734745 +0200
|
|
||||||
@@ -137,13 +137,13 @@ DIST_COMMON = $(top_srcdir)/am/cmacros.a
|
|
||||||
@GNUPG_DIRMNGR_LDAP_PGM_TRUE@am__append_7 = -DGNUPG_DEFAULT_DIRMNGR_LDAP="\"@GNUPG_DIRMNGR_LDAP_PGM@\""
|
|
||||||
@HAVE_W32_SYSTEM_TRUE@am__append_8 = gpg-connect-agent-w32info.o
|
|
||||||
libexec_PROGRAMS = gpg-wks-client$(EXEEXT) $(am__EXEEXT_5)
|
|
||||||
-bin_PROGRAMS = gpgconf$(EXEEXT) gpg-connect-agent$(EXEEXT) \
|
|
||||||
+bin_PROGRAMS = gpgconf$(EXEEXT) gpg-connect-agent$(EXEEXT) gpgsplit$(EXEEXT) \
|
|
||||||
$(am__EXEEXT_1) $(am__EXEEXT_3) $(am__EXEEXT_4)
|
|
||||||
@HAVE_W32_SYSTEM_FALSE@am__append_9 = watchgnupg gpgparsemail ${gpg_wks_server}
|
|
||||||
@DISABLE_REGEX_FALSE@am__append_10 = gpg-check-pattern
|
|
||||||
@HAVE_W32CE_SYSTEM_FALSE@noinst_PROGRAMS = clean-sat$(EXEEXT) \
|
|
||||||
@HAVE_W32CE_SYSTEM_FALSE@ make-dns-cert$(EXEEXT) \
|
|
||||||
-@HAVE_W32CE_SYSTEM_FALSE@ gpgsplit$(EXEEXT) $(am__EXEEXT_6)
|
|
||||||
+@HAVE_W32CE_SYSTEM_FALSE@ $(am__EXEEXT_6)
|
|
||||||
@BUILD_GPGTAR_TRUE@@HAVE_W32CE_SYSTEM_FALSE@am__append_11 = gpgtar
|
|
||||||
@BUILD_GPGTAR_FALSE@@HAVE_W32CE_SYSTEM_FALSE@am__append_12 = gpgtar
|
|
||||||
subdir = tools
|
|
||||||
@@ -582,8 +582,8 @@ libcommontlsnpth = ../common/libcommontl
|
|
||||||
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
|
|
||||||
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
|
||||||
|
|
||||||
-# bin_SCRIPTS += gpg-zip
|
|
||||||
-@HAVE_USTAR_TRUE@noinst_SCRIPTS = gpg-zip
|
|
||||||
+@HAVE_USTAR_TRUE@bin_PROGRAMS += gpg-zip
|
|
||||||
+#@HAVE_USTAR_TRUE@noinst_SCRIPTS = gpg-zip
|
|
||||||
@BUILD_SYMCRYPTRUN_FALSE@symcryptrun =
|
|
||||||
@BUILD_SYMCRYPTRUN_TRUE@symcryptrun = symcryptrun
|
|
||||||
@BUILD_WKS_TOOLS_FALSE@gpg_wks_server =
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up gnupg-2.1.21/g10/keygen.c.large-rsa gnupg-2.1.21/g10/keygen.c
|
|
||||||
--- gnupg-2.1.21/g10/keygen.c.large-rsa 2017-05-15 14:13:22.000000000 +0200
|
|
||||||
+++ gnupg-2.1.21/g10/keygen.c 2017-07-18 16:12:37.738895016 +0200
|
|
||||||
@@ -2091,7 +2091,7 @@ get_keysize_range (int algo, unsigned in
|
|
||||||
|
|
||||||
default:
|
|
||||||
*min = opt.compliance == CO_DE_VS ? 2048: 1024;
|
|
||||||
- *max = 4096;
|
|
||||||
+ *max = opt.flags.large_rsa == 1 ? 8192 : 4096;
|
|
||||||
def = 2048;
|
|
||||||
break;
|
|
||||||
}
|
|
28
gnupg-2.2.23-insttools.patch
Normal file
28
gnupg-2.2.23-insttools.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
diff -up gnupg-2.2.23/tools/Makefile.am.insttools gnupg-2.2.23/tools/Makefile.am
|
||||||
|
--- gnupg-2.2.23/tools/Makefile.am.insttools 2020-08-13 11:01:57.000000000 +0200
|
||||||
|
+++ gnupg-2.2.23/tools/Makefile.am 2020-09-04 13:49:34.183246428 +0200
|
||||||
|
@@ -35,8 +35,8 @@ AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ER
|
||||||
|
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
||||||
|
|
||||||
|
if HAVE_USTAR
|
||||||
|
-# bin_SCRIPTS += gpg-zip
|
||||||
|
-noinst_SCRIPTS = gpg-zip
|
||||||
|
+bin_PROGRAMS += gpg-zip
|
||||||
|
+#noinst_SCRIPTS = gpg-zip
|
||||||
|
endif
|
||||||
|
|
||||||
|
if BUILD_SYMCRYPTRUN
|
||||||
|
diff -up gnupg-2.2.23/tools/Makefile.in.insttools gnupg-2.2.23/tools/Makefile.in
|
||||||
|
--- gnupg-2.2.23/tools/Makefile.in.insttools 2020-09-03 17:16:55.000000000 +0200
|
||||||
|
+++ gnupg-2.2.23/tools/Makefile.in 2020-09-04 13:49:34.183246428 +0200
|
||||||
|
@@ -618,8 +618,8 @@ libcommontlsnpth = ../common/libcommontl
|
||||||
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
|
||||||
|
sbin_SCRIPTS = addgnupghome applygnupgdefaults
|
||||||
|
|
||||||
|
-# bin_SCRIPTS += gpg-zip
|
||||||
|
-@HAVE_USTAR_TRUE@noinst_SCRIPTS = gpg-zip
|
||||||
|
+@HAVE_USTAR_TRUE@bin_PROGRAMS += gpg-zip
|
||||||
|
+#@HAVE_USTAR_TRUE@noinst_SCRIPTS = gpg-zip
|
||||||
|
@BUILD_SYMCRYPTRUN_FALSE@symcryptrun =
|
||||||
|
@BUILD_SYMCRYPTRUN_TRUE@symcryptrun = symcryptrun
|
||||||
|
@BUILD_WKS_TOOLS_FALSE@gpg_wks_server =
|
12
gnupg-2.2.23-large-rsa.patch
Normal file
12
gnupg-2.2.23-large-rsa.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gnupg-2.2.23/g10/keygen.c.large-rsa gnupg-2.2.23/g10/keygen.c
|
||||||
|
--- gnupg-2.2.23/g10/keygen.c.large-rsa 2020-09-04 13:53:42.030486671 +0200
|
||||||
|
+++ gnupg-2.2.23/g10/keygen.c 2020-09-04 13:55:52.896669542 +0200
|
||||||
|
@@ -2262,7 +2262,7 @@ get_keysize_range (int algo, unsigned in
|
||||||
|
|
||||||
|
default:
|
||||||
|
*min = opt.compliance == CO_DE_VS ? 2048: 1024;
|
||||||
|
- *max = 4096;
|
||||||
|
+ *max = opt.flags.large_rsa == 1 ? 8192 : 4096;
|
||||||
|
def = 3072;
|
||||||
|
break;
|
||||||
|
}
|
11
gnupg2.spec
11
gnupg2.spec
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
Summary: Utility for secure communication and data storage
|
Summary: Utility for secure communication and data storage
|
||||||
Name: gnupg2
|
Name: gnupg2
|
||||||
Version: 2.2.21
|
Version: 2.2.23
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Source0: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2
|
Source0: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2
|
||||||
Source1: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2.sig
|
Source1: ftp://ftp.gnupg.org/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2.sig
|
||||||
Patch1: gnupg-2.1.21-insttools.patch
|
Patch1: gnupg-2.2.23-insttools.patch
|
||||||
# needed for compatibility with system FIPS mode
|
# needed for compatibility with system FIPS mode
|
||||||
Patch3: gnupg-2.1.10-secmem.patch
|
Patch3: gnupg-2.1.10-secmem.patch
|
||||||
# non-upstreamable patch adding file-is-digest option needed for Copr
|
# non-upstreamable patch adding file-is-digest option needed for Copr
|
||||||
@ -21,7 +21,7 @@ Patch4: gnupg-2.2.20-file-is-digest.patch
|
|||||||
Patch5: gnupg-2.2.16-ocsp-keyusage.patch
|
Patch5: gnupg-2.2.16-ocsp-keyusage.patch
|
||||||
Patch6: gnupg-2.1.1-fips-algo.patch
|
Patch6: gnupg-2.1.1-fips-algo.patch
|
||||||
# allow 8192 bit RSA keys in keygen UI with large RSA
|
# allow 8192 bit RSA keys in keygen UI with large RSA
|
||||||
Patch9: gnupg-2.1.21-large-rsa.patch
|
Patch9: gnupg-2.2.23-large-rsa.patch
|
||||||
# fix missing uid on refresh from keys.openpgp.org
|
# fix missing uid on refresh from keys.openpgp.org
|
||||||
# https://salsa.debian.org/debian/gnupg2/commit/f292beac1171c6c77faf41d1f88c2e0942ed4437
|
# https://salsa.debian.org/debian/gnupg2/commit/f292beac1171c6c77faf41d1f88c2e0942ed4437
|
||||||
Patch20: gnupg-2.2.18-tests-add-test-cases-for-import-without-uid.patch
|
Patch20: gnupg-2.2.18-tests-add-test-cases-for-import-without-uid.patch
|
||||||
@ -223,6 +223,9 @@ make -k check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 4 2020 Tomáš Mráz <tmraz@redhat.com> - 2.2.23-1
|
||||||
|
- upgrade to 2.2.23
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.21-4
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.21-4
|
||||||
- Second attempt - Rebuilt for
|
- Second attempt - Rebuilt for
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (gnupg-2.2.21.tar.bz2) = b4eac75253d4a1cac341c8a1ba7bb275e849a88d5377035497777c7bcd49b5a4c91b77000311695eb7d4083856975b2b2d14518f24ab94846027280bd8c301f9
|
SHA512 (gnupg-2.2.23.tar.bz2) = 736b39628f7e4adc650b3f9937c81f27e9ad41e77f5345dc54262c91c1cf7004243fa7f932313bcde955e0e9b3f1afc639bac18023ae878b1d26e3c5a3cabb90
|
||||||
SHA512 (gnupg-2.2.21.tar.bz2.sig) = 304f6de161eb8c0bfc4681aa63d5072863fa9616786b4130e22bffc51c149906e64dd5f92e8d5f76fd4450bc5b6de46259d964d1210018c30b6f3c2768876e7d
|
SHA512 (gnupg-2.2.23.tar.bz2.sig) = e2c43ffd38613c3ac3b684887fb40facd99bf77f7c20e2d649318902813490716c786a00e00e86031420596424334877209a3b3547ef326d7daf1802ad75f935
|
||||||
|
Loading…
Reference in New Issue
Block a user