diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-02-15 19:06:02 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-02-15 19:06:02 +0000 |
commit | ae083b51b9a55b4f16336caeea0ffe89c1634838 (patch) | |
tree | f04921a4006d8168f83742b550567f76b5622c54 /net-analyzer/barnyard2 | |
parent | *portage-2.2.0_alpha24 (15 Feb 2011) (diff) | |
download | gentoo-2-ae083b51b9a55b4f16336caeea0ffe89c1634838.tar.gz gentoo-2-ae083b51b9a55b4f16336caeea0ffe89c1634838.tar.bz2 gentoo-2-ae083b51b9a55b4f16336caeea0ffe89c1634838.zip |
Bump for #354915, thanks to Jason Wallace
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/barnyard2')
-rw-r--r-- | net-analyzer/barnyard2/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/barnyard2/barnyard2-1.9.ebuild | 67 | ||||
-rw-r--r-- | net-analyzer/barnyard2/metadata.xml | 47 |
3 files changed, 107 insertions, 17 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/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>
|