| @@ -1,39 +1,37 @@ | | | @@ -1,39 +1,37 @@ |
1 | # $NetBSD: options.mk,v 1.7 2012/07/16 00:33:44 sbd Exp $ | | 1 | # $NetBSD: options.mk,v 1.8 2012/07/30 06:54:45 sbd Exp $ |
2 | | | | |
3 | # Since amanda's ipv6 usage is broken, turn it off by default. | | | |
4 | | | 2 | |
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.amanda | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.amanda |
6 | # Common options. | | 4 | # Common options. |
7 | PKG_SUPPORTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh | | 5 | PKG_SUPPORTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh |
8 | PKG_SUGGESTED_OPTIONS+= inet6 amanda-ssh | | 6 | PKG_SUGGESTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh |
9 | # Client options. | | 7 | # Client options. |
10 | PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap | | 8 | PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap |
11 | PKG_SUGGESTED_OPTIONS+= amanda-dump-snap | | 9 | PKG_SUGGESTED_OPTIONS+= amanda-dump-snap |
12 | | | 10 | |
13 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn | | 11 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn |
14 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh | | 12 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh |
15 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb | | 13 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb |
16 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap | | 14 | PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap |
17 | | | 15 | |
18 | .include "../../mk/bsd.options.mk" | | 16 | .include "../../mk/bsd.options.mk" |
19 | | | 17 | |
20 | .if !empty(PKG_OPTIONS:Minet6) | | 18 | .if !empty(PKG_OPTIONS:Minet6) |
21 | CONFIGURE_ARGS+= --with-ipv6 | | 19 | CONFIGURE_ARGS+= --with-ipv6 |
22 | .else | | 20 | .else |
23 | CONFIGURE_ARGS+= --without-ipv6 | | 21 | CONFIGURE_ARGS+= --without-ipv6 |
24 | .endif | | 22 | .endif |
25 | | | 23 | |
26 | .if !empty(PKG_OPTIONS:Mamanda-fqdn) | | 24 | .if !empty(PKG_OPTIONS:Mamanda-fqdn) |
27 | CONFIGURE_ARGS+= --with-fqdn | | 25 | CONFIGURE_ARGS+= --with-fqdn |
28 | .endif | | 26 | .endif |
29 | | | 27 | |
30 | .if !empty(PKG_OPTIONS:Mamanda-ssh) | | 28 | .if !empty(PKG_OPTIONS:Mamanda-ssh) |
31 | CONFIGURE_ARGS+= --with-ssh-security | | 29 | CONFIGURE_ARGS+= --with-ssh-security |
32 | | | 30 | |
33 | . if !exists(/usr/bin/ssh) | | 31 | . if !exists(/usr/bin/ssh) |
34 | DEPENDS+= openssh-[0-9]*:../../security/openssh | | 32 | DEPENDS+= openssh-[0-9]*:../../security/openssh |
35 | FIND_PREFIX:= SSHPREFIX=openssh | | 33 | FIND_PREFIX:= SSHPREFIX=openssh |
36 | .include "../../mk/find-prefix.mk" | | 34 | .include "../../mk/find-prefix.mk" |
37 | CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh | | 35 | CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh |
38 | . endif | | 36 | . endif |
39 | .endif | | 37 | .endif |