Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/argus: ChangeLog argus-3.0.2.ebuild
Date: Mon, 30 Nov 2009 16:02:00
Message-Id: E1NF8hJ-00047f-46@stork.gentoo.org
1 pva 09/11/30 16:01:57
2
3 Modified: ChangeLog
4 Added: argus-3.0.2.ebuild
5 Log:
6 Version bump, fixes bug #247955 thank Diego E. 'Flameeyes' Pettenò for report.
7 (Portage version: 2.1.7.9/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 net-analyzer/argus/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/argus/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/argus/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/argus/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/argus/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 23 Sep 2009 18:17:00 -0000 1.18
23 +++ ChangeLog 30 Nov 2009 16:01:56 -0000 1.19
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-analyzer/argus
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/ChangeLog,v 1.18 2009/09/23 18:17:00 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/ChangeLog,v 1.19 2009/11/30 16:01:56 pva Exp $
29 +
30 +*argus-3.0.2 (30 Nov 2009)
31 +
32 + 30 Nov 2009; Peter Volkov <pva@g.o> +argus-3.0.2.ebuild,
33 + +files/argus-disable-tcp-wrappers-automagic.patch:
34 + Version bump, fixes bug #247955 thank Diego E. 'Flameeyes' Pettenò for
35 + report.
36
37 23 Sep 2009; Patrick Lauer <patrick@g.o> argus-2.0.5.ebuild,
38 argus-2.0.6.ebuild:
39
40
41
42 1.1 net-analyzer/argus/argus-3.0.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/argus/argus-3.0.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/argus/argus-3.0.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: argus-3.0.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-3.0.2.ebuild,v 1.1 2009/11/30 16:01:56 pva Exp $
52
53 EAPI="2"
54
55 inherit eutils autotools
56
57 DESCRIPTION="network Audit Record Generation and Utilization System"
58 HOMEPAGE="http://www.qosient.com/argus/"
59 SRC_URI="http://qosient.com/argus/dev/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="debug tcpd"
65
66 # sasl? ( >=dev-libs/cyrus-sasl-2.1.22 )
67 RDEPEND="net-libs/libpcap
68 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
69
70 DEPEND="${RDEPEND}
71 >=sys-devel/bison-1.28
72 >=sys-devel/flex-2.4.6"
73
74 src_prepare() {
75 sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \
76 -i argus/argus.c \
77 -i support/Config/argus.conf \
78 -i man/man8/argus.8 \
79 -i man/man5/argus.conf.5 || die
80
81 sed -e 's:#\(ARGUS_SETUSER_ID=\).*:\1argus:' \
82 -e 's:#\(ARGUS_SETGROUP_ID=\).*:\1argus:' \
83 -e 's:\(#ARGUS_CHROOT_DIR=\).*:\1/var/lib/argus:' \
84 -i support/Config/argus.conf || die
85
86 epatch "${FILESDIR}/${PN}-disable-tcp-wrappers-automagic.patch"
87 eautoreconf
88 }
89
90 src_configure() {
91 use debug && touch .debug # enable debugging
92 # $(use_with sasl) \
93 econf \
94 $(use_with tcpd wrappers)
95 }
96
97 src_install () {
98 doman man/man5/* man/man8/*
99 dosbin bin/argus{,bug} || die
100
101 dodoc ChangeLog CREDITS README || die
102
103 insinto /etc/argus
104 doins support/Config/argus.conf || die
105
106 newinitd "${FILESDIR}/argus.initd" argus || die
107 dodir /var/lib/argus
108 }
109
110 pkg_preinst() {
111 enewgroup argus
112 enewuser argus -1 -1 /var/lib/argus argus
113 }
114
115 pkg_postinst() {
116 elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite"
117 elog "possible that init script will fail to work."
118 }