From 0a6e232f6042624914a8eb15fdbc0e2364872d56 Mon Sep 17 00:00:00 2001 From: william Date: Wed, 14 Sep 2011 02:34:06 +0000 Subject: [PATCH] add rcscript ok ajacoutot steven (MAINTAINER) --- sysutils/syslog-ng/Makefile | 3 ++- sysutils/syslog-ng/pkg/PLIST | 3 ++- sysutils/syslog-ng/pkg/syslog_ng.rc | 9 +++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 sysutils/syslog-ng/pkg/syslog_ng.rc diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index ca4279e68bf..5b42c55f61d 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -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 diff --git a/sysutils/syslog-ng/pkg/PLIST b/sysutils/syslog-ng/pkg/PLIST index 35afb2262ea..8c4a3d9fb68 100644 --- a/sysutils/syslog-ng/pkg/PLIST +++ b/sysutils/syslog-ng/pkg/PLIST @@ -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 diff --git a/sysutils/syslog-ng/pkg/syslog_ng.rc b/sysutils/syslog-ng/pkg/syslog_ng.rc new file mode 100644 index 00000000000..81f1fdd21d0 --- /dev/null +++ b/sysutils/syslog-ng/pkg/syslog_ng.rc @@ -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