aboutsummaryrefslogtreecommitdiff
path: root/security/barnyard2
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2011-04-04 21:28:15 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2011-04-04 21:28:15 +0000
commit0dc5cd7e20bd5addc9a59e4b48fd70ce700a5dc9 (patch)
tree32345b0997c2160bd6bb012d88702ceeaf91753e /security/barnyard2
parente93889f70793fc21a1dcd3d15d084ca3bcff6450 (diff)
downloadports-0dc5cd7e20bd5addc9a59e4b48fd70ce700a5dc9.tar.gz
ports-0dc5cd7e20bd5addc9a59e4b48fd70ce700a5dc9.zip
Notes
Diffstat (limited to 'security/barnyard2')
-rw-r--r--security/barnyard2/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/security/barnyard2/Makefile b/security/barnyard2/Makefile
index 372b5dc6dd18..bd6e5d5a9c92 100644
--- a/security/barnyard2/Makefile
+++ b/security/barnyard2/Makefile
@@ -7,17 +7,17 @@
PORTNAME= barnyard2
PORTVERSION= 1.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.securixlive.com/download/barnyard2/
MAINTAINER= pauls@utdallas.edu
-COMMENT= An output system for Snort that parses unified2 files
-
-RUN_DEPENDS+= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
+COMMENT= An output system for Snort or Suricata that parses unified2 files
OPTIONS= MYSQL "Enable MySQL support" on \
- POSTGRESQL "Enable PostgreSQL support" off
+ POSTGRESQL "Enable PostgreSQL support" off \
+ SNORT "Depend on security/snort" off \
+ SURICATA "Depend on security/suricata" off
USE_RC_SUBR= barnyard2.sh
GNU_CONFIGURE= yes
@@ -42,6 +42,14 @@ USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql
.endif
+.if defined(WITH_SNORT)
+RUN_DEPENDS+= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
+.endif
+
+.if defined(WITH_SURICATA)
+RUN_DEPENDS+= ${LOCALBASE}/bin/suricata:${PORTSDIR}/security/suricata
+.endif
+
pre-install:
${CHMOD} 744 ${WRKSRC}/install-sh