aboutsummaryrefslogtreecommitdiff
path: root/sysutils/msyslog
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2006-09-16 19:39:45 +0000
committerAndrej Zverev <az@FreeBSD.org>2006-09-16 19:39:45 +0000
commit3b6998396e8e903939a57ad2c724bcb1a7646270 (patch)
treef29b3dd59a86f761f48aeef02e6f5f283d77ceba /sysutils/msyslog
parent2980af23dd7511dfdb830e91080d0d7b48254050 (diff)
downloadports-3b6998396e8e903939a57ad2c724bcb1a7646270.tar.gz
ports-3b6998396e8e903939a57ad2c724bcb1a7646270.zip
Notes
Diffstat (limited to 'sysutils/msyslog')
-rw-r--r--sysutils/msyslog/Makefile4
-rw-r--r--sysutils/msyslog/files/msyslogd.sh.in7
-rw-r--r--sysutils/msyslog/pkg-message5
3 files changed, 12 insertions, 4 deletions
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile
index bf7d8db929f6..3c23803d56ed 100644
--- a/sysutils/msyslog/Makefile
+++ b/sysutils/msyslog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= msyslog
PORTVERSION= 1.08g
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www1.corest.com/download/msyslog/
@@ -27,7 +27,7 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_RC_SUBR= msyslogd.sh
PKGMESSAGE= ${WRKDIR}/pkg-message
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
diff --git a/sysutils/msyslog/files/msyslogd.sh.in b/sysutils/msyslog/files/msyslogd.sh.in
index 2391d4aa2093..b575df03c791 100644
--- a/sysutils/msyslog/files/msyslogd.sh.in
+++ b/sysutils/msyslog/files/msyslogd.sh.in
@@ -9,7 +9,11 @@
#
# Add the following lines to /etc/rc.conf to enable msyslogd:
#
-#msyslogd_enable="YES"
+# msyslogd_enable="YES"
+#
+# Yes, here you can pass arguments to daemon
+#
+# msyslogd_flags=""
#
. %%RC_SUBR%%
@@ -43,5 +47,6 @@ stop_postcmd()
# read settings, set default values
load_rc_config $name
: ${msyslogd_enable="NO"}
+: ${msyslogd_flags=""}
run_rc_command "$1"
diff --git a/sysutils/msyslog/pkg-message b/sysutils/msyslog/pkg-message
index ec230912abb3..0e817bebe622 100644
--- a/sysutils/msyslog/pkg-message
+++ b/sysutils/msyslog/pkg-message
@@ -10,7 +10,10 @@ To replace FreeBSD's standard syslogd with msyslog, do this:
msyslogd_enable="YES"
-3) Stop the standard FreeBSD syslogd from starting automatically by putting this
+3) Pass right values from man pages to /etc/rc.conf for
+ msyslogd_flags=""
+
+4) Stop the standard FreeBSD syslogd from starting automatically by putting this
in the end of /etc/rc.conf:
syslogd_enable="NO"