summaryrefslogtreecommitdiff
path: root/packages/portmap
diff options
context:
space:
mode:
Diffstat (limited to 'packages/portmap')
-rw-r--r--packages/portmap/portmap_5-7.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/portmap/portmap_5-7.bb b/packages/portmap/portmap_5-7.bb
index e69de29bb2..4234f1c823 100644
--- a/packages/portmap/portmap_5-7.bb
+++ b/packages/portmap/portmap_5-7.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "RPC program number mapper."
+SECTION = "console/network"
+LICENSE = "GPL"
+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_${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"
+
+PACKAGES =+ "portmap-utils"
+FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
+
+INITSCRIPT_NAME = "portmap"
+INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . start 18 2 3 4 5 . stop 81 1 ."
+
+inherit update-rc.d
+
+sbindir = "/sbin"
+
+do_compile() {
+ oe_runmake
+}
+
+do_install() {
+ install -d ${D}/etc/init.d
+ install -m 0755 ${WORKDIR}/portmap.init ${D}/etc/init.d/portmap
+ oe_runmake 'docdir=${datadir}/doc/portmap' \
+ 'DESTDIR=${D}' install
+}