Date: Thursday, October 25, 2012 @ 17:23:53
  Author: stephane
Revision: 169684

upgpkg: wget 1.14-2

depends on libidn to handle IDN domains; add dependecies suggested by namcap 
(pcre and util-linux)

Modified:
  wget/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2012-10-25 21:03:57 UTC (rev 169683)
+++ PKGBUILD    2012-10-25 21:23:53 UTC (rev 169684)
@@ -4,12 +4,12 @@
 
 pkgname=wget
 pkgver=1.14
-pkgrel=1
+pkgrel=2
 pkgdesc="A network utility to retrieve files from the Web"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/wget/wget.html";
 license=('GPL3')
-depends=('glibc' 'openssl')
+depends=('openssl' 'libidn' 'pcre' 'util-linux')
 optdepends=('ca-certificates: HTTPS downloads')
 backup=('etc/wgetrc')
 install=wget.install
@@ -20,12 +20,7 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  # Note : We do not build with --enable-nls, because there is a bug in wget 
causing
-  # international domain names to be not properly converted to punycode if
-  # the current locale is a UTF-8 one
-  # See : http://lists.gnu.org/archive/html/bug-wget/2011-02/msg00026.html
-
-  ./configure -with-ssl=openssl --prefix=/usr --sysconfdir=/etc
+  ./configure -with-ssl=openssl --prefix=/usr --sysconfdir=/etc --enable-nls
   make
 }
 
@@ -38,8 +33,4 @@
 # default root certs location
 ca_certificate=/etc/ssl/certs/ca-certificates.crt
 EOF
-
-  # remove IRI option from wgetrc as it does not work (see above)
-  sed -i '118,120d' $pkgdir/etc/wgetrc
-
 }

Reply via email to