rpms/pam_yubico/F-10 64bit_pam.patch, NONE, 1.1 pam_yubico.spec, 1.1, 1.2

Mike McGrath mmcgrath at fedoraproject.org
Fri May 8 18:56:13 UTC 2009


Author: mmcgrath

Update of /cvs/pkgs/rpms/pam_yubico/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12782/F-10

Modified Files:
	pam_yubico.spec 
Added Files:
	64bit_pam.patch 
Log Message:
fix for 64 bit hosts

64bit_pam.patch:

--- NEW FILE 64bit_pam.patch ---
--- ../pam_yubico-2.1/pam_yubico.c      2009-03-30 01:11:11.000000000 -0700
+++ ./pam_yubico.c      2009-04-30 18:31:42.765076166 -0700
@@ -577,7 +577,7 @@
 pam_sm_setcred (pam_handle_t * pamh, int flags, int argc, const char **argv)
 {
   int retval;
-  int auth_retval;
+  uintptr_t auth_retval;

   D (("called."));



Index: pam_yubico.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_yubico/F-10/pam_yubico.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- pam_yubico.spec	1 May 2009 22:29:31 -0000	1.1
+++ pam_yubico.spec	8 May 2009 18:55:43 -0000	1.2
@@ -1,12 +1,13 @@
 Name:           pam_yubico
 Version:        2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Pluggable Authentication Module for yubikeys
 
 Group:          System Environment/Base
 License:        BSD
 URL:            http://yubico-pam.googlecode.com/
 Source0:        http://yubico-pam.googlecode.com/files/pam_yubico-2.1.tar.gz
+Patch0:         64bit_pam.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ykclient-devel pam-devel
@@ -18,6 +19,7 @@ Linux-PAM and yubikeys. This module supp
 
 %prep
 %setup -q
+%patch0 -p0
 
 
 %build
@@ -42,5 +44,8 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri May  8 2009 Mike McGrath <mmcgrath at redhat.com> - 2.1-2
+- Added patch to prevent segfaults in x86_64
+
 * Wed Apr 29 2009 Dennis Gilmore <dennis at ausil.us> - 2.1-1
 - initial packaging




More information about the fedora-extras-commits mailing list