Fix gnupg patch (#6316)

* Fix gnupg patch

* Moved from xenial to focal
This commit is contained in:
Catena cyber 2021-08-26 21:17:18 +02:00 committed by GitHub
parent 8d90359bd9
commit d5bc81af43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool gettext
# Install automake 1.16.3 from future. See:
# * https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=6ca540715139899137e1f86c7e1dcbd0288f15b3
# * https://packages.ubuntu.com/en/hirsute/automake
RUN sed -i -e 's/xenial/hirsute/g' /etc/apt/sources.list
RUN sed -i -e 's/focal/hirsute/g' /etc/apt/sources.list
RUN apt-get update && apt-get install -y --reinstall automake
RUN git clone --depth 1 git://git.gnupg.org/libgpg-error.git libgpg-error

View File

@ -1,5 +1,5 @@
diff --git a/configure.ac b/configure.ac
index a3207dc9f..627c93285 100644
index 7b398f3df..ee69b3063 100644
--- a/configure.ac
+++ b/configure.ac
@@ -991,6 +991,15 @@ if test x"$use_tofu" = xyes ; then
@ -19,7 +19,7 @@ index a3207dc9f..627c93285 100644
if test x"$use_tofu" = xyes ; then
@@ -2149,6 +2158,7 @@ tests/migrations/Makefile
tests/gpgsm/Makefile
tests/tpm2dtests/Makefile
tests/gpgme/Makefile
tests/pkits/Makefile
+tests/fuzz/Makefile
@ -176,15 +176,15 @@ index 8dd18b2e2..9f5db89f9 100644
/* Note: check_signature only checks that the signature
is good. It does not fail if the key is revoked. */
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 624334c63..fbace1381 100644
index f29b68a53..e788c9916 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,13 @@ else
tpm2dtests =
endif
-SUBDIRS = gpgscm openpgp migrations gpgsm gpgme pkits $(tpm2dtests) .
+SUBDIRS = gpgscm openpgp migrations gpgsm gpgme pkits $(tpm2dtests)
-SUBDIRS = gpgscm openpgp cms migrations gpgme pkits $(tpm2dtests) .
+SUBDIRS = gpgscm openpgp cms migrations gpgme pkits $(tpm2dtests)
+
+if MAINTAINER_MODE
+SUBDIRS += fuzz