[80092] trunk/dports/net/bro/Portfile
jmr at macports.org
jmr at macports.org
Sun Jul 3 21:30:02 PDT 2011
Revision: 80092
http://trac.macports.org/changeset/80092
Author: jmr at macports.org
Date: 2011-07-03 21:29:59 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
bro: update to 1.5.3 (#25625, also fixes #25631)
Modified Paths:
--------------
trunk/dports/net/bro/Portfile
Modified: trunk/dports/net/bro/Portfile
===================================================================
--- trunk/dports/net/bro/Portfile 2011-07-04 03:53:58 UTC (rev 80091)
+++ trunk/dports/net/bro/Portfile 2011-07-04 04:29:59 UTC (rev 80092)
@@ -3,8 +3,7 @@
PortSystem 1.0
name bro
-version 1.2
-revision 2
+version 1.5.3
categories net security
platforms darwin
maintainers pmq
@@ -19,22 +18,28 @@
master_sites ${homepage}downloads/ \
ftp://ftp.bro-ids.org/
distname bro-${version}
-checksums sha1 fbafd2568be1e1c1cad9a92e5051e728b0a0b046 \
- rmd160 a7cbf4992b69d4ca49d842f99d61d3f6d6de5679
+checksums sha1 81ae6ab0b34edecae3d0fe76ca8b9030677c5441 \
+ rmd160 6dce9a38a16539cf31a661b4f666cc9ba345780e
livecheck.type regex
livecheck.url ${homepage}/download.html
livecheck.regex "${master_sites}/bro-(\[0-9a-z.\]+)-stable${extract.suffix}"
# use the system-provided flex
-depends_lib port:libpcap port:bison port:openssl path:bin/perl:perl5
+depends_lib port:libpcap port:bison port:openssl port:perl5 port:readline
-configure.pre_args --prefix=${prefix}/share/bro
-configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
- --bindir=${prefix}/bin --libdir=${prefix}/lib --enable-brov6
+configure.args --enable-brov6
+post-destroot {
+ move ${destroot}${prefix}/etc/broccoli.conf ${destroot}${prefix}/etc/broccoli.conf.dist
+}
post-activate {
- ui_msg "You'll need to set your BROHOME to ${prefix}/share/bro and your \
- BROPATH to ${prefix}/share/bro/site:${prefix}/share/bro/policy \
- to use the provided policies)."
+ if {![file exists ${prefix}/etc/broccoli.conf]} {
+ copy ${prefix}/etc/broccoli.conf.dist ${prefix}/etc/broccoli.conf
+ }
}
+
+notes \
+"You'll need to set your BROHOME to ${prefix}/share/bro and your\
+BROPATH to ${prefix}/share/bro/site:${prefix}/share/bro/policy\
+to use the provided policies."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/c32ed3c6/attachment-0001.html>
More information about the macports-changes
mailing list