[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/pam/devel Linux-PAM-0.80.tar.bz2.sign, NONE, 1.1 pam-0.80-selinux-nofail.patch, NONE, 1.1 .cvsignore, 1.29, 1.30 pam.spec, 1.79, 1.80 sources, 1.31, 1.32 Linux-PAM-0.79.tar.bz2.sign, 1.1, NONE pam-0.75-prompt.patch, 1.3, NONE pam-0.79-cleanup-redhat.patch, 1.5, NONE pam-0.79-cleanup.patch, 1.1, NONE pam-0.79-console-perms-d.patch, 1.1, NONE pam-0.79-limits-rtlimits.patch, 1.1, NONE pam-0.79-misc-flush-first.patch, 1.1, NONE pam-0.79-tally-null-data.patch, 1.1, NONE pam-0.79-unix-lsb.patch, 1.1, NONE pam-0.79-unix-nis.patch, 1.2, NONE pam-0.79-xauth-unsetenv.patch, 1.2, NONE



Author: tmraz

Update of /cvs/dist/rpms/pam/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv311

Modified Files:
	.cvsignore pam.spec sources 
Added Files:
	Linux-PAM-0.80.tar.bz2.sign pam-0.80-selinux-nofail.patch 
Removed Files:
	Linux-PAM-0.79.tar.bz2.sign pam-0.75-prompt.patch 
	pam-0.79-cleanup-redhat.patch pam-0.79-cleanup.patch 
	pam-0.79-console-perms-d.patch pam-0.79-limits-rtlimits.patch 
	pam-0.79-misc-flush-first.patch pam-0.79-tally-null-data.patch 
	pam-0.79-unix-lsb.patch pam-0.79-unix-nis.patch 
	pam-0.79-xauth-unsetenv.patch 
Log Message:
* Thu Jul 14 2005 Tomas Mraz <tmraz redhat com> 0.80-1
- upgrade to new upstream sources
- removed obsolete patches
- pam_selinux module shouldn't fail on broken configs unless
  policy is set to enforcing (Dan Walsh)



--- NEW FILE Linux-PAM-0.80.tar.bz2.sign ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info

iD8DBQBC1P/8yGugalF9Dw4RApPfAJ9PUSrA7kVe+hOxmPTeIjbP8WRdXACfSNET
MOkmxywzyXuGJHDrulniY1g=
=11en
-----END PGP SIGNATURE-----

pam-0.80-selinux-nofail.patch:
 pam_selinux.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

--- NEW FILE pam-0.80-selinux-nofail.patch ---
--- Linux-PAM-0.80/modules/pam_selinux/pam_selinux.c.nofail	2005-06-09 11:45:44.000000000 +0200
+++ Linux-PAM-0.80/modules/pam_selinux/pam_selinux.c	2005-07-14 15:47:35.000000000 +0200
@@ -438,13 +438,19 @@
       if (user_context == NULL) {
 	syslog (LOG_ERR, _("Unable to get valid context for %s"),
 		(const char *)username);
-	return PAM_AUTH_ERR;
+	if (security_getenforce() == 1)
+	  return PAM_AUTH_ERR;
+	else
+	  return PAM_SUCCESS;
       }
     } else {
 	syslog (LOG_ERR,
 		_("Unable to get valid context for %s, No valid tty"),
 		(const char *)username);
-	return PAM_AUTH_ERR;
+	if (security_getenforce() == 1)
+	  return PAM_AUTH_ERR;
+	else
+	  return PAM_SUCCESS;
     }
   }
   if (getexeccon(&prev_user_context)<0) {
@@ -481,8 +487,10 @@
   if (ret) {
     syslog(LOG_ERR, _("Error!  Unable to set %s executable context %s."),
            (const char *)username, user_context);
-    freecon(user_context);
-    return PAM_AUTH_ERR;
+    if (security_getenforce() == 1) {
+      freecon(user_context);
+      return PAM_AUTH_ERR;
+    }
   } else {
     if (debug)
       syslog(LOG_NOTICE, _("%s: set %s security context to %s"),MODULE,


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/.cvsignore,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- .cvsignore	31 Mar 2005 17:15:12 -0000	1.29
+++ .cvsignore	14 Jul 2005 14:21:56 -0000	1.30
@@ -1,4 +1,4 @@
 pwdb-0.62.tar.gz
 db-4.3.27.tar.gz
-pam-redhat-0.79-1.tar.bz2
-Linux-PAM-0.79.tar.bz2
+Linux-PAM-0.80.tar.bz2
+pam-redhat-0.80-1.tar.bz2


Index: pam.spec
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/pam.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- pam.spec	21 Jun 2005 15:03:23 -0000	1.79
+++ pam.spec	14 Jul 2005 14:21:56 -0000	1.80
@@ -11,8 +11,8 @@
 
 Summary: A security tool which provides authentication for applications.
 Name: pam
-Version: 0.79
-Release: 11
+Version: 0.80
+Release: 1
 License: GPL or BSD
 Group: System Environment/Base
 Source0: ftp.us.kernel.org:/pub/linux/libs/pam/pre/library/Linux-PAM-%{version}.tar.bz2
@@ -23,23 +23,13 @@
 Source5: other.pamd
 Source6: system-auth.pamd
 Source8: dlopen.sh
-Patch4: pam-0.75-prompt.patch
 Patch10: pam-0.77-lastlog-utmp.patch
 Patch21: pam-0.78-unix-hpux-aging.patch
 Patch28: pam-0.75-sgml2latex.patch
 Patch34: pam-0.77-dbpam.patch
-Patch60: pam-0.78-selinux.patch
 Patch61: pam-pwdbselinux.patch
 Patch65: pam-0.77-audit.patch
-Patch70: pam-0.79-tally-null-data.patch
-Patch71: pam-0.79-unix-nis.patch
-Patch72: pam-0.79-unix-lsb.patch
-Patch73: pam-0.79-misc-flush-first.patch
-Patch74: pam-0.79-cleanup.patch
-Patch75: pam-0.79-cleanup-redhat.patch
-Patch76: pam-0.79-xauth-unsetenv.patch
-Patch77: pam-0.79-console-perms-d.patch
-Patch78: pam-0.79-limits-rtlimits.patch
+Patch70: pam-0.80-selinux-nofail.patch
 
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: cracklib, cracklib-dicts >= 2.8, glib2, initscripts >= 3.94
@@ -85,27 +75,17 @@
 cp $RPM_SOURCE_DIR/other.pamd .
 cp $RPM_SOURCE_DIR/system-auth.pamd .
 
-%patch4  -p1 -b .prompt
 %patch10 -p1 -b .lastlog-utmp
 %patch21 -p1 -b .unix-hpux-aging
 %patch28 -p1 -b .doc
 %patch34 -p1 -b .dbpam
 %if %{WITH_SELINUX}
-%patch60 -p1 -b .selinux
 %patch61 -p1 -b .pwdbselinux 
 %endif
 %if %{WITH_AUDIT}
 %patch65 -p1 -b .audit
 %endif
-%patch70 -p1 -b .null-data
-%patch71 -p1 -b .nis
-%patch72 -p1 -b .lsb
-%patch73 -p1 -b .flush-first
-%patch74 -p1 -b .cleanup
-%patch75 -p1 -b .rhcleanup
-%patch76 -p1 -b .xauth-unset
-%patch77 -p1 -b .perms-d
-%patch78 -p1 -b .rtlimits
+%patch70 -p1 -b .nofail
 
 for readme in modules/pam_*/README ; do
 	cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
@@ -375,6 +355,12 @@
 %{_libdir}/libpam_misc.so
 
 %changelog
+* Thu Jul 14 2005 Tomas Mraz <tmraz redhat com> 0.80-1
+- upgrade to new upstream sources
+- removed obsolete patches
+- pam_selinux module shouldn't fail on broken configs unless
+  policy is set to enforcing (Dan Walsh)
+
 * Tue Jun 21 2005 Tomas Mraz <tmraz redhat com> 0.79-11
 - update pam audit patch
 - add support for new limits in kernel-2.6.12 (#157050)


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/sources,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- sources	31 Mar 2005 17:15:12 -0000	1.31
+++ sources	14 Jul 2005 14:21:56 -0000	1.32
@@ -1,4 +1,4 @@
 1a1fd0312040ef37aa741d09465774b4  pwdb-0.62.tar.gz
 fcc481d52c3b80e20a328f8c0cb042bd  db-4.3.27.tar.gz
-86fc6730f2288611286639a1e5f7a758  pam-redhat-0.79-1.tar.bz2
-0b89b73970c7d490ad9a13718b74d27b  Linux-PAM-0.79.tar.bz2
+ccff87fe639efdfc22b1ba4a0f08ec57  Linux-PAM-0.80.tar.bz2
+b37d2e60d22d4c780b1f130915c75b02  pam-redhat-0.80-1.tar.bz2


--- Linux-PAM-0.79.tar.bz2.sign DELETED ---


--- pam-0.75-prompt.patch DELETED ---


--- pam-0.79-cleanup-redhat.patch DELETED ---


--- pam-0.79-cleanup.patch DELETED ---


--- pam-0.79-console-perms-d.patch DELETED ---


--- pam-0.79-limits-rtlimits.patch DELETED ---


--- pam-0.79-misc-flush-first.patch DELETED ---


--- pam-0.79-tally-null-data.patch DELETED ---


--- pam-0.79-unix-lsb.patch DELETED ---


--- pam-0.79-unix-nis.patch DELETED ---


--- pam-0.79-xauth-unsetenv.patch DELETED ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]