pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/stunnel Updated stunnel to 4.06



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58c1801c1174
branches:  trunk
changeset: 486427:58c1801c1174
user:      martti <martti%pkgsrc.org@localhost>
date:      Tue Dec 28 09:09:52 2004 +0000

description:
Updated stunnel to 4.06

Version 4.06, 2004.12.26, urgency: LOW:
* New feature sponsored by SURFnet http://www.surfnet.nl/
  - IPv6 support (to be enabled with ./configure --enable-ipv6).
* New features
  - poll() support - no more FD_SETSIZE limit!
  - Multiple connect=host:port options are allowed in a single service
    section.  Remote hosts are connected using round-robin algorithm.
    This feature is not compatible with delayed resolver.
  - New 'compression' option to enable compression.  To use zlib
    algorithm you have to enable it when building OpenSSL library.
  - New 'engine' option to select a hardware engine.
  - New 'TIMEOUTconnect' option with 10 seconds default added.
  - stunnel3 perl script to emulate version 3.x command line options.
  - French manual updated by Bernard Choppy <choppy AT free POINT fr>.
  - A watchdog to detect transfer() infinite loops added.
  - Configuration file comment character changed from '#' to ';'.
    '#' will still be recognized to keep compatibility.
  - MT-safe getaddrinfo() and getnameinfo() are used where available
    to get better performance on resolver calls.
  - Automake upgraded from 1.4-p4 to 1.7.9.
* Bugfixes
  - log() changed to s_log() to avoid conflicts on some systems.
  - Common CRIT_INET critical section introduced instead of separate
    CRIT_NTOA and CRIT_RESOLVER to avoid potential problems with
        libwrap (TCP Wrappers) library.
  - CreateThread() finally replaced with _beginthread() on Win32.
  - make install creates $(localstatedir)/stunnel.
    $(localstatedir)/stunnel/dev/zero is also created on Solaris.
  - Race condition with client session cache fixed.
  - Other minor bugfixes.
* Release notes
  - Default is *not* to use IPv6 '::' for accept and '::1' for
    connect.  For example to accept pop3s on IPv6 you could use:
    'accept = :::995'.  I hope the new syntax is clear enough.

diffstat:

 security/stunnel/Makefile         |   5 ++---
 security/stunnel/distinfo         |  11 ++++++-----
 security/stunnel/patches/patch-aa |  18 +++++-------------
 security/stunnel/patches/patch-ab |  26 +++++++-------------------
 security/stunnel/patches/patch-ac |  21 +++++++++++++++++++++
 5 files changed, 41 insertions(+), 40 deletions(-)

diffs (127 lines):

diff -r 4f8fc180aa32 -r 58c1801c1174 security/stunnel/Makefile
--- a/security/stunnel/Makefile Tue Dec 28 08:55:31 2004 +0000
+++ b/security/stunnel/Makefile Tue Dec 28 09:09:52 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2004/12/28 02:47:49 reed Exp $
+# $NetBSD: Makefile,v 1.44 2004/12/28 09:09:52 martti Exp $
 
-DISTNAME=              stunnel-4.05
-PKGREVISION=           4
+DISTNAME=              stunnel-4.06
 CATEGORIES=            security
 MASTER_SITES=          ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
                        ftp://stunnel.mirt.net/stunnel/ \
diff -r 4f8fc180aa32 -r 58c1801c1174 security/stunnel/distinfo
--- a/security/stunnel/distinfo Tue Dec 28 08:55:31 2004 +0000
+++ b/security/stunnel/distinfo Tue Dec 28 09:09:52 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2004/02/16 11:48:38 martti Exp $
+$NetBSD: distinfo,v 1.16 2004/12/28 09:09:52 martti Exp $
 
-SHA1 (stunnel-4.05.tar.gz) = a95b09ed88930fa432f47c5c5d3db770681fe715
-Size (stunnel-4.05.tar.gz) = 341191 bytes
-SHA1 (patch-aa) = 0d643d1823a21b1b7c4a380bf8ffdb3c7b578a09
-SHA1 (patch-ab) = d68f146259b1f7180e1e5173236154405f565acc
+SHA1 (stunnel-4.06.tar.gz) = cfabfe5b34c694297df6fc1d92fea37217d8f1a1
+Size (stunnel-4.06.tar.gz) = 484200 bytes
+SHA1 (patch-aa) = c8795837b7582de4d863fdd551501a4ef561bb0e
+SHA1 (patch-ab) = fccc8ffaf5d6023dd20700d201638d022b8638da
+SHA1 (patch-ac) = 081f259bbce31cab7a574f98c1f8c03aaa3f6491
diff -r 4f8fc180aa32 -r 58c1801c1174 security/stunnel/patches/patch-aa
--- a/security/stunnel/patches/patch-aa Tue Dec 28 08:55:31 2004 +0000
+++ b/security/stunnel/patches/patch-aa Tue Dec 28 09:09:52 2004 +0000
@@ -1,24 +1,16 @@
-$NetBSD: patch-aa,v 1.15 2004/02/16 11:48:38 martti Exp $
+$NetBSD: patch-aa,v 1.16 2004/12/28 09:09:52 martti Exp $
 
