wget: update to 1.16.2.

This commit is contained in:
Juan RP 2015-03-01 12:11:26 +01:00
parent c651e86787
commit 17a9dd72d2
2 changed files with 5 additions and 20 deletions

View file

@ -1,15 +0,0 @@
$OpenBSD: patch-src_openssl_c,v 1.7 2014/04/19 12:14:15 sthen Exp $
--- src/openssl.c Sat Apr 19 06:12:48 2014
+++ src/openssl.c Sat Apr 19 06:13:18 2014
@@ -86,9 +86,11 @@ init_prng (void)
if (RAND_status ())
return;
+#ifdef HAVE_SSL_RAND_EGD
/* Get random data from EGD if opt.egd_file was used. */
if (opt.egd_file && *opt.egd_file)
RAND_egd (opt.egd_file);
+#endif
if (RAND_status ())
return;

View file

@ -1,10 +1,10 @@
# Template file for 'wget'
pkgname=wget
version=1.16.1
revision=3
version=1.16.2
revision=1
build_style=gnu-configure
configure_args="--with-ssl=openssl --with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl"
configure_args="--with-ssl=openssl"
hostmakedepends="perl pkg-config"
makedepends="libressl-devel>=2.1.3 libidn-devel libuuid-devel pcre-devel"
depends="ca-certificates"
conf_files="/etc/wgetrc"
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/wget/wget.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=3b834ce69366d4681f295307fce36ee14e122c4ee68a4d1291b62b0b26755a77
checksum=311a28f211117a338501009bfaba5bfeb9cd71564a7b9ad5775b8f5f4369f972
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc