summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-08-18 23:10:03 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-08-18 23:10:03 +0000
commit5038610d92e0d7811df11592588f0371698b0aa4 (patch)
treef803c30c475e4a2e74c05dd0c553810d44b2f6e4 /net-misc/stunnel/files
parentClosing #59223 (Manifest recommit) (diff)
downloadgentoo-2-5038610d92e0d7811df11592588f0371698b0aa4.tar.gz
gentoo-2-5038610d92e0d7811df11592588f0371698b0aa4.tar.bz2
gentoo-2-5038610d92e0d7811df11592588f0371698b0aa4.zip
unmasked and closing #54390
Diffstat (limited to 'net-misc/stunnel/files')
-rw-r--r--net-misc/stunnel/files/stunnel.conf.4.0550
-rw-r--r--net-misc/stunnel/files/stunnel.rc6.4.0520
2 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/stunnel/files/stunnel.conf.4.05 b/net-misc/stunnel/files/stunnel.conf.4.05
new file mode 100644
index 000000000000..571e74b50393
--- /dev/null
+++ b/net-misc/stunnel/files/stunnel.conf.4.05
@@ -0,0 +1,50 @@
+# location of pid file
+pid = /etc/stunnel/stunnel.pid
+
+# user to run as
+setuid = stunnel
+setgid = stunnel
+
+# 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.4.05 b/net-misc/stunnel/files/stunnel.rc6.4.05
new file mode 100644
index 000000000000..4f9d57fba0b2
--- /dev/null
+++ b/net-misc/stunnel/files/stunnel.rc6.4.05
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/files/stunnel.rc6.4.05,v 1.1 2004/08/18 23:10:03 aliz Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting stunnel"
+ start-stop-daemon -p /etc/stunnel/stunnel.pid --start --quiet --exec /usr/sbin/stunnel -- /etc/stunnel/stunnel.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping stunnel"
+ start-stop-daemon -p /etc/stunnel/stunnel.pid --stop --quiet --exec /usr/sbin/stunnel -- /etc/stunnel/stunnel.conf
+ eend $?
+}