blob: 33b1de28e33b7312af5bc8742e04f38a7d14fd3c (
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
|
DEPENDS = "openssl"
RPEDENDS = ""
DESCRIPTION = "ISC Internet Domain Name Server"
PR = "r1"
SRC_URI = "ftp://ftp.isc.org/isc/bind9/9.3.1/bind-9.3.1.tar.gz \
file://lib_dns_Makefile.in.patch \
file://configure.in.patch \
file://conf.patch \
"
EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads --sysconfdir=/etc/bind --localstatedir=/var --prefix=/usr"
inherit autotools update-rc.d
INITSCRIPT_NAME = "bind"
INITSCRIPT_PARAMS = "defaults"
do_install_append() {
rm "${D}/usr/bin/nslookup"
install -d "${D}/etc/bind"
install -d "${D}/etc/init.d"
install -m 644 ${S}/conf/* "${D}/etc/bind"
install -m 755 "${S}/init.d" "${D}/etc/init.d/bind"
}
CONFFILES_${PN} = "${sysconfdir}/bind/named.conf ${sysconfdir}/bind/named.conf.local ${sysconfdir}/bind/named.conf.options ${sysconfdir}/bind/db.0 ${sysconfdir}/bind/db.127 ${sysconfdir}/bind/db.empty ${sysconfdir}/bind/db.local ${sysconfdir}/bind/db.root"
SRC_URI[md5sum] = "9ff3204eea27184ea0722f37e43fc95d"
SRC_URI[sha256sum] = "9a9411115338d2554f2e99bc676c2e9a381a8d649bf9bd9c0b2ffa2cf74b563c"
|