diff options
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/dnsmasq.inc (renamed from meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc) | 13 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb (renamed from meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb) | 0 | ||||
| -rwxr-xr-x | meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf (renamed from meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf) | 0 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/files/dnsmasq.service (renamed from meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.service) | 0 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/files/init (renamed from meta-oe/recipes-connectivity/dnsmasq/files/init) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb | 13 |
6 files changed, 11 insertions, 15 deletions
diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index 46188a4450..0f5b27325a 100644 --- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | DESCRIPTION = "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server." | 1 | SUMMARY = "Lightweight, easy to configure DNS forwarder and DHCP server" |
| 2 | HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html" | 2 | HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html" |
| 3 | SECTION = "console/network" | 3 | SECTION = "console/network" |
| 4 | # GPLv3 was added in version 2.41 as license option | 4 | # GPLv3 was added in version 2.41 as license option |
| 5 | LICENSE = "GPLv2 GPLv3" | 5 | LICENSE = "GPLv2 | GPLv3" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ |
| 7 | file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504" | 7 | file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504" |
| 8 | 8 | ||
| @@ -18,6 +18,10 @@ inherit update-rc.d systemd | |||
| 18 | INITSCRIPT_NAME = "dnsmasq" | 18 | INITSCRIPT_NAME = "dnsmasq" |
| 19 | INITSCRIPT_PARAMS = "defaults" | 19 | INITSCRIPT_PARAMS = "defaults" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG ??= "" | ||
| 22 | PACKAGECONFIG[dbus] = "COPTS=-DHAVE_DBUS,,dbus" | ||
| 23 | EXTRA_OEMAKE = "${EXTRA_OECONF}" | ||
| 24 | |||
| 21 | do_install () { | 25 | do_install () { |
| 22 | oe_runmake "PREFIX=${D}${prefix}" \ | 26 | oe_runmake "PREFIX=${D}${prefix}" \ |
| 23 | "BINDIR=${D}${bindir}" \ | 27 | "BINDIR=${D}${bindir}" \ |
| @@ -29,6 +33,11 @@ do_install () { | |||
| 29 | 33 | ||
| 30 | install -d ${D}${systemd_unitdir}/system | 34 | install -d ${D}${systemd_unitdir}/system |
| 31 | install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system | 35 | install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system |
| 36 | |||
| 37 | if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then | ||
| 38 | install -d ${D}${sysconfdir}/dbus-1/system.d | ||
| 39 | install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ | ||
| 40 | fi | ||
| 32 | } | 41 | } |
| 33 | 42 | ||
| 34 | CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf" | 43 | CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf" |
diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb index ae37db7391..ae37db7391 100644 --- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.55.bb | |||
diff --git a/meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf index 1a198a3791..1a198a3791 100755 --- a/meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.conf +++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf | |||
diff --git a/meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.service b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service index 549e15e2b2..549e15e2b2 100644 --- a/meta-oe/recipes-connectivity/dnsmasq/files/dnsmasq.service +++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service | |||
diff --git a/meta-oe/recipes-connectivity/dnsmasq/files/init b/meta-networking/recipes-support/dnsmasq/files/init index d1aa9e517d..d1aa9e517d 100644 --- a/meta-oe/recipes-connectivity/dnsmasq/files/init +++ b/meta-networking/recipes-support/dnsmasq/files/init | |||
diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb deleted file mode 100644 index 7d698c6c1d..0000000000 --- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq-dbus_2.55.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # dnsmasq with support for DBus interface | ||
| 2 | |||
| 3 | require dnsmasq_${PV}.bb | ||
| 4 | |||
| 5 | S = "${WORKDIR}/dnsmasq-${PV}" | ||
| 6 | |||
| 7 | DEPENDS = "dbus" | ||
| 8 | EXTRA_OEMAKE = "COPTS=-DHAVE_DBUS" | ||
| 9 | |||
| 10 | do_install_append () { | ||
| 11 | install -d ${D}${sysconfdir}/dbus-1/system.d | ||
| 12 | install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/ | ||
| 13 | } | ||
