Date: Fri, 7 Jan 2011 20:50:26 GMT From: Michael Scheidell <scheidell@secnap.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/153775: net/ntop port has problems compiling rrdtool1.4 Message-ID: <201101072050.p07KoQ3N003094@red.freebsd.org> Resent-Message-ID: <201101072100.p07L0CKt088279@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153775 >Category: ports >Synopsis: net/ntop port has problems compiling rrdtool1.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 07 21:00:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Michael Scheidell >Release: 7.3 amd >Organization: SECNAP Network Security >Environment: 7.3 amd, 7.3 i386, etc >Description: #1 Could never get rrdtool14 (from ../rrdtool) to compile #2, when starting, was missing /var/db/ntop/rrd directory this small patch changes rrdtool to use ../rrdtool12 and creates the needed rrd directory. for some reason, even when I manually installed rrdtool12: cd ../rrdtool12 && make install the build_depends didn't see it (actually tested by making a ports package and trying to install from that also. syntax should work, but this patch should fix it) and, ntop does not need the more complex (and uninstallable ) rrdtool14. I didn't bump the ports version, since: A) if you have it running, why upgrade? B) hoping you spend more efforts on ntop 3.4 :-) >How-To-Repeat: try to install ntop. >Fix: diff -bBru /tmp/Makefile ./ --- /tmp/Makefile 2011-01-07 13:45:22.000000000 -0700 +++ ./Makefile 2011-01-07 13:44:54.000000000 -0700 @@ -24,7 +24,7 @@ LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ event-1.4:${PORTSDIR}/devel/libevent -BUILD_DEPENDS= rrdtool>=1.2:${PORTSDIR}/databases/rrdtool \ +BUILD_DEPENDS= rrdtool>=1.2:${PORTSDIR}/databases/rrdtool12 \ geoiplookup:${PORTSDIR}/net/GeoIP RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \ ${LOCALBASE}/lib/X11/fonts/URW/a010013l.afm:${PORTSDIR}/x11-fonts/urwfonts @@ -115,6 +115,7 @@ post-install: @${MKDIR} ${DBDIR}/ntop + @${MKDIR} ${DBDIR}/ntop/rrd @${CHOWN} -R nobody:nobody ${DBDIR}/ntop @${INSTALL} -d ${ETCDIR}/l7-patterns @cd ${WRKSRC}/l7-patterns/&&${COPYTREE_SHARE} . ${ETCDIR}/l7-patterns >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101072050.p07KoQ3N003094>