From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC9E6138334 for ; Wed, 27 Feb 2019 05:17:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B499BE085A; Wed, 27 Feb 2019 05:17:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71E11E085A for ; Wed, 27 Feb 2019 05:17:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F27E335CDB for ; Wed, 27 Feb 2019 05:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2978F44B for ; Wed, 27 Feb 2019 05:17:29 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1551244627.07a940b5aeb22abd665b8188cc592ee13a695494.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/barnyard/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/barnyard/barnyard-0.2.0-r3.ebuild X-VCS-Directories: net-analyzer/barnyard/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 07a940b5aeb22abd665b8188cc592ee13a695494 X-VCS-Branch: master Date: Wed, 27 Feb 2019 05:17:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bcb3ee4a-7c6f-417e-aaf2-4d324f88c50c X-Archives-Hash: 32d31b5f4b45dda1ce475d25f3ab6b2a commit: 07a940b5aeb22abd665b8188cc592ee13a695494 Author: Aaron Bauman gentoo org> AuthorDate: Wed Feb 27 05:17:07 2019 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Wed Feb 27 05:17:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a940b5 net-analyzer/barnyard: drop old EAPI Signed-off-by: Aaron Bauman gentoo.org> net-analyzer/barnyard/barnyard-0.2.0-r3.ebuild | 99 -------------------------- 1 file changed, 99 deletions(-) diff --git a/net-analyzer/barnyard/barnyard-0.2.0-r3.ebuild b/net-analyzer/barnyard/barnyard-0.2.0-r3.ebuild deleted file mode 100644 index 52e010ccc6b..00000000000 --- a/net-analyzer/barnyard/barnyard-0.2.0-r3.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -inherit eutils autotools - -DESCRIPTION="Fast output system for Snort" -HOMEPAGE="https://sourceforge.net/projects/barnyard" -SRC_URI=" - mirror://sourceforge/barnyard/barnyard-${PV/_/-}.tar.gz - mirror://gentoo/${P}-patches.tar.bz2" - -SLOT="0" -LICENSE="QPL GPL-2" -KEYWORDS="~amd64 -sparc ~x86" -IUSE="mysql postgres sguil" - -DEPEND=" - net-libs/libpcap - postgres? ( dev-db/postgresql[server] ) - mysql? ( virtual/mysql ) - sguil? ( dev-lang/tcl:0 )" -RDEPEND="${DEPEND} - net-analyzer/snort" - -S="${WORKDIR}/${P/_/-}" - -src_prepare() { - epatch "${FILESDIR}/barnyard.64bit.diff" - if use sguil ; then - epatch "${WORKDIR}/${PV}-sguil_files.patch" - epatch "${WORKDIR}/${PV}-configure-in.patch" - cd "${S}/src/output-plugins" - epatch "${WORKDIR}/${PV}-op_plugbase.c.patch" - cd "${S}" - fi - eautoreconf -} - -src_configure() { - local myconf - if use sguil ; then - myconf="--enable-tcl" - fi - - econf \ - ${myconf} \ - --sysconfdir=/etc/snort \ - $(use_enable postgres) \ - $(use_enable mysql) -} -src_compile() { - emake || die "compile problem" -} - -src_install () { - - make DESTDIR="${D}" install || die - - dodoc docs/* - dodoc AUTHORS README - - keepdir /var/log/snort - keepdir /var/log/snort/archive - - insinto /etc/snort - newins etc/barnyard.conf barnyard.conf - if use sguil ; then - sed -i -e "/config hostname:/s%snorthost%$(hostname)%" \ - -e "/config interface/s:fxp0:eth0:" \ - -e "s:output alert_fast:#output alert_fast:" \ - -e "s:output log_dump:#output log_dump:" \ - "${D}/etc/snort/barnyard.conf" || die "sed failed" - fi - - newconfd "${FILESDIR}"/barnyard.confd barnyard - if use sguil ; then - sed -i -e s:/var/log/snort:/var/lib/sguil/$(hostname): \ - -e s:/var/run/barnyard.pid:/var/run/sguil/barnyard.pid: \ - "${D}/etc/conf.d/barnyard" || die "sed failed" - fi - - newinitd "${FILESDIR}"/barnyard.rc6 barnyard - if use sguil ; then - sed -i -e "/start-stop-daemon --start/s:--exec:-c sguil --exec:" \ - "${D}/etc/init.d/barnyard" || die "sed failed" - fi -} - -pkg_postinst() { - if use sguil ; then - elog - elog "Make sure to edit /etc/snort/barnyard.conf and uncomment the" - elog "sguil section along with supplying the appropriate database" - elog "information." - elog - fi -}