aboutsummaryrefslogtreecommitdiff
path: root/security/barnyard2
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-01-15 09:48:34 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-01-15 09:48:34 +0000
commit9307eaf5d2017701f0e75deb365f718e3676ba16 (patch)
treeac6b1276b7d32d2e181f5815e890bac3bebceaf0 /security/barnyard2
parent87c7f9bc80ddce1bdc8bf2817418848e038cf779 (diff)
security/barnyard2: Ports cleanup
- Move DATABASE Backend options to OPTIONS_RADIO as only one backend is supported at a time. MYSQL and MYSQL_SSL will create conflict in previous state - Update pkg-plist to make proper use of @sample - Pass Maintainership [1] PR: 196552 [1] Differential Revision: https://reviews.freebsd.org/D1514 Submitted by: pauls@utdallas.edu [1] Approved by: bapt(mentor)
Notes
Notes: svn path=/head/; revision=377067
Diffstat (limited to 'security/barnyard2')
-rw-r--r--security/barnyard2/Makefile7
-rw-r--r--security/barnyard2/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/security/barnyard2/Makefile b/security/barnyard2/Makefile
index 4036c2d4d72e..8da8dc229ce2 100644
--- a/security/barnyard2/Makefile
+++ b/security/barnyard2/Makefile
@@ -4,7 +4,7 @@ PORTNAME= barnyard2
PORTVERSION= 1.13
CATEGORIES= security
-MAINTAINER= pauls@utdallas.edu
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Interpreter for Snort unified2 binary output files
LICENSE= GPLv2
@@ -14,8 +14,9 @@ GH_ACCOUNT= firnsy
GH_TAGNAME= v2-${PORTVERSION}
GH_COMMIT= 272eaf7
-OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PGSQL \
- PORT_PCAP DOCS
+OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS PORT_PCAP DOCS EXAMPLES
+OPTIONS_RADIO= DATABASE
+OPTIONS_RADIO_DATABASE= MYSQL MYSQL_SSL ODBC PGSQL
NO_OPTIONS_SORT=yes
64BIT_DESC= Enable 64bit compilation (experimental)
diff --git a/security/barnyard2/pkg-plist b/security/barnyard2/pkg-plist
index 16be9014bf89..5a138fbbb1d2 100644
--- a/security/barnyard2/pkg-plist
+++ b/security/barnyard2/pkg-plist
@@ -1,7 +1,5 @@
bin/barnyard2
-@unexec if cmp -s %D/etc/barnyard2.conf %D/etc/barnyard2.conf.sample; then rm -f %D/etc/barnyard2.conf; fi
-etc/barnyard2.conf.sample
-@exec [ -f %B/barnyard2.conf ] || cp -p %B/%f %B/barnyard2.conf
+@sample etc/barnyard2.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.aruba