summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-02-07 22:01:57 +0000
committerPeter Volkov <pva@gentoo.org>2006-02-07 22:01:57 +0000
commita6dd7639fe9264553b878d3559ebd21a70e5d4fa (patch)
tree156a23c714d0fb3c4e2e7a2cbff016e49bc20c1b /net-analyzer/ntop
parentremove old ebuilds and readd motif dep, thanks to Harm Geerts <harmgeerts@hom... (diff)
downloadgentoo-2-a6dd7639fe9264553b878d3559ebd21a70e5d4fa.tar.gz
gentoo-2-a6dd7639fe9264553b878d3559ebd21a70e5d4fa.tar.bz2
gentoo-2-a6dd7639fe9264553b878d3559ebd21a70e5d4fa.zip
Fix for bug 121497.
(Portage version: 2.0.54)
Diffstat (limited to 'net-analyzer/ntop')
-rw-r--r--net-analyzer/ntop/ChangeLog5
-rw-r--r--net-analyzer/ntop/ntop-3.2-r1.ebuild21
2 files changed, 24 insertions, 2 deletions
diff --git a/net-analyzer/ntop/ChangeLog b/net-analyzer/ntop/ChangeLog
index 03a0aed0f059..77f125ca77c7 100644
--- a/net-analyzer/ntop/ChangeLog
+++ b/net-analyzer/ntop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/ntop
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.44 2006/02/01 14:11:05 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ChangeLog,v 1.45 2006/02/07 22:01:57 pva Exp $
+
+ 07 Feb 2006; Peter Volkov <pva@gentoo.org> ntop-3.2-r1.ebuild:
+ Fix for bug 121497.
*ntop-3.2-r1 (01 Feb 2006)
diff --git a/net-analyzer/ntop/ntop-3.2-r1.ebuild b/net-analyzer/ntop/ntop-3.2-r1.ebuild
index 1705c944c06e..2179cd1903c0 100644
--- a/net-analyzer/ntop/ntop-3.2-r1.ebuild
+++ b/net-analyzer/ntop/ntop-3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r1.ebuild,v 1.1 2006/02/01 14:11:05 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.2-r1.ebuild,v 1.2 2006/02/07 22:01:57 pva Exp $
inherit eutils autotools
@@ -29,6 +29,25 @@ DEPEND="sys-apps/gawk
# >=dev-libs/glib-2"
pkg_setup() {
+ if use snmp ; then
+ ewarn "snmp plugin is under development and upstream does not recommend"
+ ewarn "it for usage in production environment."
+ if ! use ipv6 ; then
+ echo
+ eerror "snmp plugin has compilation problems without ipv6 support."
+ eerror "For additional information see bug #121497."
+ die "snmp without ipv6 is broken"
+ else
+ if ! built_with_use net-analyzer/net-snmp ipv6 ; then
+ echo
+ eerror "You have both ipv6 and snmp enabled."
+ eerror "This require ipv6 support in net-analyzer/net-snmp."
+ eerror "However, net-analyzer/net-snmp was compiled with ipv6 flag disabled."
+ eerror "Please, reemrege net-analyzer/net-snmp with USE=\"ipv6\"."
+ die "net-analyzer/net-snmp was build without ipv6."
+ fi
+ fi
+ fi
enewgroup ntop
enewuser ntop -1 -1 /var/lib/ntop ntop
}