NetBSD Problem Report #49183
From www@NetBSD.org Mon Sep 8 12:17:25 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4DF7FB9111
for <gnats-bugs@gnats.NetBSD.org>; Mon, 8 Sep 2014 12:17:25 +0000 (UTC)
Message-Id: <20140908121723.ED62DB9114@mollari.NetBSD.org>
Date: Mon, 8 Sep 2014 12:17:23 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: net/nmap 6.47 w/"lua" option fails packaging--PLIST out of date
X-Send-Pr-Version: www-1.0
>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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 08 12:20:00 +0000 2014
>Closed-Date: Mon Sep 08 12:38:57 +0000 2014
>Last-Modified: Mon Sep 08 12:40:01 +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:/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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 08 Sep 2014 12:38:57 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49183 CVS commit: pkgsrc/net/nmap
Date: Mon, 8 Sep 2014 12:38:44 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Mon Sep 8 12:38:44 UTC 2014
Modified Files:
pkgsrc/net/nmap: PLIST
Log Message:
Fix PLIST with lua option. From John D. Baker in PR 49183.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/nmap/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.