[arch-commits] Commit in gnutls/trunk (2 files)
Date: Sunday, July 26, 2015 @ 14:02:42 Author: andyrtr Revision: 242515 upgpkg: gnutls 3.4.3-1 upstream update 3.4.3, keep building without libidn support for security reason - see mailing list link in PKGBUILD Modified: gnutls/trunk/PKGBUILD Deleted: gnutls/trunk/test_do_not_perform_internationalized_name_checks_without_libidn.diff ---+ PKGBUILD |7 +-- test_do_not_perform_internationalized_name_checks_without_libidn.diff | 21 -- 2 files changed, 4 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-07-26 11:45:29 UTC (rev 242514) +++ PKGBUILD2015-07-26 12:02:42 UTC (rev 242515) @@ -3,7 +3,7 @@ # Maintainer: Andreas Radke pkgname=gnutls -pkgver=3.4.2 +pkgver=3.4.3 pkgrel=1 pkgdesc="A library which provides a secure layer over a reliable transport layer" arch=('i686' 'x86_64') @@ -11,10 +11,10 @@ url="http://www.gnutls.org/"; install=gnutls.install options=('!zipman') -depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn') +depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit') optdepends=('guile: for use with Guile bindings') source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/${pkgname}-${pkgver}.tar.xz{,.sig}) -md5sums=('4fb4a6253e09aa070e6c467cbb51ba33' +md5sums=('8a119d7830b81a44faa721a6fde2a295' 'SKIP') validpgpkeys=('0424D4EE81A0E3D119C6F835EDA21E94B565716F' '1F42418905D8206AA754CCDC29EE58B996865171') @@ -30,6 +30,7 @@ ./configure --prefix=/usr \ --with-zlib \ --disable-static \ + --without-idn \ --enable-guile --with-guile-site-dir=no \ --with-default-trust-store-pkcs11="pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit" make Deleted: test_do_not_perform_internationalized_name_checks_without_libidn.diff === --- test_do_not_perform_internationalized_name_checks_without_libidn.diff 2015-07-26 11:45:29 UTC (rev 242514) +++ test_do_not_perform_internationalized_name_checks_without_libidn.diff 2015-07-26 12:02:42 UTC (rev 242515) @@ -1,21 +0,0 @@ -diff --git a/tests/hostname-check.c b/tests/hostname-check.c -index 120f3b9..670248a 100644 a/tests/hostname-check.c -+++ b/tests/hostname-check.c -@@ -1147,6 +1147,7 @@ void doit(void) - if (ret) - fail("%d: Hostname incorrectly matches (%d)\n", __LINE__, ret); - -+#ifdef HAVE_LIBIDN - ret = gnutls_x509_crt_check_hostname(x509, "www.teχ.gr"); - if (!ret) - fail("%d: Hostname incorrectly does not match (%d)\n", __LINE__, ret); -@@ -1166,6 +1167,7 @@ void doit(void) - ret = gnutls_x509_crt_check_hostname(x509, "ΤΈΣΤ.gr"); - if (!ret) - fail("%d: Hostname incorrectly does not match (%d)\n", __LINE__, ret); -+#endif - - #ifdef ENABLE_OPENPGP - if (debug) -
[arch-commits] Commit in gnutls/trunk (2 files)
Date: Thursday, May 7, 2015 @ 21:00:38 Author: andyrtr Revision: 238603 upgpkg: gnutls 3.4.1-1 upstream update 3.4.1 Added: gnutls/trunk/test_do_not_perform_internationalized_name_checks_without_libidn.diff Modified: gnutls/trunk/PKGBUILD ---+ PKGBUILD | 15 +-- test_do_not_perform_internationalized_name_checks_without_libidn.diff | 21 ++ 2 files changed, 33 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-05-07 18:54:24 UTC (rev 238602) +++ PKGBUILD2015-05-07 19:00:38 UTC (rev 238603) @@ -13,14 +13,23 @@ options=('!zipman') depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit') optdepends=('guile: for use with Guile bindings') -source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/${pkgname}-${pkgver}.tar.xz{,.sig}) +source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/${pkgname}-${pkgver}.tar.xz{,.sig} +test_do_not_perform_internationalized_name_checks_without_libidn.diff) md5sums=('2d04f34fa25b45f9dcb9104c0394e12e' - 'SKIP') + 'SKIP' + 'cc584698a4558642129b6398d1e666d6') validpgpkeys=('0424D4EE81A0E3D119C6F835EDA21E94B565716F' '1F42418905D8206AA754CCDC29EE58B996865171') # "Simon Josefsson " # "Nikos Mavrogiannopoulos +prepare() { + cd ${pkgname}-${pkgver} + # fix build in testsuite without libidn + # https://gitlab.com/gnutls/gnutls/commit/78fcb17c74e1e625f89e71e0641083c85a268414 + patch -Np1 -i $srcdir/test_do_not_perform_internationalized_name_checks_without_libidn.diff +} + build() { cd ${pkgname}-${pkgver} @@ -38,7 +47,7 @@ check() { cd ${pkgname}-${pkgver} - make -j1 check + make check } package() { Added: test_do_not_perform_internationalized_name_checks_without_libidn.diff === --- test_do_not_perform_internationalized_name_checks_without_libidn.diff (rev 0) +++ test_do_not_perform_internationalized_name_checks_without_libidn.diff 2015-05-07 19:00:38 UTC (rev 238603) @@ -0,0 +1,21 @@ +diff --git a/tests/hostname-check.c b/tests/hostname-check.c +index 120f3b9..670248a 100644 +--- a/tests/hostname-check.c b/tests/hostname-check.c +@@ -1147,6 +1147,7 @@ void doit(void) + if (ret) + fail("%d: Hostname incorrectly matches (%d)\n", __LINE__, ret); + ++#ifdef HAVE_LIBIDN + ret = gnutls_x509_crt_check_hostname(x509, "www.teχ.gr"); + if (!ret) + fail("%d: Hostname incorrectly does not match (%d)\n", __LINE__, ret); +@@ -1166,6 +1167,7 @@ void doit(void) + ret = gnutls_x509_crt_check_hostname(x509, "ΤΈΣΤ.gr"); + if (!ret) + fail("%d: Hostname incorrectly does not match (%d)\n", __LINE__, ret); ++#endif + + #ifdef ENABLE_OPENPGP + if (debug) +