diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-08-27 11:57:29 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-08-27 11:57:29 +0000 |
| commit | db5c50401125e671ba78fdaed0c01491384465ab (patch) | |
| tree | c35ffd2770ba407bb15c26386caf2dd4d2812564 | |
| parent | 08ab9f2751ad599a111815717eda1636c3ecd5ec (diff) | |
| download | poky-db5c50401125e671ba78fdaed0c01491384465ab.tar.gz | |
portmap: upgraded to 6.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2561 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rw-r--r-- | meta/packages/portmap/portmap_5-9.bb | 33 | ||||
| -rw-r--r-- | meta/packages/portmap/portmap_6.0.bb | 17 |
2 files changed, 17 insertions, 33 deletions
diff --git a/meta/packages/portmap/portmap_5-9.bb b/meta/packages/portmap/portmap_5-9.bb deleted file mode 100644 index 76d66e9ad9..0000000000 --- a/meta/packages/portmap/portmap_5-9.bb +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | DESCRIPTION = "RPC program number mapper." | ||
| 2 | SECTION = "console/network" | ||
| 3 | LICENSE = "GPL" | ||
| 4 | PR = "r5" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \ | ||
| 7 | http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \ | ||
| 8 | file://no-libwrap.patch;patch=1;pnum=0 \ | ||
| 9 | file://portmap.init \ | ||
| 10 | file://make.patch;patch=1" | ||
| 11 | S = "${WORKDIR}/portmap_5beta" | ||
| 12 | |||
| 13 | PACKAGES =+ "portmap-utils" | ||
| 14 | FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" | ||
| 15 | FILES_${PN}-doc += "${docdir}" | ||
| 16 | |||
| 17 | INITSCRIPT_NAME = "portmap" | ||
| 18 | INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ." | ||
| 19 | |||
| 20 | inherit update-rc.d | ||
| 21 | |||
| 22 | sbindir = "/sbin" | ||
| 23 | |||
| 24 | do_compile() { | ||
| 25 | oe_runmake | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | install -d ${D}${sysconfdir}/init.d | ||
| 30 | install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap | ||
| 31 | oe_runmake 'docdir=${docdir}/portmap' \ | ||
| 32 | 'DESTDIR=${D}' install | ||
| 33 | } | ||
diff --git a/meta/packages/portmap/portmap_6.0.bb b/meta/packages/portmap/portmap_6.0.bb new file mode 100644 index 0000000000..315cb4a473 --- /dev/null +++ b/meta/packages/portmap/portmap_6.0.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | require portmap.inc | ||
| 2 | |||
| 3 | SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ | ||
| 4 | file://destdir-no-strip.patch;patch=1 \ | ||
| 5 | file://no-tcpd-support.patch;patch=1 \ | ||
| 6 | file://no-libwrap.patch;patch=1;pnum=0 \ | ||
| 7 | file://portmap.init " | ||
| 8 | |||
| 9 | S = "${WORKDIR}/${PN}_${PV}/" | ||
| 10 | |||
| 11 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS" | ||
| 12 | |||
| 13 | fakeroot do_install() { | ||
| 14 | install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d | ||
| 15 | install -m 0757 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap | ||
| 16 | oe_runmake install DESTDIR=${D} | ||
| 17 | } | ||
