From af2166c0e497d89c15c52063e1cc45eaf143e8d9 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Sun, 8 Jan 2006 23:47:19 +0000 Subject: 2.0.6 version bump. (Portage version: 2.0.53) --- net-analyzer/argus/ChangeLog | 12 ++++- net-analyzer/argus/Manifest | 12 +++-- net-analyzer/argus/argus-2.0.6.ebuild | 54 ++++++++++++++++++++++ .../argus/files/argus-2.0.6-libpcap-include.patch | 12 +++++ net-analyzer/argus/files/argus.initd | 20 ++++++++ net-analyzer/argus/files/digest-argus-2.0.6 | 1 + 6 files changed, 105 insertions(+), 6 deletions(-) create mode 100644 net-analyzer/argus/argus-2.0.6.ebuild create mode 100644 net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch create mode 100644 net-analyzer/argus/files/argus.initd create mode 100644 net-analyzer/argus/files/digest-argus-2.0.6 (limited to 'net-analyzer') diff --git a/net-analyzer/argus/ChangeLog b/net-analyzer/argus/ChangeLog index ba5a6e345f85..2c2fb1a4a58d 100644 --- a/net-analyzer/argus/ChangeLog +++ b/net-analyzer/argus/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/argus -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/ChangeLog,v 1.12 2005/09/29 02:35:02 vanquirius Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/ChangeLog,v 1.13 2006/01/08 23:47:19 vanquirius Exp $ + +*argus-2.0.6 (08 Jan 2006) + + 08 Jan 2006; Marcelo Goes + +files/argus-2.0.6-libpcap-include.patch, +files/argus.initd, + +argus-2.0.6.ebuild: + 2.0.6 version bump. Note: argus-clients have been split up upstream, I am + committing a new package called argus-clients along with this bump. 29 Sep 2005; Marcelo Goes argus-2.0.5.ebuild: Do not dodoc COPYING/INSTALL, misc fixes. diff --git a/net-analyzer/argus/Manifest b/net-analyzer/argus/Manifest index a95d2e4b09f0..21ec52b6431e 100644 --- a/net-analyzer/argus/Manifest +++ b/net-analyzer/argus/Manifest @@ -1,6 +1,10 @@ -MD5 45909d1f4710055896c74111e5bdb5cf argus-2.0.5.ebuild 1110 MD5 715b876f243e4be5a6f743aa6ce3a627 ChangeLog 1371 -MD5 92ed350cb8e0f66ff78e9ba7fe4e1cb4 metadata.xml 249 -MD5 890a4c236df08f0041db409a40d6d0b4 files/digest-argus-2.0.5 63 -MD5 81bbcde3055b93cdef5639b6ee166772 files/argus-2.0.5-libpcap-include.patch 669 +MD5 45909d1f4710055896c74111e5bdb5cf argus-2.0.5.ebuild 1110 +MD5 be380bbdd39ec7565599214e50f55964 argus-2.0.6.ebuild 1345 MD5 e7d773b85b71bca96d20df40a11d6e00 files/argus-2.0.5-gentoo.diff 317 +MD5 81bbcde3055b93cdef5639b6ee166772 files/argus-2.0.5-libpcap-include.patch 669 +MD5 6b47099e044e100698c789eb23d4d0fa files/argus-2.0.6-libpcap-include.patch 388 +MD5 2d9193946f8444008f79cbd875f32502 files/argus.initd 377 +MD5 890a4c236df08f0041db409a40d6d0b4 files/digest-argus-2.0.5 63 +MD5 3bb230da6fbe9c259f57eff39eb267f8 files/digest-argus-2.0.6 63 +MD5 92ed350cb8e0f66ff78e9ba7fe4e1cb4 metadata.xml 249 diff --git a/net-analyzer/argus/argus-2.0.6.ebuild b/net-analyzer/argus/argus-2.0.6.ebuild new file mode 100644 index 000000000000..e1ff3230d1d5 --- /dev/null +++ b/net-analyzer/argus/argus-2.0.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-2.0.6.ebuild,v 1.1 2006/01/08 23:47:19 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="network Audit Record Generation and Utilization System" +HOMEPAGE="http://www.qosient.com/argus/" +SRC_URI="ftp://ftp.qosient.com/pub/argus/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="" +RDEPEND="virtual/libc + virtual/libpcap" + +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.4.6" + +src_unpack() { + unpack ${A} ; cd "${S}" + + epatch "${FILESDIR}"/${PN}-2.0.6-libpcap-include.patch + + # Fix hardcoded config file + epatch "${FILESDIR}"/${PN}-2.0.5-gentoo.diff +} + +src_install () { + dodoc ChangeLog CREDITS README doc/{FAQ,HOW-TO,CHANGES} + + #do not install man/man1/tcpdump.1, file collision + doman man/man5/* man/man8/* + + dolib lib/argus_common.a lib/argus_parse.a + + use ppc-macos && newsbin bin/argus_bpf argus || newsbin bin/argus_linux argus + + insinto /etc/argus + doins support/Config/argus.conf + + newinitd "${FILESDIR}"/argus.initd argus +} + +pkg_postinst() { + einfo "Please note that argus-clients has been split up from this" + einfo "package by upstream as of 2.0.6. If you want it, please emerge" + einfo "net-analyzer/argus-clients." + + einfo "Also, you might want to edit /etc/argus/argus.conf before" + einfo "running argus." +} diff --git a/net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch b/net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch new file mode 100644 index 000000000000..d372e62fb25c --- /dev/null +++ b/net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch @@ -0,0 +1,12 @@ +diff --exclude='*~' -Naur argus-2.0.6.orig/common/gencode.c argus-2.0.6/common/gencode.c +--- argus-2.0.6.orig/common/gencode.c 2006-01-08 21:03:16.000000000 -0200 ++++ argus-2.0.6/common/gencode.c 2006-01-08 21:03:35.000000000 -0200 +@@ -59,7 +59,7 @@ + #include + #include + +-#include ++#include + + #include + #include diff --git a/net-analyzer/argus/files/argus.initd b/net-analyzer/argus/files/argus.initd new file mode 100644 index 000000000000..c0c931919aa2 --- /dev/null +++ b/net-analyzer/argus/files/argus.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/files/argus.initd,v 1.1 2006/01/08 23:47:19 vanquirius Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting argus" + start-stop-daemon --start --quiet --exec /usr/sbin/argus -- -d + eend $? +} + +stop() { + ebegin "Stopping argus" + start-stop-daemon --stop --quiet --exec /usr/sbin/argus + eend $? +} diff --git a/net-analyzer/argus/files/digest-argus-2.0.6 b/net-analyzer/argus/files/digest-argus-2.0.6 new file mode 100644 index 000000000000..0ecb79d5c293 --- /dev/null +++ b/net-analyzer/argus/files/digest-argus-2.0.6 @@ -0,0 +1 @@ +MD5 ecc1b6880f32fab5adc93fce5186dc8e argus-2.0.6.tar.gz 349299 -- cgit v1.2.3-65-gdbad