NetBSD Problem Report #28708

From www@netbsd.org  Sat Dec 18 23:01:39 2004
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 0CC6F63B843; Sat, 18 Dec 2004 23:01:39 +0000 (UTC)
Message-Id: <20041218230139.0CC6F63B843@narn.netbsd.org>
Date: Sat, 18 Dec 2004 23:01:39 +0000 (UTC)
From: georg.schwarz@freenet.de
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@netbsd.org
Subject: mail/sendmail by default assumes IPv6 support
X-Send-Pr-Version: www-1.0

>Number:         28708
>Category:       pkg
>Synopsis:       mail/sendmail by default assumes IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    adrianp
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 18 23:03:00 +0000 2004
>Closed-Date:    Mon Jan 10 15:24:00 +0000 2005
>Last-Modified:  Mon Jan 10 15:24:00 +0000 2005
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
mail/sendmail by default assumes IPv6 support which may lead to compiling to fail on non IPv6-supporting systems. mail/libmilter is affected as well.
>How-To-Repeat:

>Fix:
something like that:

--- options.mk.orig     2004-12-18 23:49:19.000000000 +0100
+++ options.mk  2004-12-18 23:54:51.000000000 +0100
@@ -5,7 +5,10 @@
                        socketmap

 .if !defined(PKG_OPTIONS.sendmail)
-PKG_DEFAULT_OPTIONS+=  inet6 tcpwrappers
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+PKG_DEFAULT_OPTIONS+=  inet6
+.endif
+PKG_DEFAULT_OPTIONS+=  tcpwrappers
 .endif

 .include "../../mk/bsd.options.mk"

Maybe USE_INET6 should also be added to BUILD_DEFS.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adrianp
Responsible-Changed-By: adrianp@netbsd.org
Responsible-Changed-When: Sat, 01 Jan 2005 13:50:09 +0000
Responsible-Changed-Why:
I'll grab this one.


From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28708 CVS commit: pkgsrc/mail/sendmail
Date: Sun,  2 Jan 2005 11:59:36 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adrianp
 Date:		Sun Jan  2 11:59:36 UTC 2005

 Modified Files:
 	pkgsrc/mail/sendmail: options.mk

 Log Message:
 Remove inet6 from PKG_DEFAULT_OPTIONS as this can cause the package
 to build in IPv6 support on systems where USE_INET6 has been set to NO.

 This addresses PR #28708 opened by georg.schwarz (at) freenet.de


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/mail/sendmail/options.mk

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

State-Changed-From-To: open->feedback
State-Changed-By: adrianp@netbsd.org
State-Changed-When: Sun, 02 Jan 2005 12:07:32 +0000
State-Changed-Why:
Please update the sendmail package making sure options.mk is at 1.4. I have
committed a fix for the issue.


From: georg.schwarz@freenet.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/28708
Date: Sat, 8 Jan 2005 16:30:19 +0100

 I can confirm that the problem has been fixed.

 -- 
 Georg Schwarz    http://home.pages.de/~schwarz/
  georg.schwarz@freenet.de   +49 177 8811442

From: georg.schwarz@freenet.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/28708
Date: Sun, 9 Jan 2005 17:22:13 +0100

 I can confirm that the problem has been fixed.

 -- 
 Georg Schwarz    http://home.pages.de/~schwarz/
  georg.schwarz@freenet.de   +49 177 8811442

State-Changed-From-To: feedback->closed
State-Changed-By: adrianp@netbsd.org
State-Changed-When: Mon, 10 Jan 2005 15:24:00 +0000
State-Changed-Why:
Bug has been confirmed as now fixed.


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