Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 20:50:18 -0500
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Helmut Schneider <jumper99@gmx.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ntop does not compile on 7.0-RC2
Message-ID:  <20080302015018.GE31664@atarininja.org>
In-Reply-To: <fpc9ai$t61$1@ger.gmane.org>
References:  <fp9mtb$cfp$1@ger.gmane.org> <1203346933.5865.6.camel@pclmills> <20080218151513.GE90004@atarininja.org> <fpc9ai$t61$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2008 at 04:47:29PM +0100, Helmut Schneider wrote:
> Wesley Shields <wxs@FreeBSD.org> wrote:
>> On Mon, Feb 18, 2008 at 08:02:13AM -0700, James wrote:
>>> Sounds like an entirely reasonable course of action. The maintainers'
>>> email addresses ought to be in the Makefile for each port. 
>> 
>> That would be me.  :)
>> 
>>> I imagine it's the ntop person you want to report to. If other ports
>>> install fine, then net-snmp is also (probably) installing as it should
>>> and the ntop Makefile just needs to be tweaked.
>> 
>> I'll look into this, but any relevant information should be submitted as
>> a PR so there is a more permanent record of it.  I'll go about getting
>> it fixed as time permits.
> 
> done. For more information don't hesitate to contact me.

Here's a patch to disable SNMP support in ntop.  The default should be
off according to what I read, but that appears not to be the case.  This
allowed me to build ntop when net-mgmt/net-snmp is installed on 7.0.  I
was unable to reproduce this on a 6.2 machine.

I'm putting this through a quick tinderbox run since it should be a NOP
there (net-mgmt/net-snmp isn't installed when building it).  I'll see
about getting this into the tree early next week.

-- WXS

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ntop/Makefile,v
retrieving revision 1.65
diff -u -u -r1.65 Makefile
--- Makefile	4 Feb 2008 15:35:09 -0000	1.65
+++ Makefile	2 Mar 2008 01:44:17 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ntop
 PORTVERSION=	3.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -38,7 +38,8 @@
 		--with-gdbm-root=${LOCALBASE} \
 		--with-gd-root=${LOCALBASE} \
 		--with-libpng-root=${LOCALBASE} \
-		--with-zlib-root=/usr
+		--with-zlib-root=/usr \
+		--disable-snmp
 # we currently disable IPv6
 CONFIGURE_ARGS+=--disable-ipv6
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080302015018.GE31664>