[108833] trunk/dports/net/bro/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 2 15:48:56 PDT 2013
Revision: 108833
https://trac.macports.org/changeset/108833
Author: ryandesign at macports.org
Date: 2013-08-02 15:48:56 -0700 (Fri, 02 Aug 2013)
Log Message:
-----------
bro: whitespace changes and reformatting; add modeline
Modified Paths:
--------------
trunk/dports/net/bro/Portfile
Modified: trunk/dports/net/bro/Portfile
===================================================================
--- trunk/dports/net/bro/Portfile 2013-08-02 22:45:37 UTC (rev 108832)
+++ trunk/dports/net/bro/Portfile 2013-08-02 22:48:56 UTC (rev 108833)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -5,25 +6,21 @@
name bro
version 2.1
categories net security
-platforms darwin
+platforms darwin
maintainers gmail.com:tanawts
description BRO is a Network Intrusion Detection System
-long_description \
- Bro is an open-source, Unix-based Network Intrusion Detection System \
- (NIDS) that passively monitors network traffic and looks for suspicious \
- activity.
+long_description Bro is an open-source, Unix-based Network Intrusion \
+ Detection System (NIDS) that passively monitors network \
+ traffic and looks for suspicious activity.
+
homepage http://www.bro-ids.org/
master_sites ${homepage}downloads/release/
checksums sha1 c000a19831d46ecd448e1ec40ed84abfcf496b6f \
rmd160 38eab1b34d46f2f56725257de4584bed72d3d903
-livecheck.type regex
-livecheck.url ${homepage}/download.html
-livecheck.regex "${master_sites}/bro-(\[0-9a-z.\]+)-stable${extract.suffix}"
-
depends_build port:cmake \
port:swig-python
@@ -43,6 +40,7 @@
post-destroot {
move ${destroot}${prefix}/etc/broccoli.conf ${destroot}${prefix}/etc/broccoli.conf.dist
}
+
post-activate {
if {![file exists ${prefix}/etc/broccoli.conf]} {
copy ${prefix}/etc/broccoli.conf.dist ${prefix}/etc/broccoli.conf
@@ -53,3 +51,7 @@
"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."
+
+livecheck.type regex
+livecheck.url ${homepage}download.html
+livecheck.regex "${master_sites}/bro-(\[0-9a-z.\]+)-stable${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130802/b4bef03b/attachment.html>
More information about the macports-changes
mailing list