Skip to contentSkip to conversation

package/libxmlrpc: bump version to 1.51.07

PATCH Applied Peter Seiderer 3 participants 7 messages Jun 14, 2021 – Aug 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/libxmlrpc: bump version to 1.51.07

Changelog ([1]):

- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change_super_stable.html

---
 package/libxmlrpc/libxmlrpc.hash | 2 +-
 package/libxmlrpc/libxmlrpc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libxmlrpc/libxmlrpc.hash +1 -1
index 13e3b0b534..7034773204 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0  xmlrpc-c-1.51.06.tgz
+sha256  84d20ae33f927582f821d61c0b9194aefbf1d7924590a13fa9da5ae1698aded9  xmlrpc-c-1.51.07.tgz
 sha256  db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6  doc/COPYING
package/libxmlrpc/libxmlrpc.mk +1 -1
index c74d8a854c..0871b6e710 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBXMLRPC_VERSION = 1.51.06
+LIBXMLRPC_VERSION = 1.51.07
 LIBXMLRPC_SOURCE = xmlrpc-c-$(LIBXMLRPC_VERSION).tgz
 LIBXMLRPC_SITE = http://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$(LIBXMLRPC_VERSION)
 LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c)
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/4 package/libxmlrpc: bump version to 1.51.07

CC Alvaro G. M <[email protected]>

Regards,
Peter

Note:

Original sent with

	git send-email --suppress-cc=self --to buildroot at buildroot.org --cc "Alvaro G. M <[email protected]>" v1-0001-package-libxmlrpc-bump-version-to-1.51.07.patch

But the CC entry for Alvaro did not make it through the mailing list despite the send log:

OK. Log says:
Server: mail.gmx.net
MAIL FROM:<[email protected]>
RCPT TO:<[email protected]>
RCPT TO:<[email protected]>
From: Peter Seiderer <[email protected]>
To: buildroot at buildroot.org
Cc: "Alvaro G . M" <[email protected]>
Subject: [PATCH v1 1/4] package/libxmlrpc: bump version to 1.51.07
Date: Mon, 14 Jun 2021 22:47:46 +0200
Message-Id: <[email protected]>
X-Mailer: git-send-email 2.31.1
MIME-Version: 1.0
Content-Transfer-Encoding: base64

Same happened yesterday with the 'package/mesa3d: add config option for DRI3 support' patch series missing the last CC to Erico Nunes...

Quoted 35 lines · Peter Seiderer

Changelog ([1]):

- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change_super_stable.html

---
 package/libxmlrpc/libxmlrpc.hash | 2 +-
 package/libxmlrpc/libxmlrpc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libxmlrpc/libxmlrpc.hash +1 -1
index 13e3b0b534..7034773204 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0  xmlrpc-c-1.51.06.tgz
+sha256  84d20ae33f927582f821d61c0b9194aefbf1d7924590a13fa9da5ae1698aded9  xmlrpc-c-1.51.07.tgz
 sha256  db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6  doc/COPYING
package/libxmlrpc/libxmlrpc.mk +1 -1
index c74d8a854c..0871b6e710 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBXMLRPC_VERSION = 1.51.06
+LIBXMLRPC_VERSION = 1.51.07
 LIBXMLRPC_SOURCE = xmlrpc-c-$(LIBXMLRPC_VERSION).tgz
 LIBXMLRPC_SITE = http://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$(LIBXMLRPC_VERSION)
 LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c)
#2 lore raw

PATCH 2/4 package/libxmlrpc: bump version to 1.54.03 (code/stable@r3120)

In reply to Peter Seiderer

- change to SVN download (according to [1] only 1.51.x available via Sourceforge download)

- remove 0001-use-correct-curl-config.patch
(upstream applied)

Changelog ([2], [3]):

- Build: Use 'curl-config' found at configure time, not at make time.

- Build: fix bug: ignores LDFLAGS_FOR_BUILD, LDFLAGS_PERSONAL, and LDFLAGS_PTHREAD when building the build tool Gennmtab.

- Build: fix bug: won't compile with --enable-libxml2, introduced with

    Release 1.44 (December 2015).

- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/downloading.php
[2] http://xmlrpc-c.sourceforge.net/change.html
[3] http://xmlrpc-c.sourceforge.net/change_stable.html

---
 .../0001-use-correct-curl-config.patch        | 70 -------------------
 package/libxmlrpc/libxmlrpc.hash              |  2 +-
 package/libxmlrpc/libxmlrpc.mk                |  7 +-
 3 files changed, 5 insertions(+), 74 deletions(-)
 delete mode 100644 package/libxmlrpc/0001-use-correct-curl-config.patch
