summaryrefslogtreecommitdiff
path: root/dnsmasq
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
committerBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
commit8503fbded7f04b1abf0b01886a278ad999f4ab5b (patch)
treed7ac1657ed1ef727b99eb5fd8b131eb6fe8e20f6 /dnsmasq
parent8f8ce3d7ee813c5b2e9950ab160a7935715658a5 (diff)
Merge oe-devel@oe-devel.bkbits.net:packages
into null.(none):/data/mtx/oe/packages 2004/12/02 19:05:10+01:00 (none)!br1 added some more licenses to SRC_DISTRIBUTE_LICENSES. replaced as-is licenses with packagename. made packagname licenses lowercase 2004/12/02 18:30:48+01:00 (none)!br1 little nylon updates 2004/12/02 18:29:36+01:00 (none)!br1 added CONFFILES for nylon. once CONFFILES should be used in all oe, the "_nylon" part can be removed 2004/12/02 17:19:19+01:00 (none)!br1 src_distribute: better output when LICENSE is not valid BKrev: 41af59791fZQQgIzG_GWbh0227Ar0w
Diffstat (limited to 'dnsmasq')
-rw-r--r--dnsmasq/dnsmasq_2.15.oe7
1 files changed, 7 insertions, 0 deletions
diff --git a/dnsmasq/dnsmasq_2.15.oe b/dnsmasq/dnsmasq_2.15.oe
index e911f4d827..bdeff40673 100644
--- a/dnsmasq/dnsmasq_2.15.oe
+++ b/dnsmasq/dnsmasq_2.15.oe
@@ -9,6 +9,11 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
file://init"
S = "${WORKDIR}/dnsmasq-${PV}"
+inherit update-rc.d
+
+INITSCRIPT_NAME = "dnsmasq"
+INITSCRIPT_PARAMS = "defaults"
+
do_install () {
oe_runmake "PREFIX=${D}/${prefix}" \
"BINDIR=${D}/${bindir}" \
@@ -18,3 +23,5 @@ do_install () {
install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/dnsmasq.conf"