Commit Graph

20 Commits

Author SHA1 Message Date
Eneas U de Queiroz fb3d67801e xmlrpc-c: install dev files only with 1st variant
This adds a variant check to run InstallDev only when the first variant
is built.  Otherwise, a dependent package may install the default
version, even though the second variant ends up in the staging dir,
causing downstream packages to miss library dependencies, such as:

Package rtorrent-rpc is missing dependencies for the following libraries:
libxmlrpc_xmlparse.so.3
libxmlrpc_xmltok.so.3

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2024-02-07 13:55:27 -08:00
Yegor Yefremov aed7d9f63e libs/xmlrpc-c: fix pkg-config files
Add an upstream patch that uses conventional variables in
pkg-config files so they can be overridden at pkg-config time.

This patch was created using the following upstream revisions:

- https://sourceforge.net/p/xmlrpc-c/code/3203/
- https://sourceforge.net/p/xmlrpc-c/code/3205/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-01-06 13:49:22 -08:00
Yegor Yefremov 92042a0826 libs/xmlrpc-c: update to 1.59.02
Also remove the already upstreamed patch.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-01-06 13:49:22 -08:00
Yegor Yefremov 7726e081cd libs/xmlrpc-c: install pkgconf files
Copy *.pc files into the staging directory.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2023-12-28 13:39:32 -08:00
Yegor Yefremov 920feb7093 libs/xmlrpc-c: restore support for xmlrpc-c-libxml2 package
Remove xmlrpc-c Package definition and let both xmlrpc-c-internal
and xmlrpc-c-libxml2 provide xmlrpc-c.

Also add a patch removing the unnecessary linking.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2023-12-01 11:19:39 -08:00
Yegor Yefremov f0cf2e75c3 libs/xmlrpc-c: fix xmlrpc-c-abyss and xmlrpc-c-server-abyss packages
When building abyss feature, the following error occurs:

xmlrpc_server_abyss.c:783:13: warning: format not a string literal and
no format arguments [-Wformat-security]
783 | xmlrpc_faultf(envP, error);

Add a patch fixing the format parameter.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2023-12-01 11:19:39 -08:00
Yegor Yefremov cf1ecd3a39 libs/xmlrpc-c: update to 1.54.06
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2023-12-01 11:19:39 -08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev 246f332b9c xmlrpc-c: update to 1.51.07
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-28 17:14:18 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 20b77be7be
xmlrpc-c: fix config file prefix path
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-10 01:51:05 -08:00
Rosen Penev 487b369418
xmlrpc-c: update to 1.51.06
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-06 16:37:25 -07:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Rosen Penev 473356a562
xmlrpc-c: Update to 1.51.03
Small Makefile reorganization.

Switch BUILD_PARALLEL to 1. Seems to work now.

Added nanosleep patch that replaces usleep usage.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-23 14:17:29 -07:00
Rosen Penev 2ebbfc6ef1 xmlrpc-c: Update to 1.43.08
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-07 15:06:53 -07:00
Rosen Penev 5399ded599 xmlrpc-c: Fix TLS dependency
The configure script now looks for a TLS library. Remove the option.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-25 17:05:41 -07:00
Rosen Penev 51b672df37
xmlrpc-c: Update to 1.39.13
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-08 18:10:03 -07:00
Hannu Nyman 3cc4aeb545 xmlrpc-c: update to 1.39.12, download source as .tgz
* Update to version 1.39.12
* Download sources as a .tgz file

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-20 23:16:37 +03:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ted Hess 6a1aed4e38 xmlrpc-c: Import from oldpackages, add myself as pkg maintainer, update license info.
- remove (marked BROKEN) abyss and libxml2 variants.
- build internal expat variant only.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-09-29 12:22:38 -04:00