NetBSD Problem Report #47033

From www@NetBSD.org  Thu Oct  4 11:45:50 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 3C14463C29B
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  4 Oct 2012 11:45:50 +0000 (UTC)
Message-Id: <20121004114549.9E60863BD34@www.NetBSD.org>
Date: Thu,  4 Oct 2012 11:45:49 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: net/nmap on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         47033
>Category:       pkg
>Synopsis:       net/nmap on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pettai
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 04 11:50:00 +0000 2012
>Closed-Date:    Sat Oct 20 23:07:24 +0000 2012
>Last-Modified:  Sat Oct 20 23:07:24 +0000 2012
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The following patch is needed to compile net/nmap on Solaris 10:

--- intf.c.pkg  Thu Oct  4 13:42:37 2012
+++ intf.c      Thu Oct  4 13:43:14 2012
@@ -955,9 +955,11 @@
                        ;
                else
                        return (-1);
+#ifdef IFF_IPMP
                if (lifr->lifr_flags & IFF_IPMP) {
                        continue;
                }
+#endif

                if (_intf_get_noalias(intf, entry) < 0)
                        return (-1);


Which is strange given the fact that IFF_IPMP is a Solaris feature. Maybe it is only defined on Solaris 11 and later...
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Fri, 05 Oct 2012 08:20:57 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Fredrik Pettai" <pettai@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47033 CVS commit: pkgsrc/net/nmap
Date: Sat, 20 Oct 2012 22:59:30 +0000

 Module Name:	pkgsrc
 Committed By:	pettai
 Date:		Sat Oct 20 22:59:30 UTC 2012

 Modified Files:
 	pkgsrc/net/nmap: Makefile distinfo
 	pkgsrc/net/nmap/patches: patch-an

 Log Message:
 Added build fix for Solaris 10, as suggested by PR pkg/47033


 To generate a diff of this commit:
 cvs rdiff -u -r1.95 -r1.96 pkgsrc/net/nmap/Makefile
 cvs rdiff -u -r1.57 -r1.58 pkgsrc/net/nmap/distinfo
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/nmap/patches/patch-an

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: pettai@NetBSD.org
State-Changed-When: Sat, 20 Oct 2012 23:07:24 +0000
State-Changed-Why:
Fix committed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.