pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49183: net/nmap 6.47 w/"lua" option fails packaging--PLIST out of date



>Number:         49183
>Category:       pkg
>Synopsis:       net/nmap 6.47 w/"lua" option fails packaging--PLIST out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 08 12:20:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-7.99.1, pkgsrc-HEAD (8 Sep 2014)
>Organization:
>Environment:
NetBSD gx260a 7.99.1 NetBSD 7.99.1 (NO_DRM) #12: Sat Sep  6 13:13:28 CDT 2014  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/NO_DRM
 i386

>Description:
net/nmap (nmap-6.47) with PKG_OPTIONS.nmap+=lua fails packaging as
follows:

[...]
=> Automatic manual page handling
pkg_create: can't stat 
`/var/tmp/pkgsrc/net/nmap/work/.destdir/usr/pkg/share/nmap/scripts/whois.nse'
=> Creating binary package /var/tmp/pkgsrc/net/nmap/work/.packages/nmap-6.47.tgz
pkg_create: can't stat 
`/var/tmp/pkgsrc/net/nmap/work/.destdir/usr/pkg/share/nmap/scripts/whois.nse'
pkg_create: lstat failed for file share/nmap/scripts/whois.nse: No such file or 
directory
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/net/nmap
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/net/nmap

>How-To-Repeat:
Set PKG_OPTIONS.nmap+=lua in "/etc/mk.conf" and attempt to build and
package "net/nmap" from pkgsrc-HEAD.
>Fix:
Previous versions of "nmap" had a single file "whois.nse".  The
version in pkgsrc-HEAD has two files "whois-domain.nse" and
"whois.ip.nse".  The following patch adjusts the PLIST accordingly.

Index: net/nmap/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/nmap/PLIST,v
retrieving revision 1.18
diff -u -p -r1.18 PLIST
--- net/nmap/PLIST      14 Sep 2013 14:11:25 -0000      1.18
+++ net/nmap/PLIST      8 Sep 2014 08:19:22 -0000
@@ -829,7 +829,8 @@ ${PLIST.lua}share/nmap/scripts/vnc-info.
 ${PLIST.lua}share/nmap/scripts/voldemort-info.nse
 ${PLIST.lua}share/nmap/scripts/vuze-dht-info.nse
 ${PLIST.lua}share/nmap/scripts/wdb-version.nse
-${PLIST.lua}share/nmap/scripts/whois.nse
+${PLIST.lua}share/nmap/scripts/whois-domain.nse
+${PLIST.lua}share/nmap/scripts/whois-ip.nse
 ${PLIST.lua}share/nmap/scripts/wsdd-discover.nse
 ${PLIST.lua}share/nmap/scripts/x11-access.nse
 ${PLIST.lua}share/nmap/scripts/xdmcp-discover.nse



Home | Main Index | Thread Index | Old Index