summaryrefslogtreecommitdiffstats
path: root/rules/bind.make
blob: b547eeff09930ff7f504d3e7085505ed9221f284 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# -*-makefile-*-
#
# Copyright (C) 2021 by Roland Hieber, Pengutronix <rhi@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_BIND) += bind

#
# Paths and names
#
BIND_VERSION		:= 9.11.31
BIND_MD5		:= 40732ca6e4fcc9d022ab0f17b3e55b71
BIND			:= bind-$(BIND_VERSION)
BIND_SUFFIX		:= tar.gz
BIND_URL		:= https://ftp.isc.org/isc/bind9/$(BIND_VERSION)/$(BIND).$(BIND_SUFFIX)
BIND_SOURCE		:= $(SRCDIR)/$(BIND).$(BIND_SUFFIX)
BIND_DIR		:= $(BUILDDIR)/$(BIND)
BIND_LICENSE		:= MPL-2.0 AND ISC AND BSD-3-Clause AND BSD-2-Clause \
	AND unknown AND JPNIC AND RSA-MD AND OpenSSL AND Apache-2.0
BIND_LICENSE_FILES	:= \
	file://LICENSE;md5=f27a50d2e878867827842f2c60e30bfc \
	file://COPYRIGHT;md5=b88e7ca5f21908e1b2720169f6807cf6

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

BIND_CONF_ENV	:= \
	$(CROSS_ENV) \
	BUILD_CC=$(PTXCONF_SETUP_HOST_CC)

#
# autoconf
#
BIND_CONF_TOOL	:= autoconf

# broken options: --disable-afl
BIND_CONF_OPT	:=  \
	$(CROSS_AUTOCONF_USR) \
	--disable-libbind \
	--enable-buffer-useinline \
	--disable-warn-shadow \
	--disable-warn-error \
	--disable-developer \
	--disable-seccomp \
	--disable-kqueue \
	--disable-epoll \
	--disable-devpoll \
	--disable-threads \
	--disable-native-pkcs11 \
	--disable-openssl-hash \
	$(GLOBAL_LARGE_FILE_OPTION) \
	--disable-backtrace \
	--disable-symtable \
	--$(call ptx/endis, PTXCONF_GLOBAL_IPV6)-ipv6 \
	--disable-tcp-fastopen \
	--enable-getifaddrs \
	--disable-chroot \
	--disable-linux-caps \
	--enable-atomic \
	--disable-fixed-rrset \
	--enable-rpz-nsip \
	--enable-rpz-nsdname \
	--disable-filter-aaaa \
	--disable-dnstap \
	--disable-querytrace \
	--enable-full-report \
	--without-python \
	--without-python-install-dir \
	--without-geoip \
	--without-geoip2 \
	--without-gssapi \
	--with-randomdev=/dev/zero \
	--with-locktype=standard \
	--without-libtool \
	--without-openssl \
	--without-pkcs11 \
	--without-ecdsa \
	--without-gost \
	--without-eddsa \
	--without-aes \
	--without-lmdb \
	--without-libxml2 \
	--without-libjson \
	--without-zlib \
	--without-purify \
	--without-gperftools-profiler \
	--without-kame \
	--without-readline \
	--without-protobuf-c \
	--without-libfstrm \
	--without-docbook-xsl \
	--without-idnkit \
	--without-iconv \
	--without-idnlib \
	--without-libidn2 \
	--without-cmocka \
	--without-tuning \
	--without-dlopen \
	--without-dlz-postgres \
	--without-dlz-mysql \
	--without-dlz-bdb \
	--without-dlz-filesystem \
	--without-dlz-ldap \
	--without-dlz-odbc \
	--without-dlz-stub \
	--without-make-clean

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

# only build the static libraries for now
BIND_MAKE_OPT := -C lib

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

# only install the static libraries for now
BIND_INSTALL_OPT := -C lib install

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/bind.targetinstall:
	@$(call targetinfo)
	# empty, only static libraries are built
	@$(call touch)

# vim: syntax=make