|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../musl/pkg/shadow/shadow-disable-rlogin.patch |
|
|
|
# Copyright (C) 2014 The OpenSDE Project |
|
|
|
# Copyright (C) 2014 - 2016 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
@ -35,15 +35,15 @@ diff --git a/configure.in b/configure.in |
|
|
|
index da04a81..4203d1f 100644
|
|
|
|
--- a/configure.in
|
|
|
|
+++ b/configure.in
|
|
|
|
@@ -194,7 +194,7 @@ AC_DEFINE_UNQUOTED(PASSWD_PROGRAM, "$shadow_cv_passwd_dir/passwd",
|
|
|
|
|
|
|
|
@@ -196,7 +196,7 @@
|
|
|
|
dnl XXX - quick hack, should disappear before anyone notices :). |
|
|
|
AC_DEFINE(USE_SYSLOG, 1, [Define to use syslog().]) |
|
|
|
-AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.])
|
|
|
|
+AC_DEFINE(RLOGIN, 0, [Define if login should support the -r flag for rlogind.])
|
|
|
|
AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).]) |
|
|
|
if test "$ac_cv_func_ruserok" = "yes"; then |
|
|
|
- AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.])
|
|
|
|
+ AC_DEFINE(RLOGIN, 0, [Define if login should support the -r flag for rlogind.])
|
|
|
|
AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).]) |
|
|
|
fi |
|
|
|
|
|
|
|
AC_ARG_ENABLE(shadowgrp, |
|
|
|
diff --git a/lib/prototypes.h b/lib/prototypes.h
|
|
|
|
index 00d9e0b..a1696fe 100644
|
|
|
|
--- a/lib/prototypes.h
|
|
|
@ -75,16 +75,16 @@ diff --git a/libmisc/Makefile.in b/libmisc/Makefile.in |
|
|
|
index 4891360..86dcbd5 100644
|
|
|
|
--- a/libmisc/Makefile.in
|
|
|
|
+++ b/libmisc/Makefile.in
|
|
|
|
@@ -79,7 +79,7 @@ am_libmisc_a_OBJECTS = addgrps.$(OBJEXT) age.$(OBJEXT) \
|
|
|
|
motd.$(OBJEXT) myname.$(OBJEXT) obscure.$(OBJEXT) \ |
|
|
|
pam_pass.$(OBJEXT) pam_pass_non_interractive.$(OBJEXT) \ |
|
|
|
pwd2spwd.$(OBJEXT) pwdcheck.$(OBJEXT) pwd_init.$(OBJEXT) \ |
|
|
|
- remove_tree.$(OBJEXT) rlogin.$(OBJEXT) root_flag.$(OBJEXT) \
|
|
|
|
+ remove_tree.$(OBJEXT) root_flag.$(OBJEXT) \
|
|
|
|
salt.$(OBJEXT) setugid.$(OBJEXT) setupenv.$(OBJEXT) \ |
|
|
|
shell.$(OBJEXT) strtoday.$(OBJEXT) sub.$(OBJEXT) \ |
|
|
|
sulog.$(OBJEXT) ttytype.$(OBJEXT) tz.$(OBJEXT) \ |
|
|
|
@@ -306,7 +306,6 @@ libmisc_a_SOURCES = \
|
|
|
|
@@ -113,7 +113,7 @@
|
|
|
|
obscure.$(OBJEXT) pam_pass.$(OBJEXT) \ |
|
|
|
pam_pass_non_interractive.$(OBJEXT) pwd2spwd.$(OBJEXT) \ |
|
|
|
pwdcheck.$(OBJEXT) pwd_init.$(OBJEXT) remove_tree.$(OBJEXT) \ |
|
|
|
- rlogin.$(OBJEXT) root_flag.$(OBJEXT) salt.$(OBJEXT) \
|
|
|
|
+ root_flag.$(OBJEXT) salt.$(OBJEXT) \
|
|
|
|
setugid.$(OBJEXT) setupenv.$(OBJEXT) shell.$(OBJEXT) \ |
|
|
|
strtoday.$(OBJEXT) sub.$(OBJEXT) sulog.$(OBJEXT) \ |
|
|
|
ttytype.$(OBJEXT) tz.$(OBJEXT) ulimit.$(OBJEXT) \ |
|
|
|
@@ -393,7 +393,6 @@
|
|
|
|
pwdcheck.c \ |
|
|
|
pwd_init.c \ |
|
|
|
remove_tree.c \ |
|
|
@ -92,7 +92,7 @@ index 4891360..86dcbd5 100644 |
|
|
|
root_flag.c \ |
|
|
|
salt.c \ |
|
|
|
setugid.c \ |
|
|
|
@@ -413,7 +412,6 @@ distclean-compile:
|
|
|
|
@@ -504,7 +503,6 @@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwd_init.Po@am__quote@ |
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwdcheck.Po@am__quote@ |
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remove_tree.Po@am__quote@ |
|
|
|