[arch-commits] Commit in wget/trunk (PKGBUILD)
Angel Velásquez
angvp at archlinux.org
Sat Feb 19 17:08:53 UTC 2011
Date: Saturday, February 19, 2011 @ 12:08:52
Author: angvp
Revision: 110501
upgpkg: wget 1.12-4
Fixing FS#21650
Modified:
wget/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-19 17:00:32 UTC (rev 110500)
+++ PKGBUILD 2011-02-19 17:08:52 UTC (rev 110501)
@@ -4,7 +4,7 @@
pkgname=wget
pkgver=1.12
-pkgrel=3
+pkgrel=4
pkgdesc="A network utility to retrieve files from the Web"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/wget/wget.html"
@@ -25,11 +25,18 @@
# Fix arbitrary file overwrite via 3xx redirect (CVE-2010-2252)
patch -Np1 -i ../wget-1.12-CVE-2010-2252.patch
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./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
+ca_certificate=/etc/ssl/certs/ca-certificates.crt
+EOF
+
}
More information about the arch-commits
mailing list