From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E0C071388C1 for ; Sat, 31 Oct 2015 06:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7339AE0802; Sat, 31 Oct 2015 06:04:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8D10E0801 for ; Sat, 31 Oct 2015 06:04:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 036C8340AC9 for ; Sat, 31 Oct 2015 06:04:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1162A1BD2 for ; Sat, 31 Oct 2015 06:04:29 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1446271445.9376ba26050df7fee4e8aa28bf53f90e47169ab0.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/argus/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/argus/Manifest net-analyzer/argus/argus-3.0.8.2_rc2.ebuild X-VCS-Directories: net-analyzer/argus/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 9376ba26050df7fee4e8aa28bf53f90e47169ab0 X-VCS-Branch: master Date: Sat, 31 Oct 2015 06:04: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-Archives-Salt: f14d7b9b-a720-49b9-8b58-62600254d89f X-Archives-Hash: 80771e13d3ed6a1d10200b9ff4d402ce commit: 9376ba26050df7fee4e8aa28bf53f90e47169ab0 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Oct 31 06:04:05 2015 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Oct 31 06:04:05 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9376ba26 net-analyzer/argus: Version bump. Package-Manager: portage-2.2.23 net-analyzer/argus/Manifest | 1 + net-analyzer/argus/argus-3.0.8.2_rc2.ebuild | 82 +++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/net-analyzer/argus/Manifest b/net-analyzer/argus/Manifest index 1e8051f..94d5562 100644 --- a/net-analyzer/argus/Manifest +++ b/net-analyzer/argus/Manifest @@ -1 +1,2 @@ DIST argus-3.0.8.1.tar.gz 523375 SHA256 1fb921104c8bd843fb9f5a1c32b57b20bfe8cd8a103b3f1d9bb686b9e6c490a4 SHA512 d96332849df7ce2297aa0d81a9f22c12763d04b2936ffaffc0e4b1942535846cfbc41dadf28791eb88d1ffd0429bdc280d16dff44369c415c713064849b158f7 WHIRLPOOL 2c9495d585c2297b3f9951e74a8fd28840941be6b298c0178d44801242d1abda4bd08f9469e2dd1a4b802735611c9ff82bc028d838628b1ccb184ba80d5dc529 +DIST argus-3.0.8.2.rc.2.tar.gz 525053 SHA256 a499154248fd32d0809599b78e5078353a97edbbf595ad48701c9646c2c5515f SHA512 c8272ae80f66114a4a83c365d9257d90ffe944cb648112ba9d756ad235d3d7231d09fe9de2dc31f2d72d5070e3e932b8de49661371806c5e1b21d7aea0aad3b1 WHIRLPOOL 80fc3d7c0c96fee1243903119a3d3d6391da6b42e0c3610b817d205d65776f6df93bd99e7a8900d3422dab48a75da5839efd4284cb6abada7bef6989534138b6 diff --git a/net-analyzer/argus/argus-3.0.8.2_rc2.ebuild b/net-analyzer/argus/argus-3.0.8.2_rc2.ebuild new file mode 100644 index 0000000..e767e08 --- /dev/null +++ b/net-analyzer/argus/argus-3.0.8.2_rc2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils user + +DESCRIPTION="network Audit Record Generation and Utilization System" +HOMEPAGE="http://www.qosient.com/argus/" +SRC_URI="${HOMEPAGE}dev/${P/_rc/.rc.}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug sasl tcpd" + +RDEPEND=" + net-libs/libpcap + sys-libs/zlib + sasl? ( dev-libs/cyrus-sasl ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.4.6 +" + +S=${WORKDIR}/${P/_rc/.rc.} + +src_prepare() { + find . -type f -execdir chmod +w {} \; #561360 + sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \ + -i argus/argus.c \ + -i support/Config/argus.conf \ + -i man/man8/argus.8 \ + -i man/man5/argus.conf.5 || die + + sed -e 's:#\(ARGUS_SETUSER_ID=\).*:\1argus:' \ + -e 's:#\(ARGUS_SETGROUP_ID=\).*:\1argus:' \ + -e 's:\(#ARGUS_CHROOT_DIR=\).*:\1/var/lib/argus:' \ + -i support/Config/argus.conf || die + epatch \ + "${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch \ + "${FILESDIR}"/${PN}-3.0.5-Makefile.patch \ + "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch + eautoreconf +} + +src_configure() { + use debug && touch .debug # enable debugging + econf $(use_with tcpd wrappers) $(use_with sasl) +} + +src_compile() { + emake CCOPT="${CFLAGS} ${LDFLAGS}" +} + +src_install () { + doman man/man5/*.5 man/man8/*.8 + + dosbin bin/argus{,bug} + + dodoc ChangeLog CREDITS README + + insinto /etc/argus + doins support/Config/argus.conf + + newinitd "${FILESDIR}/argus.initd" argus + keepdir /var/lib/argus +} + +pkg_preinst() { + enewgroup argus + enewuser argus -1 -1 /var/lib/argus argus +} + +pkg_postinst() { + elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite" + elog "possible that the init script will fail to work." +}