1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update to stunnel 4.14, which is mostly a bugfix release.

Besides what's in the PR, also revert the pidfile location change to
preserve POLA and hier(7).

PR:		88436
Submitted by:	Vasil Dimov <vd@datamax.bg>
This commit is contained in:
Peter Pentchev 2005-11-03 11:51:10 +00:00
parent 021a9df60c
commit d6b724d900
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147105
5 changed files with 39 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= stunnel
PORTVERSION= 4.13
PORTVERSION= 4.14
CATEGORIES= security
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
ftp://stunnel.mirt.net/stunnel/ \

View File

@ -1,2 +1,2 @@
MD5 (stunnel-4.13.tar.gz) = d06383b49d8da71ca0b7f46caff90bde
SIZE (stunnel-4.13.tar.gz) = 488225
MD5 (stunnel-4.14.tar.gz) = 0969cc4868dfd75f22792ecccc9ec555
SIZE (stunnel-4.14.tar.gz) = 488512

View File

@ -0,0 +1,12 @@
diff -urN stunnel-4.13/configure stunnel-4.14/configure
--- configure Thu Oct 20 11:00:50 2005
+++ configure Tue Oct 25 23:21:23 2005
@@ -23194,7 +23339,7 @@
{ echo "$as_me:$LINENO: **************************************** write the results" >&5
echo "$as_me: **************************************** write the results" >&6;}
-CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir/stunnel\\\" -DPIDFILE=\\\"$localstatedir/stunnel/stunnel.pid\\\""
+CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir/stunnel\\\" -DPIDFILE=\\\"$localstatedir/run/stunnel.pid\\\""
ac_config_files="$ac_config_files Makefile src/Makefile src/stunnel3 doc/Makefile tools/Makefile tools/stunnel.conf-sample tools/stunnel.init"
cat >confcache <<\_ACEOF

View File

@ -0,0 +1,12 @@
diff -urN stunnel-4.13/configure.ac stunnel-4.14/configure.ac
--- configure.ac Thu Oct 20 10:25:51 2005
+++ configure.ac Tue Oct 25 23:20:00 2005
@@ -295,7 +296,7 @@
)
AC_MSG_NOTICE([**************************************** write the results])
-CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir/stunnel\\\" -DPIDFILE=\\\"$localstatedir/stunnel/stunnel.pid\\\""
+CPPFLAGS="$CPPFLAGS -DLIBDIR=\\\"$libdir\\\" -DCONFDIR=\\\"$sysconfdir/stunnel\\\" -DPIDFILE=\\\"$localstatedir/run/stunnel.pid\\\""
AC_CONFIG_FILES([Makefile src/Makefile src/stunnel3 doc/Makefile tools/Makefile tools/stunnel.conf-sample tools/stunnel.init])
AC_OUTPUT

View File

@ -0,0 +1,12 @@
diff -urN stunnel-4.13/tools/stunnel.init.in stunnel-4.14/tools/stunnel.init.in
--- tools/stunnel.init.in Sun Aug 11 01:17:48 2002
+++ tools/stunnel.init.in Tue Oct 25 23:34:39 2005
@@ -5,7 +5,7 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PREFIX=@prefix@
DAEMON=$PREFIX/sbin/stunnel
-PIDFILE=$PREFIX/var/stunnel/stunnel.pid
+PIDFILE=$PREFIX/var/run/stunnel/stunnel.pid
test -f $DAEMON || exit 0