package/libxmlrpc/0001-use-correct-curl-config.patch deleted +0 -70
deleted file mode 100644
index f2f1c557ba..0000000000
@@ -1,70 +0,0 @@
-Use correct curl-config program
-
-Instead of calling directly curl-config in src/Makefile (which ends up
-calling the wrong curl-config: the one in the PATH instead of the one
-pointed at by the environment variables at configure time), let's
-define a CURL_CONFIG variable that contains the path to the proper
-curl-config program, and use it where appropriate.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
-
-Index: b/src/Makefile
-===================================================================
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -57,7 +57,7 @@
-   TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport
-   TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction
-   TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti
--  TRANSPORT_LIBDEP += $(shell curl-config --libs)
-+  TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs)
-   TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport
- endif
- ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
-Index: b/config.mk.in
-===================================================================
---- a/config.mk.in
-+++ b/config.mk.in
-@@ -32,6 +32,7 @@
- LSOCKET = @LSOCKET@
- WININET_LDADD = @WININET_LDADD@
- WININET_LIBDIR = @WININET_LIBDIR@
-+CURL_CONFIG = @CURL_CONFIG@
- CURL_LDADD = @CURL_LDADD@
- CURL_LIBDIR = @CURL_LIBDIR@
- LIBWWW_LDADD = @LIBWWW_LDADD@
-Index: b/configure.in
-===================================================================
---- a/configure.in
-+++ b/configure.in
-@@ -550,6 +550,8 @@
-     dnl So we don't do any check now.  If we find out there's a problem with
-     dnl older Curls, we will revisit that.
- 
-+    AC_SUBST(CURL_CONFIG)
-+
-     CURL_LDADD=$($CURL_CONFIG --libs)
-     AC_SUBST(CURL_LDADD)
- 
-Index: b/lib/curl_transport/Makefile
-===================================================================
---- a/lib/curl_transport/Makefile
-+++ b/lib/curl_transport/Makefile
-@@ -29,7 +29,7 @@
- 
- $(SRCDIR)/common.mk: srcdir blddir
- 
--CURL_VERSION := $(shell curl-config --vernum)
-+CURL_VERSION := $(shell $(CURL_CONFIG) --vernum)
- 
- # Some time at or before Curl 7.12, <curl/types.h> became an empty file
- # (no-op).  Some time after Curl 7.18, <curl/types.h> ceased to exist.
-@@ -43,7 +43,7 @@
-   CFLAGS_LOCAL += -DNEED_CURL_TYPES_H
- endif
- 
--CURL_INCLUDES := $(shell curl-config --cflags)
-+CURL_INCLUDES := $(shell $(CURL_CONFIG) --cflags)
- # We expect that curl-config --cflags just gives us -I options, because
- # we need just the -I options for 'make dep'.  Plus, it's scary to think
- # of what any other compiler flag would do to our compile.
package/libxmlrpc/libxmlrpc.hash +1 -1
index 7034773204..679098d8df 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  84d20ae33f927582f821d61c0b9194aefbf1d7924590a13fa9da5ae1698aded9  xmlrpc-c-1.51.07.tgz
+sha256  08af4372ef92cd33ddfe0d68a351f3c5c0702e39bcdaa3263f2c249d5c3eda96  libxmlrpc-r3120-br2.tar.gz
 sha256  db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6  doc/COPYING
package/libxmlrpc/libxmlrpc.mk +4 -3
index 0871b6e710..2853edc2ce 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-LIBXMLRPC_VERSION = 1.51.07
-LIBXMLRPC_SOURCE = xmlrpc-c-$(LIBXMLRPC_VERSION).tgz
-LIBXMLRPC_SITE = http://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$(LIBXMLRPC_VERSION)
+# 1.54.03 (code/stable at r3130)
+LIBXMLRPC_VERSION = r3120
+LIBXMLRPC_SITE = https://svn.code.sf.net/p/xmlrpc-c/code/stable
+LIBXMLRPC_SITE_METHOD = svn
 LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c)
 LIBXMLRPC_LICENSE_FILES = doc/COPYING
 LIBXMLRPC_INSTALL_STAGING = YES
Signature · 1 line
2.31.1
#3 lore raw

PATCH 3/4 package/libxmlrpc: bump version to 1.58.02 (code/advanced@r3119)

In reply to Peter Seiderer

Changelog ([1], [2]):

- Build: fix bug: won't compile with --enable-libxml2, introduced with

    Release 1.44 (December 2015).

- Build: update config.guess and config.sub so Configure can recognize newer environments.

