diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-12-19 10:46:50 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-12-19 10:46:50 +0000 |
commit | 19dec673258e20633d472ef5f8d8c34e893d9146 (patch) | |
tree | 4f8bc9556a4385f19df32836ee6eb95c1052dbc0 /packages/portmap/portmap.inc | |
parent | b6ba0e5f8f55be618915fbde353a3ecfb874dae5 (diff) |
portmap: unified, added 5-24, dropped 5-7
- portmap 5-7 was used before Debian 'sarge' - not fetchable
- portmap 5-24 will be in Debian 'etch' so will be fetchable for next 1-2 years
- portmap-unslung not updated - it has other packaging
Diffstat (limited to 'packages/portmap/portmap.inc')
-rw-r--r-- | packages/portmap/portmap.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/portmap/portmap.inc b/packages/portmap/portmap.inc new file mode 100644 index 0000000000..ad477828fb --- /dev/null +++ b/packages/portmap/portmap.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "RPC program number mapper." +SECTION = "console/network" +LICENSE = "GPL" + +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" +FILES_${PN}-doc += "${docdir}" + +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 +} |