[78629] trunk/dports/net/flowd
ryandesign at macports.org
ryandesign at macports.org
Sat May 14 15:26:02 PDT 2011
Revision: 78629
http://trac.macports.org/changeset/78629
Author: ryandesign at macports.org
Date: 2011-05-14 15:26:01 -0700 (Sat, 14 May 2011)
Log Message:
-----------
flowd: update to 0.9.1; update homepage and master_sites to googlecode; don't clobber user conf file; suggest MacPorts log directory in default conf file
Modified Paths:
--------------
trunk/dports/net/flowd/Portfile
Added Paths:
-----------
trunk/dports/net/flowd/files/
trunk/dports/net/flowd/files/patch-flowd.conf.diff
Modified: trunk/dports/net/flowd/Portfile
===================================================================
--- trunk/dports/net/flowd/Portfile 2011-05-14 22:16:57 UTC (rev 78628)
+++ trunk/dports/net/flowd/Portfile 2011-05-14 22:26:01 UTC (rev 78629)
@@ -3,18 +3,27 @@
PortSystem 1.0
name flowd
-version 0.9
+version 0.9.1
categories net
platforms darwin
maintainers nomaintainer
description flowd is a small, fast and secure NetFlow collector.
long_description ${description}
-homepage http://www.mindrot.org/flowd.html
-master_sites http://www2.mindrot.org/files/flowd/
-checksums sha1 54cb8ecaaa36d2f25105156170680842123b965d
+homepage http://code.google.com/p/flowd/
+master_sites googlecode
+checksums sha1 3e9a19ea9203c875cedb23c8205a23f7b493a5eb \
+ rmd160 fb6f9042ff4018e758191b5649577393c0af77e4
+
depends_build port:byacc
-configure.args --mandir=${prefix}/share/man
+patchfiles patch-flowd.conf.diff
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/flowd.conf
+}
+
+post-destroot {
+ move ${destroot}${prefix}/etc/flowd.conf ${destroot}${prefix}/etc/flowd.conf.default
+}
Added: trunk/dports/net/flowd/files/patch-flowd.conf.diff
===================================================================
--- trunk/dports/net/flowd/files/patch-flowd.conf.diff (rev 0)
+++ trunk/dports/net/flowd/files/patch-flowd.conf.diff 2011-05-14 22:26:01 UTC (rev 78629)
@@ -0,0 +1,11 @@
+--- flowd.conf.orig 2005-05-14 01:04:48.000000000 -0500
++++ flowd.conf 2011-05-14 17:22:31.000000000 -0500
+@@ -1,7 +1,7 @@
+ # $Id: flowd.conf,v 1.15 2005/05/14 06:04:48 djm Exp $
+
+ # Specify where flowd should store its flow records
+-logfile "/var/log/flowd"
++logfile "@PREFIX@/var/log/flowd"
+
+ # Specify what addresses/ports flowd should listen on.
+ # Multiple addresses may be specified
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110514/b9f19eaf/attachment.html>
More information about the macports-changes
mailing list