1 |
mrness 08/10/05 13:08:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ntop-3.3.8.ebuild |
5 |
Removed: ntop-3.3.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
Fix QA warnings (#237812). |
9 |
Add corefonts run-time dependency (#231705). |
10 |
(Portage version: 2.1.4.4) |
11 |
|
12 |
Revision Changes Path |
13 |
1.66 net-analyzer/ntop/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?rev=1.66&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?rev=1.66&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ChangeLog?r1=1.65&r2=1.66 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v |
22 |
retrieving revision 1.65 |
23 |
retrieving revision 1.66 |
24 |
diff -u -r1.65 -r1.66 |
25 |
--- ChangeLog 5 Jul 2008 15:03:09 -0000 1.65 |
26 |
+++ ChangeLog 5 Oct 2008 13:08:44 -0000 1.66 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for net-analyzer/ntop |
29 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.65 2008/07/05 15:03:09 loki_val Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.66 2008/10/05 13:08:44 mrness Exp $ |
32 |
+ |
33 |
+*ntop-3.3.8 (05 Oct 2008) |
34 |
+ |
35 |
+ 05 Oct 2008; Alin Năstac <mrness@g.o> |
36 |
+ +files/ntop-3.3.8-gentoo.patch, -files/ntop-3.3-build.patch, |
37 |
+ files/ntop-initd, -ntop-3.3.ebuild, +ntop-3.3.8.ebuild: |
38 |
+ Version bump. Fix QA warnings (#237812). Add corefonts run-time dependency |
39 |
+ (#231705). |
40 |
|
41 |
05 Jul 2008; Peter Alfredsen <loki_val@g.o> ntop-3.3.6.ebuild: |
42 |
Fix for libtool-2.2, bug #230853. |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-analyzer/ntop/ntop-3.3.8.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.8.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/ntop-3.3.8.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: ntop-3.3.8.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.8.ebuild,v 1.1 2008/10/05 13:08:44 mrness Exp $ |
56 |
|
57 |
inherit eutils autotools |
58 |
|
59 |
DESCRIPTION="tool that shows network usage like top" |
60 |
HOMEPAGE="http://www.ntop.org/ntop.html" |
61 |
SRC_URI="mirror://sourceforge/ntop/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="ipv6 nls ssl tcpd" |
67 |
#snmp support is disabled |
68 |
|
69 |
#snmp? ( net-analyzer/net-snmp ) |
70 |
COMMON_DEPEND="sys-apps/gawk |
71 |
dev-lang/perl |
72 |
sys-libs/gdbm |
73 |
net-libs/libpcap |
74 |
media-libs/gd |
75 |
media-libs/libpng |
76 |
net-analyzer/rrdtool |
77 |
ssl? ( dev-libs/openssl ) |
78 |
tcpd? ( sys-apps/tcp-wrappers ) |
79 |
sys-libs/zlib" |
80 |
DEPEND="${COMMON_DEPEND} |
81 |
>=sys-devel/libtool-1.4" |
82 |
|
83 |
# Needed by xmldumpPlugin - couldn't get it to work |
84 |
# dev-libs/gdome2 |
85 |
# >=dev-libs/glib-2" |
86 |
RDEPEND="${COMMON_DEPEND} |
87 |
media-fonts/corefonts |
88 |
media-gfx/graphviz" |
89 |
|
90 |
pkg_setup() { |
91 |
# snmp doesn't compile in this release, disabled for now |
92 |
|
93 |
#if use snmp ; then |
94 |
# ewarn "snmp plugin is under development and upstream does not recommend" |
95 |
# ewarn "it for usage in production environment." |
96 |
# if ! use ipv6 ; then |
97 |
# echo |
98 |
# eerror "snmp plugin has compilation problems without ipv6 support." |
99 |
# eerror "For additional information see bug #121497." |
100 |
# die "snmp without ipv6 is broken" |
101 |
# else |
102 |
# if ! built_with_use net-analyzer/net-snmp ipv6 ; then |
103 |
# echo |
104 |
# eerror "You have both ipv6 and snmp enabled." |
105 |
# eerror "This require ipv6 support in net-analyzer/net-snmp." |
106 |
# eerror "However, net-analyzer/net-snmp was compiled with ipv6 flag disabled." |
107 |
# eerror "Please, re-emerge net-analyzer/net-snmp with USE=\"ipv6\"." |
108 |
# die "net-analyzer/net-snmp was build without ipv6." |
109 |
# fi |
110 |
# fi |
111 |
#fi |
112 |
enewgroup ntop |
113 |
enewuser ntop -1 -1 /var/lib/ntop ntop |
114 |
} |
115 |
|
116 |
src_unpack() { |
117 |
unpack ${A} |
118 |
|
119 |
cd "${S}" |
120 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
121 |
cat acinclude.m4.in acinclude.m4.ntop > acinclude.m4 |
122 |
eautoreconf |
123 |
touch libtool.m4.in |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
# force disable xmldumpPlugin |
128 |
export \ |
129 |
ac_cv_header_glib_h=no \ |
130 |
ac_cv_header_glibconfig_h=no \ |
131 |
ac_cv_header_gdome_h=no \ |
132 |
ac_cv_lib_glib_g_date_julian=no \ |
133 |
ac_cv_lib_xml2_xmlCheckVersion=no \ |
134 |
ac_cv_lib_gdome_gdome_di_saveDocToFile=no |
135 |
|
136 |
econf \ |
137 |
$(use_enable ipv6) \ |
138 |
$(use_enable nls i18n) \ |
139 |
$(use_with ssl) $(use_enable ssl sslwatchdog) \ |
140 |
$(use_with tcpd tcpwrapper) \ |
141 |
--with-rrd-home=/usr/lib \ |
142 |
--disable-snmp \ |
143 |
|| die "configure problem" |
144 |
# $(use_enable snmp) |
145 |
emake || die "compile problem" |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
LC_ALL=C # apparently doesn't work with some locales (#191576 and #205382) |
150 |
emake DESTDIR="${D}" install || die "install problem" |
151 |
|
152 |
keepdir /var/lib/ntop |
153 |
|
154 |
dodoc AUTHORS CONTENTS ChangeLog MANIFESTO NEWS |
155 |
dodoc PORTING README SUPPORT_NTOP.txt THANKS $(find docs -type f) |
156 |
|
157 |
newinitd "${FILESDIR}"/ntop-initd ntop |
158 |
newconfd "${FILESDIR}"/ntop-confd ntop |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
fowners ntop:ntop /var/lib/ntop |
163 |
fperms 750 /var/lib/ntop |
164 |
|
165 |
elog "You need to set a password first by running" |
166 |
elog "ntop --set-admin-password" |
167 |
} |