]> code.ossystems Code Review - openembedded-core.git/commitdiff
portmap: add missing file
authorMarcin Juszkiewicz <hrw@openedhand.com>
Mon, 27 Aug 2007 12:12:49 +0000 (12:12 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Mon, 27 Aug 2007 12:12:49 +0000 (12:12 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2562 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/portmap/portmap.inc [new file with mode: 0644]

diff --git a/meta/packages/portmap/portmap.inc b/meta/packages/portmap/portmap.inc
new file mode 100644 (file)
index 0000000..bb9d2b6
--- /dev/null
@@ -0,0 +1,31 @@
+DESCRIPTION = "RPC program number mapper."
+SECTION = "console/network"
+LICENSE = "GPL"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \
+       ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.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 = "start 43 S . start 32 0 6 . stop 81 1 ."
+
+inherit update-rc.d
+
+sbindir = "/sbin"
+
+do_compile() {
+       oe_runmake
+}
+
+do_install() {
+       install -d ${D}${sysconfdir}/init.d
+       install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
+       oe_runmake 'docdir=${docdir}/portmap' 'DESTDIR=${D}' install
+}
+
+PACKAGES =+ "portmap-utils"
+FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
+FILES_${PN}-doc += "${docdir}"