[24906] trunk/dports/sysutils/syslog-ng/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon May 7 20:40:06 PDT 2007


Revision: 24906
          http://trac.macosforge.org/projects/macports/changeset/24906
Author:   markd at macports.org
Date:     2007-05-07 20:40:06 -0700 (Mon, 07 May 2007)

Log Message:
-----------
Closes #10445.  Update to 2.0.3 and take maintainership.

Modified Paths:
--------------
    trunk/dports/sysutils/syslog-ng/Portfile

Modified: trunk/dports/sysutils/syslog-ng/Portfile
===================================================================
--- trunk/dports/sysutils/syslog-ng/Portfile	2007-05-08 03:33:26 UTC (rev 24905)
+++ trunk/dports/sysutils/syslog-ng/Portfile	2007-05-08 03:40:06 UTC (rev 24906)
@@ -3,10 +3,10 @@
 PortSystem 1.0
 
 name			syslog-ng
-version			1.6.11
+version			2.0.3
 categories		sysutils
 platforms		darwin
-maintainers		jd at lifehertz.com
+maintainers		markd at macports.org
 description		Highly configurable syslog replacement.
 long_description	syslog-ng is the world's most flexible and scalable audit \
 					trail processing tool for organizations of any size. It \
@@ -17,21 +17,33 @@
 					customisable data mining and analysis capabilities. 
 
 homepage			http://www.balabit.com/products/syslog_ng/
-master_sites		http://www.balabit.com/downloads/syslog-ng/1.6/src
-checksums			md5 8f9ca6140f428dc9adec9fa1c270a2dd
+master_sites			http://www.balabit.com/downloads/files/syslog-ng/stable/src/
+checksums			md5 01cafcfebf1c05f9253c3f3c9a987434
 
-depends_lib			lib:libol:libol
+depends_lib			port:libol \
+				port:eventlog \
+				port:libnet11 \
+				port:glib2 \
+				port:pkgconfig
 
-configure.args		--mandir=${prefix}/share/man
+startupitem.create      yes
+startupitem.name        syslog-ng
+startupitem.executable  "${prefix}/sbin/syslog-ng"
 
+configure.args		--mandir=${prefix}/share/man \
+			--enable-dynamic-linking \
+			--sysconfdir=${prefix}/etc
+
 variant powerpc	{
 	configure.args-append		--host=powerpc
 }
 
 post-destroot	{
-	xinstall -m 644 ${worksrcpath}/doc/syslog-ng.conf.sample \
+	xinstall -m 644 ${worksrcpath}/doc/examples/syslog-ng.conf.sample \
 		${destroot}${prefix}/etc
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} ChangeLog INSTALL README AUTHORS COPYING \
-		NEWS PORTS ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${worksrcpath} ChangeLog README AUTHORS COPYING NEWS \
+		${destroot}${prefix}/share/doc/${name}
+	reinplace "s|/dev/log|/var/run/syslog|g" \
+		${destroot}${prefix}/etc/syslog-ng.conf.sample
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070507/c8db9435/attachment.html


More information about the macports-changes mailing list