summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-10-26 23:42:32 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-10-26 23:42:32 +0000
commitd668749c9f8f3ef32d5a8518db2dbb1030b8eba3 (patch)
tree71086d47c6199420be22cd33b90c6b331fa1e15c /net-misc/stunnel/files
parentbeautification of the 2.2.6-r1 entry (diff)
downloadgentoo-2-d668749c9f8f3ef32d5a8518db2dbb1030b8eba3.tar.gz
gentoo-2-d668749c9f8f3ef32d5a8518db2dbb1030b8eba3.tar.bz2
gentoo-2-d668749c9f8f3ef32d5a8518db2dbb1030b8eba3.zip
Version bump.
Diffstat (limited to 'net-misc/stunnel/files')
-rw-r--r--net-misc/stunnel/files/digest-stunnel-4.021
-rw-r--r--net-misc/stunnel/files/stunnel-4.02-gentoo.diff12
-rw-r--r--net-misc/stunnel/files/stunnel.conf50
-rw-r--r--net-misc/stunnel/files/stunnel.rc620
4 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/stunnel/files/digest-stunnel-4.02 b/net-misc/stunnel/files/digest-stunnel-4.02
new file mode 100644
index 000000000000..fea2627efd09
--- /dev/null
+++ b/net-misc/stunnel/files/digest-stunnel-4.02
@@ -0,0 +1 @@
+MD5 78ba0250d55120e4f42ee623cd06c04d stunnel-4.02.tar.gz 297962
diff --git a/net-misc/stunnel/files/stunnel-4.02-gentoo.diff b/net-misc/stunnel/files/stunnel-4.02-gentoo.diff
new file mode 100644
index 000000000000..b41de790e162
--- /dev/null
+++ b/net-misc/stunnel/files/stunnel-4.02-gentoo.diff
@@ -0,0 +1,12 @@
+--- tools/Makefile.in 2002-10-26 16:48:22.000000000 +0000
++++ tools/Makefile.in 2002-10-26 16:48:38.000000000 +0000
+@@ -83,7 +83,7 @@
+
+
+ confdir = $(sysconfdir)/stunnel
+-conf_DATA = stunnel.conf-sample stunnel.pem
++conf_DATA = stunnel.conf-sample
+
+ docdir = $(datadir)/doc/stunnel
+ examplesdir = $(docdir)/examples
+
diff --git a/net-misc/stunnel/files/stunnel.conf b/net-misc/stunnel/files/stunnel.conf
new file mode 100644
index 000000000000..4114349df8cc
--- /dev/null
+++ b/net-misc/stunnel/files/stunnel.conf
@@ -0,0 +1,50 @@
+# location of pid file
+pid = /var/run/stunnel.pid
+
+# user to run as
+setuid = nobody
+setgid = nogroup
+
+# Authentication stuff
+#verify = 2
+# don't forget about c_rehash CApath
+# it is located inside chroot jail:
+#CApath = /certs
+# or simply use CAfile instead:
+#CAfile = /usr/etc/stunnel/certs.pem
+
+# Some debugging stuff
+#debug = 7
+#output = stunnel.log
+
+# Use it for client mode
+#client = yes
+
+# sample service-level configuration
+
+#[pop3s]
+#accept = 995
+#connect = 110
+
+#[imaps]
+#accept = 993
+#connect = 143
+
+#[ssmtp]
+#accept = 465
+#connect = 25
+
+#[s1]
+#accept = 5000
+#connect = mail.osw.pl:110
+#delay = yes
+
+#[s2]
+#accept = 5001
+#connect = mail.osw.pl:25
+
+#[https]
+#accept = 443
+#connect = 80
+#TIMEOUTclose = 0
+
diff --git a/net-misc/stunnel/files/stunnel.rc6 b/net-misc/stunnel/files/stunnel.rc6
new file mode 100644
index 000000000000..7bcbe435d6a2
--- /dev/null
+++ b/net-misc/stunnel/files/stunnel.rc6
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/files/stunnel.rc6,v 1.1 2002/10/26 23:42:32 aliz Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting stunnel"
+ start-stop-daemon --start --quiet --exec /usr/sbin/stunnel
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping net-snmpd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/stunnel
+ eend $?
+}