1From 31362e4c0d02b4a2b952ad0dd32acfb573c442f3 Mon Sep 17 00:00:00 2001 2From: Li xin <lixin.fnst@cn.fujitsu.com> 3Date: Fri, 28 Nov 2014 07:17:40 +0900 4Subject: [PATCH 2/2] WARNING Fix and modify "CFLAGS" 5 6WARNING: QA Issue: File '/usr/sbin/in.telnetd' from netkit-telnet was 7already stripped, this will prevent future debugging! [already-stripped] 8 9Upstream-Status: pending 10 11Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> 12--- 13 telnetd/Makefile | 5 +++-- 14 1 file changed, 3 insertions(+), 2 deletions(-) 15 16diff --git a/telnetd/Makefile b/telnetd/Makefile 17index 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-- 401.8.4.2 41 42