1 |
mrness 08/07/04 23:44:21 |
2 |
|
3 |
Modified: ChangeLog ntop-3.3.ebuild metadata.xml |
4 |
ntop-3.2-r3.ebuild |
5 |
Added: ntop-3.3.6.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
Fix init script (#191576). |
9 |
Fix broken ebuild when locales use other chars than ASCII (#205382). |
10 |
Fix libtool dependency (#221623). |
11 |
(Portage version: 2.1.4.4) |
12 |
|
13 |
Revision Changes Path |
14 |
1.64 net-analyzer/ntop/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?rev=1.64&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?rev=1.64&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?r1=1.63&r2=1.64 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v |
23 |
retrieving revision 1.63 |
24 |
retrieving revision 1.64 |
25 |
diff -u -r1.63 -r1.64 |
26 |
--- ChangeLog 9 Jun 2008 08:41:59 -0000 1.63 |
27 |
+++ ChangeLog 4 Jul 2008 23:44:20 -0000 1.64 |
28 |
@@ -1,6 +1,14 @@ |
29 |
# ChangeLog for net-analyzer/ntop |
30 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.63 2008/06/09 08:41:59 vapier Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.64 2008/07/04 23:44:20 mrness Exp $ |
33 |
+ |
34 |
+*ntop-3.3.6 (04 Jul 2008) |
35 |
+ |
36 |
+ 04 Jul 2008; Alin Năstac <mrness@g.o> |
37 |
+ +files/ntop-3.3.6-gentoo.patch, files/ntop-initd, metadata.xml, |
38 |
+ ntop-3.2-r3.ebuild, ntop-3.3.ebuild, +ntop-3.3.6.ebuild: |
39 |
+ Version bump. Fix init script (#191576). Fix broken ebuild when locales use |
40 |
+ other chars than ASCII (#205382). Fix libtool dependency (#221623). |
41 |
|
42 |
09 Jun 2008; Mike Frysinger <vapier@g.o> ntop-3.3.ebuild: |
43 |
Remove stale libtool macros from local m4 files #220819 by Paul Hartman. |
44 |
|
45 |
|
46 |
|
47 |
1.7 net-analyzer/ntop/ntop-3.3.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild?rev=1.7&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild?rev=1.7&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild?r1=1.6&r2=1.7 |
52 |
|
53 |
Index: ntop-3.3.ebuild |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild,v |
56 |
retrieving revision 1.6 |
57 |
retrieving revision 1.7 |
58 |
diff -u -r1.6 -r1.7 |
59 |
--- ntop-3.3.ebuild 9 Jun 2008 08:41:59 -0000 1.6 |
60 |
+++ ntop-3.3.ebuild 4 Jul 2008 23:44:20 -0000 1.7 |
61 |
@@ -1,6 +1,6 @@ |
62 |
# Copyright 1999-2008 Gentoo Foundation |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild,v 1.6 2008/06/09 08:41:59 vapier Exp $ |
65 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild,v 1.7 2008/07/04 23:44:20 mrness Exp $ |
66 |
|
67 |
inherit eutils autotools |
68 |
|
69 |
@@ -15,8 +15,7 @@ |
70 |
#IUSE="ipv6 nls snmp ssl tcpd zlib" |
71 |
|
72 |
#snmp? ( net-analyzer/net-snmp ) |
73 |
-DEPEND="sys-apps/gawk |
74 |
- >=sys-devel/libtool-1.4 |
75 |
+COMMON_DEPEND="sys-apps/gawk |
76 |
>=sys-libs/gdbm-1.8.0 |
77 |
net-libs/libpcap |
78 |
>=media-libs/gd-2.0.22 |
79 |
@@ -25,12 +24,14 @@ |
80 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
81 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) |
82 |
zlib? ( sys-libs/zlib )" |
83 |
+DEPEND="${COMMON_DEPEND} |
84 |
+ >=sys-devel/libtool-1.4" |
85 |
|
86 |
# Needed by xmldumpPlugin - couldn't get it to work |
87 |
# dev-libs/gdome2 |
88 |
# >=dev-libs/glib-2" |
89 |
|
90 |
-RDEPEND="${DEPEND} |
91 |
+RDEPEND="${COMMON_DEPEND} |
92 |
media-gfx/graphviz" |
93 |
|
94 |
pkg_setup() { |
95 |
|
96 |
|
97 |
|
98 |
1.3 net-analyzer/ntop/metadata.xml |
99 |
|
100 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/metadata.xml?rev=1.3&view=markup |
101 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/metadata.xml?rev=1.3&content-type=text/plain |
102 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/metadata.xml?r1=1.2&r2=1.3 |
103 |
|
104 |
Index: metadata.xml |
105 |
=================================================================== |
106 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/metadata.xml,v |
107 |
retrieving revision 1.2 |
108 |
retrieving revision 1.3 |
109 |
diff -u -r1.2 -r1.3 |
110 |
--- metadata.xml 23 Aug 2004 15:45:12 -0000 1.2 |
111 |
+++ metadata.xml 4 Jul 2008 23:44:20 -0000 1.3 |
112 |
@@ -2,5 +2,9 @@ |
113 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
114 |
<pkgmetadata> |
115 |
<herd>netmon</herd> |
116 |
+<maintainer> |
117 |
+ <email>mrness@g.o</email> |
118 |
+ <name>Alin Nastac</name> |
119 |
+</maintainer> |
120 |
<longdescription>tool that shows network usage like top</longdescription> |
121 |
</pkgmetadata> |
122 |
|
123 |
|
124 |
|
125 |
1.12 net-analyzer/ntop/ntop-3.2-r3.ebuild |
126 |
|
127 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild?rev=1.12&view=markup |
128 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild?rev=1.12&content-type=text/plain |
129 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild?r1=1.11&r2=1.12 |
130 |
|
131 |
Index: ntop-3.2-r3.ebuild |
132 |
=================================================================== |
133 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild,v |
134 |
retrieving revision 1.11 |
135 |
retrieving revision 1.12 |
136 |
diff -u -r1.11 -r1.12 |
137 |
--- ntop-3.2-r3.ebuild 28 Jul 2007 09:46:13 -0000 1.11 |
138 |
+++ ntop-3.2-r3.ebuild 4 Jul 2008 23:44:20 -0000 1.12 |
139 |
@@ -1,6 +1,6 @@ |
140 |
-# Copyright 1999-2007 Gentoo Foundation |
141 |
+# Copyright 1999-2008 Gentoo Foundation |
142 |
# Distributed under the terms of the GNU General Public License v2 |
143 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild,v 1.11 2007/07/28 09:46:13 vapier Exp $ |
144 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r3.ebuild,v 1.12 2008/07/04 23:44:20 mrness Exp $ |
145 |
|
146 |
inherit eutils autotools |
147 |
|
148 |
@@ -13,8 +13,7 @@ |
149 |
KEYWORDS="amd64 arm hppa ~ia64 ppc ~ppc64 sh sparc s390 x86" |
150 |
IUSE="ipv6 nls snmp ssl tcpd zlib" |
151 |
|
152 |
-DEPEND="sys-apps/gawk |
153 |
- >=sys-devel/libtool-1.4 |
154 |
+COMMON_DEPEND="sys-apps/gawk |
155 |
>=sys-libs/gdbm-1.8.0 |
156 |
net-libs/libpcap |
157 |
>=media-libs/gd-2.0.22 |
158 |
@@ -23,12 +22,14 @@ |
159 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
160 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) |
161 |
zlib? ( sys-libs/zlib )" |
162 |
+DEPEND="${COMMON_DEPEND} |
163 |
+ >=sys-devel/libtool-1.4" |
164 |
|
165 |
# Needed by xmldumpPlugin - couldn't get it to work |
166 |
# dev-libs/gdome2 |
167 |
# >=dev-libs/glib-2" |
168 |
|
169 |
-RDEPEND="${DEPEND} |
170 |
+RDEPEND="${COMMON_DEPEND} |
171 |
media-gfx/graphviz" |
172 |
|
173 |
pkg_setup() { |
174 |
|
175 |
|
176 |
|
177 |
1.1 net-analyzer/ntop/ntop-3.3.6.ebuild |
178 |
|
179 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.6.ebuild?rev=1.1&view=markup |
180 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.6.ebuild?rev=1.1&content-type=text/plain |
181 |
|
182 |
Index: ntop-3.3.6.ebuild |
183 |
=================================================================== |
184 |
# Copyright 1999-2008 Gentoo Foundation |
185 |
# Distributed under the terms of the GNU General Public License v2 |
186 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.6.ebuild,v 1.1 2008/07/04 23:44:20 mrness Exp $ |
187 |
|
188 |
inherit eutils autotools |
189 |
|
190 |
DESCRIPTION="tool that shows network usage like top" |
191 |
HOMEPAGE="http://www.ntop.org/ntop.html" |
192 |
SRC_URI="mirror://sourceforge/ntop/${P}.tar.gz" |
193 |
|
194 |
LICENSE="GPL-2" |
195 |
SLOT="0" |
196 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
197 |
IUSE="ipv6 nls ssl tcpd zlib" |
198 |
#IUSE="ipv6 nls snmp ssl tcpd zlib" |
199 |
|
200 |
#snmp? ( net-analyzer/net-snmp ) |
201 |
COMMON_DEPEND="sys-apps/gawk |
202 |
>=sys-libs/gdbm-1.8.0 |
203 |
net-libs/libpcap |
204 |
>=media-libs/gd-2.0.22 |
205 |
>=media-libs/libpng-1.2.5 |
206 |
net-analyzer/rrdtool |
207 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
208 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) |
209 |
zlib? ( sys-libs/zlib )" |
210 |
DEPEND="${COMMON_DEPEND} |
211 |
>=sys-devel/libtool-1.4" |
212 |
|
213 |
# Needed by xmldumpPlugin - couldn't get it to work |
214 |
# dev-libs/gdome2 |
215 |
# >=dev-libs/glib-2" |
216 |
RDEPEND="${COMMON_DEPEND} |
217 |
media-gfx/graphviz" |
218 |
|
219 |
S="${WORKDIR}/${PN}" |
220 |
|
221 |
pkg_setup() { |
222 |
# snmp doesn't compile in this release, disabled for now |
223 |
|
224 |
#if use snmp ; then |
225 |
# ewarn "snmp plugin is under development and upstream does not recommend" |
226 |
# ewarn "it for usage in production environment." |
227 |
# if ! use ipv6 ; then |
228 |
# echo |
229 |
# eerror "snmp plugin has compilation problems without ipv6 support." |
230 |
# eerror "For additional information see bug #121497." |
231 |
# die "snmp without ipv6 is broken" |
232 |
# else |
233 |
# if ! built_with_use net-analyzer/net-snmp ipv6 ; then |
234 |
# echo |
235 |
# eerror "You have both ipv6 and snmp enabled." |
236 |
# eerror "This require ipv6 support in net-analyzer/net-snmp." |
237 |
# eerror "However, net-analyzer/net-snmp was compiled with ipv6 flag disabled." |
238 |
# eerror "Please, re-emerge net-analyzer/net-snmp with USE=\"ipv6\"." |
239 |
# die "net-analyzer/net-snmp was build without ipv6." |
240 |
# fi |
241 |
# fi |
242 |
#fi |
243 |
enewgroup ntop |
244 |
enewuser ntop -1 -1 /var/lib/ntop ntop |
245 |
} |
246 |
|
247 |
src_unpack() { |
248 |
unpack ${A} |
249 |
|
250 |
cd "${S}" |
251 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
252 |
|
253 |
eautoreconf |
254 |
cp /usr/share/aclocal/libtool.m4 libtool.m4.in || die "failed to copy libtool.m4" |
255 |
} |
256 |
|
257 |
src_compile() { |
258 |
# force disable xmldumpPlugin |
259 |
export \ |
260 |
ac_cv_header_glib_h=no \ |
261 |
ac_cv_header_glibconfig_h=no \ |
262 |
ac_cv_header_gdome_h=no \ |
263 |
ac_cv_lib_glib_g_date_julian=no \ |
264 |
ac_cv_lib_xml2_xmlCheckVersion=no \ |
265 |
ac_cv_lib_gdome_gdome_di_saveDocToFile=no |
266 |
|
267 |
econf \ |
268 |
$(use_enable ipv6) \ |
269 |
$(use_enable nls i18n) \ |
270 |
$(use_with ssl) $(use_enable ssl sslv3) $(use_enable ssl sslwatchdog) \ |
271 |
$(use_with tcpd) \ |
272 |
$(use_with zlib) \ |
273 |
--with-rrd-home=/usr/lib \ |
274 |
--disable-snmp \ |
275 |
|| die "configure problem" |
276 |
# $(use_enable snmp) |
277 |
emake || die "compile problem" |
278 |
} |
279 |
|
280 |
src_install() { |
281 |
LC_ALL=C # apparently doesn't work with some locales (#191576 and #205382) |
282 |
emake DESTDIR="${D}" install || die "install problem" |
283 |
|
284 |
keepdir /var/lib/ntop |
285 |
|
286 |
dodoc AUTHORS CONTENTS ChangeLog MANIFESTO NEWS |
287 |
dodoc PORTING README SUPPORT_NTOP.txt THANKS $(find docs -type f) |
288 |
|
289 |
newinitd "${FILESDIR}"/ntop-initd ntop |
290 |
newconfd "${FILESDIR}"/ntop-confd ntop |
291 |
} |
292 |
|
293 |
pkg_postinst() { |
294 |
fowners ntop:ntop /var/lib/ntop |
295 |
fperms 750 /var/lib/ntop |
296 |
|
297 |
elog "You need to set a password first by running" |
298 |
elog "ntop --set-admin-password" |
299 |
} |
300 |
|
301 |
|
302 |
|
303 |
-- |
304 |
gentoo-commits@l.g.o mailing list |