Bug 102291 - Dependency for net/ntop lacks graphviz and urwfonts
Summary: Dependency for net/ntop lacks graphviz and urwfonts
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 22:00 UTC by dirkx
Modified: 2006-09-21 10:10 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 dirkx 2006-08-19 22:00:32 UTC
GraphViz (for the dot application) and the urwfonts port should be added as
a dependency for ntop (the 'local traffic' option).

Fix: 

pkg_add -r graphviz urwfonts
How-To-Repeat: take clean install
pkg_add -r ntop
start and check on port 3000
  
Open the trafic matrix- and note that the graph is not drawn
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-20 00:54:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Wesley Shields 2006-08-20 23:24:15 UTC
Attached is a patch that fixes this.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ntop/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
--- Makefile	22 Mar 2006 19:25:52 -0000	1.55
+++ Makefile	20 Aug 2006 22:18:10 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ntop
 PORTVERSION=	3.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,6 +21,9 @@
 		gdbm.3:${PORTSDIR}/databases/gdbm \
 		png.5:${PORTSDIR}/graphics/png
 
+RUN_DEPENDS=    dot:${PORTSDIR}/graphics/graphviz \
+                ${X11BASE}/lib/X11/fonts/URW/a010013l.afm:${PORTSDIR}/x11-fonts/urwfonfs
+
 DBDIR?=		/var/db
 
 USE_GETOPT_LONG=yes
Comment 3 Johan van Selst freebsd_committer freebsd_triage 2006-09-21 10:03:45 UTC
State Changed
From-To: feedback->closed

Committed, thanks.
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-09-21 10:07:00 UTC
johans      2006-09-21 09:06:48 UTC

  FreeBSD ports repository

  Modified files:
    net/ntop             Makefile 
  Log:
  - Fix run-time dependencies
  
  PR:             ports/102291
  Submitted by:   Wesley Shields (maintainer)
  
  Revision  Changes    Path
  1.57      +4 -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"