Date: Sunday, September 16, 2018 @ 18:39:40
  Author: andyrtr
Revision: 334672

upgpkg: gnutls 3.5.19-2

enable libidn2 support - fixes FS#60080

Modified:
  gnutls/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-09-16 15:32:08 UTC (rev 334671)
+++ PKGBUILD    2018-09-16 18:39:40 UTC (rev 334672)
@@ -3,13 +3,13 @@
 
 pkgname=gnutls
 pkgver=3.5.19
-pkgrel=1
+pkgrel=2
 pkgdesc="A library which provides a secure layer over a reliable transport 
layer"
 arch=('x86_64')
 license=('GPL3' 'LGPL2.1')
 url="https://www.gnutls.org/";
 options=('!zipman')
-depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn' 
'libunistring')
+depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn2' 
'libunistring')
 checkdepends=('net-tools')
 optdepends=('guile: for use with Guile bindings')
 
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/${pkgname}-${pkgver}.tar.xz{,.sig})
@@ -28,14 +28,10 @@
 
 build() {
   cd ${pkgname}-${pkgver}
-
-  # disable libidn for security reasons:
-  # http://lists.gnupg.org/pipermail/gnutls-devel/2015-May/007582.html
-
   ./configure --prefix=/usr \
        --with-zlib \
        --disable-static \
-       --without-idn \
+       --with-idn \
        --enable-guile --with-guile-site-dir=no \
        
--with-default-trust-store-pkcs11="pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit"
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

Reply via email to