Date: Tue, 17 Jan 2012 10:53:03 -0500 (EST) From: Michael Scheidell <scheidell@secnap.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/164248: sw-bug ports/ntop does not load py-mako Message-ID: <20120117155303.8EC6E1D3E0@scanner.secnap.net> Resent-Message-ID: <201201171600.q0HG0QFe098316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164248 >Category: ports >Synopsis: sw-bug ports/ntop does not load py-mako >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: Tue Jan 17 16:00:25 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Michael Scheidell >Release: FreeBSD 7.4-RELEASE-p3 i386 >Organization: SECNAP Network Security >Environment: lots of them. >Description: nmap needs py-mako to display Regional Host Traffic Maps >How-To-Repeat: nagigate to Summary, Traffic Maps, Region view and if you don't have py-mako installed, you get an error >Fix: left default Off, and did NOT do a portsbump, since this by default changes nothing. you can portsbump if you like. below patch: - Adds knob for py-mako so OP can include py-mako dependency --- nmap.txt begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/ntop/Makefile,v retrieving revision 1.100 diff -u -u -r1.100 Makefile --- Makefile 14 Jan 2012 18:00:18 -0000 1.100 +++ Makefile 17 Jan 2012 15:44:00 -0000 @@ -53,10 +53,12 @@ ## Available knobs: ## WITH_PCAP_PORT: Use libpcap from ports. ## WITH_XMLDUMP: Enable XML Dump support. +## WITH_MAKO: Enable Host Map, Region View (installs py-mako) ## OPTIONS= PCAP_PORT "Use libpcap from ports." Off \ XMLDUMP "Enable XML Dump support." Off \ - JUMBO_FRAMES "Jumbo Frames. Experimental." Off + JUMBO_FRAMES "Jumbo Frames. Experimental." Off \ + MAKO "Install py-mako for Host Map, Region View " Off .include <bsd.port.pre.mk> @@ -81,6 +83,10 @@ # see http://www.cyberciti.biz/faq/freebsd-jumbo-frames-networking-configration/ .endif +.if defined(WITH_MAKO) +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako +.endif + .if ${OSVERSION} < 700000 BROKEN= does not configure on 6.X .endif --- nmap.txt ends here --- ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120117155303.8EC6E1D3E0>