pkgsrc-Bugs archive

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

pkg/38957: amanda should have a 'without-ipv6' PKG_OPTION



>Number:         38957
>Category:       pkg
>Synopsis:       amanda should have a 'without-ipv6' PKG_OPTION
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 13:10:00 +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@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------
>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@localhost:/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@localhost
 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

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index