summaryrefslogtreecommitdiff
path: root/dnsmasq
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-10-19 10:38:53 +0000
committerBruno Randolf <br1@subnet.at>2004-10-19 10:38:53 +0000
commit4539655428e95ceee06f921faab59ef2537b9931 (patch)
treeb5de44ba36b4ff85b5db4a4917d29ceb7a85a105 /dnsmasq
parentf4a22a26a03c8dd4067129df7b010d022c7a9b33 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into null.(none):/data/mtx/oe/oe.write/packages 2004/10/19 12:35:10+02:00 (none)!br1 nylon and mtx-1 updates 2004/10/19 12:33:19+02:00 (none)!br1 prism54: fixed firmware path, updated dependencies 2004/10/19 12:31:39+02:00 (none)!br1 dnsmasq: add init script BKrev: 4174eebdzmnIpmOU7hQenuCUYspTYw
Diffstat (limited to 'dnsmasq')
-rw-r--r--dnsmasq/dnsmasq_2.15.oe9
-rw-r--r--dnsmasq/files/init0
2 files changed, 6 insertions, 3 deletions
diff --git a/dnsmasq/dnsmasq_2.15.oe b/dnsmasq/dnsmasq_2.15.oe
index 91e5725505..b9c2a81884 100644
--- a/dnsmasq/dnsmasq_2.15.oe
+++ b/dnsmasq/dnsmasq_2.15.oe
@@ -2,8 +2,10 @@ SECTION = "console/network"
DESCRIPTION = "Dnsmasq is a lightweight, easy to configure \
DNS forwarder and DHCP server."
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+PR = "r1"
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz"
+SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
+ file://init"
S = "${WORKDIR}/dnsmasq-${PV}"
do_install () {
@@ -11,6 +13,7 @@ do_install () {
"BINDIR=${D}/${bindir}" \
"MANDIR=${D}/${mandir}" \
install
- install -d ${D}/etc/
- install -m 0755 ${S}/dnsmasq.conf.example ${D}/etc/dnsmasq.conf
+ install -d ${D}/${sysconfdir}/ ${D}/${sysconfdir}/init.d
+ install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
+ install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
}
diff --git a/dnsmasq/files/init b/dnsmasq/files/init
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/dnsmasq/files/init