svn commit: r377067 - head/security/barnyard2

Muhammad Moinur Rahman bofh at FreeBSD.org
Thu Jan 15 09:48:36 UTC 2015


Author: bofh
Date: Thu Jan 15 09:48:34 2015
New Revision: 377067
URL: https://svnweb.freebsd.org/changeset/ports/377067
QAT: https://qat.redports.org/buildarchive/r377067/

Log:
  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 at utdallas.edu [1]
  Approved by:		bapt(mentor)

Modified:
  head/security/barnyard2/Makefile
  head/security/barnyard2/pkg-plist

Modified: head/security/barnyard2/Makefile
==============================================================================
--- head/security/barnyard2/Makefile	Thu Jan 15 09:36:46 2015	(r377066)
+++ head/security/barnyard2/Makefile	Thu Jan 15 09:48:34 2015	(r377067)
@@ -4,7 +4,7 @@ PORTNAME=	barnyard2
 PORTVERSION=	1.13
 CATEGORIES=	security
 
-MAINTAINER=	pauls at utdallas.edu
+MAINTAINER=	bofh at 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)

Modified: head/security/barnyard2/pkg-plist
==============================================================================
--- head/security/barnyard2/pkg-plist	Thu Jan 15 09:36:46 2015	(r377066)
+++ head/security/barnyard2/pkg-plist	Thu Jan 15 09:48:34 2015	(r377067)
@@ -1,7 +1,5 @@
 bin/barnyard2
- at 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
- at exec [ -f %B/barnyard2.conf ] || cp -p %B/%f %B/barnyard2.conf
+ at sample etc/barnyard2.conf.sample
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.aruba


More information about the svn-ports-all mailing list