stunnel: switch to libressl
This commit is contained in:
parent
289d3452ef
commit
2c844c431f
|
@ -0,0 +1,18 @@
|
||||||
|
--- src/ssl.c 2014-07-12 06:13:07.356889656 +0000
|
||||||
|
+++ src/ssl.c 2014-07-12 06:15:39.032889896 +0000
|
||||||
|
@@ -195,6 +195,7 @@
|
||||||
|
}
|
||||||
|
s_log(LOG_DEBUG, "RAND_screen failed to sufficiently seed PRNG");
|
||||||
|
#else
|
||||||
|
+#ifdef HAVE_RAND_EGD
|
||||||
|
if(global->egd_sock) {
|
||||||
|
if((bytes=RAND_egd(global->egd_sock))==-1) {
|
||||||
|
s_log(LOG_WARNING, "EGD Socket %s failed", global->egd_sock);
|
||||||
|
@@ -207,6 +208,7 @@
|
||||||
|
so no need to check if seeded sufficiently */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
/* try the good-old default /dev/urandom, if available */
|
||||||
|
totbytes+=add_rand_file(global, "/dev/urandom");
|
||||||
|
if(RAND_status())
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'stunnel'
|
# Template file for 'stunnel'
|
||||||
pkgname=stunnel
|
pkgname=stunnel
|
||||||
version=5.02
|
version=5.02
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr/include"
|
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr/include"
|
||||||
makedepends="openssl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="SSL encryption wrapper"
|
short_desc="SSL encryption wrapper"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
|
Loading…
Reference in New Issue