rpms/proftpd/devel proftpd.pam,1.5,1.6 proftpd.spec,1.56,1.57

Paul Howarth pghmcfc at fedoraproject.org
Thu Sep 17 22:00:42 UTC 2009


Author: pghmcfc

Update of /cvs/pkgs/rpms/proftpd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4332

Modified Files:
	proftpd.pam proftpd.spec 
Log Message:
Restore backward SRPM compatibility broken by previous change


Index: proftpd.pam
===================================================================
RCS file: /cvs/pkgs/rpms/proftpd/devel/proftpd.pam,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- proftpd.pam	16 Sep 2009 18:06:35 -0000	1.5
+++ proftpd.pam	17 Sep 2009 22:00:41 -0000	1.6
@@ -1,7 +1,7 @@
 #%PAM-1.0
-session    optional     pam_keyinit.so    force revoke
-auth       required	pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
-auth       required	pam_shells.so
+session    optional     pam_keyinit.so force revoke
+auth       required     pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
+auth       required     pam_shells.so
 auth       include      password-auth
 account    include      password-auth
 session    required     pam_loginuid.so


Index: proftpd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/proftpd/devel/proftpd.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -p -r1.56 -r1.57
--- proftpd.spec	16 Sep 2009 18:06:35 -0000	1.56
+++ proftpd.spec	17 Sep 2009 22:00:41 -0000	1.57
@@ -7,7 +7,7 @@
 %endif
 
 #global prever rc3
-%global rpmrel 6
+%global rpmrel 7
 
 Summary:		Flexible, stable and highly-configurable FTP server
 Name:			proftpd
@@ -118,15 +118,20 @@ Module to add PostgreSQL support to the 
 %{__cp} -p %{SOURCE8} proftpd-quota.schema
 
 # PAM Configuration:
+# Default PAM configuration file uses password-auth common config;
+# revert to system-auth if password-auth is not available
+%{__cp} -p %{SOURCE6} .
+if [ ! -f /etc/pam.d/password-auth ]; then
+	%{__sed} -i -e s/password-auth/system-auth/ proftpd.pam
+fi
 # The "include" syntax used in our PAM configuration file was introduced in
 # PAM 0.78 and is therefore supported in FC-5 and EL-5 onwards; older
 # distributions such as EL-4 (PAM 0.77) need to fall back to using the
 # now-deprecated pam_stack module. Since the pam-devel package doesn't
-# include a pkgconfig file from whice we could check the version number, we
+# include a pkgconfig file from which we could check the version number, we
 # instead check for the absence of the file /etc/pam.d/config-util, which is
 # present in all PAM packages from 0.80 onwards and acts as a useful
 # indicator of the need to fall back to pam_stack.
-%{__cp} -p %{SOURCE6} .
 [ ! -f /etc/pam.d/config-util ] && %{__sed} -i -e \
 	's/include[[:space:]]*system-auth/required'\ \ \ \ \ 'pam_stack.so service=system-auth/' \
 	proftpd.pam
@@ -290,7 +295,10 @@ fi
 
 
 %changelog
-* Wed Sep 16 2009 Tomas Mraz <tmraz at redhat.com> - 1.3.2a-6
+* Thu Sep 17 2009 Paul Howarth <paul at city-fan.org> 1.3.2a-7
+- Restore backward SRPM compatibility broken by previous change
+
+* Wed Sep 16 2009 Tomas Mraz <tmraz at redhat.com> 1.3.2a-6
 - Use password-auth common PAM configuration instead of system-auth
 
 * Mon Sep  7 2009 Paul Howarth <paul at city-fan.org> 1.3.2a-5
@@ -299,7 +307,7 @@ fi
 * Wed Sep  2 2009 Paul Howarth <paul at city-fan.org> 1.3.2a-4
 - New DSO module: mod_exec (#520214)
 
-* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 1.3.2a-3.1
+* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> 1.3.2a-3.1
 - Rebuilt with new openssl
 
 * Wed Aug 19 2009 Paul Howarth <paul at city-fan.org> 1.3.2a-3
@@ -354,7 +362,7 @@ fi
   bundled one, and eliminate log messages like:
   kernel: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
 
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.2-3.1
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.3.2-3.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
 * Thu Apr  9 2009 Matthias Saou <http://freshrpms.net/> 1.3.2-2.1




More information about the scm-commits mailing list