blob: 9ac75439daca6b646027f7d961d7bbd0e28e919b [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 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
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06009Upstream-Status: Pending
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010
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