blob: a47af91b6e58d345029491da3909b106464427ae (
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
|
# $NetBSD: options.mk,v 1.2 2006/11/09 13:15:10 ghen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist
PKG_SUPPORTED_OPTIONS= dnsrbl drac spf
PKG_SUGGESTED_OPTIONS= dnsrbl spf
.include "../../mk/bsd.options.mk"
###
### DNS Realtime Black List
###
.if empty(PKG_OPTIONS:Mdnsrbl)
CONFIGURE_ARGS+= --disable-dnsrbl
.else
CONFIGURE_ARGS+= --enable-dnsrbl
.endif
###
### Dynamic Relay Authorization Control
###
.if empty(PKG_OPTIONS:Mdrac)
CONFIGURE_ARGS+= --disable-drac
.else
DRACD_DB?= /etc/mail/dracd.db
CONFIGURE_ARGS+= --enable-drac --with-drac-db=${DRACD_DB}
.endif
###
### Sender Policy Framework
###
.if !empty(PKG_OPTIONS:Mspf)
.include "../../mail/libspf-alt/buildlink3.mk"
CONFIGURE_ARGS+= --with-libspf_alt=${PREFIX:Q}
.endif
|