rpms/pam/devel pam-1.0.0-sepermit-screensaver.patch, NONE, 1.1 .cvsignore, 1.48, 1.49 pam.spec, 1.176, 1.177 sources, 1.50, 1.51 pam-1.0.0-set-item.patch, 1.1, NONE

Tomáš Mráz (tmraz) fedora-extras-commits at redhat.com
Fri Apr 18 08:44:19 UTC 2008


Author: tmraz

Update of /cvs/pkgs/rpms/pam/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3601

Modified Files:
	.cvsignore pam.spec sources 
Added Files:
	pam-1.0.0-sepermit-screensaver.patch 
Removed Files:
	pam-1.0.0-set-item.patch 
Log Message:
* Fri Apr 18 2008 Tomas Mraz <tmraz at redhat.com> 1.0.1-1
- upgrade to new upstream release (one bugfix only)
- fix pam_sepermit use in screensavers


pam-1.0.0-sepermit-screensaver.patch:

--- NEW FILE pam-1.0.0-sepermit-screensaver.patch ---
Index: pam_sepermit.c
===================================================================
RCS file: /cvsroot/pam/Linux-PAM/modules/pam_sepermit/pam_sepermit.c,v
retrieving revision 1.3
diff -u -p -r1.3 pam_sepermit.c
--- Linux-PAM/modules/pam_sepermit/pam_sepermit.c.orig	31 Mar 2008 10:31:50 -0000	1.3
+++ Linux-PAM/modules/pam_sepermit/pam_sepermit.c	15 Apr 2008 16:30:38 -0000
@@ -305,7 +305,7 @@ sepermit_match(pam_handle_t *pamh, const
 	free(line);
 	fclose(f);
 	if (matched) 
-		return exclusive ? sepermit_lock(pamh, user, debug) : 0;
+		return (geteuid() == 0 && exclusive) ? sepermit_lock(pamh, user, debug) : 0;
 	else
 		return -1;
 }


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pam/devel/.cvsignore,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- .cvsignore	4 Apr 2008 16:00:50 -0000	1.48
+++ .cvsignore	18 Apr 2008 08:43:42 -0000	1.49
@@ -2,4 +2,4 @@
 *.tar.bz2
 pam-redhat-0.99.9-1.tar.bz2
 db-4.6.21.tar.gz
-Linux-PAM-1.0.0.tar.bz2
+Linux-PAM-1.0.1.tar.bz2


Index: pam.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam/devel/pam.spec,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -r1.176 -r1.177
--- pam.spec	7 Apr 2008 09:45:21 -0000	1.176
+++ pam.spec	18 Apr 2008 08:43:42 -0000	1.177
@@ -4,8 +4,8 @@
 
 Summary: A security tool which provides authentication for applications
 Name: pam
-Version: 1.0.0
-Release: 2%{?dist}
+Version: 1.0.1
+Release: 1%{?dist}
 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
 # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
 # pam_rhosts_auth module is BSD with advertising
@@ -25,7 +25,7 @@
 Patch1:  pam-0.99.7.0-redhat-modules.patch
 Patch2:  db-4.6.18-glibc.patch
 Patch4:  pam-0.99.8.1-dbpam.patch
-Patch10: pam-1.0.0-set-item.patch
+Patch10: pam-1.0.0-sepermit-screensaver.patch
 Patch21: pam-0.99.10.0-unix-audit-failed.patch
 Patch31: pam-0.99.3.0-cracklib-try-first-pass.patch
 Patch32: pam-0.99.3.0-tally-fail-close.patch
@@ -101,7 +101,7 @@
 %patch2 -p1 -b .db4-glibc
 popd
 %patch4 -p1 -b .dbpam
-%patch10 -p0 -b .setitem
+%patch10 -p1 -b .screensaver
 %patch21 -p1 -b .audit-failed
 %patch31 -p1 -b .try-first-pass
 %patch32 -p1 -b .fail-close
@@ -374,6 +374,10 @@
 %doc doc/adg/*.txt doc/adg/html
 
 %changelog
+* Fri Apr 18 2008 Tomas Mraz <tmraz at redhat.com> 1.0.1-1
+- upgrade to new upstream release (one bugfix only)
+- fix pam_sepermit use in screensavers
+
 * Mon Apr  7 2008 Tomas Mraz <tmraz at redhat.com> 1.0.0-2
 - fix regression in pam_set_item
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pam/devel/sources,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- sources	4 Apr 2008 16:00:50 -0000	1.50
+++ sources	18 Apr 2008 08:43:42 -0000	1.51
@@ -1,3 +1,3 @@
 26152d9c691715756b514dbf9cab9cd8  pam-redhat-0.99.9-1.tar.bz2
 718082e7e35fc48478a2334b0bc4cd11  db-4.6.21.tar.gz
-0f5d63c81cad2f420083a7994fcaa3b3  Linux-PAM-1.0.0.tar.bz2
+1c75f81bd44c5da93014992820917847  Linux-PAM-1.0.1.tar.bz2


--- pam-1.0.0-set-item.patch DELETED ---




More information about the fedora-extras-commits mailing list