summaryrefslogtreecommitdiff
path: root/packages/portmap/portmap_6.0.bb
blob: 335b5c6d0946db4b307575e2577b024bc13c8bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require portmap.inc

PR = "r1"

SRC_URI = "http://neil.brown.name/portmap/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 "

# Remove this patch when SlugOS upgrades to binutils 1.18
SRC_URI_append_slugos = " file://no-pie.patch;patch=1 "

S = "${WORKDIR}/${PN}_${PV}/"

CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"

fakeroot do_install() {
    install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
    install -m 0757 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
    oe_runmake install DESTDIR=${D}
}