Subject: pkg/13537: update stunnel to version 3.16
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 07/23/2001 08:26:20
>Number:         13537
>Category:       pkg
>Synopsis:       update stunnel to version 3.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 22 23:24:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        1.5W
>Organization:
>Environment:
System: NetBSD dhcp39 1.5W NetBSD 1.5W (KAYAK) #2: Fri Jul 20 15:16:58 CEST 2001 root@dhcp39:/usr/src/sys/arch/i386/compile/KAYAK i386
Architecture: i386
Machine: i386
>Description:

Update the stunnel package to the latest stable version.

Changelog for version 3.16, 2001.07.22, urgency: MEDIUM:

* Some transfer() bugfixes/improvements.
* STDIN/STDOUT are no logner assumed to be non-socket decriptors.
* Problem with --with-tcp-wrappers patch fixed.
* pop3 and nntp support bug fixed by Martin Germann.
* -o option to append log messages to a file added.
* Changed error message for SSL error 0.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/stunnel/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	2001/07/20 09:58:29	1.19
+++ Makefile	2001/07/23 06:26:31
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.19 2001/07/20 09:58:29 tron Exp $
 #
 
-DISTNAME=		stunnel-3.15
+DISTNAME=		stunnel-3.16
 CATEGORIES=		security
 MASTER_SITES=		ftp://ftp.fu-berlin.de/pub/unix/security/stunnel/ \
 			ftp://stunnel.mirt.net/stunnel/ \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/stunnel/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	2001/07/19 12:22:17	1.4
+++ distinfo	2001/07/23 06:26:31
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.4 2001/07/19 12:22:17 martin Exp $
 
-SHA1 (stunnel-3.15.tar.gz) = a8edd56287efe917b622582a607f2f0acf06ec42
-Size (stunnel-3.15.tar.gz) = 120633 bytes
+SHA1 (stunnel-3.16.tar.gz) = 918a5ddf3555c33c67d9c3bbea6fe4ab1ab7859a
+Size (stunnel-3.16.tar.gz) = 121666 bytes
 SHA1 (patch-aa) = 9ef36b68a7689e9130da6b11f21a9ff9e6fcda90
-SHA1 (patch-ab) = 4fa1cccd3aeed03b2bb544a0fde04b3c2c72b6eb
+SHA1 (patch-ab) = 448f289c0f1f6418f7edab319fc4c7b1e5f956e5
 SHA1 (patch-ac) = 9246c0855f0fa12f79d00f7729c54c9b1703bdb9
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/security/stunnel/patches/patch-ab,v
retrieving revision 1.5
diff -u -r1.5 patch-ab
--- patch-ab	2001/07/19 12:22:17	1.5
+++ patch-ab	2001/07/23 06:26:31
@@ -1,15 +1,25 @@
 $NetBSD: patch-ab,v 1.5 2001/07/19 12:22:17 martin Exp $
 
---- configure.in.orig	Sun Jul 15 14:43:33 2001
-+++ configure.in	Thu Jul 19 14:02:22 2001
-@@ -108,21 +108,24 @@
- fi
+--- configure.in.orig	Mon Jul 23 08:16:50 2001
++++ configure.in	Mon Jul 23 08:20:12 2001
+@@ -124,31 +124,28 @@
+ AC_CHECK_LIB(dl, dlopen)
+ AC_CHECK_LIB(nsl, gethostbyname)
+ AC_CHECK_LIB(socket, socket)
+-AC_CHECK_LIB(pthread, pthread_create)
+-# BSD hack
+-AC_CHECK_LIB(c_r, pthread_create,
+-        [ LIBS="$LIBS -pthread"
+-	AC_DEFINE(HAVE_LIBPTHREAD) ]
+-)
+ AC_CHECK_LIB(util, openpty)
+ 
  
  dnl Check for libwrap library.
 +wrap_LIB=
- AC_MSG_CHECKING(whether to use the libwrap library)
+ AC_MSG_CHECKING(whether to use the libwrap (TCP wrappers) library)
  AC_ARG_WITH(tcp-wrappers,
- [  --with-tcp-wrappers     Use the libwrap library],
+ [  --with-tcp-wrappers     Use the libwrap (TCP wrappers) library],
    [
 +    saved_LIBS="$LIBS"
      if test "$withval" = "yes"; then
@@ -28,21 +38,7 @@
    ],
    [
      AC_MSG_RESULT((default))
-@@ -154,12 +157,7 @@
- AC_CHECK_LIB(dl, dlopen)
- AC_CHECK_LIB(nsl, gethostbyname)
- AC_CHECK_LIB(socket, socket)
--AC_CHECK_LIB(pthread, pthread_create)
--# BSD hack
--AC_CHECK_LIB(c_r, pthread_create,
--        [ LIBS="$LIBS -pthread"
--	AC_DEFINE(HAVE_LIBPTHREAD) ]
--)
-+# XXX pthread does not work with stunnel on NetBSD 
- AC_CHECK_LIB(util, openpty)
- 
- dnl Add SSL includes and libraries
-@@ -182,7 +180,7 @@
+@@ -184,7 +181,7 @@
  # AC_HEADER_DIRENT
  # AC_HEADER_STDC
  # AC_HEADER_SYS_WAIT
@@ -51,7 +47,7 @@
  
  # dnl Checks for typedefs, structures, and compiler characteristics.
  # AC_C_CONST
-@@ -200,6 +198,8 @@
+@@ -202,6 +199,8 @@
  AC_CHECK_SIZEOF(unsigned int)
  AC_CHECK_SIZEOF(unsigned long)
  AC_CHECK_SIZEOF(unsigned long long)
>Release-Note:
>Audit-Trail:
>Unformatted: