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

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