From d9a6c8566ba8d77ab771dda734991166ae44be13 Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 30 May 2007 06:42:40 +0000 Subject: - Update MASTER_SITES - Pass maintainership to submitter PR: 113083 Submitted by: Lars Engels --- sysutils/syslog-ng1/Makefile | 15 ++++----------- sysutils/syslog-ng1/files/pkg-message.in | 25 +++++++++++++++++++++++++ sysutils/syslog-ng1/pkg-message | 25 ------------------------- 3 files changed, 29 insertions(+), 36 deletions(-) create mode 100644 sysutils/syslog-ng1/files/pkg-message.in delete mode 100644 sysutils/syslog-ng1/pkg-message (limited to 'sysutils/syslog-ng1') diff --git a/sysutils/syslog-ng1/Makefile b/sysutils/syslog-ng1/Makefile index 3a838e1cb143..b061b1b5faa5 100644 --- a/sysutils/syslog-ng1/Makefile +++ b/sysutils/syslog-ng1/Makefile @@ -8,10 +8,9 @@ PORTNAME= syslog-ng PORTVERSION= 1.6.12 CATEGORIES= sysutils -MASTER_SITES= http://www.balabit.com/downloads/syslog-ng/1.6/src/ \ - http://www.balabit.com/downloads/syslog-ng/1.6/src/old/ +MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/1.9/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= lars.engels@0x20.net COMMENT= A powerful syslogd replacement CONFIGURE_ARGS= --mandir=${MANPREFIX}/man @@ -22,6 +21,8 @@ USE_RC_SUBR= syslog-ng.sh OPTIONS= TCP_WRAPPERS "Enable TCP wrapper support" off +SUB_FILES= pkg-message + MAN5= syslog-ng.conf.5 MAN8= syslog-ng.8 @@ -31,14 +32,6 @@ MAN8= syslog-ng.8 CONFIGURE_ARGS+= --enable-tcp-wrapper .endif -post-patch: - @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' \ - ${WRKSRC}/src/syslog-ng.h - -post-build: - @${SED} -e 's,__PREFIX__,${PREFIX},g' ${PKGDIR}/pkg-message \ - > ${PKGMESSAGE} - post-install: .if !defined(NOPORTDOCS) ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \ diff --git a/sysutils/syslog-ng1/files/pkg-message.in b/sysutils/syslog-ng1/files/pkg-message.in new file mode 100644 index 000000000000..be772e96dd4a --- /dev/null +++ b/sysutils/syslog-ng1/files/pkg-message.in @@ -0,0 +1,25 @@ + +syslog-ng is now installed! To replace FreeBSD's standard syslogd +(/usr/sbin/syslogd), complete these steps: + +1. Create a configuration file named %%PREFIX%%/etc/syslog-ng/syslog-ng.conf + (a sample named syslog-ng.conf.sample has been included) + +2. Configure syslog-ng to start automatically by adding the following + to /etc/rc.conf: + + syslog_ng_enable="YES" + +3. Prevent the standard FreeBSD syslogd from starting automatically by + adding a line to the end of your /etc/rc.conf file that reads: + + syslogd_enable="NO" + +4. Shut down the standard FreeBSD syslogd: + + kill `cat /var/run/syslog.pid` + +5. Start syslog-ng: + + %%PREFIX%%/etc/rc.d/syslog-ng.sh start + diff --git a/sysutils/syslog-ng1/pkg-message b/sysutils/syslog-ng1/pkg-message deleted file mode 100644 index 223446c811e0..000000000000 --- a/sysutils/syslog-ng1/pkg-message +++ /dev/null @@ -1,25 +0,0 @@ - -syslog-ng is now installed! To replace FreeBSD's standard syslogd -(/usr/sbin/syslogd), complete these steps: - -1. Create a configuration file named __PREFIX__/etc/syslog-ng/syslog-ng.conf - (a sample named syslog-ng.conf.sample has been included) - -2. Configure syslog-ng to start automatically by adding the following - to /etc/rc.conf: - - syslog_ng_enable="YES" - -3. Prevent the standard FreeBSD syslogd from starting automatically by - adding a line to the end of your /etc/rc.conf file that reads: - - syslogd_enable="NO" - -4. Shut down the standard FreeBSD syslogd: - - kill `cat /var/run/syslog.pid` - -5. Start syslog-ng: - - __PREFIX__/etc/rc.d/syslog-ng.sh start - -- cgit