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