Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 9 | Upstream-Status: Pending |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |