summaryrefslogtreecommitdiff
path: root/packages/bind/bind_9.3.6.bb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2008-12-01 21:58:51 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2008-12-01 22:18:24 +0100
commitae6902838ca8e96e37be04bd67191fde28dc4d60 (patch)
treecc81a6c80256a0c96650dcca34adc9f399c41759 /packages/bind/bind_9.3.6.bb
parentd4709e08fee35253fde4f53ab5f6a092cc393a0a (diff)
bind: Add bind version 9.3.6
- Split the bind-utils into a new package - epoll fails because it can not run the test. Do not use epoll for bind... even if unlikely a resulting binary might run on linux 2.4 and then things don't work...
Diffstat (limited to 'packages/bind/bind_9.3.6.bb')
-rw-r--r--packages/bind/bind_9.3.6.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/bind/bind_9.3.6.bb b/packages/bind/bind_9.3.6.bb
new file mode 100644
index 0000000000..5c15b89436
--- /dev/null
+++ b/packages/bind/bind_9.3.6.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "ISC Internet Domain Name Server"
+SECTION = "console/network"
+HOMEPAGE = "http://www.isc.org/sw/bind/"
+LICENSE = "BSD"
+PR = "r0"
+
+DEPENDS = "openssl"
+
+SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${PN}-${PV}.tar.gz \
+ file://conf.patch;patch=1 \
+ file://configure.in.patch;patch=1 \
+ "
+
+EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads --sysconfdir=/etc/bind --localstatedir=/var --prefix=/usr --disable-devpoll --disable-epoll"
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "bind"
+INITSCRIPT_PARAMS = "defaults"
+
+PARALLEL_MAKE = ""
+
+PACKAGES_prepend = "${PN}-utils "
+FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/nslookup"
+FILES_${PN}-dev += "${bindir}/isc-config.h"
+
+do_install_append() {
+ 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 \
+ "