diff options
Diffstat (limited to 'net-analyzer/ntop/ntop-3.3.ebuild')
-rw-r--r-- | net-analyzer/ntop/ntop-3.3.ebuild | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/net-analyzer/ntop/ntop-3.3.ebuild b/net-analyzer/ntop/ntop-3.3.ebuild index ec49b55c075f..7e3dc8fb36d9 100644 --- a/net-analyzer/ntop/ntop-3.3.ebuild +++ b/net-analyzer/ntop/ntop-3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild,v 1.1 2007/08/26 07:31:41 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.3.ebuild,v 1.2 2007/09/06 09:18:21 jokey Exp $ inherit eutils autotools @@ -11,7 +11,8 @@ SRC_URI="mirror://sourceforge/ntop/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="ipv6 nls snmp ssl tcpd zlib" +IUSE="ipv6 nls ssl tcpd zlib" +#IUSE="ipv6 nls snmp ssl tcpd zlib" DEPEND="sys-apps/gawk >=sys-devel/libtool-1.4 @@ -33,25 +34,27 @@ RDEPEND="${DEPEND} media-gfx/graphviz" 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, re-emerge net-analyzer/net-snmp with USE=\"ipv6\"." - die "net-analyzer/net-snmp was build without ipv6." - fi - fi - fi + # snmp doesn't compile in this release, disabled for now + + #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, re-emerge 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 } @@ -80,12 +83,12 @@ src_compile() { econf \ $(use_enable ipv6) \ $(use_enable nls i18n) \ - $(use_enable snmp) \ $(use_with ssl) $(use_enable ssl sslv3) $(use_enable ssl sslwatchdog) \ $(use_with tcpd) \ $(use_with zlib) \ --with-rrd-home=/usr/lib \ || die "configure problem" + # $(use_enable snmp) \ emake || die "compile problem" } |