pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Disable IPv6 by default, since this doesn't w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9029c481ec5a
branches:  trunk
changeset: 545250:9029c481ec5a
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Tue Jul 29 17:21:39 2008 +0000

description:
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@

diffstat:

 sysutils/amanda-client/Makefile        |   3 ++-
 sysutils/amanda-common/Makefile        |   4 ++--
 sysutils/amanda-common/Makefile.common |   4 +++-
 sysutils/amanda-common/options.mk      |  14 ++++++++++++++
 sysutils/amanda-plot/Makefile          |   3 ++-
 sysutils/amanda-server/Makefile        |   3 ++-
 6 files changed, 25 insertions(+), 6 deletions(-)

diffs (85 lines):

diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-client/Makefile
--- a/sysutils/amanda-client/Makefile   Tue Jul 29 16:18:37 2008 +0000
+++ b/sysutils/amanda-client/Makefile   Tue Jul 29 17:21:39 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.45 2008/02/15 16:23:09 gdt Exp $
+# $NetBSD: Makefile,v 1.46 2008/07/29 17:21:39 pgoyette Exp $
 #
 
 PKGNAME=               amanda-client-${VERS}
+PKGREVISION=           1
 SVR4_PKGNAME=          amacl
 
 COMMENT=               Client part of Amanda, a network backup system
diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-common/Makefile
--- a/sysutils/amanda-common/Makefile   Tue Jul 29 16:18:37 2008 +0000
+++ b/sysutils/amanda-common/Makefile   Tue Jul 29 17:21:39 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.45 2008/03/08 01:10:27 gdt Exp $
+# $NetBSD: Makefile,v 1.46 2008/07/29 17:21:39 pgoyette Exp $
 
 PKGNAME=               amanda-common-${VERS}
 SVR4_PKGNAME=          amaco
-PKGREVISION=           1
+PKGREVISION=           2
 
 COMMENT=               Common libraries and binaries for Amanda
 
diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-common/Makefile.common
--- a/sysutils/amanda-common/Makefile.common    Tue Jul 29 16:18:37 2008 +0000
+++ b/sysutils/amanda-common/Makefile.common    Tue Jul 29 17:21:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2008/02/15 16:23:09 gdt Exp $
+# $NetBSD: Makefile.common,v 1.27 2008/07/29 17:21:39 pgoyette Exp $
 
 # used by sysutils/amanda-common/Makefile
 # used by sysutils/amanda-client/Makefile
@@ -57,3 +57,5 @@
 .if defined(AMANDA_SSH) && !empty(AMANDA_SSH:M[yY][eE][sS])
 CONFIGURE_ARGS+=       --with-ssh-security
 .endif
+
+.include "../../sysutils/amanda-common/options.mk"
diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-common/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amanda-common/options.mk Tue Jul 29 17:21:39 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2008/07/29 17:21:39 pgoyette Exp $
+
+# Since amanda's ipv6 usage is broken, turn it off by default.
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.amanda
+PKG_SUPPORTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --with-ipv6
+.else
+CONFIGURE_ARGS+=       --without-ipv6
+.endif
diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-plot/Makefile
--- a/sysutils/amanda-plot/Makefile     Tue Jul 29 16:18:37 2008 +0000
+++ b/sysutils/amanda-plot/Makefile     Tue Jul 29 17:21:39 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2008/02/15 16:23:09 gdt Exp $
+# $NetBSD: Makefile,v 1.25 2008/07/29 17:21:39 pgoyette Exp $
 #
 
 PKGNAME=               amanda-plot-${VERS}
+PKGREVISION=           1
 SVR4_PKGNAME=          amapl
 
 COMMENT=               Visualizes the behavior of Amanda, a network backup system
diff -r 614c118b3a4d -r 9029c481ec5a sysutils/amanda-server/Makefile
--- a/sysutils/amanda-server/Makefile   Tue Jul 29 16:18:37 2008 +0000
+++ b/sysutils/amanda-server/Makefile   Tue Jul 29 17:21:39 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2008/04/12 22:43:12 jlam Exp $
+# $NetBSD: Makefile,v 1.45 2008/07/29 17:21:39 pgoyette Exp $
 
 PKGNAME=               amanda-server-${VERS}
+PKGREVISION=           1
 SVR4_PKGNAME=          amase
 
 COMMENT=               Server part of Amanda, a network backup system



Home | Main Index | Thread Index | Old Index