diff options
author | abs <abs@pkgsrc.org> | 2007-12-04 13:30:06 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2007-12-04 13:30:06 +0000 |
commit | 353b2cea602290ab00bf905852e6a6e929aceb8b (patch) | |
tree | 7e90510826a5809ce2e5b8dd5b56e4a8008013d7 /net/dante | |
parent | eda1229d256b3b4c08c3aed0c1eeb22d6a53ca2a (diff) | |
download | pkgsrc-353b2cea602290ab00bf905852e6a6e929aceb8b.tar.gz |
Update dante to 1.1.19nb1:
Add rc.d startup script
Diffstat (limited to 'net/dante')
-rw-r--r-- | net/dante/Makefile | 5 | ||||
-rw-r--r-- | net/dante/files/sockd.sh | 16 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net/dante/Makefile b/net/dante/Makefile index ffe89ad6725..9ee852c8bbf 100644 --- a/net/dante/Makefile +++ b/net/dante/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2007/05/25 00:28:19 rh Exp $ +# $NetBSD: Makefile,v 1.21 2007/12/04 13:30:06 abs Exp $ DISTNAME= dante-1.1.19 +PKGREVISION= 1 CATEGORIES= net security MASTER_SITES= ftp://ftp.inet.no/pub/socks/ @@ -17,6 +18,8 @@ CONFIGURE_ARGS+= --with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf CHECK_PORTABILITY_SKIP= contrib/StartupItems.Dante +RCD_SCRIPTS= sockd + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dante .for cfg in sockd.conf socks-simple.conf socks.conf diff --git a/net/dante/files/sockd.sh b/net/dante/files/sockd.sh new file mode 100644 index 00000000000..8c783db119f --- /dev/null +++ b/net/dante/files/sockd.sh @@ -0,0 +1,16 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: sockd.sh,v 1.1 2007/12/04 13:30:06 abs Exp $ +# +# PROVIDE: sockd +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="sockd" +command="@PREFIX@/sbin/${name}" +command_args="-D" # run as a daemon +required_files="@PKG_SYSCONFDIR@/sockd.conf" + +load_rc_config $name +run_rc_command "$1" |