aboutsummaryrefslogtreecommitdiff
path: root/security/stunnel/files
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-09-20 09:29:11 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-09-20 09:29:11 +0000
commit88cba5e3822546fa74a37cf8b27dad39985ddf42 (patch)
tree25b220206192f9e8f235711830641af9770c53a2 /security/stunnel/files
parent0df64d11860f1765951c5511d11c9ad365d284c8 (diff)
downloadports-88cba5e3822546fa74a37cf8b27dad39985ddf42.tar.gz
ports-88cba5e3822546fa74a37cf8b27dad39985ddf42.zip
Notes
Diffstat (limited to 'security/stunnel/files')
-rw-r--r--security/stunnel/files/patch-Makefile.in20
-rw-r--r--security/stunnel/files/patch-aa6
-rw-r--r--security/stunnel/files/stunnel.in3
-rw-r--r--security/stunnel/files/stunnel.sh3
4 files changed, 5 insertions, 27 deletions
diff --git a/security/stunnel/files/patch-Makefile.in b/security/stunnel/files/patch-Makefile.in
deleted file mode 100644
index 117672685d0f..000000000000
--- a/security/stunnel/files/patch-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.orig Sun Dec 23 20:03:25 2001
-+++ Makefile.in Sun Sep 15 14:00:00 2002
-@@ -24,7 +24,7 @@
- LIBS=@LIBS@
- HEADERS=common.h prototypes.h client.h
- OBJS=client.o stunnel.o ssl.o protocol.o sthreads.o pty.o log.o options.o
--DESTFILES=$(sbindir)/stunnel $(libdir)/stunnel.so $(man8dir)/stunnel.8 $(PEM_DIR)/stunnel.pem
-+DESTFILES=$(sbindir)/stunnel $(libdir)/stunnel.so $(man8dir)/stunnel.8
-
- WINGCC=i386-mingw32msvc-gcc
- WINCFLAGS=-O2 -Wall -DUSE_WIN32=1 -DHAVE_OPENSSL=1 -DFD_SETSIZE=4096 -DVERSION=\"@VERSION@\" -I../openssl-0.9.6b/outinc
-@@ -33,7 +33,7 @@
-
- # standard external rules
-
--all: stunnel stunnel.8 stunnel.html stunnel.so stunnel.pem
-+all: stunnel stunnel.8 stunnel.html stunnel.so
-
- install: all installdirs $(DESTFILES)
-
diff --git a/security/stunnel/files/patch-aa b/security/stunnel/files/patch-aa
index 33f5ea0e6d88..4040d81f01a8 100644
--- a/security/stunnel/files/patch-aa
+++ b/security/stunnel/files/patch-aa
@@ -1,6 +1,6 @@
---- common.h.orig Wed Oct 31 00:07:31 2001
-+++ common.h Wed Oct 31 11:07:29 2001
-@@ -174,6 +174,7 @@
+--- src/common.h.orig Sat Aug 31 08:16:32 2002
++++ src/common.h Sat Aug 31 08:16:35 2002
+@@ -140,6 +140,7 @@
#define writesocket(s,b,n) write((s),(b),(n))
#define closesocket(s) close(s)
#define ioctlsocket(a,b,c) ioctl((a),(b),(c))
diff --git a/security/stunnel/files/stunnel.in b/security/stunnel/files/stunnel.in
index dc074e2771a1..8edeb0c175dc 100644
--- a/security/stunnel/files/stunnel.in
+++ b/security/stunnel/files/stunnel.in
@@ -10,8 +10,7 @@ STUNNEL="!!PREFIX!!/sbin/stunnel"
case "$1" in
start)
- ${STUNNEL} -d 993 -r localhost:imap -p !!PREFIX!!/etc/stunnel.pem
- ${STUNNEL} -d 995 -r localhost:pop3 -p !!PREFIX!!/etc/stunnel.pem
+ ${STUNNEL} !!PREFIX!!/etc/stunnel/stunnel.conf
;;
stop)
diff --git a/security/stunnel/files/stunnel.sh b/security/stunnel/files/stunnel.sh
index dc074e2771a1..8edeb0c175dc 100644
--- a/security/stunnel/files/stunnel.sh
+++ b/security/stunnel/files/stunnel.sh
@@ -10,8 +10,7 @@ STUNNEL="!!PREFIX!!/sbin/stunnel"
case "$1" in
start)
- ${STUNNEL} -d 993 -r localhost:imap -p !!PREFIX!!/etc/stunnel.pem
- ${STUNNEL} -d 995 -r localhost:pop3 -p !!PREFIX!!/etc/stunnel.pem
+ ${STUNNEL} !!PREFIX!!/etc/stunnel/stunnel.conf
;;
stop)