summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-08-17 13:00:14 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-08-17 13:00:14 +0000
commitd5651d2e086031ade34416c459dcf064984be472 (patch)
treef0535b07a0d1ec719a88bbff39932f16c2c4e95b /net
parent- Add BUILD_DEPENDS (diff)
- Update to 1.2.1 - no functional changes, entirely compilation fixes on
other platforms. I figure if I have to bump PORTREVISION for the other change I might as well just update to 1.2.1 to stop the occasional "there is a new version, please update" emails. - Change REQUIRE to be DAEMON instead of NETWORKING. Previously it would try to start before ldconfig but would fail because ldnet could not be found. - While here, add some other small changes to RC script per dougb@.
Notes
Notes: svn path=/head/; revision=279901
Diffstat (limited to 'net')
-rw-r--r--net/daemonlogger/Makefile2
-rw-r--r--net/daemonlogger/distinfo4
-rw-r--r--net/daemonlogger/files/daemonlogger.sh.in9
3 files changed, 9 insertions, 6 deletions
diff --git a/net/daemonlogger/Makefile b/net/daemonlogger/Makefile
index 46a262d328a0..6bf352e78d33 100644
--- a/net/daemonlogger/Makefile
+++ b/net/daemonlogger/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= daemonlogger
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.1
CATEGORIES= net
MASTER_SITES= http://www.snort.org/users/roesch/code/
diff --git a/net/daemonlogger/distinfo b/net/daemonlogger/distinfo
index 73c6261cb911..8dcce72c8b40 100644
--- a/net/daemonlogger/distinfo
+++ b/net/daemonlogger/distinfo
@@ -1,2 +1,2 @@
-SHA256 (daemonlogger-1.2.0.tar.gz) = 5aeace50aae924743296cc9e97351132f604830df5185a8a74e55f61ada3904c
-SIZE (daemonlogger-1.2.0.tar.gz) = 114149
+SHA256 (daemonlogger-1.2.1.tar.gz) = 79fcd34d815e9c671ffa1ea3c7d7d50f895bb7a79b4448c4fd1c37857cf44a0b
+SIZE (daemonlogger-1.2.1.tar.gz) = 114820
diff --git a/net/daemonlogger/files/daemonlogger.sh.in b/net/daemonlogger/files/daemonlogger.sh.in
index cfffb5d0a00c..649668e29d33 100644
--- a/net/daemonlogger/files/daemonlogger.sh.in
+++ b/net/daemonlogger/files/daemonlogger.sh.in
@@ -1,7 +1,10 @@
#!/bin/sh
+# $FreeBSD$
+#
# PROVIDE: daemonlogger
-# REQUIRE: NETWORKING
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable daemonlogger:
@@ -14,13 +17,13 @@
name="daemonlogger"
rcvar=`set_rcvar`
-command_args=" > /dev/null 2>&1"
-
load_rc_config $name
: ${daemonlogger_enable:="NO"}
: ${daemonlogger_flags:="-d -l /var/log"}
command=%%PREFIX%%/bin/daemonlogger
+command_args=" > /dev/null 2>&1"
+
run_rc_command "$1"