Date: Thursday, March 3, 2011 @ 20:23:04 Author: stephane Revision: 112122
remove libidn dependency Modified: wget/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-03-04 00:22:52 UTC (rev 112121) +++ PKGBUILD 2011-03-04 01:23:04 UTC (rev 112122) @@ -10,7 +10,7 @@ url="http://www.gnu.org/software/wget/wget.html" license=('GPL3') groups=('base') -depends=('glibc' 'openssl' 'gettext' 'libidn') +depends=('glibc' 'openssl') optdepends=('ca-certificates: HTTPS downloads') backup=('etc/wgetrc') install=wget.install @@ -21,18 +21,23 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" - + # Fix arbitrary file overwrite via 3xx redirect (CVE-2010-2252) patch -Np1 -i ../wget-1.12-CVE-2010-2252.patch - ./configure -with-ssl --prefix=/usr --sysconfdir=/etc --enable-nls + # 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 --prefix=/usr --sysconfdir=/etc make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - + cat >> "$pkgdir/etc/wgetrc" <<EOF # default root certs location
