Bug 154800 - [PATCH] net/ntop missing some run depends
Summary: [PATCH] net/ntop missing some run depends
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: 2011-02-15 14:20 UTC by Michael Scheidell
Modified: 2011-02-21 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (734 bytes, patch)
2011-02-15 14:20 UTC, Michael Scheidell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2011-02-15 14:20:04 UTC
Thanks for getting ntop up to 4.0!.  ntop is great, and the 3.x was 'spotty'

ntop is missing some run depends, so, if you 'package' ntop, it doesn't draw in all the dependencies it needs.

also, and I could not understand how to fix:

/var/db/ntop is NOT chowned to nobody like it should, but makefile looks ok.

Fix: fix problem #1 with this patch.

problem #2? don't know, chown by hand!

 diff -bBru /tmp/Makefile Makefile 
How-To-Repeat: system1:

cd /usr/ports/net/ntop

make package
copy tbz to system2:

pkg_add ntop*


start ntop on machine 2:


you get:


 Shared object "libGeoIP.so.5" not found, required by "ntop"

/libexec/ld-elf.so.1: Shared object "librrd_th.so.5" not found, required by "ntop"

once you fix that, you get this:

Feb 15 08:54:41 scanner2 ntop[66502]:   **ERROR** RRD: Disabled - unable to create base directory (err 13, /var/db/ntop/rrd)
Feb 15 08:55:21 scanner2 ntop[66502]:   **ERROR** calloc(1,80) @ util.c:6361 returned NULL [no more memory?]
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-02-15 14:20:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-02-21 18:53:59 UTC
sylvio      2011-02-21 18:53:54 UTC

  FreeBSD ports repository

  Modified files:
    net/ntop             Makefile 
  Log:
  - Fix to RUN_DEPENDS, added dependencies rrdtool and GeoIP
  
  PR:             ports/154800
  Submitted by:   M <scheidell@secnap.net>
  
  Revision  Changes    Path
  1.95      +5 -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 2011-02-21 18:55:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!