View | Details | Raw Unified | Return to bug 172586 | Differences between
and this patch

Collapse All | Expand All

(-)bind99/Makefile (-10 / +30 lines)
Lines 23-42 Link Here
23
		--with-randomdev=/dev/random \
23
		--with-randomdev=/dev/random \
24
		--without-python
24
		--without-python
25
25
26
CONFLICTS=	bind9*-9.[45678].* bind9-sdb-* host-* bind-tools-9.*
26
CONFLICTS=	bind9*-9.[45789].* bind9*-sdb-9.[45789].* bind-tools-9.*
27
27
28
OPTIONS_DEFAULT=	IPV6 SSL LINKS XML THREADS
28
OPTIONS_DEFAULT=	IPV6 SSL LINKS XML THREADS
29
OPTIONS_DEFINE=		SSL LINKS XML IDN REPLACE_BASE LARGE_FILE \
29
OPTIONS_DEFINE=		SSL LINKS XML IDN REPLACE_BASE LARGE_FILE \
30
			FIXED_RRSET RPZ_NSIP RPZ_NSDNAME \
30
			SIGCHASE IPV6 THREADS DLZ
31
			SIGCHASE IPV6 THREADS DLZ
31
OPTIONS_SINGLE=		DLZ
32
OPTIONS_SINGLE=		DLZ
32
OPTIONS_SINGLE_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
33
OPTIONS_SINGLE_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
33
			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
34
			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
34
35
36
SSL_DESC=		Building without OpenSSL removes DNSSEC
35
LINKS_DESC=		Create conf file symlinks in ${PREFIX}
37
LINKS_DESC=		Create conf file symlinks in ${PREFIX}
36
XML_DESC=		Support for xml statistics output
38
XML_DESC=		Support for xml statistics output
37
REPLACE_BASE_DESC=	Replace base BIND with this version
39
REPLACE_BASE_DESC=	Replace base BIND with this version
38
LARGE_FILE_DESC=	64-bit file support
40
LARGE_FILE_DESC=	64-bit file support
39
SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
41
SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
42
IPV6_DESC=		IPv6 Support (autodetected by default)
43
FIXED_RRSET_DESC=	Enable fixed rrset ordering
44
RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
45
RPZ_NSDNAME_DESC=	Enable RPZ NSDNAME policy records
40
DLZ_DESC=		Dynamically Loadable Zones
46
DLZ_DESC=		Dynamically Loadable Zones
41
DLZ_POSTGRESQL_DESC=	DLZ Postgres driver
47
DLZ_POSTGRESQL_DESC=	DLZ Postgres driver
42
DLZ_MYSQL_DESC=		DLZ MySQL driver (single-threaded BIND)
48
DLZ_MYSQL_DESC=		DLZ MySQL driver (single-threaded BIND)
Lines 45-53 Link Here
45
DLZ_FILESYSTEM_DESC=	DLZ filesystem driver
51
DLZ_FILESYSTEM_DESC=	DLZ filesystem driver
46
DLZ_STUB_DESC=		DLZ stub driver
52
DLZ_STUB_DESC=		DLZ stub driver
47
53
48
# Just in case
49
USE_OPENSSL=	yes
50
51
.include <bsd.port.options.mk>
54
.include <bsd.port.options.mk>
52
55
53
.if (${ARCH} == "amd64")
56
.if (${ARCH} == "amd64")
Lines 56-61 Link Here
56
59
57
.if ${PORT_OPTIONS:MSSL}
60
.if ${PORT_OPTIONS:MSSL}
58
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
61
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
62
USE_OPENSSL=	yes
59
.else
63
.else
60
CONFIGURE_ARGS+=	--disable-openssl-version-check
64
CONFIGURE_ARGS+=	--disable-openssl-version-check
61
CONFIGURE_ARGS+=	--without-openssl
65
CONFIGURE_ARGS+=	--without-openssl
Lines 93-98 Link Here
93
CONFIGURE_ARGS+=	--enable-ipv6
97
CONFIGURE_ARGS+=	--enable-ipv6
94
.endif
98
.endif
95
99
100
.if ${PORT_OPTIONS:MTHREADS}
101
CONFIGURE_ARGS+=	--enable-threads
102
.else
103
CONFIGURE_ARGS+=	--disable-threads
104
.endif
105
106
.if ${PORT_OPTIONS:MFIXED_RRSET}
107
CONFIGURE_ARGS+=	--enable-fixed-rrset
108
.endif
109
110
.if ${PORT_OPTIONS:MRPZ_NSIP}
111
CONFIGURE_ARGS+=	--enable-rpz-nsip
112
.endif
113
114
.if ${PORT_OPTIONS:MRPZ_NSDNAME}
115
CONFIGURE_ARGS+=	--enable-rpz-nsdname
116
.endif
117
96
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
118
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
97
CONFIGURE_ARGS+=	--with-dlz-postgres=yes
119
CONFIGURE_ARGS+=	--with-dlz-postgres=yes
98
USE_PGSQL=		yes
120
USE_PGSQL=		yes
Lines 101-106 Link Here
101
.if ${PORT_OPTIONS:MDLZ_MYSQL}
123
.if ${PORT_OPTIONS:MDLZ_MYSQL}
102
CONFIGURE_ARGS+=	--with-dlz-mysql=yes
124
CONFIGURE_ARGS+=	--with-dlz-mysql=yes
103
USE_MYSQL=		yes
125
USE_MYSQL=		yes
126
.if ${PORT_OPTIONS:MTHREADS}
127
	@${ECHO_CMD} "Incompatible options: DLZ_MYSQL and THREADS"
128
	@${FALSE}
129
.endif
104
.endif
130
.endif
105
131
106
.if ${PORT_OPTIONS:MDLZ_BDB}
132
.if ${PORT_OPTIONS:MDLZ_BDB}
Lines 121-132 Link Here
121
CONFIGURE_ARGS+=	--with-dlz-stub=yes
147
CONFIGURE_ARGS+=	--with-dlz-stub=yes
122
.endif
148
.endif
123
149
124
.if ${PORT_OPTIONS:MTHREADS} && empty(PORT_OPTIONS:MDLZ_MYSQL)
125
CONFIGURE_ARGS+=	--enable-threads
126
.else
127
CONFIGURE_ARGS+=	--disable-threads
128
.endif
129
130
.if ${PORT_OPTIONS:MREPLACE_BASE}
150
.if ${PORT_OPTIONS:MREPLACE_BASE}
131
PKGNAMESUFFIX=	-base
151
PKGNAMESUFFIX=	-base
132
PREFIX=		/usr
152
PREFIX=		/usr

Return to bug 172586