Blame SOURCES/pam-1.1.0-console-nochmod.patch

5c721c
diff -up Linux-PAM-1.1.0/modules/pam_console/console.handlers.nochmod Linux-PAM-1.1.0/modules/pam_console/console.handlers
5c721c
--- Linux-PAM-1.1.0/modules/pam_console/console.handlers.nochmod	2008-12-16 13:37:52.000000000 +0100
5c721c
+++ Linux-PAM-1.1.0/modules/pam_console/console.handlers	2009-09-01 17:20:08.000000000 +0200
5c721c
@@ -15,5 +15,3 @@
5c721c
 # touch unlock wait /var/run/console-unlocked
5c721c
 
5c721c
 console consoledevs tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]+\.[0-9]+ :[0-9]+
5c721c
-/sbin/pam_console_apply lock logfail wait -t tty -s
5c721c
-/sbin/pam_console_apply unlock logfail wait -r -t tty -s
5c721c
diff -up Linux-PAM-1.1.0/modules/pam_console/Makefile.am.nochmod Linux-PAM-1.1.0/modules/pam_console/Makefile.am
5c721c
--- Linux-PAM-1.1.0/modules/pam_console/Makefile.am.nochmod	2008-12-16 13:37:52.000000000 +0100
5c721c
+++ Linux-PAM-1.1.0/modules/pam_console/Makefile.am	2009-09-01 17:42:47.000000000 +0200
5c721c
@@ -38,7 +38,6 @@ sbin_PROGRAMS = pam_console_apply
5c721c
 
5c721c
 
5c721c
 secureconf_DATA = console.perms console.handlers
5c721c
-permsd_DATA = 50-default.perms
5c721c
 
5c721c
 FLEX_OPTS = -Cr
5c721c
 BISON_OPTS = -d
5c721c
@@ -62,4 +61,5 @@ configfile.c: configfile.tab.c configfil
5c721c
 
5c721c
 install-data-local:
5c721c
 	mkdir -p $(DESTDIR)$(secureconfdir)/console.apps
5c721c
+	mkdir -p $(DESTDIR)$(permsddir)
5c721c
 	mkdir -m $(LOCKMODE) -p -p $(DESTDIR)$(LOCKDIR)