From 09c779d48bfeef4c381e2d11bfd9dd8ad2a996eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 18 Dec 2016 02:09:23 +0100 Subject: Updates apk-tools, bash, coreutils, curl, findutils, gnupg, irssi, libarchive, libgcrypt, libgpg-error, mc, tcsh, and tmux. --- patches/gnupg-2.1.16.local.patch | 96 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 patches/gnupg-2.1.16.local.patch (limited to 'patches/gnupg-2.1.16.local.patch') diff --git a/patches/gnupg-2.1.16.local.patch b/patches/gnupg-2.1.16.local.patch new file mode 100644 index 00000000..5ee3792d --- /dev/null +++ b/patches/gnupg-2.1.16.local.patch @@ -0,0 +1,96 @@ +--- gnupg-2.1.16/tests/inittests.orig 2016-02-02 07:05:16.000000000 +0100 ++++ gnupg-2.1.16/tests/inittests 2016-12-18 00:56:32.207073100 +0100 +@@ -9,91 +9,5 @@ + # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +-set -e +- +-sample_certs=' +-cert_g10code_test1.pem +-cert_g10code_pete1.pem +-cert_g10code_theo1.pem +-' +- +-private_keys=' +-32100C27173EF6E9C4E9A25D3D69F86D37A4F939 +-' +- +-clean_files=' +-gpgsm.conf gpg-agent.conf trustlist.txt pubring.kbx +-msg msg.sig msg.unsig +-' +- +- +-[ -z "$srcdir" ] && srcdir=. +-[ -z "$GPGSM" ] && GPGSM=../sm/gpgsm +- +-if [ -d $srcdir/samplekeys ] \ +- && grep TESTS_ENVIRONMENT Makefile >/dev/null 2>&1; then +- : +-else +- # During make distclean the Makefile has already been removed, +- # so we need this extra test. +- if ! grep gnupg-test-directory testdir.stamp >/dev/null 2>&1; then +- echo "inittests: please cd to the tests directory first" >&2 +- exit 1 +- fi +-fi +- +-if [ "$1" = "--clean" ]; then +- if [ -d private-keys-v1.d ]; then +- rm private-keys-v1.d/* 2>/dev/null || true +- rmdir private-keys-v1.d +- fi +- rm ${clean_files} testdir.stamp 2>/dev/null || true +- exit 0 +-fi +- +-if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then +- echo "inittests: please set GNUPGHOME to the test directory" >&2 +- exit 1 +-fi +- +-if [ -n "$GPG_AGENT_INFO" ]; then +- echo "inittests: please unset GPG_AGENT_INFO" >&2 +- exit 1 +-fi +- +-# A stamp file used with --clean +-echo gnupg-test-directory > testdir.stamp +- +- +-# Create the private key directy if it does not exists and copy +-# the sample keys. +-[ -d private-keys-v1.d ] || mkdir private-keys-v1.d +-for i in ${private_keys}; do +- cat ${srcdir}/samplekeys/$i.key >private-keys-v1.d/$i.key +-done +- +-# Create the configuration scripts +-# Note, die to an expired test certificate, we need to use +-# the faked system time option. +-cat > gpgsm.conf < gpg-agent.conf < trustlist.txt <