This has to do w/ building nmap on a jail. A jail normally does not have a bpf device, so the configure sets ac_cv_dnet_bsd_bpf=no. If you're like me building stuff in jails and packaging them to another machine, the resulting nmap package is b0rk, e.g. .... Starting Nmap 5.36TEST4 ( http://nmap.org ) at 2011-01-28 17:38 PHT Warning: Unable to open interface em0 -- skipping it. Warning: Unable to open interface em0 -- skipping it. Warning: Unable to open interface em0 -- skipping it. Warning: Unable to open interface em0 -- skipping it. Warning: Unable to open interface em0 -- skipping it. WARNING: Unable to find appropriate interface for system route to X.X.X.X nexthost: failed to determine route to X.X.X.X QUITTING! .. This is much like these PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=123213 http://www.freebsd.org/cgi/query-pr.cgi?pr=113893 http://www.freebsd.org/cgi/query-pr.cgi?pr=125001 Fix: Patch libdnet-stripped/configure to remove any BPF checks Patch attached with submission follows: How-To-Repeat: build nmap in jail, then pkg_create it. pkg_add package on another machine, run nmap
Responsible Changed From-To: freebsd-ports-bugs->ohauer Fix synopsis and assign.
ohauer 2011-01-30 17:15:07 UTC FreeBSD ports repository Modified files: security/nmap Makefile distinfo Added files: security/nmap/files patch-libdnet-stripped__configure Log: - update to version 5.50 - always enable bpf in libdnet-stripped to support build in Jail [1] Announcement and Changelog are very long and covered by last updates. Announcement: http://seclists.org/nmap-hackers/2011/0 Changelog: http://nmap.org/changelog.html PR: ports/154353 [1] Submitted by: Mars G Miro <spry _at_ anarchy.in.the.ph> [1] Feature safe: yes Revision Changes Path 1.125 +1 -1 ports/security/nmap/Makefile 1.79 +2 -2 ports/security/nmap/distinfo 1.1 +16 -0 ports/security/nmap/files/patch-libdnet-stripped__configure (new) _______________________________________________ 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"
State Changed From-To: open->closed Committed with the update to nmap-5.50 Tahnks!