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

Collapse All | Expand All

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

Return to bug 172586