summaryrefslogtreecommitdiff
path: root/net-misc/netkit-telnetd/files/netkit-telnetd-0.17-r13-gentooification.patch
blob: 3ca6b15a788aa018a2470d72ff687073b2183209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -Naur a/telnetd/CMakeLists.txt b/telnetd/CMakeLists.txt
--- a/telnetd/CMakeLists.txt	2022-02-07 17:37:04.831149960 +0100
+++ b/telnetd/CMakeLists.txt	2022-02-07 17:42:48.482998276 +0100
@@ -6,11 +6,11 @@
     -DNO_REVOKE \
     -DKLUDGELINEMODE \
     -DDIAGNOSTICS \
-    -DLOGIN_WRAPPER='\"/usr/lib/telnetlogin\"' \
+    -DLOGIN_WRAPPER='\"/usr/sbin/telnetlogin\"' \
 ")
 
 add_executable(
-    in.telnetd
+    telnetd
     global.c
     setproctitle.c
     slc.c
@@ -21,19 +21,22 @@
     utility.c
 )
 target_link_libraries(
-    in.telnetd
+    telnetd
     ncurses
     util
 )
 install(
-    TARGETS in.telnetd
+    TARGETS telnetd
     DESTINATION ${SBIN_DIR}
 )
 
 install(
     FILES telnetd.8
     DESTINATION ${MAN_DIR}/man8/
-    RENAME in.telnetd.8
+)
+install(
+    FILES issue.net.5
+    DESTINATION ${MAN_DIR}/man5/
 )
 install(
     CODE "execute_process( \