NetBSD Problem Report #38957
From paul@whooppee.com Sun Jun 15 13:07:54 2008
Return-Path: <paul@whooppee.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id D1A3B63B842
for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Jun 2008 13:07:54 +0000 (UTC)
Message-Id: <20080615130754.148435847@quicky.whooppee.com>
Date: Sun, 15 Jun 2008 06:07:54 -0700 (PDT)
From: "paul@whooppee.com"@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@gnats.NetBSD.org
Subject: amanda should have a 'without-ipv6' PKG_OPTION
X-Send-Pr-Version: 3.95
>Number: 38957
>Category: pkg
>Synopsis: amanda should have a 'without-ipv6' PKG_OPTION
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pgoyette
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jun 15 13:10:00 +0000 2008
>Closed-Date: Tue Jul 29 17:28:43 +0000 2008
>Last-Modified: Tue Jul 29 17:28:43 +0000 2008
>Originator: Paul Goyette
>Release: NetBSD 4.99.63
>Organization:
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------
>Environment:
System: NetBSD quicky.whooppee.com 4.99.63 NetBSD 4.99.63 (QUICKY (ASUS M2N32 WS) 2008-05-30 21:57:38) #0: Fri May 30 16:27:33 PDT 2008 paul@speedy.whooppee.com:/build/obj/amd64/sys/arch/amd64/compile/QUICKY amd64
Architecture: x86_64
Machine: amd64
>Description:
The sysutils/amanda packages should have a PKG_OPTION to build
--without-ipv6
>How-To-Repeat:
>Fix:
The following patch adds the requested option and propagates it
to the package's configure script.
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/Makefile.common,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile.common
--- Makefile.common 15 Feb 2008 16:23:09 -0000 1.26
+++ Makefile.common 15 Jun 2008 13:04:18 -0000
@@ -13,6 +13,8 @@ MASTER_SITES?= ${MASTER_SITE_SOURCEFORG
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.amanda.org/
+CONFIGURE_ARGS+= "--without-ipv6"
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
@@ -57,3 +59,5 @@ CONFIGURE_ARGS+= --with-fqdn
.if defined(AMANDA_SSH) && !empty(AMANDA_SSH:M[yY][eE][sS])
CONFIGURE_ARGS+= --with-ssh-security
.endif
+
+.include "../../sysutils/amanda-common/options.mk"
Index: options.mk
===================================================================
RCS file: options.mk
diff -N options.mk
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ options.mk 15 Jun 2008 13:04:18 -0000
@@ -0,0 +1,8 @@
+PKG_OPTIONS_VAR= PKG_OPTIONS.amanda
+PKG_SUPPORTED_OPTIONS= without-ipv6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mwithout-ipv6)
+CONFIGURE_ARGS+= --without-ipv6
+.endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->gdt
Responsible-Changed-By: gdt@NetBSD.org
Responsible-Changed-When: Sun, 15 Jun 2008 15:11:14 +0000
Responsible-Changed-Why:
gdt will deal with this
State-Changed-From-To: open->analyzed
State-Changed-By: gdt@NetBSD.org
State-Changed-When: Sun, 15 Jun 2008 15:11:14 +0000
State-Changed-Why:
problem understood, and fix accepted in principle
From: Paul Goyette <pgoyette@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38957 CVS commit: pkgsrc/sysutils
Date: Tue, 29 Jul 2008 17:21:40 +0000 (UTC)
Module Name: pkgsrc
Committed By: pgoyette
Date: Tue Jul 29 17:21:39 UTC 2008
Modified Files:
pkgsrc/sysutils/amanda-client: Makefile
pkgsrc/sysutils/amanda-common: Makefile Makefile.common
pkgsrc/sysutils/amanda-plot: Makefile
pkgsrc/sysutils/amanda-server: Makefile
Added Files:
pkgsrc/sysutils/amanda-common: options.mk
Log Message:
Disable IPv6 by default, since this doesn't work on systems which are
configured for IPv4 only. IPv6 can still be enabled via PKG_OPTIONS.
Fixes my PR pkg/38957
ok gdt@
To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 pkgsrc/sysutils/amanda-client/Makefile
cvs rdiff -r1.45 -r1.46 pkgsrc/sysutils/amanda-common/Makefile
cvs rdiff -r1.26 -r1.27 pkgsrc/sysutils/amanda-common/Makefile.common
cvs rdiff -r0 -r1.1 pkgsrc/sysutils/amanda-common/options.mk
cvs rdiff -r1.24 -r1.25 pkgsrc/sysutils/amanda-plot/Makefile
cvs rdiff -r1.44 -r1.45 pkgsrc/sysutils/amanda-server/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: gdt->pgoyette
Responsible-Changed-By: pgoyette@NetBSD.org
Responsible-Changed-When: Tue, 29 Jul 2008 17:28:43 +0000
Responsible-Changed-Why:
It's mine
State-Changed-From-To: analyzed->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Tue, 29 Jul 2008 17:28:43 +0000
State-Changed-Why:
Patch applied , with revisions suggested by gdt@
>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.