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: pmacct-0.12.1.ebuild ChangeLog
Date: Tue, 11 May 2010 05:24:11
Message-Id: 20100511052404.2D4852C4F8@corvid.gentoo.org
1 jer 10/05/11 05:24:03
2
3 Modified: ChangeLog
4 Added: pmacct-0.12.1.ebuild
5 Log:
6 Version bump thanks to Marcin Mirosław (bug #318843).
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.65 net-analyzer/pmacct/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 1 Mar 2010 23:39:16 -0000 1.64
23 +++ ChangeLog 11 May 2010 05:24:03 -0000 1.65
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/pmacct
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.64 2010/03/01 23:39:16 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.65 2010/05/11 05:24:03 jer Exp $
29 +
30 +*pmacct-0.12.1 (11 May 2010)
31 +
32 + 11 May 2010; Jeroen Roovers <jer@g.o> +pmacct-0.12.1.ebuild:
33 + Version bump thanks to Marcin Mirosław (bug #318843).
34
35 *pmacct-0.12.0-r1 (01 Mar 2010)
36
37
38
39
40 1.1 net-analyzer/pmacct/pmacct-0.12.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pmacct-0.12.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.1.ebuild,v 1.1 2010/05/11 05:24:03 jer Exp $
50
51 EAPI="2"
52
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="A network tool to gather ip traffic informations"
56 HOMEPAGE="http://www.pmacct.net/"
57 SRC_URI="http://www.pmacct.net/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="64bit debug ipv6 mysql postgres sqlite threads ulog"
63
64 RDEPEND="net-libs/libpcap
65 mysql? ( virtual/mysql )
66 postgres? ( virtual/postgresql-base )
67 sqlite? ( =dev-db/sqlite-3* )"
68 DEPEND="${RDEPEND}"
69
70 src_prepare() {
71 cp -av configure{,.org}
72 cp -av configure.in{,.org}
73 epatch "${FILESDIR}"/${PN}-0.12.0-gentoo.patch
74 }
75
76 src_configure() {
77 tc-export CC
78 econf \
79 $(use_enable 64bit) \
80 $(use_enable debug) \
81 $(use_enable ipv6) \
82 $(use_enable mysql) \
83 $(use_enable postgres pgsql) \
84 $(use_enable sqlite sqlite3) \
85 $(use_enable threads) \
86 $(use_enable ulog) \
87 || die "econf failed"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "make install failed"
92 dodoc ChangeLog CONFIG-KEYS EXAMPLES FAQS KNOWN-BUGS README UPGRADE \
93 docs/SIGNALS docs/PLUGINS docs/INTERNALS TODO TOOLS \
94 || die "dodoc failed"
95
96 for dirname in examples sql; do
97 docinto ${dirname}
98 dodoc ${dirname}/* || die "dodoc ${dirname} failed"
99 done
100
101 newinitd "${FILESDIR}"/pmacctd-init.d pmacctd || die "newinitd failed"
102 newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd || die "newconfd failed"
103
104 insinto /etc
105 newins "${S}/examples/pmacctd-imt.conf.example" pmacctd.conf || \
106 die "newins failed"
107 }