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

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