Index: head/security/barnyard2/Makefile =================================================================== --- head/security/barnyard2/Makefile (revision 248010) +++ head/security/barnyard2/Makefile (revision 248011) @@ -1,57 +1,60 @@ # New ports collection makefile for: barnyard2 # Date created: 28 Aug 2009 # Whom: pauls # # $FreeBSD$ # PORTNAME= barnyard2 -PORTVERSION= 1.6 +PORTVERSION= 1.7 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 OPTIONS= MYSQL "Enable MySQL support" on \ POSTGRESQL "Enable PostgreSQL support" off USE_RC_SUBR= barnyard2.sh GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" SUB_FILES= pkg-message PORTDOCS= INSTALL README README.aruba README.database README.sguil .include .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql .endif .if defined(WITH_POSTGRESQL) USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgresql .endif +post-patch: + ${REINPLACE_CMD} -e "s,644,755,g" ${WRKSRC}/Makefile.in \ + ${WRKSRC}/configure + post-install: .for f in barnyard2.conf ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}-sample [ -f ${PREFIX}/etc/${f} ] || \ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -# cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include Property changes on: head/security/barnyard2/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/barnyard2/distinfo =================================================================== --- head/security/barnyard2/distinfo (revision 248010) +++ head/security/barnyard2/distinfo (revision 248011) @@ -1,3 +1,3 @@ -MD5 (barnyard2-1.6.tar.gz) = fe49fae09f585677af7dda53f3f4bedf -SHA256 (barnyard2-1.6.tar.gz) = c8b9b58d48b420634c502d27f21cbdaf42df0205abeb2970f9ee7e114744433b -SIZE (barnyard2-1.6.tar.gz) = 631471 +MD5 (barnyard2-1.7.tar.gz) = 6801649c45287799354e0a458af737ef +SHA256 (barnyard2-1.7.tar.gz) = a9bd56c2887111f3c114e82fc9277ee759a5005374081136e76d950ff390fd1b +SIZE (barnyard2-1.7.tar.gz) = 652605 Property changes on: head/security/barnyard2/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/security/barnyard2/files/pkg-message.in =================================================================== --- head/security/barnyard2/files/pkg-message.in (revision 248010) +++ head/security/barnyard2/files/pkg-message.in (revision 248011) @@ -1,25 +1,12 @@ -************************************************************************ -**************************WARNING****WARNING**************************** -**************************WARNING****WARNING**************************** - -This version of barnyard2 does not correctly parse the waldo file. As a -result, each time barnyard2 is restarted, all alerts remaining in the -snort log directory will be reinserted into the database. If this is a -a problem for you, consider using security/barnyard2-devel, which has -resolved this problem. - -**************************WARNING****WARNING**************************** -**************************WARNING****WARNING**************************** - Read the notes in the barnyard2.conf file for how to configure %%PREFIX%%/etc/barnyard2.conf after installation. For addtional information see the Securixlive FAQ at http://www.securixlive.com/barnyard2/faq.php. In order to enable barnyard2 to start on boot, you must edit /etc/rc.conf with the appropriate flags, etc. See the FreeBSD Handbook for syntax: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html For the various options available, type % barnyard2 -h after install or read the options in the startup script - in %%PREFIX%%/etc/rc.d. ************************************************************************ Property changes on: head/security/barnyard2/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property