From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-connectivity/portmap/portmap_6.0.bb | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-connectivity/portmap/portmap_6.0.bb (limited to 'meta/recipes-connectivity/portmap/portmap_6.0.bb') diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb new file mode 100644 index 0000000000..68dd79625d --- /dev/null +++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb @@ -0,0 +1,26 @@ +require portmap.inc + +PR = "r9" + +SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ + file://destdir-no-strip.patch \ + file://tcpd-config.patch \ + file://portmap.init" + +SRC_URI[md5sum] = "ac108ab68bf0f34477f8317791aaf1ff" +SRC_URI[sha256sum] = "02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a281d41de" + +S = "${WORKDIR}/${BPN}_${PV}/" + +PACKAGECONFIG ??= "tcp-wrappers" +PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" + +CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" +CFLAGS += "-Wall -Wstrict-prototypes -fPIC" +EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@base_contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'" + +fakeroot do_install() { + install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap + oe_runmake install DESTDIR=${D} +} -- cgit v1.2.3-54-g00ecf