ports/169716: net-mgmt/ndpmon several problems with build and install

Fabian Wenk fabian at wenks.ch
Sun Jul 8 16:20:04 UTC 2012


>Number:         169716
>Category:       ports
>Synopsis:       net-mgmt/ndpmon several problems with build and install
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 16:20:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Fabian Wenk
>Release:        7.4-RELEASE
>Organization:
>Environment:
FreeBSD superman.wenks.ch 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #37: Tue Jun 12 19:00:07 CEST 2012     root at superman.wenks.ch:/usr/obj/usr/src/sys/SUPERMAN  amd64

>Description:
There are several errors in the net-mgmt/ndpmon port:

- When the MACRESOLV is set, also www/p5-libwww should be installed as dependency (this is needed during build from the /usr/ports/net-mgmt/ndpmon/work/ndpmon-1.4.0/plugins/mac_resolv/make-manuf script)

- For MACRESOLV to work (and being able to update the MAC database), the following files from /usr/ports/net-mgmt/ndpmon/work/ndpmon-1.4.0/plugins/mac_resolv/ need to be installed in /usr/local/share/ndpmon/plugins/mac_resolv/:
make-manuf manuf.tmpl wka.tmpl manuf

- Also show a note after install on how to update the local MAC database:
  cd /usr/local/share/ndpmon/plugins/mac_resolv/
  ./make-manuf
  /usr/local/etc/rc.d/ndpmonitor restart

- In the built /usr/local/sbin/ndpmon binary the default path to the config file is set to /usr/local/etc/ndpmon/ndpmon/config_ndpmon.xml instead of /usr/local/etc/ndpmon/config_ndpmon.xml

- In the file /usr/local/etc/ndpmon/config_ndpmon.xml-dist the following line should be changed to where the file is, replace:
<!DOCTYPE config_ndpmon SYSTEM "/usr/local/etc/ndpmon/ndpmon/config_ndpmon.dtd">
with:
<!DOCTYPE config_ndpmon SYSTEM "/usr/local/share/ndpmon/config_ndpmon.dtd">

- The init script does not honor the ntpmonitor_flags option in the /etc/rc.conf file, this is needed e.g. to set a different Ethernet interface with e.g. '-i em1'

>How-To-Repeat:
Install net-mgmt/ndpmon with option MACRESOLV.
>Fix:
see above.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list