net-analyzer/barnyard2: drop 1.9-r2

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-16 16:29:40 +00:00
parent 3b12e50244
commit cd7b1cd1cb
2 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
DIST barnyard2-1.13-github.tar.gz 435017 BLAKE2B 2bfd6b038f4691cd9b40128c48db89cdb0cdefd9c779cbae4f6a86246507849f8faf73e10c986d9a48d45d608b02cbb8486bd731ebe1c78be115fe65c5a97704 SHA512 b9cf42ff3cb066493a3a6e8d095f6af1c59815ebb19725374a75977294620fe825cdbc6650d3600d3f8525860c39d3580aa1d6ef773cd31fbc28d500d6c75246
DIST barnyard2-1.9-github.tar.gz 344672 BLAKE2B 720d55170eaf66d2fac7a73990f00dab6faf27c5fcfbcd2f3fa5bad8fa028880fc257a78b60660eaaa5cea3cd8ab04aea2ad173d2135757d7a1f93a80e049d06 SHA512 eb10e4333e862ba6d708e7956b86f9da5da8c52b2756724e821ac5f5ba064791cf84125942bf76e7c563f62c83558aff90219ccc694884e213f6571428849666

View File

@@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Parser for Snort unified/unified2 files"
HOMEPAGE="https://github.com/firnsy/barnyard2 https://firnsy.com/projects"
SRC_URI="https://github.com/firnsy/barnyard2/archive/v2-${PV}.tar.gz -> ${P}-github.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="debug gre mpls mysql odbc postgres static"
DEPEND="net-libs/libpcap
mysql? ( dev-db/mysql-connector-c:0= )
odbc? ( dev-db/unixODBC )
postgres? ( dev-db/postgresql:*[server] )"
RDEPEND="${DEPEND}"
DOCS="RELEASE.NOTES etc/barnyard2.conf doc/README* schemas/create_*"
S="${WORKDIR}/${PN}-2-${PV}"
src_prepare() {
default
sed -i -e "s:^#config interface:config interface:" \
"etc/barnyard2.conf" || die
sed -i -e "s:^output alert_fast:#output alert_fast:" \
"etc/barnyard2.conf" || die
AT_M4DIR="m4" eautoreconf
}
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
}
src_install() {
default
newconfd "${FILESDIR}/barnyard2.confd" barnyard2
newinitd "${FILESDIR}/barnyard2.initd" barnyard2
dodir /etc/barnyard2
keepdir /var/log/barnyard2
keepdir /var/log/snort/archive
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}."
}