diff options
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch b/meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch new file mode 100644 index 0000000000..b9a98f1d6f --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-telnet/files/Warning-fix-in-the-step-of-install.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 31362e4c0d02b4a2b952ad0dd32acfb573c442f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Li xin <lixin.fnst@cn.fujitsu.com> | ||
3 | Date: Fri, 28 Nov 2014 07:17:40 +0900 | ||
4 | Subject: [PATCH 2/2] WARNING Fix and modify "CFLAGS" | ||
5 | |||
6 | WARNING: QA Issue: File '/usr/sbin/in.telnetd' from netkit-telnet was | ||
7 | already stripped, this will prevent future debugging! [already-stripped] | ||
8 | |||
9 | Upstream-Status: pending | ||
10 | |||
11 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> | ||
12 | --- | ||
13 | telnetd/Makefile | 5 +++-- | ||
14 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/telnetd/Makefile b/telnetd/Makefile | ||
17 | index 72650b4..a4cf9fa 100644 | ||
18 | --- a/telnetd/Makefile | ||
19 | +++ b/telnetd/Makefile | ||
20 | @@ -9,7 +9,8 @@ include ../MRULES | ||
21 | # take out -DPARANOID_TTYS. | ||
22 | |||
23 | CFLAGS += '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS \ | ||
24 | - -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS | ||
25 | + -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS \ | ||
26 | + -DLOGIN_WRAPPER=\"/${libdir}/telnetlogin\" | ||
27 | # LIBS += $(LIBTERMCAP) | ||
28 | |||
29 | OBJS = telnetd.o state.o termstat.o slc.o sys_term.o utility.o \ | ||
30 | @@ -27,7 +28,7 @@ $(OBJS): defs.h ext.h pathnames.h telnetd.h logwtmp.h logout.h setproctitle.h | ||
31 | telnetd.o: ../version.h | ||
32 | |||
33 | install: telnetd | ||
34 | - install -s -m$(DAEMONMODE) telnetd $(INSTALLROOT)$(SBINDIR)/in.telnetd | ||
35 | + install -m$(DAEMONMODE) telnetd $(INSTALLROOT)$(SBINDIR)/in.telnetd | ||
36 | install -m$(MANMODE) issue.net.5 $(INSTALLROOT)$(MANDIR)/man5/ | ||
37 | install -m$(MANMODE) telnetd.8 $(INSTALLROOT)$(MANDIR)/man8/in.telnetd.8 | ||
38 | ln -sf in.telnetd.8 $(INSTALLROOT)$(MANDIR)/man8/telnetd.8 | ||
39 | -- | ||
40 | 1.8.4.2 | ||
41 | |||