[globus-ftp-control/el5] Fix modification to wrong authinfo object
Mattias Ellert
ellert at fedoraproject.org
Wed Feb 27 15:12:22 UTC 2013
commit cf1502691ddc82bb1829b43944675f7285524914
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Wed Feb 27 16:11:58 2013 +0100
Fix modification to wrong authinfo object
globus-ftp-control-authinfo.patch | 12 ++++++++++++
globus-ftp-control.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/globus-ftp-control-authinfo.patch b/globus-ftp-control-authinfo.patch
new file mode 100644
index 0000000..a19e771
--- /dev/null
+++ b/globus-ftp-control-authinfo.patch
@@ -0,0 +1,12 @@
+diff -ur globus_ftp_control-4.5.orig/globus_ftp_control_client.c globus_ftp_control-4.5/globus_ftp_control_client.c
+--- globus_ftp_control-4.5.orig/globus_ftp_control_client.c 2013-01-24 06:12:07.000000000 +0100
++++ globus_ftp_control-4.5/globus_ftp_control_client.c 2013-02-27 15:59:45.327506369 +0100
+@@ -1629,7 +1629,7 @@
+ }
+
+ /* Do limited delegation */
+- auth_info->req_flags |=
++ tmp_auth_info.req_flags |=
+ GSS_C_GLOBUS_LIMITED_DELEG_PROXY_FLAG|GSS_C_DELEG_FLAG;
+
+ result = globus_ftp_control_authenticate_ex(
diff --git a/globus-ftp-control.spec b/globus-ftp-control.spec
index 394e317..9fcfca1 100644
--- a/globus-ftp-control.spec
+++ b/globus-ftp-control.spec
@@ -7,7 +7,7 @@
Name: globus-ftp-control
%global _name %(tr - _ <<< %{name})
Version: 4.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Globus Toolkit - GridFTP Control Library
Group: System Environment/Libraries
@@ -19,6 +19,7 @@ Source8: GLOBUS-GRIDFTP
# This is a workaround for the broken epstopdf script in RHEL5
# See: https://bugzilla.redhat.com/show_bug.cgi?id=450388
Source9: epstopdf-2.9.5gw
+Patch0: %{name}-authinfo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: globus-common%{?_isa} >= 14
@@ -109,6 +110,7 @@ GridFTP Control Library Documentation Files
%prep
%setup -q -n %{_name}-%{version}
+%patch0 -p1
%if "%{rhel}" == "5"
mkdir bin
@@ -201,6 +203,9 @@ rm -rf %{buildroot}
%dir %{_docdir}/%{name}-%{version}/html
%changelog
+* Wed Feb 27 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 4.5-2
+- Fix modification to wrong authinfo object
+
* Wed Feb 20 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 4.5-1
- Update to Globus Toolkit 5.2.4
More information about the scm-commits
mailing list