Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 12:47:26 +0200 (CEST)
From:      Lars Engels <lars.engels@0x20.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113083: [PATCH] sysutils/syslog-ng: fix MASTER_SITES, take maintainership
Message-ID:  <200705281047.l4SAlQ8a028296@maggie.bsd-geek.de>
Resent-Message-ID: <200705281050.l4SAo4hH065733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113083
>Category:       ports
>Synopsis:       [PATCH] sysutils/syslog-ng: fix MASTER_SITES, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 10:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Lars Engels
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD maggie.bsd-geek.de 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed May 23 20:26:27 CEST 2007
>Description:
[DESCRIBE CHANGES]
- fix MASTER_SITES
- mv pkg-message files/pkg-message.in
- Take maintainership

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- syslog-ng-1.6.12.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/syslog-ng/Makefile,v
retrieving revision 1.33
diff -u -u -r1.33 Makefile
--- Makefile	5 Feb 2007 14:48:57 -0000	1.33
+++ Makefile	28 May 2007 10:44:56 -0000
@@ -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 @@
 
 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 @@
 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} \
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	29 Mar 2006 21:20:19 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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
-
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	28 May 2007 10:44:56 -0000
@@ -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
+
--- syslog-ng-1.6.12.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705281047.l4SAlQ8a028296>