summaryrefslogtreecommitdiff
path: root/security/stunnel
diff options
context:
space:
mode:
authorschmonz <schmonz>2004-06-06 14:19:04 +0000
committerschmonz <schmonz>2004-06-06 14:19:04 +0000
commit3ecd06c025c39bc9b438dd1ee550ebbea840197e (patch)
tree739b425ba0ec49fe32d1cccd4ce0aae4588917c5 /security/stunnel
parentca48cf3f94cc753a60cf41dc6ac82b1e5b8764fa (diff)
downloadpkgsrc-3ecd06c025c39bc9b438dd1ee550ebbea840197e.tar.gz
Add simple rc.d script. Bump PKGREVISION.
Diffstat (limited to 'security/stunnel')
-rw-r--r--security/stunnel/Makefile6
-rwxr-xr-xsecurity/stunnel/files/stunnel.sh17
2 files changed, 21 insertions, 2 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 1e27a41835b..96e5f87b4dc 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2004/04/25 03:12:29 snj Exp $
+# $NetBSD: Makefile,v 1.41 2004/06/06 14:19:04 schmonz Exp $
DISTNAME= stunnel-4.05
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
ftp://stunnel.mirt.net/stunnel/ \
@@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE} \
PKG_SYSCONFSUBDIR= stunnel
+RCD_SCRIPTS= stunnel
+
.include "../../security/openssl/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/stunnel/files/stunnel.sh b/security/stunnel/files/stunnel.sh
new file mode 100755
index 00000000000..b4ecc1ac922
--- /dev/null
+++ b/security/stunnel/files/stunnel.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: stunnel.sh,v 1.1 2004/06/06 14:19:04 schmonz Exp $
+#
+
+# PROVIDE: stunnel
+# REQUIRE: LOGIN
+
+. /etc/rc.subr
+
+name="stunnel"
+rcvar=$name
+command="@PREFIX@/sbin/stunnel"
+required_files="@PKG_SYSCONFDIR@/stunnel.conf"
+
+load_rc_config $name
+run_rc_command "$1"