]> git.ipfire.org Git - ipfire-3.x.git/blame - bind/bind.nm
bind: Update to 9.18.10
[ipfire-3.x.git] / bind / bind.nm
CommitLineData
d918082a 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
d918082a
MT
4###############################################################################
5
802ea3af 6name = bind
d31f3a07 7version = 9.18.10
4b9ea0c0 8release = 1
d918082a 9
802ea3af 10groups = Networking/Tools
d31f3a07 11url = https://www.isc.org/bind/
802ea3af 12license = Proprietary
d31f3a07 13summary = BIND provides tools for the DNS
d918082a 14
802ea3af
MT
15description
16 BIND (Berkeley Internet Name Domain or named) is the most commonly used
d918082a 17 DNS server on the Internet, especially on Unix-like systems.
802ea3af 18end
d918082a 19
d31f3a07
MT
20source_dl = https://downloads.isc.org/isc/bind9/%{version}/
21sources = %{thisapp}.tar.xz
d918082a 22
802ea3af
MT
23build
24 requires
d31f3a07 25 json-c-devel
ac29baf9 26 libcap-devel
d31f3a07
MT
27 libidn2-devel
28 libuv-devel
29 nghttp2-devel
ac29baf9 30 pkg-config
1fc9ac36 31 openssl-devel >= 1.0.1h-2
802ea3af 32 end
e698b321 33
d31f3a07
MT
34 #export LD_LIBRARY_PATH = %{DIR_APP}/lib/bind9/.libs:%{DIR_APP}/lib/dns/.libs:%{DIR_APP}/lib/isc/.libs:%{DIR_APP}/lib/isccfg/.libs:%{DIR_APP}/lib/ns/.libs
35
ac29baf9 36 configure_options += \
ac29baf9 37 --disable-static \
d31f3a07 38 --enable-auto-validation
d918082a 39
d31f3a07 40 tools = dig nsupdate
ac29baf9 41
d31f3a07
MT
42 build
43 %{configure}
802ea3af 44
d31f3a07
MT
45 # Build libraries
46 make -C lib %{PARALLELISMFLAGS}
ac29baf9 47
d31f3a07
MT
48 # Build tools
49 for tool in %{tools}; do
50 make -C bin/${tool} %{PARALLELISMFLAGS} || exit $?
51 done
4b9ea0c0 52 end
ac29baf9 53
d31f3a07
MT
54 install
55 # Install libraries
56 make -C lib install DESTDIR="%{BUILDROOT}"
ac29baf9 57
d31f3a07
MT
58 # Install tools
59 for tool in %{tools}; do
60 make -C bin/${tool} install DESTDIR="%{BUILDROOT}" || exit $?
61 done
ac29baf9 62
d31f3a07
MT
63 # Install trusted root key
64 mkdir -pv %{BUILDROOT}%{sysconfdir}
4b9ea0c0 65 install -m 644 %{DIR_SOURCE}/trusted-key.key %{BUILDROOT}%{sysconfdir}/trusted-key.key
802ea3af
MT
66 end
67end
68
69packages
70 package %{name}-utils
d31f3a07 71 summary = Utilities for querying the DNS system
802ea3af 72 end
1f9bc2f0
MT
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
802ea3af 77end