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.5.ebuild
Date: Wed, 29 Dec 2010 16:58:22
Message-Id: 20101229165729.BDD5920057@flycatcher.gentoo.org
1 jer 10/12/29 16:57:29
2
3 Modified: ChangeLog
4 Added: pmacct-0.12.5.ebuild
5 Log:
6 Version bump. Set sizeof(sin6_addr) instead of hardcoded value (bug #340147).
7
8 (Portage version: 2.2.0_alpha10/cvs/Linux i686)
9
10 Revision Changes Path
11 1.73 net-analyzer/pmacct/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 16 Oct 2010 14:01:10 -0000 1.72
24 +++ ChangeLog 29 Dec 2010 16:57:29 -0000 1.73
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/pmacct
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.72 2010/10/16 14:01:10 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.73 2010/12/29 16:57:29 jer Exp $
30 +
31 +*pmacct-0.12.5 (29 Dec 2010)
32 +
33 + 29 Dec 2010; Jeroen Roovers <jer@g.o> +pmacct-0.12.5.ebuild,
34 + +files/pmacct-0.12.5-sin6_addr.patch:
35 + Version bump. Set sizeof(sin6_addr) instead of hardcoded value (bug #340147).
36
37 16 Oct 2010; Brent Baude <ranger@g.o> pmacct-0.12.2.ebuild:
38 stable ppc, bug 339280
39
40
41
42 1.1 net-analyzer/pmacct/pmacct-0.12.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pmacct-0.12.5.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.5.ebuild,v 1.1 2010/12/29 16:57:29 jer Exp $
52
53 EAPI="2"
54
55 inherit eutils toolchain-funcs
56
57 DESCRIPTION="A network tool to gather IP traffic information"
58 HOMEPAGE="http://www.pmacct.net/"
59 SRC_URI="http://www.pmacct.net/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="64bit debug ipv6 mysql postgres sqlite threads ulog"
65
66 RDEPEND="net-libs/libpcap
67 mysql? ( virtual/mysql )
68 postgres? ( dev-db/postgresql-base )
69 sqlite? ( =dev-db/sqlite-3* )"
70 DEPEND="${RDEPEND}"
71
72 src_prepare() {
73 epatch \
74 "${FILESDIR}"/${PN}-0.12.0-gentoo.patch \
75 "${FILESDIR}"/${PN}-0.12.5-sin6_addr.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 emake DESTDIR="${D}" install || die "make install failed"
94 dodoc ChangeLog CONFIG-KEYS EXAMPLES FAQS KNOWN-BUGS README UPGRADE \
95 docs/SIGNALS docs/PLUGINS docs/INTERNALS TODO TOOLS \
96 || die "dodoc failed"
97
98 for dirname in examples sql; do
99 docinto ${dirname}
100 dodoc ${dirname}/* || die "dodoc ${dirname} failed"
101 done
102
103 newinitd "${FILESDIR}"/pmacctd-init.d pmacctd || die "newinitd failed"
104 newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd || die "newconfd failed"
105
106 insinto /etc
107 newins "${S}/examples/pmacctd-imt.conf.example" pmacctd.conf || \
108 die "newins failed"
109 }