wget: switch to libressl

This commit is contained in:
Ypnose 2014-07-14 12:51:37 +02:00
parent 61d118b03a
commit 589f2b9416
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,15 @@
$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,11 +1,11 @@
# Template file for 'wget'
pkgname=wget
version=1.15
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-ssl=openssl --with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl"
makedepends="openssl-devel libidn-devel ca-certificates libuuid-devel pcre-devel"
makedepends="libressl-devel libidn-devel ca-certificates libuuid-devel pcre-devel"
depends="ca-certificates"
conf_files="/etc/wgetrc"
short_desc="The GNU wget utility"