[xmlrpc-c/f16] updated to 1.27.7

ensc ensc at fedoraproject.org
Wed Jan 4 12:41:54 UTC 2012


commit c70bcc1acbdafd9b73d37c5a1802738b4eb0faf5
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Wed Jan 4 13:39:57 2012 +0100

    updated to 1.27.7
    
    backported fix for "doesn't accept 'b/f' to mean boolean false"

 .gitignore                   |   10 +---------
 lastver                      |    2 +-
 sources                      |    2 +-
 xmlrpc-boolean-meaning.patch |   21 +++++++++++++++++++++
 xmlrpc-c.spec                |   13 +++++++++++--
 5 files changed, 35 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b3cba2a..f906829 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1 @@
-/xmlrpc-c-1.24.4.tar.xz
-/xmlrpc-c-1.25.0.tar.xz
-/xmlrpc-c-1.25.1.tar.xz
-/xmlrpc-c-1.26.0.tar.xz
-/xmlrpc-c-1.26.3.tar.xz
-/xmlrpc-c-1.27.0.tar.xz
-/xmlrpc-c-1.27.3.tar.xz
-/xmlrpc-c-1.27.4.tar.xz
-/xmlrpc-c-1.27.5.tar.xz
+/xmlrpc-c-1.27.7.tar.xz
diff --git a/lastver b/lastver
index 10a3282..f9bef4a 100644
--- a/lastver
+++ b/lastver
@@ -1 +1 @@
-2182
+2233
diff --git a/sources b/sources
index 3f8f8cb..a5209ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0c22580e707bd91be2478e93ea8bce72  xmlrpc-c-1.27.5.tar.xz
+2805f07ba44ceb0d66eacd948884d2f4  xmlrpc-c-1.27.7.tar.xz
diff --git a/xmlrpc-boolean-meaning.patch b/xmlrpc-boolean-meaning.patch
new file mode 100644
index 0000000..abb581b
--- /dev/null
+++ b/xmlrpc-boolean-meaning.patch
@@ -0,0 +1,21 @@
+commit 2764e9684ec9284cf86ad602505cb03ea77a2ad2
+Author: giraffedata <giraffedata at adbb7d4b-a73a-0410-a071-c5f57c452bd4>
+Date:   Sat Dec 10 21:13:10 2011 +0000
+
+    Fix bug: doesn't accept 'b/f' to mean boolean false
+    
+    git-svn-id: https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk@2224 adbb7d4b-a73a-0410-a071-c5f57c452bd4
+
+diff --git a/tools/xmlrpc/xmlrpc.c b/tools/xmlrpc/xmlrpc.c
+index 06da3e5..3f24431 100644
+--- a/tools/xmlrpc/xmlrpc.c
++++ b/tools/xmlrpc/xmlrpc.c
+@@ -352,7 +352,7 @@ buildBool(xmlrpc_env *    const envP,
+ 
+     if (streq(valueString, "t") || streq(valueString, "true"))
+         *paramPP = xmlrpc_bool_new(envP, true);
+-    else if (streq(valueString, "f") == 0 || streq(valueString, "false"))
++    else if (streq(valueString, "f") || streq(valueString, "false"))
+         *paramPP = xmlrpc_bool_new(envP, false);
+     else
+         setError(envP, "Boolean argument has unrecognized value '%s'.  "
diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec
index 4d8c923..1435cd3 100644
--- a/xmlrpc-c.spec
+++ b/xmlrpc-c.spec
@@ -5,8 +5,8 @@
 
 Summary:	A lightweight RPC library based on XML and HTTP
 Name:		xmlrpc-c
-Version:	1.27.5
-Release:	%release_func 1601.svn%svnrev
+Version:	1.27.7
+Release:	%release_func 1600.svn%svnrev
 # See COPYING for details.
 # The Python 1.5.2 license used by a few files is just BSD.
 License:	BSD and MIT
@@ -21,6 +21,8 @@ URL:		http://xmlrpc-c.sourceforge.net/
 Source100:	dfs.cc
 Source101:	dso-fixup
 
+Patch0:		xmlrpc-boolean-meaning.patch
+
 Patch100:	xmlrpc-c-cmake.patch
 Patch102:	xmlrpc-c-printf-size_t.patch
 Patch105:	xmlrpc-c-longlong.patch
@@ -113,6 +115,9 @@ This package contains some handy XML-RPC demo applications.
 
 %prep
 %setup -q
+
+%patch0 -p1
+
 %patch100 -p1
 %patch102 -p1
 %patch105 -p1
@@ -239,6 +244,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jan  4 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1.27.7-1600.svn2185
+- updated to 1.27.7; only build fixes not affecting us
+- backported fix for "doesn't accept 'b/f' to mean boolean false"
+
 * Mon Oct  3 2011 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1.27.5-1601.svn2185
 - fixed error handling when transfering too large files (#741980)
 


More information about the scm-commits mailing list