1 |
jer 14/02/01 12:07:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pmacct-1.5.0_rc2.ebuild |
5 |
Log: |
6 |
Version bump. Clean up patch. Use /run not /var/run in init script. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.92 net-analyzer/pmacct/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.92&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.92&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.91&r2=1.92 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v |
20 |
retrieving revision 1.91 |
21 |
retrieving revision 1.92 |
22 |
diff -u -r1.91 -r1.92 |
23 |
--- ChangeLog 1 Feb 2014 11:50:27 -0000 1.91 |
24 |
+++ ChangeLog 1 Feb 2014 12:07:33 -0000 1.92 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/pmacct |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.91 2014/02/01 11:50:27 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.92 2014/02/01 12:07:33 jer Exp $ |
30 |
+ |
31 |
+*pmacct-1.5.0_rc2 (01 Feb 2014) |
32 |
+ |
33 |
+ 01 Feb 2014; Jeroen Roovers <jer@g.o> +pmacct-1.5.0_rc2.ebuild, |
34 |
+ files/pmacct-0.12.0-gentoo.patch, files/pmacctd-init.d: |
35 |
+ Version bump. Clean up patch. Use /run not /var/run in init script. |
36 |
|
37 |
01 Feb 2014; Jeroen Roovers <jer@g.o> -pmacct-0.14.2.ebuild, |
38 |
pmacct-0.14.3.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-analyzer/pmacct/pmacct-1.5.0_rc2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-1.5.0_rc2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/pmacct/pmacct-1.5.0_rc2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pmacct-1.5.0_rc2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-1.5.0_rc2.ebuild,v 1.1 2014/02/01 12:07:33 jer Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit eutils toolchain-funcs |
55 |
|
56 |
DESCRIPTION="A network tool to gather IP traffic information" |
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="" |
63 |
IUSE="64bit debug geoip ipv6 mongodb mysql postgres sqlite threads ulog" |
64 |
|
65 |
DEPEND=" |
66 |
net-libs/libpcap |
67 |
geoip? ( dev-libs/geoip ) |
68 |
mongodb? ( dev-libs/mongo-c-driver ) |
69 |
mysql? ( virtual/mysql ) |
70 |
postgres? ( dev-db/postgresql-base ) |
71 |
sqlite? ( =dev-db/sqlite-3* ) |
72 |
" |
73 |
RDEPEND="${DEPEND}" |
74 |
|
75 |
S="${WORKDIR}/${P/_/}" |
76 |
|
77 |
DOCS=( |
78 |
CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS QUICKSTART README TODO TOOLS UPGRADE |
79 |
docs/INTERNALS docs/PLUGINS docs/SIGNALS |
80 |
) |
81 |
|
82 |
src_prepare() { |
83 |
epatch "${FILESDIR}"/${PN}-0.12.0-gentoo.patch |
84 |
sed -i \ |
85 |
-e '/[[:space:]]ar /s|ar |$(AR) |g' \ |
86 |
$(find . -name Makefile.in) || die |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
tc-export CC AR RANLIB |
91 |
|
92 |
econf \ |
93 |
$(use_enable 64bit) \ |
94 |
$(use_enable debug) \ |
95 |
$(use_enable geoip) \ |
96 |
$(use_enable ipv6) \ |
97 |
$(use_enable mongodb) \ |
98 |
$(use_enable mysql) \ |
99 |
$(use_enable postgres pgsql) \ |
100 |
$(use_enable sqlite sqlite3) \ |
101 |
$(use_enable threads) \ |
102 |
$(use_enable ulog) |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
default |
107 |
|
108 |
for dirname in examples sql; do |
109 |
docinto ${dirname} |
110 |
dodoc -r ${dirname}/* |
111 |
done |
112 |
|
113 |
newinitd "${FILESDIR}"/pmacctd-init.d pmacctd |
114 |
newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd |
115 |
|
116 |
insinto /etc/pmacctd |
117 |
newins examples/pmacctd-imt.conf.example pmacctd.conf |
118 |
} |