summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-04-10 22:38:47 +0000
committerAlin Năstac <mrness@gentoo.org>2009-04-10 22:38:47 +0000
commite187744235f3e81f96330f007baf757365a9784b (patch)
tree28402d6eca578e207af2b9420e7ec05562bf02c2 /net-analyzer
parentMove from net-www/ to www-plugins/ (bug #265569). (diff)
downloadgentoo-2-e187744235f3e81f96330f007baf757365a9784b.tar.gz
gentoo-2-e187744235f3e81f96330f007baf757365a9784b.tar.bz2
gentoo-2-e187744235f3e81f96330f007baf757365a9784b.zip
Fix geoip dependency atom (#264524). Migrate to EAPI 2.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ntop/ChangeLog5
-rw-r--r--net-analyzer/ntop/ntop-3.3.9-r1.ebuild15
2 files changed, 10 insertions, 10 deletions
diff --git a/net-analyzer/ntop/ChangeLog b/net-analyzer/ntop/ChangeLog
index 3a2750cf88cb..90e54a9862a9 100644
--- a/net-analyzer/ntop/ChangeLog
+++ b/net-analyzer/ntop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/ntop
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.69 2009/03/08 10:31:35 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.70 2009/04/10 22:38:47 mrness Exp $
+
+ 10 Apr 2009; Alin Năstac <mrness@gentoo.org> ntop-3.3.9-r1.ebuild:
+ Fix geoip dependency atom (#264524). Migrate to EAPI 2.
08 Mar 2009; Dawid Węgliński <cla@gentoo.org> ntop-3.2-r3.ebuild:
Migrate to EAPI 2
diff --git a/net-analyzer/ntop/ntop-3.3.9-r1.ebuild b/net-analyzer/ntop/ntop-3.3.9-r1.ebuild
index cdcc14e8beb9..7dd707f9cd81 100644
--- a/net-analyzer/ntop/ntop-3.3.9-r1.ebuild
+++ b/net-analyzer/ntop/ntop-3.3.9-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.9-r1.ebuild,v 1.1 2009/02/18 21:44:38 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.9-r1.ebuild,v 1.2 2009/04/10 22:38:47 mrness Exp $
+
+EAPI="2"
inherit eutils autotools
@@ -25,7 +27,7 @@ COMMON_DEPEND="sys-apps/gawk
ssl? ( dev-libs/openssl )
tcpd? ( sys-apps/tcp-wrappers )
sys-libs/zlib
- dev-libs/geoip"
+ >=dev-libs/geoip-1.4.5"
DEPEND="${COMMON_DEPEND}
>=sys-devel/libtool-1.4"
@@ -64,18 +66,14 @@ pkg_setup() {
enewuser ntop -1 -1 /var/lib/ntop ntop
}
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
epatch "${FILESDIR}"/${P}-external-geoip.patch
cat acinclude.m4.in acinclude.m4.ntop > acinclude.m4
eautoreconf
}
-src_compile() {
+src_configure() {
# force disable xmldumpPlugin
export \
ac_cv_header_glib_h=no \
@@ -94,7 +92,6 @@ src_compile() {
--disable-snmp \
|| die "configure problem"
# $(use_enable snmp)
- emake || die "compile problem"
}
src_install() {