summaryrefslogtreecommitdiff
path: root/packages/bind/bind_9.3.1.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-07-10 21:49:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-10 21:49:29 +0000
commit373ad7a4bf7ee75d374ec0db146e7c93fbabd3ae (patch)
tree17b837156b9955d1ffdf9f9300b8d56a53062d56 /packages/bind/bind_9.3.1.bb
parent75b18bf35cc1f32fac7d7543008d09c87b23c190 (diff)
Added ISC BIND (DaKa2)
Diffstat (limited to 'packages/bind/bind_9.3.1.bb')
-rw-r--r--packages/bind/bind_9.3.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/bind/bind_9.3.1.bb b/packages/bind/bind_9.3.1.bb
new file mode 100644
index 0000000000..c2783381e9
--- /dev/null
+++ b/packages/bind/bind_9.3.1.bb
@@ -0,0 +1,28 @@
+DEPENDS = ""
+RPEDENDS = ""
+DESCRIPTION = "ISC Internet Domain Name Server"
+MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
+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;patch=1 \
+ file://configure.in.patch;patch=1 \
+ file://conf.patch;patch=1 \
+ "
+
+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"