Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 674341 Details for
Bug 715706
net-misc/netkit-telnetd-0.17-r12 : * (no error message)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make logwtmp optional
netkit-telnetd-0.17-no_logwtmp.patch (text/plain), 1.26 KB, created by
Stefan Michelsson
on 2020-11-22 15:13:55 UTC
(
hide
)
Description:
Make logwtmp optional
Filename:
MIME Type:
Creator:
Stefan Michelsson
Created:
2020-11-22 15:13:55 UTC
Size:
1.26 KB
patch
obsolete
>diff -ru a/configure b/configure >--- a/configure 2020-11-22 16:09:07.050857697 +0200 >+++ b/configure 2020-11-22 16:04:26.907773752 +0200 >@@ -439,9 +439,7 @@ > LIBBSD="-lbsd" > else > echo 'no' >- echo 'This package requires logwtmp.' >- rm -f __conftest* >- exit >+ LOGWTMP="-DNO_LOGWTMP" > fi > fi > fi >@@ -562,5 +560,6 @@ > > echo "LIBTERMCAP=$LIBTERMCAP" > echo "USE_GLIBC=$USE_GLIBC" >+ echo "LOGWTMP=$LOGWTMP" > ) > MCONFIG > >diff -ru a/telnetd/Makefile b/telnetd/Makefile >--- a/telnetd/Makefile 2020-11-22 16:09:07.044857634 +0200 >+++ b/telnetd/Makefile 2020-11-22 15:55:08.618648650 +0200 >@@ -9,6 +9,7 @@ > # take out -DPARANOID_TTYS. > > CFLAGS += '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS \ >+ $(LOGWTMP) \ > -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS \ > -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE > # LIBS += $(LIBTERMCAP) >diff -ru a/telnetd/sys_term.c b/telnetd/sys_term.c >--- a/telnetd/sys_term.c 2020-11-22 16:09:06.985857009 +0200 >+++ b/telnetd/sys_term.c 2020-11-22 15:57:35.959940419 +0200 >@@ -731,7 +731,9 @@ > } > > p = line + sizeof("/dev/") - 1; >+#ifndef NO_LOGWTMP > if (logout(p)) logwtmp(p, "", ""); >+#endif > shutdown(net, 2); > exit(stat); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 715706
:
628276
|
628278
|
628280
|
628282
|
628284
|
628286
| 674341 |
674344