dnsmasq(-dbus): import from oe.dev, needed for connman now
PATCH 1/1 dnsmasq(-dbus): import from oe.dev, needed for connman now
Signed-off-by Martin Jansa <[email protected]>
--- .../dnsmasq/dnsmasq-dbus_2.55.bb | 13 + meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc | 29 ++ .../recipes-connectivity/dnsmasq/dnsmasq_2.55.bb | 4 + .../dnsmasq/files/dnsmasq.conf | 293 ++++++++++++++++++++ meta-oe/recipes-connectivity/dnsmasq/files/init | 52 ++++ 5 files changed, 391 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb create mode 100755 meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf create mode 100644 meta-oe/recipes-connectivity/dnsmasq/files/init
meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb new file +13 -0
@@ -0,0 +1,13 @@ +# dnsmasq with support for DBus interface + +require dnsmasq_${PV}.bb + +S = "${WORKDIR}/dnsmasq-${PV}" + +DEPENDS = "dbus" +EXTRA_OEMAKE = "COPTS=-DHAVE_DBUS" + +do_install_append () { + install -d ${D}${sysconfdir}/dbus-1/system.d + install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ +}
meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc new file +29 -0
@@ -0,0 +1,29 @@ +DESCRIPTION = "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server." +HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html" +SECTION = "console/network" +# GPLv3 was added in version 2.41 as license option +LICENSE = "GPLv2 GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ + file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504" + +#at least versions 2.15 and prior are moved to the archive folder on the server +SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \ + file://init \ + file://dnsmasq.conf" + +inherit update-rc.d + +INITSCRIPT_NAME = "dnsmasq" +INITSCRIPT_PARAMS = "defaults" + +do_install () { + oe_runmake "PREFIX=${D}${prefix}" \ + "BINDIR=${D}${bindir}" \ + "MANDIR=${D}${mandir}" \ + install + install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d + install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/ + install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq +} + +CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb new file +4 -0
@@ -0,0 +1,4 @@ +require dnsmasq.inc + +SRC_URI[dnsmasq-2.55.md5sum] = "b093d7c6bc7f97ae6fd35d048529232a" +SRC_URI[dnsmasq-2.55.sha256sum] = "cf63ecf5977f00474cbda98376a9d8743500a82fd98e13f43d7037bce9f9f929"
meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf new file +293 -0
293 lines not on this page · raw message
meta-oe/recipes-connectivity/dnsmasq/files/init new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
1.7.5.rc3
Koen Kooi
Applied-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 13 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- .../dnsmasq/dnsmasq-dbus_2.55.bb | 13 + meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc | 29 ++ .../recipes-connectivity/dnsmasq/dnsmasq_2.55.bb | 4 + .../dnsmasq/files/dnsmasq.conf | 293 ++++++++++++++++++++ meta-oe/recipes-connectivity/dnsmasq/files/init | 52 ++++ 5 files changed, 391 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc create mode 100644 meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb create mode 100755 meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf create mode 100644 meta-oe/recipes-connectivity/dnsmasq/files/init
Applied, thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNyTx3MkyGM64RGpERAgn8AKCANAcq7HKjcFVj8tBBzWerk0PLvQCfcWJM CNAApVbeE2jK5uXv7Zl13W8=
=lWG9
-----END PGP SIGNATURE-----