Fix option issue on big endian architectures
This commit is contained in:
parent
24835a7a92
commit
f8d96bbf5d
42
wsmancli-2.2.4-big-endian.patch
Normal file
42
wsmancli-2.2.4-big-endian.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
diff -up wsmancli-2.2.4/src/wsman.c.orig wsmancli-2.2.4/src/wsman.c
|
||||||
|
--- wsmancli-2.2.4/src/wsman.c.orig 2011-02-22 14:55:27.434453808 +0100
|
||||||
|
+++ wsmancli-2.2.4/src/wsman.c 2011-02-22 14:56:56.969682549 +0100
|
||||||
|
@@ -57,7 +57,7 @@
|
||||||
|
extern char *getpass (const char *__prompt);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-static int server_port = 0;
|
||||||
|
+static long int server_port = 0;
|
||||||
|
static char *cainfo = NULL;
|
||||||
|
static char *cert = NULL;
|
||||||
|
static char *sslkey = NULL;
|
||||||
|
@@ -71,15 +71,15 @@ static char *authentication_method = NUL
|
||||||
|
static char noverify_peer = 0;
|
||||||
|
static char noverify_host = 0;
|
||||||
|
|
||||||
|
-static int transport_timeout = 0;
|
||||||
|
+static long int transport_timeout = 0;
|
||||||
|
static char *proxy = NULL;
|
||||||
|
static char *proxy_upwd = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
-static int debug_level = -1;
|
||||||
|
+static long int debug_level = -1;
|
||||||
|
static char *encoding = NULL;
|
||||||
|
static char *test_case = NULL;
|
||||||
|
-static int enum_max_elements = 0;
|
||||||
|
+static long int enum_max_elements = 0;
|
||||||
|
char enum_optimize = 0;
|
||||||
|
char enum_estimate = 0;
|
||||||
|
char dump_request = 0;
|
||||||
|
@@ -92,8 +92,8 @@ static char *enum_context = NULL;
|
||||||
|
static char *event_delivery_mode = NULL;
|
||||||
|
static char *event_delivery_sec_mode = NULL;
|
||||||
|
static char *event_delivery_uri = NULL;
|
||||||
|
-static int event_subscription_expire = 0;
|
||||||
|
-static int event_heartbeat = 0;
|
||||||
|
+static long int event_subscription_expire = 0;
|
||||||
|
+static long int event_heartbeat = 0;
|
||||||
|
static int event_sendbookmark =0;
|
||||||
|
static char *event_subscription_id = NULL;
|
||||||
|
static char *event_reference_properties = NULL;
|
@ -1,6 +1,6 @@
|
|||||||
Name: wsmancli
|
Name: wsmancli
|
||||||
Version: 2.2.4
|
Version: 2.2.4
|
||||||
Release: 2%{dist}
|
Release: 3%{dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: http://www.openwsman.org/
|
Url: http://www.openwsman.org/
|
||||||
Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||||
@ -12,6 +12,8 @@ Group: Applications/System
|
|||||||
BuildRequires: openwsman-devel >= 2.1.0 pkgconfig curl-devel
|
BuildRequires: openwsman-devel >= 2.1.0 pkgconfig curl-devel
|
||||||
Requires: openwsman curl
|
Requires: openwsman curl
|
||||||
Patch0: missing-pthread-symbols.patch
|
Patch0: missing-pthread-symbols.patch
|
||||||
|
# Patch1: reported to the upstream through mailing list, accepted
|
||||||
|
Patch1: wsmancli-2.2.4-big-endian.patch
|
||||||
Summary: WS-Management-Command line Interface
|
Summary: WS-Management-Command line Interface
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,6 +23,7 @@ systems using Web Services Management protocol.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1 -b .big-endian
|
||||||
cp -fp %SOURCE1 %SOURCE2 %SOURCE3 .;
|
cp -fp %SOURCE1 %SOURCE2 %SOURCE3 .;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -41,6 +44,9 @@ rm -rf %{buildroot}
|
|||||||
%doc COPYING README AUTHORS
|
%doc COPYING README AUTHORS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 22 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.4-3
|
||||||
|
- Fix option issue on big endian architectures
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-2
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user