---- tools/Makefile.in.orig     2004-02-14 16:31:34.000000000 +0200
-+++ tools/Makefile.in  2004-02-16 13:41:21.000000000 +0200
-@@ -82,8 +82,8 @@
- EXTRA_DIST = ca.html ca.pl importCA.html importCA.sh script.sh        stunnel.spec stunnel.mak stunnel.cnf
- 
+--- tools/Makefile.in.orig     2004-12-26 01:36:52.000000000 +0200
++++ tools/Makefile.in  2004-12-28 12:28:16.000000000 +0200
+@@ -164,4 +164,4 @@
  
 -confdir = $(sysconfdir)/stunnel
 -conf_DATA = stunnel.conf-sample stunnel.pem
 +confdir = $(datadir)/examples/stunnel
 +conf_DATA = stunnel.conf-sample
- 
  docdir = $(datadir)/doc/stunnel
- examplesdir = $(docdir)/examples
-@@ -251,7 +251,7 @@
-               -in stunnel.pem
- 
+@@ -401,3 +401,3 @@
  install-data-hook:
 -      chmod 0600 $(DESTDIR)$(confdir)/stunnel.pem
 +      true
  
- clean-local:
-       -rm -f stunnel.rnd
diff -r 4f8fc180aa32 -r 58c1801c1174 security/stunnel/patches/patch-ab
--- a/security/stunnel/patches/patch-ab Tue Dec 28 08:55:31 2004 +0000
+++ b/security/stunnel/patches/patch-ab Tue Dec 28 09:09:52 2004 +0000
@@ -1,29 +1,17 @@
-$NetBSD: patch-ab,v 1.13 2004/02/16 11:48:38 martti Exp $
+$NetBSD: patch-ab,v 1.14 2004/12/28 09:09:52 martti Exp $
 
---- configure.orig     2003-12-28 22:55:49.000000000 +0200
-+++ configure  2004-02-16 13:41:46.000000000 +0200
-@@ -8025,6 +8025,7 @@
- fi
- 
+--- configure.orig     2004-12-26 01:31:18.000000000 +0200
++++ configure  2004-12-28 12:30:28.000000000 +0200
+@@ -21348,2 +21348,3 @@
  
 +if false; then
  # OSF hack instead of simple AC_CHECK_LIB here
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
- echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
-@@ -8134,6 +8135,7 @@
- 
- 
+@@ -21475,2 +21476,3 @@
  fi
 +fi
  
- 
- 
-@@ -10124,7 +10126,7 @@
- 
+@@ -22019,3 +22021,3 @@
  LIBS="$LIBS $wrap_LIB"
- 
 -CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir/stunnel\\\" -DPIDFILE=\\\"$localstatedir/run/stunnel.pid\\\""
 +CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir\\\" -DPIDFILE=\\\"$localstatedir/run/stunnel.pid\\\""
- 
-                                                             ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile tools/Makefile tools/stunnel.conf-sample tools/stunnel.init"
- 
+                                                                       ac_config_files="$ac_config_files Makefile src/Makefile src/stunnel3 doc/Makefile tools/Makefile tools/stunnel.conf-sample 
tools/stunnel.init"
diff -r 4f8fc180aa32 -r 58c1801c1174 security/stunnel/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/stunnel/patches/patch-ac Tue Dec 28 09:09:52 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.5 2004/12/28 09:09:52 martti Exp $
+
+*** src/network.c      2004-10-14 17:03:49.000000000 +0200
+--- src/network.c      2004-12-27 21:21:16.000000000 +0100
+***************
+*** 125,131 ****
+      int retval;
+  
+      do { /* skip "Interrupted system call" errors */
+!         retval=poll(fds->ufds, fds->nfds, 1000*timeout);
+              /* no timeout -> main loop */
+          if(timeout<0 && retval>0 && s_poll_canread(fds, signal_pipe[0]))
+              signal_pipe_empty();
+--- 125,131 ----
+      int retval;
+  
+      do { /* skip "Interrupted system call" errors */
+!         retval=poll(fds->ufds, fds->nfds, timeout<0 ? -1 : 1000*timeout);
+              /* no timeout -> main loop */
+          if(timeout<0 && retval>0 && s_poll_canread(fds, signal_pipe[0]))
+              signal_pipe_empty();



Home | Main Index | Thread Index | Old Index