From 78f6018bd06196247b44b4c705e35928820bfd4b Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 18 Sep 2004 11:52:29 +0000 Subject: add initscript for portmap BKrev: 414c217dSqCLvG-dP1O49qz_RhDbqw --- portmap/portmap.init | 0 portmap/portmap_5-4.oe | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 portmap/portmap.init diff --git a/portmap/portmap.init b/portmap/portmap.init new file mode 100644 index 0000000000..e69de29bb2 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 } -- cgit v1.2.3