Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/argus/, net-analyzer/argus/files/
Date: Sat, 31 Oct 2015 06:04:33
Message-Id: 1446271085.33dc96b7a44275f0defabb7033b8fb2f527f6c39.jer@gentoo
1 commit: 33dc96b7a44275f0defabb7033b8fb2f527f6c39
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 31 05:58:05 2015 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 05:58:05 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33dc96b7
7
8 net-analyzer/argus: Old.
9
10 Package-Manager: portage-2.2.23
11
12 net-analyzer/argus/Manifest | 1 -
13 net-analyzer/argus/argus-3.0.8.ebuild | 79 ----------------------
14 ...rgus-3.0.4-disable-tcp-wrappers-automagic.patch | 22 ------
15 3 files changed, 102 deletions(-)
16
17 diff --git a/net-analyzer/argus/Manifest b/net-analyzer/argus/Manifest
18 index de07ceb..1e8051f 100644
19 --- a/net-analyzer/argus/Manifest
20 +++ b/net-analyzer/argus/Manifest
21 @@ -1,2 +1 @@
22 DIST argus-3.0.8.1.tar.gz 523375 SHA256 1fb921104c8bd843fb9f5a1c32b57b20bfe8cd8a103b3f1d9bb686b9e6c490a4 SHA512 d96332849df7ce2297aa0d81a9f22c12763d04b2936ffaffc0e4b1942535846cfbc41dadf28791eb88d1ffd0429bdc280d16dff44369c415c713064849b158f7 WHIRLPOOL 2c9495d585c2297b3f9951e74a8fd28840941be6b298c0178d44801242d1abda4bd08f9469e2dd1a4b802735611c9ff82bc028d838628b1ccb184ba80d5dc529
23 -DIST argus-3.0.8.tar.gz 1193140 SHA256 335d889d288763487ad3545c09b944d7d6aa2538630d1fd72eea3704a57bf6e3 SHA512 e4211bb09f442f4dc5c210b878d0f5a9527ff9c95030570e20520f2ca5c3053cc603aa3f0c4aad33363fee6ce02c3d5262bbfdecd2e2157dc00a34f333f14232 WHIRLPOOL 0a07f7f2e57bf7082af0d1ec203463cf0bedf0b682db89ae484e2162bb79f24b084a7c3d30da447d998885458444bc3799bb401c86e1a2b2dc6a7643127da0c9
24
25 diff --git a/net-analyzer/argus/argus-3.0.8.ebuild b/net-analyzer/argus/argus-3.0.8.ebuild
26 deleted file mode 100644
27 index 1010dcf..0000000
28 --- a/net-analyzer/argus/argus-3.0.8.ebuild
29 +++ /dev/null
30 @@ -1,79 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -inherit autotools eutils user
37 -
38 -DESCRIPTION="network Audit Record Generation and Utilization System"
39 -HOMEPAGE="http://www.qosient.com/argus/"
40 -SRC_URI="http://qosient.com/argus/src/${P}.tar.gz"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="0"
44 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 -IUSE="debug sasl tcpd"
46 -
47 -RDEPEND="
48 - net-libs/libpcap
49 - sys-libs/zlib
50 - sasl? ( dev-libs/cyrus-sasl )
51 - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
52 -"
53 -
54 -DEPEND="
55 - ${RDEPEND}
56 - >=sys-devel/bison-1.28
57 - >=sys-devel/flex-2.4.6
58 -"
59 -
60 -src_prepare() {
61 - sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \
62 - -i argus/argus.c \
63 - -i support/Config/argus.conf \
64 - -i man/man8/argus.8 \
65 - -i man/man5/argus.conf.5 || die
66 -
67 - sed -e 's:#\(ARGUS_SETUSER_ID=\).*:\1argus:' \
68 - -e 's:#\(ARGUS_SETGROUP_ID=\).*:\1argus:' \
69 - -e 's:\(#ARGUS_CHROOT_DIR=\).*:\1/var/lib/argus:' \
70 - -i support/Config/argus.conf || die
71 - epatch \
72 - "${FILESDIR}"/${PN}-3.0.4-disable-tcp-wrappers-automagic.patch \
73 - "${FILESDIR}"/${PN}-3.0.5-Makefile.patch \
74 - "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch
75 - eautoreconf
76 -}
77 -
78 -src_configure() {
79 - use debug && touch .debug # enable debugging
80 - econf $(use_with tcpd wrappers) $(use_with sasl)
81 -}
82 -
83 -src_compile() {
84 - emake CCOPT="${CFLAGS} ${LDFLAGS}"
85 -}
86 -
87 -src_install () {
88 - doman man/man5/*.5 man/man8/*.8
89 -
90 - dosbin bin/argus{,bug}
91 -
92 - dodoc ChangeLog CREDITS README
93 -
94 - insinto /etc/argus
95 - doins support/Config/argus.conf
96 -
97 - newinitd "${FILESDIR}/argus.initd" argus
98 - keepdir /var/lib/argus
99 -}
100 -
101 -pkg_preinst() {
102 - enewgroup argus
103 - enewuser argus -1 -1 /var/lib/argus argus
104 -}
105 -
106 -pkg_postinst() {
107 - elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite"
108 - elog "possible that the init script will fail to work."
109 -}
110
111 diff --git a/net-analyzer/argus/files/argus-3.0.4-disable-tcp-wrappers-automagic.patch b/net-analyzer/argus/files/argus-3.0.4-disable-tcp-wrappers-automagic.patch
112 deleted file mode 100644
113 index 77bde43..0000000
114 --- a/net-analyzer/argus/files/argus-3.0.4-disable-tcp-wrappers-automagic.patch
115 +++ /dev/null
116 @@ -1,22 +0,0 @@
117 ---- a/configure.ac
118 -+++ b/configure.ac
119 -@@ -270,6 +270,11 @@
120 - LIBS="$LIBS $V_PCAPDEP"
121 - fi
122 -
123 -+AC_ARG_WITH(wrappers,
124 -+ [ --with-wrappers build with libwrappers suuport],
125 -+ with_wrappers="$withval",
126 -+ with_wrappers="yes")
127 -+if test "x$with_wrappers" != "xno"; then
128 - AC_QOSIENT_TCPWRAP(V_WRAPDEP, V_INCLS)
129 - if test ! -z "$V_WRAPDEP"; then
130 - if test -f $V_WRAPDEP; then
131 -@@ -293,6 +298,7 @@
132 - AC_DEFINE([HAVE_TCP_WRAPPER], [], [Using Tcp wrappers])
133 - WRAPLIBS="$V_WRAPDEP"
134 - fi
135 -+fi
136 -
137 - AC_CHECK_FUNCS(xdrmem_create)
138 - if test "$ac_cv_func_xdrmem_create" = yes; then