Update to 5.42. From the changelog: * New features - "redirect" also supports "exec" and not only "connect". - PKCS#11 engine DLL updated to version 0.4.7. * Bugfixes - Fixed premature cron thread initialization causing hangs. - Fixed "verifyPeer = yes" on OpenSSL <= 1.0.1. - Fixed pthreads support on OpenSolaris.diff -r1.107 -r1.108 pkgsrc/security/stunnel/Makefile
(schmonz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.107 2017/06/23 03:45:18 schmonz Exp $ | 1 | # $NetBSD: Makefile,v 1.108 2017/08/11 01:30:23 schmonz Exp $ | |
2 | 2 | |||
3 | DISTNAME= stunnel-5.41 | 3 | DISTNAME= stunnel-5.42 | |
4 | CATEGORIES= security | 4 | CATEGORIES= security | |
5 | MASTER_SITES= http://www.stunnel.org/downloads/ | 5 | MASTER_SITES= http://www.stunnel.org/downloads/ | |
6 | 6 | |||
7 | MAINTAINER= jym@NetBSD.org | 7 | MAINTAINER= jym@NetBSD.org | |
8 | HOMEPAGE= http://www.stunnel.org/ | 8 | HOMEPAGE= http://www.stunnel.org/ | |
9 | COMMENT= Universal SSL tunnel | 9 | COMMENT= Universal SSL tunnel | |
10 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
11 | 11 | |||
12 | BUILD_DEFS+= VARBASE | 12 | BUILD_DEFS+= VARBASE | |
13 | USE_LIBTOOL= yes | 13 | USE_LIBTOOL= yes | |
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 15 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
16 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 16 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.54 2017/06/23 03:45:18 schmonz Exp $ | 1 | $NetBSD: distinfo,v 1.55 2017/08/11 01:30:23 schmonz Exp $ | |
2 | 2 | |||
3 | SHA1 (stunnel-5.41.tar.gz) = 9aa8335e0f9571480b0d62b4b58d9d510447b732 | 3 | SHA1 (stunnel-5.42.tar.gz) = c9228cb94750bfa4a8f6594d544280002fd43345 | |
4 | RMD160 (stunnel-5.41.tar.gz) = fdab09cd74f94a09c9b407e7cec58868a5e86cc2 | 4 | RMD160 (stunnel-5.42.tar.gz) = c40db532d1121681b9ddecfe56bff3e5b8152f54 | |
5 | SHA512 (stunnel-5.41.tar.gz) = cfe414330905d133d4ec698b0d3e40e376a29b70376d88695fbf928c78c8ede36a9d80fca3644f9219a7d4f17fea17cb8bc42e80d788848756bd863bf5eb7ff9 | 5 | SHA512 (stunnel-5.42.tar.gz) = 875af19e8a4fa8e983e98d3e6bea198b789bea9b18933ed74aa1f9ce6922e4c4dd3a4ccae3b74c12de30c39b68c3210c9adb7cd228c7fefc28dff258dcdb4968 | |
6 | Size (stunnel-5.41.tar.gz) = 649807 bytes | 6 | Size (stunnel-5.42.tar.gz) = 649496 bytes | |
7 | SHA1 (patch-aa) = b247aca629197887fb720f7a02d9b73d60bb0d37 | 7 | SHA1 (patch-aa) = b247aca629197887fb720f7a02d9b73d60bb0d37 | |
8 | SHA1 (patch-ac) = 4e5e0a3cfe95b3952741814a1f26bcb99d002fdc | 8 | SHA1 (patch-ac) = 4e5e0a3cfe95b3952741814a1f26bcb99d002fdc | |
9 | SHA1 (patch-stunnel.conf-sample.in) = 86d195963e5ad2db381ac89ae0fca13a7f641fa5 | 9 | SHA1 (patch-stunnel.conf-sample.in) = 9edaabd1bc15d3ff8524178f4a6aba4a7963b015 |
@@ -1,14 +1,16 @@ | @@ -1,14 +1,16 @@ | |||
1 | $NetBSD: patch-stunnel.conf-sample.in,v 1.1 2016/08/29 19:21:24 jym Exp $ | 1 | $NetBSD: patch-stunnel.conf-sample.in,v 1.2 2017/08/11 01:30:23 schmonz Exp $ | |
2 | ||||
3 | Set pkgsrc defaults: uid, gid, chroot, pidfile. | |||
2 | 4 | |||
3 | --- tools/stunnel.conf-sample.in.orig 2016-07-05 21:27:57.000000000 +0000 | 5 | --- tools/stunnel.conf-sample.in.orig 2016-07-05 21:27:57.000000000 +0000 | |
4 | +++ tools/stunnel.conf-sample.in | 6 | +++ tools/stunnel.conf-sample.in | |
5 | @@ -8,11 +8,14 @@ | 7 | @@ -8,11 +8,14 @@ | |
6 | ; ************************************************************************** | 8 | ; ************************************************************************** | |
7 | 9 | |||
8 | ; It is recommended to drop root privileges if stunnel is started by root | 10 | ; It is recommended to drop root privileges if stunnel is started by root | |
9 | -;setuid = nobody | 11 | -;setuid = nobody | |
10 | -;setgid = @DEFAULT_GROUP@ | 12 | -;setgid = @DEFAULT_GROUP@ | |
11 | +setuid = @STUNNEL_USER@ | 13 | +setuid = @STUNNEL_USER@ | |
12 | +setgid = @STUNNEL_GROUP@ | 14 | +setgid = @STUNNEL_GROUP@ | |
13 | + | 15 | + | |
14 | +; Default chroot path | 16 | +; Default chroot path |