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.14.1.ebuild
Date: Thu, 23 Aug 2012 03:18:28
Message-Id: 20120823031817.A0CD3203F0@flycatcher.gentoo.org
1 jer 12/08/23 03:18:17
2
3 Modified: ChangeLog
4 Added: pmacct-0.14.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.81 net-analyzer/pmacct/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.81&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.81&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.80&r2=1.81
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v
20 retrieving revision 1.80
21 retrieving revision 1.81
22 diff -u -r1.80 -r1.81
23 --- ChangeLog 16 Apr 2012 23:21:48 -0000 1.80
24 +++ ChangeLog 23 Aug 2012 03:18:17 -0000 1.81
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/pmacct
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.80 2012/04/16 23:21:48 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.81 2012/08/23 03:18:17 jer Exp $
30 +
31 +*pmacct-0.14.1 (23 Aug 2012)
32 +
33 + 23 Aug 2012; Jeroen Roovers <jer@g.o> +pmacct-0.14.1.ebuild:
34 + Version bump.
35
36 16 Apr 2012; Jeroen Roovers <jer@g.o> -pmacct-0.12.2.ebuild,
37 -pmacct-0.12.3.ebuild, -pmacct-0.12.5.ebuild:
38
39
40
41 1.1 net-analyzer/pmacct/pmacct-0.14.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.14.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.14.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pmacct-0.14.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.14.1.ebuild,v 1.1 2012/08/23 03:18:17 jer Exp $
51
52 EAPI=4
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="A network tool to gather IP traffic information"
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? ( dev-db/postgresql-base )
67 sqlite? ( =dev-db/sqlite-3* )"
68 DEPEND="${RDEPEND}"
69 DOCS=(
70 CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS README TODO TOOLS UPGRADE
71 docs/INTERNALS docs/PLUGINS docs/SIGNALS
72 )
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PN}-0.12.0-gentoo.patch
76 }
77
78 src_configure() {
79 tc-export CC
80 econf \
81 $(use_enable 64bit) \
82 $(use_enable debug) \
83 $(use_enable ipv6) \
84 $(use_enable mysql) \
85 $(use_enable postgres pgsql) \
86 $(use_enable sqlite sqlite3) \
87 $(use_enable threads) \
88 $(use_enable ulog) \
89 || die "econf failed"
90 }
91
92 src_install() {
93 default
94
95 for dirname in examples sql; do
96 docinto ${dirname}
97 dodoc ${dirname}/*
98 done
99
100 newinitd "${FILESDIR}"/pmacctd-init.d pmacctd
101 newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd
102
103 insinto /etc/pmacctd
104 newins examples/pmacctd-imt.conf.example pmacctd.conf
105 }