summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portmap/portmap.init0
-rw-r--r--portmap/portmap_5-4.oe10
2 files changed, 10 insertions, 0 deletions
diff --git a/portmap/portmap.init b/portmap/portmap.init
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/portmap/portmap.init
diff --git a/portmap/portmap_5-4.oe b/portmap/portmap_5-4.oe
index 98ed8be0e6..3b4bf27713 100644
--- a/portmap/portmap_5-4.oe
+++ b/portmap/portmap_5-4.oe
@@ -1,9 +1,17 @@
+PR = "r1"
+
SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \
http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5-4.diff.gz;patch=1 \
file://no-libwrap.patch;patch=1;pnum=0 \
+ file://portmap.init \
file://make.patch;patch=1"
S = "${WORKDIR}/portmap_5beta"
+INITSCRIPT_NAME = "portmap"
+INITSCRIPT_PARAMS = "43 S . start 32 0 6 . start 18 2 3 4 5 . stop 81 1 ."
+
+inherit update-rc.d
+
sbindir = "/sbin"
do_compile() {
@@ -11,6 +19,8 @@ do_compile() {
}
do_install() {
+ install -d ${D}/etc/init.d
+ install -m 0644 ${WORKDIR}/portmap.init ${D}/etc/init.d/
oe_runmake 'docdir=${datadir}/doc/portmap' \
'DESTDIR=${D}' install
}