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

Collapse All | Expand All

(-)bind97/Makefile (-12 / +23 lines)
Lines 23-32 Link Here
23
		--disable-symtable \
23
		--disable-symtable \
24
		--with-randomdev=/dev/random
24
		--with-randomdev=/dev/random
25
25
26
CONFLICTS=	bind9*-9.[45689].* bind9-sdb-* host-*
26
CONFLICTS=	bind9*-9.[45789].* bind9*-sdb-9.[45789].*
27
27
28
OPTIONS_DEFAULT=	IPV6 SSL LINKS XML THREADS
28
OPTIONS_DEFAULT=	IPV6 SSL LINKS XML THREADS
29
OPTIONS_DEFINE=		SSL IDN REPLACE_BASE LARGE_FILE SIGCHASE \
29
OPTIONS_DEFINE=		SSL IDN REPLACE_BASE LARGE_FILE SIGCHASE \
30
			FIXED_RRSET \
30
			IPV6 THREADS
31
			IPV6 THREADS
31
.if !defined(BIND_TOOLS_SLAVE)
32
.if !defined(BIND_TOOLS_SLAVE)
32
OPTIONS_DEFINE+=	LINKS XML DLZ
33
OPTIONS_DEFINE+=	LINKS XML DLZ
Lines 34-44 Link Here
34
OPTIONS_SINGLE_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
35
OPTIONS_SINGLE_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
35
			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
36
			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
36
37
38
SSL_DESC=		Building without OpenSSL removes DNSSEC
37
LINKS_DESC=		Create conf file symlinks in ${PREFIX}
39
LINKS_DESC=		Create conf file symlinks in ${PREFIX}
38
XML_DESC=		Support for xml statistics output
40
XML_DESC=		Support for xml statistics output
39
REPLACE_BASE_DESC=	Replace base BIND with this version
41
REPLACE_BASE_DESC=	Replace base BIND with this version
40
LARGE_FILE_DESC=	64-bit file support
42
LARGE_FILE_DESC=	64-bit file support
41
SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
43
SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
44
IPV6_DESC=		IPv6 Support (autodetected by default)
45
THREADS_DESC=		Compile with thread support
46
FIXED_RRSET_DESC=	Enable fixed rrset ordering
42
DLZ_DESC=		Dynamically Loadable Zones
47
DLZ_DESC=		Dynamically Loadable Zones
43
DLZ_POSTGRESQL_DESC=	DLZ Postgres driver
48
DLZ_POSTGRESQL_DESC=	DLZ Postgres driver
44
DLZ_MYSQL_DESC=		DLZ MySQL driver (single-threaded BIND)
49
DLZ_MYSQL_DESC=		DLZ MySQL driver (single-threaded BIND)
Lines 50-58 Link Here
50
CONFLICTS+=	bind-tools-9.*
55
CONFLICTS+=	bind-tools-9.*
51
.endif
56
.endif
52
57
53
# Just in case
54
USE_OPENSSL=	yes
55
56
.include <bsd.port.options.mk>
58
.include <bsd.port.options.mk>
57
59
58
.if (${ARCH} == "amd64")
60
.if (${ARCH} == "amd64")
Lines 61-66 Link Here
61
63
62
.if ${PORT_OPTIONS:MSSL}
64
.if ${PORT_OPTIONS:MSSL}
63
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
65
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
66
USE_OPENSSL=	yes
64
.else
67
.else
65
CONFIGURE_ARGS+=	--disable-openssl-version-check
68
CONFIGURE_ARGS+=	--disable-openssl-version-check
66
CONFIGURE_ARGS+=	--without-openssl
69
CONFIGURE_ARGS+=	--without-openssl
Lines 80-86 Link Here
80
CONFIGURE_ARGS+=	--without-idn
83
CONFIGURE_ARGS+=	--without-idn
81
.endif
84
.endif
82
85
83
.if ${PORT_OPTIONS:MLINKS} && empty($PORT_OPTIONS:M_REPLACE_BASE)
86
.if ${PORT_OPTIONS:MLINKS} && empty(PORT_OPTIONS:MREPLACE_BASE)
84
PLIST_SUB+=	LINKS=""
87
PLIST_SUB+=	LINKS=""
85
.else
88
.else
86
PLIST_SUB+=	LINKS="@comment "
89
PLIST_SUB+=	LINKS="@comment "
Lines 98-103 Link Here
98
CONFIGURE_ARGS+=	--enable-ipv6
101
CONFIGURE_ARGS+=	--enable-ipv6
99
.endif
102
.endif
100
103
104
.if ${PORT_OPTIONS:MTHREADS}
105
CONFIGURE_ARGS+=	--enable-threads
106
.else
107
CONFIGURE_ARGS+=	--disable-threads
108
.endif
109
110
.if ${PORT_OPTIONS:MFIXED_RRSET}
111
CONFIGURE_ARGS+=	--enable-fixed-rrset
112
.endif
113
101
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
114
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
102
CONFIGURE_ARGS+=	--with-dlz-postgres=yes
115
CONFIGURE_ARGS+=	--with-dlz-postgres=yes
103
USE_PGSQL=		yes
116
USE_PGSQL=		yes
Lines 106-111 Link Here
106
.if ${PORT_OPTIONS:MDLZ_MYSQL}
119
.if ${PORT_OPTIONS:MDLZ_MYSQL}
107
CONFIGURE_ARGS+=	--with-dlz-mysql=yes
120
CONFIGURE_ARGS+=	--with-dlz-mysql=yes
108
USE_MYSQL=		yes
121
USE_MYSQL=		yes
122
.if ${PORT_OPTIONS:MTHREADS}
123
	@${ECHO_CMD} "Incompatible options: DLZ_MYSQL and THREADS"
124
	@${FALSE}
125
.endif
109
.endif
126
.endif
110
127
111
.if ${PORT_OPTIONS:MDLZ_BDB}
128
.if ${PORT_OPTIONS:MDLZ_BDB}
Lines 126-137 Link Here
126
CONFIGURE_ARGS+=	--with-dlz-stub=yes
143
CONFIGURE_ARGS+=	--with-dlz-stub=yes
127
.endif
144
.endif
128
145
129
.if ${PORT_OPTIONS:MTHREADS} && empty(PORT_OPTIONS:MDLZ_MYSQL)
130
CONFIGURE_ARGS+=	--enable-threads
131
.else
132
CONFIGURE_ARGS+=	--disable-threads
133
.endif
134
135
.if ${PORT_OPTIONS:MREPLACE_BASE}
146
.if ${PORT_OPTIONS:MREPLACE_BASE}
136
PKGNAMESUFFIX=	-base
147
PKGNAMESUFFIX=	-base
137
PREFIX=		/usr
148
PREFIX=		/usr
Lines 223-229 Link Here
223
	${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ* \
234
	${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ* \
224
	    ${WRKSRC}/README ${DOCSDIR}/
235
	    ${WRKSRC}/README ${DOCSDIR}/
225
.endif
236
.endif
226
.if !defined(WITHOUT_LINKS) && !defined(WITH_REPLACE_BASE)
237
.if ${PORT_OPTIONS:MLINKS} && empty(PORT_OPTIONS:MREPLACE_BASE)
227
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
238
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
228
.endif
239
.endif
229
240

Return to bug 172586