- Build: Fix link failure in several tools because they fail to link the Curl library. Don't know how long this was broken.

- Build: Eliminate compiler warnings with GCC 6.3

- Code cleanups - trailing white space, compile warnings

- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change.html
[2] http://xmlrpc-c.sourceforge.net/change_advanced.html

---
 package/libxmlrpc/libxmlrpc.hash | 2 +-
 package/libxmlrpc/libxmlrpc.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/libxmlrpc/libxmlrpc.hash +1 -1
index 679098d8df..5d42dc0558 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  08af4372ef92cd33ddfe0d68a351f3c5c0702e39bcdaa3263f2c249d5c3eda96  libxmlrpc-r3120-br2.tar.gz
+sha256  626e36295f43b320082bc7bdd961b46f39fbe2719535b5a417975a8e50c8f7f3  libxmlrpc-r3119-br2.tar.gz
 sha256  db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6  doc/COPYING
package/libxmlrpc/libxmlrpc.mk +3 -3
index 2853edc2ce..833dca5065 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-# 1.54.03 (code/stable at r3130)
-LIBXMLRPC_VERSION = r3120
-LIBXMLRPC_SITE = https://svn.code.sf.net/p/xmlrpc-c/code/stable
+# 1.58.02 (code/advanced at r3119)
+LIBXMLRPC_VERSION = r3119
+LIBXMLRPC_SITE = https://svn.code.sf.net/p/xmlrpc-c/code/advanced
 LIBXMLRPC_SITE_METHOD = svn
 LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c)
 LIBXMLRPC_LICENSE_FILES = doc/COPYING
Signature · 1 line
2.31.1
#4 lore raw

PATCH 4/4 package/libxmlrpc: add option for tools xmlrpc

In reply to Peter Seiderer
---
 package/libxmlrpc/Config.in    |  9 +++++++++
 package/libxmlrpc/libxmlrpc.mk | 12 ++++++++++++
 2 files changed, 21 insertions(+)
package/libxmlrpc/Config.in +9 -0
index d24a79163d..c07dad2fb4 100644
@@ -10,5 +10,14 @@ config BR2_PACKAGE_LIBXMLRPC
 
 	  http://xmlrpc-c.sourceforge.net/
 
+if BR2_PACKAGE_LIBXMLRPC
+
+config BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC
+	bool "tools-xmlrpc"
+	help
+	  Command line tool xmlrpc.
+
+endif # BR2_PACKAGE_LIBXMLRPC
+
 comment "libxmlrpc needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libxmlrpc/libxmlrpc.mk +12 -0
index 833dca5065..c1b0eae8ee 100644
@@ -53,4 +53,16 @@ LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
 LIBXMLRPC_INSTALL_TARGET_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
 	DESTDIR=$(TARGET_DIR) install
 
+ifeq ($(BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC),y)
+define LIBXMLRPC_TOOLS_XMLRPC_BUILD_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) $(LIBXMLRPC_MAKE_OPTS) -C $(@D)/tools/xmlrpc
+endef
+LIBXMLRPC_POST_BUILD_HOOKS += LIBXMLRPC_TOOLS_XMLRPC_BUILD_CMDS
+define LIBXMLRPC_TOOLS_XMLRPC_INSTALL_TARGET_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) $(LIBXMLRPC_MAKE_OPTS) -C $(@D)/tools/xmlrpc \
+		DESTDIR=$(TARGET_DIR) install
+endef
+LIBXMLRPC_POST_INSTALL_TARGET_HOOKS += LIBXMLRPC_TOOLS_XMLRPC_INSTALL_TARGET_CMDS
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.31.1
#5 lore raw
In reply to Peter Seiderer
Quoted 5 lines · On Mon, 14 Jun 2021 22:47:46 +0200 Peter Seiderer <[email protected]> wrote:

Changelog ([1]):

- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

Quoted 7 lines

[1] http://xmlrpc-c.sourceforge.net/change_super_stable.html

---
 package/libxmlrpc/libxmlrpc.hash | 2 +-
 package/libxmlrpc/libxmlrpc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

I have applied the entire series, thanks. I must say the release model of xmlrpc is extremely strange, with those ultra stable, stable and advanced branches, the lack of tarballs, of tags, etc.

Obviously https://release-monitoring.org/project/9024/ cannot keep track of that...

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#6 lore raw
In reply to Peter Seiderer
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

Changelog ([1]):
- Abyss: fix bug: wild memory reference when server times out waiting for request header. Introduced with Release 1.44 (December 2015).

[1] http://xmlrpc-c.sourceforge.net/change_super_stable.html

Committed to 2021.02.x and 2021.05.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot