Annotation of pkgsrc/mail/fetchmail/options.mk, Revision 1.17
1.17 ! tron 1: # $NetBSD: options.mk,v 1.16 2012/11/04 23:06:23 tron Exp $
1.1 jlam 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
1.15 tron 4: PKG_SUPPORTED_OPTIONS= kerberos4 kerberos gssapi ssl
1.13 scottr 5: PKG_OPTIONS_OPTIONAL_GROUPS= socks
6: PKG_OPTIONS_GROUP.socks= socks4 socks5
1.3 jlam 7:
1.9 frueauf 8: PKG_SUGGESTED_OPTIONS= ssl
1.3 jlam 9:
1.1 jlam 10: .include "../../mk/bsd.options.mk"
11:
12: ###
1.7 frueauf 13: ### Authentication via GSSAPI (currently only over Kerberos V) support.
14: ###
1.11 frueauf 15: .if !empty(PKG_OPTIONS:Mgssapi)
1.14 rillig 16: CONFIGURE_ARGS+= --with-gssapi=${KRB5BASE:Q}
1.7 frueauf 17: .else
18: CONFIGURE_ARGS+= --with-gssapi=no
19: .endif
20:
21: ###
22: ### KPOP (POP3 + Kerberos IV) support.
1.1 jlam 23: ###
24: .if !empty(PKG_OPTIONS:Mkerberos4)
1.12 rillig 25: PKG_USE_KERBEROS= yes
1.1 jlam 26: CONFIGURE_ARGS+= --with-kerberos=yes
27: . if empty(MACHINE_PLATFORM:MNetBSD-1.[0-4]*-i386)
28: REPLACE_KERBEROS_LIBS= yes
29: . endif
30: .else
31: CONFIGURE_ARGS+= --with-kerberos=no
32: .endif
33:
34: ###
1.7 frueauf 35: ### Kerberos V support.
1.6 frueauf 36: ###
1.11 frueauf 37: .if !empty(PKG_OPTIONS:Mkerberos) || !empty(PKG_OPTIONS:Mgssapi)
1.7 frueauf 38: . include "../../mk/krb5.buildlink3.mk"
1.12 rillig 39: PKG_USE_KERBEROS= yes
1.14 rillig 40: CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE:Q}
1.6 frueauf 41: .else
42: CONFIGURE_ARGS+= --with-kerberos5=no
43: .endif
44:
45: ###
1.1 jlam 46: ### Support POP3 and IMAP over SSL.
47: ###
48: .if !empty(PKG_OPTIONS:Mssl)
49: . include "../../security/openssl/buildlink3.mk"
1.14 rillig 50: CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
1.1 jlam 51: .else
52: CONFIGURE_ARGS+= --without-ssl
53: .endif
1.13 scottr 54:
55: ###
56: ### Include SOCKS firewall support
57: ###
58: .if !empty(PKG_OPTIONS:Msocks4)
59: .include "../../net/socks4/buildlink3.mk"
60: CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.socks4}
61: .endif
62: .if !empty(PKG_OPTIONS:Msocks5)
63: .include "../../net/socks5/buildlink3.mk"
64: CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}
65: .endif
CVSweb <webmaster@jp.NetBSD.org>