diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-08-27 12:12:49 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-08-27 12:12:49 +0000 |
commit | 3cd1a09ce251838a2e6cecf1706cffcd34bf6304 (patch) | |
tree | 54ec83ea763dcc55fa284228da8c14b3f54d844b /meta/packages | |
parent | db5c50401125e671ba78fdaed0c01491384465ab (diff) | |
download | poky-3cd1a09ce251838a2e6cecf1706cffcd34bf6304.tar.gz |
portmap: add missing file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2562 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/portmap/portmap.inc | 31 |
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 @@ | |||
1 | DESCRIPTION = "RPC program number mapper." | ||
2 | SECTION = "console/network" | ||
3 | LICENSE = "GPL" | ||
4 | |||
5 | SRC_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" | ||
10 | S = "${WORKDIR}/portmap_5beta" | ||
11 | |||
12 | INITSCRIPT_NAME = "portmap" | ||
13 | INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ." | ||
14 | |||
15 | inherit update-rc.d | ||
16 | |||
17 | sbindir = "/sbin" | ||
18 | |||
19 | do_compile() { | ||
20 | oe_runmake | ||
21 | } | ||
22 | |||
23 | do_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 | |||
29 | PACKAGES =+ "portmap-utils" | ||
30 | FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" | ||
31 | FILES_${PN}-doc += "${docdir}" | ||