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