blob: edf4234269660d6a4a319e62137c8f33414b7f73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: options.mk,v 1.9 2012/07/30 07:21:11 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.amanda
# Common options.
PKG_SUPPORTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh kerberos
PKG_SUGGESTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh kerberos
# Client options.
PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap
PKG_SUGGESTED_OPTIONS+= amanda-dump-snap
PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb
PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
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
. if !exists(/usr/bin/ssh)
DEPENDS+= openssh-[0-9]*:../../security/openssh
FIND_PREFIX:= SSHPREFIX=openssh
.include "../../mk/find-prefix.mk"
CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh
. endif
.endif
.if !empty(PKG_OPTIONS:Mkerberos)
CONFIGURE_ARGS+= --with-krb5-security=${KRB5BASE:Q}
. include "../../mk/krb5.buildlink3.mk"
.endif
|