upgrade stunnel to v4.25

This commit is contained in:
jakob 2008-07-15 08:33:49 +00:00
parent b3336cc89f
commit 3f1a16ec6a
3 changed files with 16 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.48 2008/05/20 20:25:36 jakob Exp $
# $OpenBSD: Makefile,v 1.49 2008/07/15 08:33:49 jakob Exp $
COMMENT= SSL encryption wrapper for standard network daemons
VERSION= 4.24
VERSION= 4.25
DISTNAME= stunnel-${VERSION}
PKGNAME= ${DISTNAME}
CATEGORIES= security

View File

@ -1,5 +1,5 @@
MD5 (stunnel-4.24.tar.gz) = 8u6pfy5R9SS0rdkH/64Hew==
RMD160 (stunnel-4.24.tar.gz) = o5e6XdUdUiTyRYlI75heB4Xvj7s=
SHA1 (stunnel-4.24.tar.gz) = 7G20CAGZ0R4CC3gNoPHMN9N9kjM=
SHA256 (stunnel-4.24.tar.gz) = 0SqQelvl6h+9vsRltcPy+ilyobONklpTZJLti1ELUe0=
SIZE (stunnel-4.24.tar.gz) = 531714
MD5 (stunnel-4.25.tar.gz) = fwB5n0ORDANi3w5pxlllqg==
RMD160 (stunnel-4.25.tar.gz) = 3LmWLlJz5p9a6u1r9wlJWql7qlI=
SHA1 (stunnel-4.25.tar.gz) = /G1h+tmW91DHbqYnxd2feJrw6vY=
SHA256 (stunnel-4.25.tar.gz) = nJZqGBJK0sKHc/4Ja3ZwcTIL2wfbafSA3zbLyoAGlIA=
SIZE (stunnel-4.25.tar.gz) = 532343

View File

@ -1,12 +1,15 @@
--- src/stunnel.c.orig Thu Mar 27 09:27:07 2008
+++ src/stunnel.c Mon Mar 31 23:59:14 2008
@@ -171,8 +171,8 @@ static void daemon_loop(void) {
--- src/stunnel.c.orig Wed May 21 13:33:33 2008
+++ src/stunnel.c Mon Jun 2 16:50:52 2008
@@ -169,11 +169,11 @@ static void daemon_loop(void) {
#if !defined (USE_WIN32) && !defined (__vms) && !defined(USE_OS2)
if(!(options.option.foreground))
daemonize();
- drop_privileges();
create_pid();
+ drop_privileges();
+ create_pid();
drop_privileges();
#ifdef USE_LIBWRAP
libwrap_init(LIBWRAP_CLIENTS); /* spawn LIBWRAP_CLIENTS processes */
#endif /* USE_LIBWRAP */
- create_pid();
#endif /* !defined USE_WIN32 && !defined (__vms) */
/* create exec+connect services */
for(opt=local_options.next; opt; opt=opt->next) {