rpms/ipa/F-10 freeipa-delegation.patch,NONE,1.1 ipa.spec,1.18,1.19

Simo Sorce simo at fedoraproject.org
Mon Dec 15 18:41:27 UTC 2008


Author: simo

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

Modified Files:
	ipa.spec 
Added Files:
	freeipa-delegation.patch 
Log Message:
* Mon Dec 15 2008 Simo Sorce <ssorce at redhat.com> - 1.2.1-1
- Fix breakage caused by python-kerberos update to 1.1


freeipa-delegation.patch:

--- NEW FILE freeipa-delegation.patch ---
diff -uPr freeipa-1.2.1/ipa-python/krbtransport.py freeipa-1.2.1-gssflags/ipa-python/krbtransport.py
--- freeipa-1.2.1/ipa-python/krbtransport.py	2008-12-03 12:02:31.000000000 -0500
+++ freeipa-1.2.1-gssflags/ipa-python/krbtransport.py	2008-12-15 12:40:23.000000000 -0500
@@ -34,7 +34,10 @@
         service = "HTTP@" + hostinfo[0]
 
         try:
-            rc, vc = kerberos.authGSSClientInit(service);
+            rc, vc = kerberos.authGSSClientInit(service,
+                                                kerberos.GSS_C_DELEG_FLAG |
+                                                kerberos.GSS_C_MUTUAL_FLAG |
+                                                kerberos.GSS_C_SEQUENCE_FLAG)
         except kerberos.GSSError, e:
             raise kerberos.GSSError(e)
 


Index: ipa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ipa/F-10/ipa.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ipa.spec	5 Dec 2008 20:42:42 -0000	1.18
+++ ipa.spec	15 Dec 2008 18:40:57 -0000	1.19
@@ -6,7 +6,7 @@
 
 Name:           ipa
 Version:        1.2.1
-Release:        0%{?dist}
+Release:        1%{?dist}
 Summary:        The Identity, Policy and Audit system
 
 Group:          System Environment/Base
@@ -35,6 +35,8 @@
 BuildRequires:  policycoreutils >= %{POLICYCOREUTILSVER}
 BuildRequires:  TurboGears
 
+Patch0: freeipa-delegation.patch
+
 %description
 IPA is an integrated solution to provide centrally managed Identity (machine,
 user, virtual machines, groups, authentication credentials), Policy
@@ -148,7 +150,10 @@
 %package python
 Summary: Python libraries used by IPA
 Group: System Environment/Libraries
-Requires: python-kerberos
+%{?fc8:Requires: python-kerberos >= 1.0}
+%if 0%{?fedora} >= 9
+Requires: python-kerberos >= 1.1-3
+%endif
 Requires: authconfig
 Requires: gnupg
 
@@ -190,6 +195,8 @@
 %prep
 %setup -n freeipa-%{version} -q
 
+%patch0 -p1 -b .delegation
+
 %build
 export CFLAGS="$CFLAGS %{optflags}"
 export CPPFLAGS="$CPPFLAGS %{optflags}"
@@ -462,6 +469,9 @@
 %{_sbindir}/ipa-modradiusprofile
 
 %changelog
+* Mon Dec 15 2008 Simo Sorce <ssorce at redhat.com> - 1.2.1-1
+- Fix breakage caused by python-kerberos update to 1.1
+
 * Fri Dec 5 2008 Simo Sorce <ssorce at redhat.com> - 1.2.1-0
 - New upstream release 1.2.1
 




More information about the fedora-extras-commits mailing list