summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-18 11:52:29 +0000
committerPhil Blundell <philb@gnu.org>2004-09-18 11:52:29 +0000
commit78f6018bd06196247b44b4c705e35928820bfd4b (patch)
tree1b896cc20c98f7ac5cd7c5dc0bd8a996ea56b2dc
parent9845b09ce70ecab8b2132257ba84b7a07fe7caa8 (diff)
add initscript for portmap
BKrev: 414c217dSqCLvG-dP1O49qz_RhDbqw
-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
}