Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlrpc-c/
Date: Thu, 31 Mar 2022 08:00:00
Message-Id: 1648713586.604d33c273b64cac6649d5388d9766c7e4236693.pinkbyte@gentoo
1 commit: 604d33c273b64cac6649d5388d9766c7e4236693
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 07:59:46 2022 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 07:59:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604d33c2
7
8 dev-libs/xmlrpc-c: version bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>
12
13 dev-libs/xmlrpc-c/Manifest | 1 +
14 dev-libs/xmlrpc-c/xmlrpc-c-1.54.05.ebuild | 76 +++++++++++++++++++++++++++++++
15 2 files changed, 77 insertions(+)
16
17 diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest
18 index 689a05fcafb2..b94f7f33cb34 100644
19 --- a/dev-libs/xmlrpc-c/Manifest
20 +++ b/dev-libs/xmlrpc-c/Manifest
21 @@ -1 +1,2 @@
22 DIST xmlrpc-c-1.51.06.tgz 933161 BLAKE2B 8023444e14e7e41f5433cebeb0fcb7a7323dd734f658155e117d3547b4d61ef81c189395662bf68074dcf1ec5c47ee550cd18773ce8bf0bd53cb0a1764cce945 SHA512 2927fc8c01d42b6f838d8b0c839f09a7dd0d1ddc5a3d7b36c9d479f1c7bf7fdf14923f640883f98ba66067eda0f5379737bf3a5bc9d4b9abe1a7eff7d7def066
23 +DIST xmlrpc-c-1.54.05.tgz 933228 BLAKE2B 50d73fe22454f04ffebf11d4b88986eaac571d107abce4e04244ad0b74469fc5233178967e3dd832a8525514912e4f835fa1ce13c439caf918a2b2d0c05021a0 SHA512 81bf8f398e9cb73b421907d8e304b9a6dc8da931f573f7296457486ade432f4a00a94b6850391690f7b229928f785522e5852db8aca68cb462c71d139e4f27b1
24
25 diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05.ebuild
26 new file mode 100644
27 index 000000000000..05c4799f8bdf
28 --- /dev/null
29 +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.54.05.ebuild
30 @@ -0,0 +1,76 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit multilib-minimal
37 +
38 +# Upstream maintains 3 release channels: http://xmlrpc-c.sourceforge.net/release.html
39 +# 1. Only the "Super Stable" series is released as a tarball
40 +# 2. SVN tagging of releases seems spotty: http://svn.code.sf.net/p/xmlrpc-c/code/release_number/
41 +# Because of this, we are following the "Super Stable" release channel
42 +
43 +DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
44 +HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
45 +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0/4.54"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
50 +
51 +IUSE="abyss +cgi +curl +cxx +libxml2 threads test"
52 +
53 +RESTRICT="!test? ( test )"
54 +
55 +REQUIRED_USE="test? ( abyss curl cxx )"
56 +
57 +RDEPEND="
58 + sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
59 + sys-libs/readline:0=[${MULTILIB_USEDEP}]
60 + curl? ( net-misc/curl[${MULTILIB_USEDEP}] )
61 + libxml2? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
62 +"
63 +DEPEND="${RDEPEND}"
64 +
65 +pkg_setup() {
66 + use curl || ewarn "Curl support disabled: No client library will be built"
67 +}
68 +
69 +src_prepare() {
70 + sed -i \
71 + -e "/CFLAGS_COMMON/s|-g -O3$||" \
72 + -e "/CXXFLAGS_COMMON/s|-g$||" \
73 + common.mk || die
74 +
75 + default
76 +
77 + # Out-of-source install phase is broken
78 + multilib_copy_sources
79 +}
80 +
81 +multilib_src_configure() {
82 + ECONF_SOURCE=${S} \
83 + econf \
84 + --disable-libwww-client \
85 + --disable-wininet-client \
86 + --without-libwww-ssl \
87 + $(use_enable abyss abyss-server) \
88 + $(use_enable cgi cgi-server) \
89 + $(use_enable curl curl-client) \
90 + $(use_enable cxx cplusplus) \
91 + $(use_enable libxml2 libxml2-backend) \
92 + $(use_enable threads abyss-threads)
93 +}
94 +
95 +multilib_src_compile() {
96 + default_src_compile
97 + # Needed for tests, bug #836469
98 + cp "${BUILD_DIR}"/include/xmlrpc-c/config.h "${S}"/include/xmlrpc-c || die
99 + # Tools building is broken in this release
100 + #multilib_is_native_abi && use tools && emake -rC "${S}"/tools
101 +}
102 +
103 +#multilib_src_install_all() {
104 +# # Tools building is broken in this release
105 +# #use tools && emake DESTDIR="${D}" -rC "${S}"/tools install
106 +#}