summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/dnsmasq/dnsmasq.inc28
-rw-r--r--packages/ftpd-topfield/files/init0
-rw-r--r--packages/ftpd-topfield/ftpd-topfield_cvs.bb0
3 files changed, 28 insertions, 0 deletions
diff --git a/packages/dnsmasq/dnsmasq.inc b/packages/dnsmasq/dnsmasq.inc
index e69de29bb2..389f67cbb2 100644
--- a/packages/dnsmasq/dnsmasq.inc
+++ b/packages/dnsmasq/dnsmasq.inc
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+DESCRIPTION = "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server."
+HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html"
+LICENSE = "GPL"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
+ file://init \
+ file://dnsmasq.conf"
+
+S = "${WORKDIR}/dnsmasq-${PV}"
+
+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
+ install -m 0755 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
+ install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
+}
+
+CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
diff --git a/packages/ftpd-topfield/files/init b/packages/ftpd-topfield/files/init
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ftpd-topfield/files/init
diff --git a/packages/ftpd-topfield/ftpd-topfield_cvs.bb b/packages/ftpd-topfield/ftpd-topfield_cvs.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ftpd-topfield/ftpd-topfield_cvs.bb