mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
this enables the hosts access control facility (i.e. /etc/hosts.allow and /etc/hosts.deny) changes: - enable tcp-wrappers by change make flags and cppflags - rename patch no-tcpd-support to avoid confusion - minor cleanups Signed-off-by: Qing He <qing.he@intel.com>
21 lines
620 B
BlitzBasic
21 lines
620 B
BlitzBasic
require portmap.inc
|
|
|
|
DEPENDS += "tcp-wrappers"
|
|
PR = "r7"
|
|
|
|
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"
|
|
|
|
S = "${WORKDIR}/${BPN}_${PV}/"
|
|
|
|
CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
|
|
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
|
|
|
|
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}
|
|
}
|