add rcscript

ok ajacoutot steven (MAINTAINER)
This commit is contained in:
william 2011-09-14 02:34:06 +00:00
parent 5ba30b2b93
commit 0a6e232f60
3 changed files with 13 additions and 2 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.21 2011/05/01 13:48:32 steven Exp $
# $OpenBSD: Makefile,v 1.22 2011/09/14 02:34:06 william Exp $
COMMENT= syslogd replacement
V = 3.1.4
DISTNAME = syslog-ng-$V
REVISION = 0
CATEGORIES = sysutils
MAINTAINER = Steven Mestdagh <steven@openbsd.org>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2010/09/24 17:54:16 steven Exp $
@comment $OpenBSD: PLIST,v 1.9 2011/09/14 02:34:06 william Exp $
@bin bin/pdbtool
bin/update-patterndb
@man man/man1/pdbtool.1
@ -10,3 +10,4 @@ share/examples/syslog-ng/
@sample ${SYSCONFDIR}/syslog-ng/
share/examples/syslog-ng/syslog-ng.conf.sample
@sample ${SYSCONFDIR}/syslog-ng/syslog-ng.conf
@rcscript ${RCDIR}/syslog_ng

View File

@ -0,0 +1,9 @@
#!/bin/sh
#
# $OpenBSD: syslog_ng.rc,v 1.1 2011/09/14 02:34:06 william Exp $
daemon="${PREFIX}/sbin/syslog-ng"
. /etc/rc.d/rc.subr
rc_cmd $1