summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/portmap/portmap.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/portmap/portmap.inc b/meta/packages/portmap/portmap.inc
new file mode 100644
index 0000000000..bb9d2b6652
--- /dev/null
+++ b/meta/packages/portmap/portmap.inc
@@ -0,0 +1,31 @@
1DESCRIPTION = "RPC program number mapper."
2SECTION = "console/network"
3LICENSE = "GPL"
4
5SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \
6 ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \
7 file://no-libwrap.patch;patch=1;pnum=0 \
8 file://portmap.init \
9 file://make.patch;patch=1"
10S = "${WORKDIR}/portmap_5beta"
11
12INITSCRIPT_NAME = "portmap"
13INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ."
14
15inherit update-rc.d
16
17sbindir = "/sbin"
18
19do_compile() {
20 oe_runmake
21}
22
23do_install() {
24 install -d ${D}${sysconfdir}/init.d
25 install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
26 oe_runmake 'docdir=${docdir}/portmap' 'DESTDIR=${D}' install
27}
28
29PACKAGES =+ "portmap-utils"
30FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
31FILES_${PN}-doc += "${docdir}"