diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-04-19 22:25:51 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-04-19 22:25:51 +0000 |
commit | 662a194c54d708f027a9ca23f2963baa4d95644a (patch) | |
tree | 09581fb85f6d5a157951d0743d16e798bc1b0a8a /net-analyzer/argus | |
parent | Version bumps thanks to euscan. Make tcp-wrappers support optional. (diff) | |
download | historical-662a194c54d708f027a9ca23f2963baa4d95644a.tar.gz historical-662a194c54d708f027a9ca23f2963baa4d95644a.tar.bz2 historical-662a194c54d708f027a9ca23f2963baa4d95644a.zip |
Old.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux i686
Diffstat (limited to 'net-analyzer/argus')
-rw-r--r-- | net-analyzer/argus/argus-2.0.5.ebuild | 43 | ||||
-rw-r--r-- | net-analyzer/argus/argus-2.0.6.ebuild | 57 | ||||
-rw-r--r-- | net-analyzer/argus/argus-3.0.2.ebuild | 71 | ||||
-rw-r--r-- | net-analyzer/argus/argus-3.0.3.7.ebuild | 71 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-2.0.5-gentoo.diff | 11 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-2.0.5-libpcap-include.patch | 24 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch | 12 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-3.0.2-ac_require_and_cflags.patch | 33 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-3.0.2-disable-tcp-wrappers-automagic.patch | 24 |
9 files changed, 0 insertions, 346 deletions
diff --git a/net-analyzer/argus/argus-2.0.5.ebuild b/net-analyzer/argus/argus-2.0.5.ebuild deleted file mode 100644 index 855c3a7afcbe..000000000000 --- a/net-analyzer/argus/argus-2.0.5.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-2.0.5.ebuild,v 1.17 2009/09/23 18:17:00 patrick 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 x86" -IUSE="" -RDEPEND="net-libs/libpcap" -DEPEND="${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.4.6" - -src_unpack() { - unpack ${A} ; cd "${S}" - - epatch "${FILESDIR}"/${P}-libpcap-include.patch - - # Fix hardcoded config file - epatch "${FILESDIR}"/${PF}-gentoo.diff -} - -src_install () { - dodoc CREDITS README doc/{FAQ,HOW-TO,CHANGES} - - #do not install man/man1/tcpdump.1, file collision - doman man/man1/ra* man/man5/* man/man8/* - - dolib lib/argus_common.a lib/argus_parse.a - - dobin bin/ra* - - [[ ${CHOST} == *-darwin* ]] && newsbin bin/argus_bpf argus || newsbin bin/argus_linux argus - - insinto /etc/argus - doins support/Config/argus.conf -} diff --git a/net-analyzer/argus/argus-2.0.6.ebuild b/net-analyzer/argus/argus-2.0.6.ebuild deleted file mode 100644 index aad5bbd13292..000000000000 --- a/net-analyzer/argus/argus-2.0.6.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2009 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.6 2009/09/23 18:17:00 patrick 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 ~x86" -IUSE="" -RDEPEND="net-libs/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 || die "dolib failed" - - if [[ ${CHOST} == *-darwin* ]]; then - newsbin bin/argus_bpf argus || die "newsbin failed" - else - newsbin bin/argus_linux argus || die "newsbin failed" - fi - - insinto /etc/argus - doins support/Config/argus.conf - - newinitd "${FILESDIR}"/argus.initd argus -} - -pkg_postinst() { - elog "Please note that argus-clients has been split up from this" - elog "package by upstream as of 2.0.6. If you want it, please emerge" - elog "net-analyzer/argus-clients." - - elog "Also, you might want to edit /etc/argus/argus.conf before" - elog "running argus." -} diff --git a/net-analyzer/argus/argus-3.0.2.ebuild b/net-analyzer/argus/argus-3.0.2.ebuild deleted file mode 100644 index 3fa57c91b839..000000000000 --- a/net-analyzer/argus/argus-3.0.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-3.0.2.ebuild,v 1.4 2010/05/31 17:23:53 phajdan.jr Exp $ - -EAPI="2" - -inherit eutils autotools - -DESCRIPTION="network Audit Record Generation and Utilization System" -HOMEPAGE="http://www.qosient.com/argus/" -SRC_URI="http://qosient.com/argus/dev/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug tcpd" - -# sasl? ( >=dev-libs/cyrus-sasl-2.1.22 ) -RDEPEND="net-libs/libpcap - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" - -DEPEND="${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.4.6" - -src_prepare() { - 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}/${P}-disable-tcp-wrappers-automagic.patch" - epatch "${FILESDIR}/${P}-ac_require_and_cflags.patch" - eautoreconf -} - -src_configure() { - use debug && touch .debug # enable debugging - # $(use_with sasl) \ - econf \ - $(use_with tcpd wrappers) -} - -src_install () { - doman man/man5/* man/man8/* - dosbin bin/argus{,bug} || die - - dodoc ChangeLog CREDITS README || die - - insinto /etc/argus - doins support/Config/argus.conf || die - - newinitd "${FILESDIR}/argus.initd" argus || die - dodir /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 init script will fail to work." -} diff --git a/net-analyzer/argus/argus-3.0.3.7.ebuild b/net-analyzer/argus/argus-3.0.3.7.ebuild deleted file mode 100644 index e025e19d8edc..000000000000 --- a/net-analyzer/argus/argus-3.0.3.7.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-3.0.3.7.ebuild,v 1.1 2010/05/02 15:16:28 pva Exp $ - -EAPI="2" - -inherit eutils autotools - -DESCRIPTION="network Audit Record Generation and Utilization System" -HOMEPAGE="http://www.qosient.com/argus/" -SRC_URI="http://qosient.com/argus/dev/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug tcpd" - -# sasl? ( >=dev-libs/cyrus-sasl-2.1.22 ) -RDEPEND="net-libs/libpcap - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" - -DEPEND="${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.4.6" - -src_prepare() { - 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.2-disable-tcp-wrappers-automagic.patch" - epatch "${FILESDIR}/${PN}-3.0.2-ac_require_and_cflags.patch" - eautoreconf -} - -src_configure() { - use debug && touch .debug # enable debugging - # $(use_with sasl) \ - econf \ - $(use_with tcpd wrappers) -} - -src_install () { - doman man/man5/* man/man8/* - dosbin bin/argus{,bug} || die - - dodoc ChangeLog CREDITS README || die - - insinto /etc/argus - doins support/Config/argus.conf || die - - newinitd "${FILESDIR}/argus.initd" argus || die - dodir /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 init script will fail to work." -} diff --git a/net-analyzer/argus/files/argus-2.0.5-gentoo.diff b/net-analyzer/argus/files/argus-2.0.5-gentoo.diff deleted file mode 100644 index d6047261acc3..000000000000 --- a/net-analyzer/argus/files/argus-2.0.5-gentoo.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- server/argus.c -+++ server/argus.c.new -@@ -243,7 +243,7 @@ - } - - if (!doconf) { -- snprintf (path, MAXPATHNAMELEN - 1, "/etc/argus.conf"); -+ snprintf (path, MAXPATHNAMELEN - 1, "/etc/argus/argus.conf"); - if (stat (path, &statbuf) == 0) { - ArgusParseResourceFile (path); - } else diff --git a/net-analyzer/argus/files/argus-2.0.5-libpcap-include.patch b/net-analyzer/argus/files/argus-2.0.5-libpcap-include.patch deleted file mode 100644 index 5f5d12c1a597..000000000000 --- a/net-analyzer/argus/files/argus-2.0.5-libpcap-include.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ru /tmp/argus-2.0.5/common/argus_filter.c ./common/argus_filter.c ---- common/argus_filter.c 2002-05-31 12:18:01.000000000 +0000 -+++ common/argus_filter.c 2004-02-06 14:28:33.249830776 +0000 -@@ -107,7 +107,7 @@ - - #include <sys/param.h> - #include <sys/time.h> --#include <net/bpf.h> -+#include <pcap.h> - - #include <argus_filter.h> - -diff -ru /tmp/argus-2.0.5/common/gencode.c ./common/gencode.c ---- common/gencode.c 2002-05-16 18:18:12.000000000 +0000 -+++ common/gencode.c 2004-02-06 14:27:49.339506160 +0000 -@@ -59,7 +59,7 @@ - #include <stdlib.h> - #include <syslog.h> - --#include <net/bpf.h> -+#include <pcap.h> - - #include <argus_out.h> - #include <argus_filter.h> 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 deleted file mode 100644 index d372e62fb25c..000000000000 --- a/net-analyzer/argus/files/argus-2.0.6-libpcap-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 <stdlib.h> - #include <syslog.h> - --#include <net/bpf.h> -+#include <pcap.h> - - #include <argus_out.h> - #include <argus_filter.h> diff --git a/net-analyzer/argus/files/argus-3.0.2-ac_require_and_cflags.patch b/net-analyzer/argus/files/argus-3.0.2-ac_require_and_cflags.patch deleted file mode 100644 index 35787cde5889..000000000000 --- a/net-analyzer/argus/files/argus-3.0.2-ac_require_and_cflags.patch +++ /dev/null @@ -1,33 +0,0 @@ -* Use AC_REQUIRE instead of AC_BEFORE (bug #297943). -* Do not introduce compiler optimisation flags. - - ---- a/aclocal.m4 -+++ b/aclocal.m4 -@@ -93,7 +93,7 @@ - dnl - AC_DEFUN(AC_LBL_C_INIT, - [AC_PREREQ(2.12) -- AC_BEFORE([$0], [AC_PROG_CC]) -+ AC_REQUIRE([AC_PROG_CC]) - AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) - AC_BEFORE([$0], [AC_LBL_DEVEL]) - AC_BEFORE([$0], [AC_QOSIENT_DEBUG]) -@@ -126,7 +126,7 @@ - if test "$GCC" = yes ; then - if test "$SHLICC2" = yes ; then - ac_cv_lbl_gcc_vers=2 -- $1="-O3" -+ $1="" - else - AC_MSG_CHECKING(gcc version) - AC_CACHE_VAL(ac_cv_lbl_gcc_vers, -@@ -137,7 +137,7 @@ - -e 's/\..*//'`) - AC_MSG_RESULT($ac_cv_lbl_gcc_vers) - if test $ac_cv_lbl_gcc_vers -gt 1 ; then -- $1="-O3" -+ $1="" - fi - fi - else diff --git a/net-analyzer/argus/files/argus-3.0.2-disable-tcp-wrappers-automagic.patch b/net-analyzer/argus/files/argus-3.0.2-disable-tcp-wrappers-automagic.patch deleted file mode 100644 index 2117756a2636..000000000000 --- a/net-analyzer/argus/files/argus-3.0.2-disable-tcp-wrappers-automagic.patch +++ /dev/null @@ -1,24 +0,0 @@ -=== modified file 'configure.in' ---- configure.in 2009-10-16 13:21:02 +0000 -+++ configure.in 2009-10-16 13:30:39 +0000 -@@ -279,6 +279,11 @@ - LIBS="$LIBS $V_PCAPDEP" - fi - -+AC_ARG_WITH(wrappers, -+ [ --with-wrappers build with libwrappers suuport], -+ with_wrappers="$withval", -+ with_wrappers="yes") -+if test "x$with_wrappers" != "xno"; then - AC_QOSIENT_TCPWRAP(V_WRAPDEP, V_INCLS) - if test ! -z "$V_WRAPDEP"; then - if test -f $V_WRAPDEP; then -@@ -302,6 +307,7 @@ - AC_DEFINE(HAVE_TCP_WRAPPER) - WRAPLIBS="$V_WRAPDEP" - fi -+fi - - umask 002 - - |