pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dante Update dante to 1.1.19nb1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8b2b41b9303
branches:  trunk
changeset: 536164:d8b2b41b9303
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Dec 04 13:30:06 2007 +0000

description:
Update dante to 1.1.19nb1:
    Add rc.d startup script

diffstat:

 net/dante/Makefile       |   5 ++++-
 net/dante/files/sockd.sh |  16 ++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 45ddde2d7aa1 -r d8b2b41b9303 net/dante/Makefile
--- a/net/dante/Makefile        Tue Dec 04 12:08:45 2007 +0000
+++ b/net/dante/Makefile        Tue Dec 04 13:30:06 2007 +0000
@@ -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 @@
 
 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 -r 45ddde2d7aa1 -r d8b2b41b9303 net/dante/files/sockd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dante/files/sockd.sh  Tue Dec 04 13:30:06 2007 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index