diff options
author | schmonz <schmonz@pkgsrc.org> | 2004-06-06 14:19:04 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2004-06-06 14:19:04 +0000 |
commit | 15ce0d6edad694942bd013e5609eddc220933274 (patch) | |
tree | 739b425ba0ec49fe32d1cccd4ce0aae4588917c5 | |
parent | 6b7ca93f3026d30ba501f7684e4dae42ff9ba03e (diff) | |
download | pkgsrc-15ce0d6edad694942bd013e5609eddc220933274.tar.gz |
Add simple rc.d script. Bump PKGREVISION.
-rw-r--r-- | security/stunnel/Makefile | 6 | ||||
-rwxr-xr-x | security/stunnel/files/stunnel.sh | 17 |
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" |