+++ /dev/null
-Index: Makefile
-===================================================================
---- Makefile.orig 2007-05-15 16:00:17.000000000 +0200
-+++ Makefile 2007-05-15 16:00:55.000000000 +0200
-@@ -19,8 +19,8 @@
- # USE_DNS to add hostname tests in hosts.allow/deny.
-
- ifeq ($(NO_TCP_WRAPPER),)
--CPPFLAGS += -DHOSTS_ACCESS
--WRAP_LIB = -lwrap
-+#CPPFLAGS += -DHOSTS_ACCESS
-+#WRAP_LIB = -lwrap
- ifdef USE_DNS
- CPPFLAGS += -DENABLE_DNS
- MAN_SED += -e 's/USE_DNS/yes/'
SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \
${DEBIAN_MIRROR}/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"
+ file://make.patch;apply=yes"
S = "${WORKDIR}/portmap_5beta"
INITSCRIPT_NAME = "portmap"
sbindir = "/sbin"
-do_compile() {
- oe_runmake
-}
-
fakeroot do_install() {
install -d ${D}${sysconfdir}/init.d
install -d ${D}${base_sbindir}
require portmap.inc
-PR = "r5"
+PR = "r6"
SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
- file://destdir-no-strip.patch;patch=1 \
- file://no-tcpd-support.patch;patch=1 \
- file://no-libwrap.patch;patch=1;pnum=0 \
- file://portmap.init "
+ file://destdir-no-strip.patch;apply=yes \
+ file://no-tcpd-support.patch;apply=yes \
+ file://portmap.init"
S = "${WORKDIR}/${PN}_${PV}/"
+EXTRA_OEMAKE_append = " NO_TCP_WRAPPER=1 "
+
CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"