diff options
author | sbd <sbd@pkgsrc.org> | 2012-05-20 11:13:35 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-05-20 11:13:35 +0000 |
commit | 3dec9cbbc03958f4f9e7f4ff24149f3bf75feb31 (patch) | |
tree | fd283c646a5e67b5d74073694d46c2c6a1204fa4 /sysutils/amanda-common | |
parent | 71adfe735765c37008a1b6b8a566977e7fcdb3ae (diff) | |
download | pkgsrc-3dec9cbbc03958f4f9e7f4ff24149f3bf75feb31.tar.gz |
Convert AMANDA_SSH and AMANFA_FQDN to pkg options and enable amanda-ssh.
Diffstat (limited to 'sysutils/amanda-common')
-rw-r--r-- | sysutils/amanda-common/Makefile.common | 12 | ||||
-rw-r--r-- | sysutils/amanda-common/options.mk | 16 |
2 files changed, 15 insertions, 13 deletions
diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common index 74b75f6d38b..126fe4c65bf 100644 --- a/sysutils/amanda-common/Makefile.common +++ b/sysutils/amanda-common/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.29 2010/02/19 18:55:56 joerg Exp $ +# $NetBSD: Makefile.common,v 1.30 2012/05/20 11:13:35 sbd Exp $ # used by sysutils/amanda-common/Makefile # used by sysutils/amanda-client/Makefile @@ -49,14 +49,4 @@ CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists CONFIGURE_ARGS+= --with-dump-honor-nodump CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -BUILD_DEFS+= AMANDA_SSH AMANDA_FQDN - -.if defined(AMANDA_FQDN) && !empty(AMANDA_FQDN:M[yY][eE][sS]) -CONFIGURE_ARGS+= --with-fqdn -.endif - -.if defined(AMANDA_SSH) && !empty(AMANDA_SSH:M[yY][eE][sS]) -CONFIGURE_ARGS+= --with-ssh-security -.endif - .include "../../sysutils/amanda-common/options.mk" diff --git a/sysutils/amanda-common/options.mk b/sysutils/amanda-common/options.mk index 904d8ecf25d..292d8f4ee52 100644 --- a/sysutils/amanda-common/options.mk +++ b/sysutils/amanda-common/options.mk @@ -1,9 +1,13 @@ -# $NetBSD: options.mk,v 1.1 2008/07/29 17:21:39 pgoyette Exp $ +# $NetBSD: options.mk,v 1.2 2012/05/20 11:13:35 sbd Exp $ # Since amanda's ipv6 usage is broken, turn it off by default. PKG_OPTIONS_VAR= PKG_OPTIONS.amanda -PKG_SUPPORTED_OPTIONS= inet6 +PKG_SUPPORTED_OPTIONS= inet6 amanda-fqdn amanda-ssh +PKG_SUGGESTED_OPTIONS= amanda-ssh + +PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn +PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh .include "../../mk/bsd.options.mk" @@ -12,3 +16,11 @@ CONFIGURE_ARGS+= --with-ipv6 .else CONFIGURE_ARGS+= --without-ipv6 .endif + +.if !empty(PKG_OPTIONS:Mamanda-fqdn) +CONFIGURE_ARGS+= --with-fqdn +.endif + +.if !empty(PKG_OPTIONS:Mamanda-ssh) +CONFIGURE_ARGS+= --with-ssh-security +.endif |