Bug 164248 - sw-bug net/ntop does not load py-mako
Summary: sw-bug net/ntop does not load py-mako
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 16:00 UTC by Michael Scheidell
Modified: 2012-01-18 02:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2012-01-17 16:00:25 UTC
        nmap needs py-mako to display Regional Host Traffic Maps

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



______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________--bgaOLegUFLzHTPEejErqJUlZV9aQtFSXMKcpzhdtd68JBYSv
Content-Type: text/plain; name="nmap.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="nmap.txt"

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
How-To-Repeat:         nagigate to Summary, Traffic Maps, Region view and if you don't have py-mako installed, you get an error
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-01-18 00:48:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-01-18 01:50:51 UTC
sylvio      2012-01-18 01:50:37 UTC

  FreeBSD ports repository

  Modified files:
    net/ntop             Makefile 
  Log:
  - Adds knob for py-mako so OP can include py-mako dependency
  
  PR:             ports/164248
  Submitted by:   scheidell@
  
  Revision  Changes    Path
  1.101     +7 -1      ports/net/ntop/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-01-18 01:50:56 UTC
State Changed
From-To: open->closed

Committed. Thanks!