1 |
jer 10/02/25 22:22:58 |
2 |
|
3 |
Modified: metadata.xml ChangeLog pmacct-0.12.0.ebuild |
4 |
Log: |
5 |
Remove IUSE=mmap. Add IUSE="threads ulog" thanks to Marcin Mirosław (bug #306641). Replace broken sed script with something that both respects CFLAGS and does not remove vital -DEFINES. Install UPGRADE doc. |
6 |
(Portage version: 2.2_rc63/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 net-analyzer/pmacct/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/metadata.xml?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/metadata.xml?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/metadata.xml?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/metadata.xml,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- metadata.xml 4 Aug 2008 19:50:44 -0000 1.2 |
22 |
+++ metadata.xml 25 Feb 2010 22:22:57 -0000 1.3 |
23 |
@@ -3,5 +3,8 @@ |
24 |
<pkgmetadata> |
25 |
<herd>netmon</herd> |
26 |
<longdescription>A network tool to gather ip traffic informations</longdescription> |
27 |
-<use><flag name='64bit'>Use 64bit counters instead of 32bit ones</flag></use> |
28 |
+<use> |
29 |
+ <flag name='64bit'>Use 64bit counters instead of 32bit ones</flag> |
30 |
+ <flag name='ulog'>Enable ULOG support</flag> |
31 |
+</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.63 net-analyzer/pmacct/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.63&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?rev=1.63&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/ChangeLog?r1=1.62&r2=1.63 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v |
45 |
retrieving revision 1.62 |
46 |
retrieving revision 1.63 |
47 |
diff -u -r1.62 -r1.63 |
48 |
--- ChangeLog 23 Feb 2010 16:01:17 -0000 1.62 |
49 |
+++ ChangeLog 25 Feb 2010 22:22:57 -0000 1.63 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for net-analyzer/pmacct |
52 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.62 2010/02/23 16:01:17 jer Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.63 2010/02/25 22:22:57 jer Exp $ |
55 |
+ |
56 |
+ 25 Feb 2010; Jeroen Roovers <jer@g.o> pmacct-0.12.0.ebuild, |
57 |
+ +files/pmacct-0.12.0-gentoo.patch, metadata.xml: |
58 |
+ Remove IUSE=mmap. Add IUSE="threads ulog" thanks to Marcin Mirosław (bug |
59 |
+ #306641). Replace broken sed script with something that both respects |
60 |
+ CFLAGS and does not remove vital -DEFINES. Install UPGRADE doc. |
61 |
|
62 |
*pmacct-0.12.0 (23 Feb 2010) |
63 |
|
64 |
|
65 |
|
66 |
|
67 |
1.2 net-analyzer/pmacct/pmacct-0.12.0.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild?rev=1.2&view=markup |
70 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild?rev=1.2&content-type=text/plain |
71 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild?r1=1.1&r2=1.2 |
72 |
|
73 |
Index: pmacct-0.12.0.ebuild |
74 |
=================================================================== |
75 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild,v |
76 |
retrieving revision 1.1 |
77 |
retrieving revision 1.2 |
78 |
diff -u -r1.1 -r1.2 |
79 |
--- pmacct-0.12.0.ebuild 23 Feb 2010 16:01:17 -0000 1.1 |
80 |
+++ pmacct-0.12.0.ebuild 25 Feb 2010 22:22:57 -0000 1.2 |
81 |
@@ -1,10 +1,10 @@ |
82 |
# Copyright 1999-2010 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild,v 1.1 2010/02/23 16:01:17 jer Exp $ |
85 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.0.ebuild,v 1.2 2010/02/25 22:22:57 jer Exp $ |
86 |
|
87 |
EAPI="2" |
88 |
|
89 |
-inherit toolchain-funcs |
90 |
+inherit eutils toolchain-funcs |
91 |
|
92 |
DESCRIPTION="A network tool to gather ip traffic informations" |
93 |
HOMEPAGE="http://www.pmacct.net/" |
94 |
@@ -13,7 +13,7 @@ |
95 |
LICENSE="GPL-2" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~ppc ~x86" |
98 |
-IUSE="64bit debug ipv6 mmap mysql postgres sqlite" |
99 |
+IUSE="64bit debug ipv6 mysql postgres sqlite threads ulog" |
100 |
|
101 |
RDEPEND="net-libs/libpcap |
102 |
mysql? ( virtual/mysql ) |
103 |
@@ -22,25 +22,29 @@ |
104 |
DEPEND="${RDEPEND}" |
105 |
|
106 |
src_prepare() { |
107 |
- sed -i "s|\(CFLAGS=\).*$|\1\"${CFLAGS}\"|g" configure || die "sed failed" |
108 |
+ cp -av configure{,.org} |
109 |
+ cp -av configure.in{,.org} |
110 |
+ epatch "${FILESDIR}"/${P}-gentoo.patch |
111 |
} |
112 |
|
113 |
src_configure() { |
114 |
tc-export CC |
115 |
econf \ |
116 |
+ $(use_enable 64bit) \ |
117 |
+ $(use_enable debug) \ |
118 |
+ $(use_enable ipv6) \ |
119 |
$(use_enable mysql) \ |
120 |
$(use_enable postgres pgsql) \ |
121 |
- $(use_enable mmap) \ |
122 |
- $(use_enable ipv6) \ |
123 |
- $(use_enable debug) \ |
124 |
- $(use_enable 64bit) \ |
125 |
- $(use_enable sqlite sqlite3) |
126 |
+ $(use_enable threads) \ |
127 |
+ $(use_enable ulog) \ |
128 |
+ || die "econf failed" |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
- make DESTDIR="${D}" install || die "make install failed" |
133 |
- dodoc README EXAMPLES KNOWN-BUGS CONFIG-KEYS FAQS ChangeLog docs/SIGNALS \ |
134 |
- docs/PLUGINS docs/INTERNALS TODO TOOLS || die "dodoc failed" |
135 |
+ emake DESTDIR="${D}" install || die "make install failed" |
136 |
+ dodoc ChangeLog CONFIG-KEYS EXAMPLES FAQS KNOWN-BUGS README UPGRADE \ |
137 |
+ docs/SIGNALS docs/PLUGINS docs/INTERNALS TODO TOOLS \ |
138 |
+ || die "dodoc failed" |
139 |
|
140 |
for dirname in examples sql; do |
141 |
docinto ${dirname} |