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