summaryrefslogtreecommitdiff
path: root/debian/patches-applied/054_pam_security_abstract_securetty_handling
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2019-01-22 15:21:19 -0800
committerSteve Langasek <vorlon@debian.org>2019-01-24 11:54:00 -0800
commit5bbcd8f9bad73877325151b2024c6cdd858174b5 (patch)
tree424e9a64f3aaf5588154b86636cfa5cf6f79edad /debian/patches-applied/054_pam_security_abstract_securetty_handling
parent5cd7bb4511a7c2b355a615f19a9eca193320aa3e (diff)
Refresh patches
Diffstat (limited to 'debian/patches-applied/054_pam_security_abstract_securetty_handling')
-rw-r--r--debian/patches-applied/054_pam_security_abstract_securetty_handling18
1 files changed, 9 insertions, 9 deletions
diff --git a/debian/patches-applied/054_pam_security_abstract_securetty_handling b/debian/patches-applied/054_pam_security_abstract_securetty_handling
index 91d6809f..96222710 100644
--- a/debian/patches-applied/054_pam_security_abstract_securetty_handling
+++ b/debian/patches-applied/054_pam_security_abstract_securetty_handling
@@ -1,10 +1,10 @@
Description: extract the securetty logic for use with the "nullok_secure" option
introduced in the "055_pam_unix_nullok_secure" patch.
-Index: pam.debian/modules/pam_securetty/pam_securetty.c
+Index: pam/modules/pam_securetty/pam_securetty.c
===================================================================
---- pam.debian.orig/modules/pam_securetty/pam_securetty.c
-+++ pam.debian/modules/pam_securetty/pam_securetty.c
+--- pam.orig/modules/pam_securetty/pam_securetty.c
++++ pam/modules/pam_securetty/pam_securetty.c
@@ -1,7 +1,5 @@
/* pam_securetty module */
@@ -87,10 +87,10 @@ Index: pam.debian/modules/pam_securetty/pam_securetty.c
if (retval && !(ctrl & PAM_NOCONSOLE_ARG)) {
FILE *cmdlinefile;
-Index: pam.debian/modules/pam_securetty/tty_secure.c
+Index: pam/modules/pam_securetty/tty_secure.c
===================================================================
--- /dev/null
-+++ pam.debian/modules/pam_securetty/tty_secure.c
++++ pam/modules/pam_securetty/tty_secure.c
@@ -0,0 +1,90 @@
+/*
+ * A function to determine if a particular line is in /etc/securetty
@@ -182,13 +182,13 @@ Index: pam.debian/modules/pam_securetty/tty_secure.c
+
+ return retval;
+}
-Index: pam.debian/modules/pam_securetty/Makefile.am
+Index: pam/modules/pam_securetty/Makefile.am
===================================================================
---- pam.debian.orig/modules/pam_securetty/Makefile.am
-+++ pam.debian/modules/pam_securetty/Makefile.am
+--- pam.orig/modules/pam_securetty/Makefile.am
++++ pam/modules/pam_securetty/Makefile.am
@@ -24,6 +24,10 @@
securelib_LTLIBRARIES = pam_securetty.la
- pam_securetty_la_LIBADD = -L$(top_builddir)/libpam -lpam
+ pam_securetty_la_LIBADD = $(top_builddir)/libpam/libpam.la
+pam_securetty_la_SOURCES = \
+ pam_securetty.c \