rpms/uw-imap/devel imap-password.pam, NONE, 1.1 uw-imap.spec, 1.65, 1.66

Tomáš Mráz tmraz at fedoraproject.org
Wed Sep 16 19:20:22 UTC 2009


Author: tmraz

Update of /cvs/pkgs/rpms/uw-imap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25917

Modified Files:
	uw-imap.spec 
Added Files:
	imap-password.pam 
Log Message:
* Wed Sep 16 2009 Tomas Mraz <tmraz at redhat.com> - 2007e-10
- use password-auth common PAM configuration instead of system-auth
  where available



--- NEW FILE imap-password.pam ---
#%PAM-1.0
auth       required     pam_nologin.so
auth       include      password-auth
account    include      password-auth
session    include      password-auth


Index: uw-imap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/uw-imap/devel/uw-imap.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -p -r1.65 -r1.66
--- uw-imap.spec	31 Aug 2009 14:55:24 -0000	1.65
+++ uw-imap.spec	16 Sep 2009 19:20:22 -0000	1.66
@@ -12,7 +12,7 @@
 Summary: UW Server daemons for IMAP and POP network mail protocols
 Name:	 uw-imap 
 Version: 2007e
-Release: 9%{?dist}
+Release: 10%{?dist}
 
 # See LICENSE.txt, http://www.apache.org/licenses/LICENSE-2.0
 License: ASL 2.0 
@@ -40,6 +40,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version
 # imap -> uw-imap rename
 Obsoletes: imap < 1:%{version}
 
+# newest pam setup, using password-auth common PAM
+Source20: imap-password.pam
 # new pam setup, using new "include" feature
 Source21: imap.pam
 # legacy/old pam setup, using pam_stack.so
@@ -142,11 +144,15 @@ This package contains some utilities for
 %patch9 -p1 -b .shared
 %patch10 -p1 -b .authmd5
 
+%if 0%{?fedora} > 11 || 0%{?rhel} > 5
+install -p -m644 %{SOURCE20} imap.pam
+%else 
 %if 0%{?fedora} > 4 || 0%{?rhel} > 4
 install -p -m644 %{SOURCE21} imap.pam
 %else
 install -p -m644 %{SOURCE22} imap.pam
 %endif
+%endif
 
 
 %build
@@ -315,6 +321,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Sep 16 2009 Tomas Mraz <tmraz at redhat.com> - 2007e-10
+- use password-auth common PAM configuration instead of system-auth
+  where available
+
 * Mon Aug 31 2009 Rex Dieter <rdieter at fedoraproject.org> 
 - omit -devel, -static bits in EPEL builds (#518885)
 




More information about the fedora-extras-commits mailing list