Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/pmacct: ChangeLog pmacct-0.12.0.ebuild
Date: Tue, 23 Feb 2010 16:12:28
Message-Id: E1NjxCI-0001Df-BH@stork.gentoo.org
1 jer 10/02/23 16:01:18
2
3 Modified: ChangeLog
4 Added: pmacct-0.12.0.ebuild
5 Log:
6 Version bump thanks to Marcin Mirosław (bug #306531).
7 (Portage version: 2.2_rc63/cvs/Linux i686)
8
9 Revision Changes Path
10 1.62 net-analyzer/pmacct/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 1 Jun 2009 09:48:36 -0000 1.61
23 +++ ChangeLog 23 Feb 2010 16:01:17 -0000 1.62
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/pmacct
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.61 2009/06/01 09:48:36 pva Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.62 2010/02/23 16:01:17 jer Exp $
30 +
31 +*pmacct-0.12.0 (23 Feb 2010)
32 +
33 + 23 Feb 2010; Jeroen Roovers <jer@g.o> +pmacct-0.12.0.ebuild:
34 + Version bump thanks to Marcin Mirosław (bug #306531).
35
36 01 Jun 2009; Peter Volkov <pva@g.o> -pmacct-0.11.3.ebuild,
37 -pmacct-0.11.4.ebuild, pmacct-0.11.5-r1.ebuild, files/pmacctd-init.d,
38
39
40
41 1.1 net-analyzer/pmacct/pmacct-0.12.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pmacct-0.12.0.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/pmacct/pmacct-0.12.0.ebuild,v 1.1 2010/02/23 16:01:17 jer Exp $
51
52 EAPI="2"
53
54 inherit toolchain-funcs
55
56 DESCRIPTION="A network tool to gather ip traffic informations"
57 HOMEPAGE="http://www.pmacct.net/"
58 SRC_URI="http://www.pmacct.net/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="64bit debug ipv6 mmap mysql postgres sqlite"
64
65 RDEPEND="net-libs/libpcap
66 mysql? ( virtual/mysql )
67 postgres? ( virtual/postgresql-base )
68 sqlite? ( =dev-db/sqlite-3* )"
69 DEPEND="${RDEPEND}"
70
71 src_prepare() {
72 sed -i "s|\(CFLAGS=\).*$|\1\"${CFLAGS}\"|g" configure || die "sed failed"
73 }
74
75 src_configure() {
76 tc-export CC
77 econf \
78 $(use_enable mysql) \
79 $(use_enable postgres pgsql) \
80 $(use_enable mmap) \
81 $(use_enable ipv6) \
82 $(use_enable debug) \
83 $(use_enable 64bit) \
84 $(use_enable sqlite sqlite3)
85 }
86
87 src_install() {
88 make DESTDIR="${D}" install || die "make install failed"
89 dodoc README EXAMPLES KNOWN-BUGS CONFIG-KEYS FAQS ChangeLog docs/SIGNALS \
90 docs/PLUGINS docs/INTERNALS TODO TOOLS || die "dodoc failed"
91
92 for dirname in examples sql; do
93 docinto ${dirname}
94 dodoc ${dirname}/* || die "dodoc ${dirname} failed"
95 done
96
97 newinitd "${FILESDIR}"/pmacctd-init.d pmacctd || die "newinitd failed"
98 newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd || die "newconfd failed"
99
100 insinto /etc
101 newins "${S}/examples/pmacctd-imt.conf.example" pmacctd.conf || \
102 die "newins failed"
103 }