summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-02-15 19:06:02 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-02-15 19:06:02 +0000
commit3eebb4db800e3e1aa9a39e6dd222bcdb5991bd0a (patch)
tree6f5141376dd469eafa987a5b3dc989c0cbfddaec /net-analyzer/barnyard2
parent*portage-2.2.0_alpha24 (15 Feb 2011) (diff)
downloadhistorical-3eebb4db800e3e1aa9a39e6dd222bcdb5991bd0a.tar.gz
historical-3eebb4db800e3e1aa9a39e6dd222bcdb5991bd0a.tar.bz2
historical-3eebb4db800e3e1aa9a39e6dd222bcdb5991bd0a.zip
Bump for #354915, thanks to Jason Wallace
Package-Manager: portage-2.2.0_alpha23/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/barnyard2')
-rw-r--r--net-analyzer/barnyard2/ChangeLog10
-rw-r--r--net-analyzer/barnyard2/Manifest6
-rw-r--r--net-analyzer/barnyard2/barnyard2-1.9.ebuild67
-rw-r--r--net-analyzer/barnyard2/metadata.xml47
4 files changed, 111 insertions, 19 deletions
diff --git a/net-analyzer/barnyard2/ChangeLog b/net-analyzer/barnyard2/ChangeLog
index ca24b626ab79..db40af17c93b 100644
--- a/net-analyzer/barnyard2/ChangeLog
+++ b/net-analyzer/barnyard2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/barnyard2
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard2/ChangeLog,v 1.3 2010/06/17 21:44:24 patrick Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard2/ChangeLog,v 1.4 2011/02/15 19:06:02 patrick Exp $
+
+*barnyard2-1.9 (15 Feb 2011)
+
+ 15 Feb 2011; Patrick Lauer <patrick@gentoo.org> +barnyard2-1.9.ebuild,
+ metadata.xml:
+ Bump for #354915, thanks to Jason Wallace
17 Jun 2010; Patrick Lauer <patrick@gentoo.org> barnyard2-1.8.ebuild:
Migrating away from deprecated postgres virtuals
diff --git a/net-analyzer/barnyard2/Manifest b/net-analyzer/barnyard2/Manifest
index 19e10b45804a..24867eccf466 100644
--- a/net-analyzer/barnyard2/Manifest
+++ b/net-analyzer/barnyard2/Manifest
@@ -1,6 +1,8 @@
AUX barnyard2.confd 1485 RMD160 8b0bac1a3f5177a825e890bc3e92af0068b80d6a SHA1 10a56df83f0c58f075a3dd16a80c585883b7e39b SHA256 4ff02a3d3de3641eccc3deddba255ecd7ac95ae3ad1382442413d103c9712c04
AUX barnyard2.initd 799 RMD160 a0d505b088fa7e7fa7b7b3b1a63a81ee7d5d5959 SHA1 79f2c37101351ef54b8cb40a93a5264dc9a2fd74 SHA256 d471bfb90ab80150ebb29b82959df3cf60ee3f533cb89c6c294a4c5522668666
DIST barnyard2-1.8.tar.gz 654290 RMD160 a50d7e771204e0a885bf3e079dd37fbb737e8306 SHA1 44bab5a3a3c35bd4c172aefe4bcd69c16658904e SHA256 1abfe6530d721debd98921421722b02c844c289564730b1e85729e4915b2bb7a
+DIST barnyard2-1.9.tar.gz 652879 RMD160 21fcb8f07c38575accf4ee2eb858dd86b537f92c SHA1 1c1c64d6c6f2d2c6447a2a06e9573e572715d908 SHA256 6bce0d5bd4a6fa2be2e5b1daaed1d6d0ec8e7f50b33bc1125125c8a9e78a5b0c
EBUILD barnyard2-1.8.ebuild 3589 RMD160 9790aa6537fe6e3a8a21a6cfe9aa1f9bbdddcb2b SHA1 614669ade0152d92063fd3f8fbe93785e6ea8577 SHA256 afe294adb76d1abf8d23c026a56bcf9b86d2a69f32a3856bf23c86b37ba4e28f
-MISC ChangeLog 753 RMD160 b3c230942ebafc3027e80a2e807a2e27f8bac20f SHA1 f5f9127c515953fa809be6a82375bd6536bf2a5f SHA256 8e3454b9206f4c870222be1cac00302f0309a86b0e7c9c3994443b4dfccb83fb
-MISC metadata.xml 605 RMD160 e7fc000b5215fb9230e40cd2fa1b65e6e212053e SHA1 f91c160edfcdf4ba320ad378bff93cdec50f90f3 SHA256 583c24ed0e8cd2139f60f626259738ba147761b44eb6f46c96e3501e1a82cdb6
+EBUILD barnyard2-1.9.ebuild 1815 RMD160 c7711d87f222ff249db32ae52e88791fe8069c6b SHA1 255f671e61cdd7c4f746de495318f804c84e2721 SHA256 b7a214b769331308593abbb1ae4820667089a2a09062b1fbb70b04ba957e0ccf
+MISC ChangeLog 917 RMD160 efcc424dc4195e94c6f14e2720ea317f6d893670 SHA1 a67baf99f2983d78dace05370c4a6913c6cbd599 SHA256 0709f856e04c92a9dd15f4ed3d860b2ca401c78d38952077471c9455682c48f0
+MISC metadata.xml 1525 RMD160 72f4df63aa9739c9db310b59aabd7c5917e851e6 SHA1 b255024fc9dc8f9abc2b9cb5bd15bfc17f642257 SHA256 f9fac1d79e2146c4639ffc4d1d47b1b79da3ece324e6c6dd44ef4fed04d2f267
diff --git a/net-analyzer/barnyard2/barnyard2-1.9.ebuild b/net-analyzer/barnyard2/barnyard2-1.9.ebuild
new file mode 100644
index 000000000000..ec1c64f84313
--- /dev/null
+++ b/net-analyzer/barnyard2/barnyard2-1.9.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard2/barnyard2-1.9.ebuild,v 1.1 2011/02/15 19:06:02 patrick Exp $
+
+EAPI="2"
+
+DESCRIPTION="Parser for Snort unified/unified2 files"
+HOMEPAGE="http://www.securixlive.com/barnyard2/"
+SRC_URI="http://www.securixlive.com/download/barnyard2/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="static debug gre mpls mysql odbc postgres"
+
+DEPEND="virtual/libpcap
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-server )
+ odbc? ( dev-db/unixODBC )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e "s:^#config interface:config interface:" \
+ "${WORKDIR}/${P}/etc/barnyard2.conf" || die
+ sed -i -e "s:^output alert_fast:#output alert_fast:" \
+ "${WORKDIR}/${P}/etc/barnyard2.conf" || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable !static shared) \
+ $(use_enable static) \
+ $(use_enable debug) \
+ $(use_enable gre) \
+ $(use_enable mpls) \
+ $(use_with mysql) \
+ $(use_with odbc) \
+ $(use_with postgres postgresql) \
+ --disable-ipv6 \
+ --disable-prelude \
+ --disable-mysql-ssl-support \
+ --disable-aruba \
+ --without-tcl \
+ --without-oracle || die
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die
+ newconfd "${FILESDIR}/barnyard2.confd" barnyard2 || die
+ newinitd "${FILESDIR}/barnyard2.initd" barnyard2 || die
+ dodir /etc/barnyard2 \
+ /var/log/snort \
+ /var/log/snort/archive \
+ /var/log/barnyard2 || die
+ dodoc RELEASE.NOTES \
+ etc/barnyard2.conf \
+ doc/README* \
+ schemas/create_* || die
+ rm "${D}"/etc/barnyard2.conf || die
+}
+
+pkg_postinst() {
+ elog "Configuration options can be set in /etc/conf.d/barnyard2."
+ elog
+ elog "An example configuration file can be found in /usr/share/doc/${PF}."
+}
diff --git a/net-analyzer/barnyard2/metadata.xml b/net-analyzer/barnyard2/metadata.xml
index dda471b53fb9..5f1f01cd45de 100644
--- a/net-analyzer/barnyard2/metadata.xml
+++ b/net-analyzer/barnyard2/metadata.xml
@@ -1,19 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
-</maintainer>
-<maintainer>
- <email>jason.r.wallace@gmail.com</email>
- <name>Jason Wallace</name>
-</maintainer>
-<herd>netmon</herd>
-<longdescription>Parser for Snort unified/unified2 files</longdescription>
-<use>
-<flag name='aruba'>Enable Aruba support</flag>
-<flag name='gre'>Enable GRE support</flag>
-<flag name='mpls'>Enable support for mpls networks</flag>
-</use>
+ <herd>netmon</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ <description>Maintainer</description>
+ </maintainer>
+ <maintainer>
+ <email>jason.r.wallace@gmail.com</email>
+ <name>Jason Wallace</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <longdescription>
+ Barnyard2 is a fork of the original barnyard project (which is no longer under development).
+ Barnyard2 is an open source interpreter for Snort unified2 binary output files. Its primary
+ use is allowing Snort to write to disk in an efficient manner and leaving the task of
+ parsing binary data into various formats to a separate process that will not cause Snort to
+ miss network traffic. Barnyard2 is under active development and continues to adapt based on
+ user feedback.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>dev@securixlive.com</email>
+ <name>Securixlive</name>
+ </maintainer>
+ <doc>http://www.securixlive.com/barnyard2/docs/index.php</doc>
+ <bugs-to>mailto:dev@securixlive.com</bugs-to>
+ </upstream>
+ <use>
+ <flag name='aruba'>Enable Aruba support</flag>
+ <flag name='gre'>Enable GRE support</flag>
+ <flag name='mpls'>Enable support for mpls networks</flag>
+ </use>
</pkgmetadata>