diff options
author | abs <abs> | 2007-12-04 13:30:06 +0000 |
---|---|---|
committer | abs <abs> | 2007-12-04 13:30:06 +0000 |
commit | 32fe6dd74fda2f2fe1e059b1896f0e1c1ae75c20 (patch) | |
tree | 7e90510826a5809ce2e5b8dd5b56e4a8008013d7 /net | |
parent | aabc40fadefac9ad55aec37a6693de06d7ba15f2 (diff) | |
download | pkgsrc-32fe6dd74fda2f2fe1e059b1896f0e1c1ae75c20.tar.gz |
Update dante to 1.1.19nb1:
Add rc.d startup script
Diffstat (limited to 'net')
-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" |