summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2016-01-27 17:36:51 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2016-02-22 15:51:19 -0500
commitd780562322092894f8f0545ab751cc34133f9b91 (patch)
tree0668391e929cf2c6a819e4119f9db9f0c5a1f137
parent1ddc9a5e653d0869df5fd9ccf16128cee88008c6 (diff)
downloadmeta-openembedded-d780562322092894f8f0545ab751cc34133f9b91.tar.gz
netkit-telnet: Add to generate telnetlogin.
* Add oe_runmake line for telnetlogin to make the telnetlogin folder to be built. * Add FILES_${PN} line to let ${libdir}/telnetlogin to be included in netkit-telnet package. * Customize "install -D -m 4750 ${B}/telnetlogin/telnetlogin ${D}/${libdir}/telnetlogin" to let the telnetlogin to be installed under /usr/lib64 on 64bit system. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
index 080651873..9438adc0f 100644
--- a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
+++ b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
@@ -25,6 +25,7 @@ do_configure () {
25do_compile () { 25do_compile () {
26 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' SUB=telnet 26 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' SUB=telnet
27 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' LIBS=-lutil SUB=telnetd 27 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' LIBS=-lutil SUB=telnetd
28 oe_runmake 'CC=${CC}' 'LD=${LD}' 'LDFLAGS=${LDFLAGS}' SUB=telnetlogin
28} 29}
29 30
30do_install () { 31do_install () {
@@ -36,6 +37,7 @@ do_install () {
36 install -d ${D}${mandir}/man8 37 install -d ${D}${mandir}/man8
37 oe_runmake SUB=telnetd install 38 oe_runmake SUB=telnetd install
38 rm -rf ${D}${mandir}/man1 39 rm -rf ${D}${mandir}/man1
40 install -D -m 4750 ${B}/telnetlogin/telnetlogin ${D}/${libdir}/telnetlogin
39 # fix up hardcoded paths 41 # fix up hardcoded paths
40 sed -i -e 's,/usr/sbin/,${sbindir}/,' ${WORKDIR}/telnet-xinetd 42 sed -i -e 's,/usr/sbin/,${sbindir}/,' ${WORKDIR}/telnet-xinetd
41 install -d ${D}/etc/xinetd.d/ 43 install -d ${D}/etc/xinetd.d/
@@ -54,3 +56,4 @@ pkg_prerm_${PN} () {
54 56
55SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36" 57SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36"
56SRC_URI[sha256sum] = "9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00" 58SRC_URI[sha256sum] = "9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00"
59FILES_${PN} += "${sbindir}/in.* ${libdir}/* ${sysconfdir}/xinetd.d/*"