diff options
Diffstat (limited to 'meta/recipes-connectivity/bind/bind_9.7.2-P2.bb')
-rw-r--r-- | meta/recipes-connectivity/bind/bind_9.7.2-P2.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.7.2-P2.bb b/meta/recipes-connectivity/bind/bind_9.7.2-P2.bb new file mode 100644 index 0000000000..6aaa6ffdca --- /dev/null +++ b/meta/recipes-connectivity/bind/bind_9.7.2-P2.bb | |||
@@ -0,0 +1,54 @@ | |||
1 | DESCRIPTION = "ISC Internet Domain Name Server" | ||
2 | HOMEPAGE = "http://www.isc.org/sw/bind/" | ||
3 | SECTION = "console/network" | ||
4 | |||
5 | LICENSE = "ISC" | ||
6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fe11ac92dcbd84134d91b6e2c2eccab5" | ||
7 | |||
8 | DEPENDS = "openssl" | ||
9 | PR = "r0" | ||
10 | |||
11 | SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${PN}-${PV}.tar.gz \ | ||
12 | file://conf.patch \ | ||
13 | file://cross-build-fix.patch \ | ||
14 | " | ||
15 | |||
16 | # --enable-exportlib is necessary for building dhcp | ||
17 | EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads \ | ||
18 | --disable-devpoll --disable-epoll \ | ||
19 | --sysconfdir=${sysconfdir}/bind \ | ||
20 | --with-openssl=${STAGING_LIBDIR}/.. --with-libxml2=${STAGING_LIBDIR}/.. \ | ||
21 | --enable-exportlib --with-export-includedir=${includedir} --with-export-libdir=${libdir} \ | ||
22 | " | ||
23 | inherit autotools update-rc.d | ||
24 | |||
25 | INITSCRIPT_NAME = "bind" | ||
26 | INITSCRIPT_PARAMS = "defaults" | ||
27 | |||
28 | PARALLEL_MAKE = "" | ||
29 | |||
30 | PACKAGES_prepend = "${PN}-utils " | ||
31 | FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/nslookup" | ||
32 | FILES_${PN}-dev += "${bindir}/isc-config.h" | ||
33 | |||
34 | do_install_append() { | ||
35 | rm "${D}/usr/bin/nslookup" | ||
36 | install -d "${D}/etc/bind" | ||
37 | install -d "${D}/etc/init.d" | ||
38 | install -m 644 ${S}/conf/* "${D}/etc/bind" | ||
39 | install -m 755 "${S}/init.d" "${D}/etc/init.d/bind" | ||
40 | } | ||
41 | |||
42 | CONFFILES_${PN} = " \ | ||
43 | ${sysconfdir}/bind/named.conf \ | ||
44 | ${sysconfdir}/bind/named.conf.local \ | ||
45 | ${sysconfdir}/bind/named.conf.options \ | ||
46 | ${sysconfdir}/bind/db.0 \ | ||
47 | ${sysconfdir}/bind/db.127 \ | ||
48 | ${sysconfdir}/bind/db.empty \ | ||
49 | ${sysconfdir}/bind/db.local \ | ||
50 | ${sysconfdir}/bind/db.root \ | ||
51 | " | ||
52 | |||
53 | SRC_URI[md5sum] = "e74de6ec9c2cd27576794c873bd85f4a" | ||
54 | SRC_URI[sha256sum] = "e6d5938184066fc793c28ff975e09e9721116aede2a2d6d93b1be5e8654a5c8a" | ||