summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-05-30 23:55:33 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-05-30 23:55:33 +0000
commit68ddee3f27811932c4e330d91430b9c93fbfaba7 (patch)
treeed3c8b3697695eb8d5dc40b277f5cd4e284c1b2a /dev-libs/xmlrpc-c
parenthandle 7-zip archives via `file` so that things like sd7 files work magically (diff)
downloadhistorical-68ddee3f27811932c4e330d91430b9c93fbfaba7.tar.gz
historical-68ddee3f27811932c4e330d91430b9c93fbfaba7.tar.bz2
historical-68ddee3f27811932c4e330d91430b9c93fbfaba7.zip
Version bump. Taking over as maintainer.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog11
-rw-r--r--dev-libs/xmlrpc-c/Manifest9
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-abyss-header-fixup.patch18
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-curl-easy-setopt.patch14
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-gcc43-test-fix.patch30
-rw-r--r--dev-libs/xmlrpc-c/metadata.xml4
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild76
7 files changed, 157 insertions, 5 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index f0c9ad8fa052..6d413fb3520d 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.48 2008/05/27 19:21:43 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.49 2008/05/30 23:55:33 loki_val Exp $
+
+*xmlrpc-c-1.06.27 (30 May 2008)
+
+ 30 May 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/xmlrpc-c-1.06.27-abyss-header-fixup.patch,
+ +files/xmlrpc-c-1.06.27-curl-easy-setopt.patch,
+ +files/xmlrpc-c-1.06.27-gcc43-test-fix.patch, metadata.xml,
+ +xmlrpc-c-1.06.27.ebuild:
+ Version bump. Taking over as maintainer.
27 May 2008; Markus Rothe <corsair@gentoo.org> xmlrpc-c-1.06.09-r2.ebuild:
Stable on ppc64
diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest
index 8abec8d8842c..df311c346750 100644
--- a/dev-libs/xmlrpc-c/Manifest
+++ b/dev-libs/xmlrpc-c/Manifest
@@ -5,12 +5,17 @@ AUX xmlrpc-c-1.06.03-mustbuildclient.patch 5124 RMD160 c668c5fb37711344dac9e1680
AUX xmlrpc-c-1.06.09+curl-7.18.patch 718 RMD160 957cd5715c4f1f763a40885d5113fb4ddce0ad48 SHA1 51c675ce5bf4449c89d7b16df702cfd84dc20377 SHA256 edba0e7d478e18bf7d8c68ea8a259d66ff8c75124dc81e485ab2790a5e58a5de
AUX xmlrpc-c-1.06.09-asneeded.patch 2218 RMD160 82e644faf71229ecb77f558fd48d73e327ce16ec SHA1 17d9f11f7dfdd03f74f9c9a8016c9da8526309f5 SHA256 456ef854ee642a228f139171ba8d4a06bc2a9467f614628564ca2130d84f679a
AUX xmlrpc-c-1.06.09-strsol.patch 602 RMD160 b18f2ceb63c44cccdbcc2f38cefd7d5f2769f917 SHA1 64ad16c0a4908a1cda54209c2667f2e6a7f1d719 SHA256 e77fb9ac9aa2d4e10b80386618e044ccce514fd63afd8f938da12b086ca36b0b
+AUX xmlrpc-c-1.06.27-abyss-header-fixup.patch 896 RMD160 a9e536a19d78dad7040f945ffce7520b338fa9f9 SHA1 a23fef2d86a7dd21215414ca669e213c4adeb7e2 SHA256 0bfb14b42800043b210652d86f48901db4a1706caee7b45f63bd8ba95b1048bc
+AUX xmlrpc-c-1.06.27-curl-easy-setopt.patch 800 RMD160 477121a69fbd1e4f923ec6e38cb86411d27e104b SHA1 17b92331be7d01854dcdb43b25fb0ce7733c4b7c SHA256 988cb420a9bac9bb62038158174c0d1b75ab4249526b71c202b7b55cee468961
+AUX xmlrpc-c-1.06.27-gcc43-test-fix.patch 1045 RMD160 e86d11e2279fea066fd7709a681b32a3ec01bc50 SHA1 16e4bd8a33cb6ff0d94d65e2d540f1400b424e37 SHA256 ddf21cad0ae3a44ae3d626bf34672e65c7bb37c8b652d04c87565bdd05f753e5
AUX xmlrpc-c-gcc43.patch 3386 RMD160 7260a649337849caa2784f0ecdbe9a64e31215a7 SHA1 a90b4ba1ad7ba793dce640f62c15cdb46ee5d36f SHA256 d34c3c5e7b7fbcba19a1abdb1afafdeaebb32fff7300981027c6ed247eb80092
+DIST xmlrpc-1.06.27.tgz 699510 RMD160 65803ad240331182ecdddf442c0da80669ae3292 SHA1 7dc857eb411b2acf04a127ee5623e0961633bfac SHA256 04e81ec9f4b0e586be41ccffd402f42b6c268ec2fc7875d44fcbb4ba7a660378
DIST xmlrpc-c-1.06.03.tgz 679053 RMD160 e33916221bdb5c8f0b1ebd1099a08f6cc1ce12fa SHA1 06e0daaac84829b04ce6bd6f28dd23def259c3bf SHA256 f9bf17b1a7cdf7d1e20de855012e0f91aef3133316fab35aa27e719abf5383d1
DIST xmlrpc-c-1.06.09.tgz 680245 RMD160 0f8678f1f643ae6d78d445d96e7205e89b4d07c5 SHA1 9a6b902c61e9d8a76d66527562caa1d397c6addd SHA256 3dd759bb3fc2df519c51cfac605144f973e28603c1d9e028211212dc3dfd3f22
EBUILD xmlrpc-c-1.06.03.ebuild 1395 RMD160 de1bb097a98e9d3a12d02c31f81b13b064b19603 SHA1 54d12e92622e98345d87d794f3e151c8c436b049 SHA256 557bd11f965b4cda2416d4de18c50bbaae324205c3cf4ff5e01b4175fe981e28
EBUILD xmlrpc-c-1.06.09-r1.ebuild 1802 RMD160 cc163b6fd1dcad38a6bf0a4151a81188f3e7bee1 SHA1 edec872f64fb1ed5598f4df44c627d4e50616b84 SHA256 94cafee40b8c4ea68d602ab92e7805ffb7bc3f5c2b3a52bff6e92efac79d7c3e
EBUILD xmlrpc-c-1.06.09-r2.ebuild 1808 RMD160 bf432a1b3ad478a1bb7c4c3262504d0d3dda887b SHA1 309695bcd46349cb0ae04168433111528aab534a SHA256 e821c02069d67f7982197cba5983219b17df89ddc5643a685cb854b196f4d3fc
EBUILD xmlrpc-c-1.06.09.ebuild 1703 RMD160 d564301e1b7d3995f19710b5ebca7e9c5c6e14c8 SHA1 67f47be5a67dba243cd8dcaf8502f13ab1f1dcd5 SHA256 104d8cc253855ad3a065da7976420c2397cf28941a74ff01713a544204baf6f2
-MISC ChangeLog 7439 RMD160 ff7cc179770966a769246a9ee57659e2492e36e8 SHA1 1b90923adf838d0af16597f6458fcbacf433654c SHA256 e4a7293ffbf6c318df6d8838410256fbb4427d08f39a33963975e692937cf397
-MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
+EBUILD xmlrpc-c-1.06.27.ebuild 2145 RMD160 7bcf7c3ed46df72914d39204bcdb715f7e45db65 SHA1 c32c85f1544555fa6ad4fd1bf0f093355dabb4ba SHA256 4e369d585f16e157ee35180a544b8f388bb4d9825d6eafe316b18d6e3d908eb6
+MISC ChangeLog 7762 RMD160 bf58ed4491c271c442833a9cc13fba82f7c3d680 SHA1 34992bce840c51343198bce84a4aedefb3168bdf SHA256 ade1d333bc086cfaacbdc029cbe21feeb5677794fe137fd0592823929ada486d
+MISC metadata.xml 258 RMD160 e363fac4024fa1d6e8481465c06e42cbe2eb9e2a SHA1 26ea33fa143b55cfa84ee879aab41f1b5e337127 SHA256 960cfc8d2eda3540d50ea76f60889fb72e3dc8342ecd9dce2070517e4469f599
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-abyss-header-fixup.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-abyss-header-fixup.patch
new file mode 100644
index 000000000000..607b8bc7ebdb
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-abyss-header-fixup.patch
@@ -0,0 +1,18 @@
+--- xmlrpc-c-1.06.27.orig/GNUmakefile
++++ xmlrpc-c-1.06.27/GNUmakefile
+@@ -100,13 +100,13 @@
+ # Install old names of header files for backward compatibility
+ cd $(DESTDIR)$(HEADERINST_DIR); \
+ rm -f xmlrpc.h xmlrpc_client.h xmlrpc_server.h xmlrpc_cgi.h \
+- xmlrpc_server_abyss.h xmlrpc_server_w32httpsys.h \
++ xmlrpc_abyss.h xmlrpc_server_w32httpsys.h \
+ XmlRpcCpp.h; \
+ $(LN_S) xmlrpc-c/oldxmlrpc.h xmlrpc.h; \
+ $(LN_S) xmlrpc-c/client.h xmlrpc_client.h; \
+ $(LN_S) xmlrpc-c/server.h xmlrpc_server.h; \
+ $(LN_S) xmlrpc-c/server_cgi.h xmlrpc_cgi.h; \
+- $(LN_S) xmlrpc-c/server_abyss.h xmlrpc_server_abyss.h; \
++ $(LN_S) xmlrpc-c/server_abyss.h xmlrpc_abyss.h; \
+ $(LN_S) xmlrpc-c/server_w32httpsys.h xmlrpc_server_w32httpsys.h; \
+ $(LN_S) xmlrpc-c/oldcppwrapper.hpp XmlRpcCpp.h ;\
+ \ No newline at end of file
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-curl-easy-setopt.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-curl-easy-setopt.patch
new file mode 100644
index 000000000000..6ac078709807
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-curl-easy-setopt.patch
@@ -0,0 +1,14 @@
+Index: xmlrpc-c/lib/curl_transport/xmlrpc_curl_transport.c
+===================================================================
+--- xmlrpc-c.orig/lib/curl_transport/xmlrpc_curl_transport.c
++++ xmlrpc-c/lib/curl_transport/xmlrpc_curl_transport.c
+@@ -1214,7 +1214,7 @@ setupCurlSession(xmlrpc_env *
+ curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE,
+ curlSetupP->sslEngine);
+ if (curlSetupP->sslEngineDefault)
+- curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT);
++ curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT, 1);
+ if (curlSetupP->sslVersion != XMLRPC_SSLVERSION_DEFAULT)
+ curl_easy_setopt(curlSessionP, CURLOPT_SSLVERSION,
+ curlSetupP->sslVersion);
+
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-gcc43-test-fix.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-gcc43-test-fix.patch
new file mode 100644
index 000000000000..e74061170812
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.27-gcc43-test-fix.patch
@@ -0,0 +1,30 @@
+diff -NrU5 xmlrpc-c-1.06.27.orig/src/cpp/test/server_abyss.cpp xmlrpc-c-1.06.27/src/cpp/test/server_abyss.cpp
+--- xmlrpc-c-1.06.27.orig/src/cpp/test/server_abyss.cpp 2008-05-31 01:21:14.000000000 +0200
++++ xmlrpc-c-1.06.27/src/cpp/test/server_abyss.cpp 2008-05-31 01:21:43.000000000 +0200
+@@ -12,10 +12,11 @@
+ #include <iostream>
+ #include <vector>
+ #include <sstream>
+ #include <memory>
+ #include <time.h>
++#include <cstring>
+
+ #include "xmlrpc-c/girerr.hpp"
+ using girerr::error;
+ using girerr::throwf;
+ #include "xmlrpc-c/base.hpp"
+diff -NrU5 xmlrpc-c-1.06.27.orig/src/cpp/test/test.cpp xmlrpc-c-1.06.27/src/cpp/test/test.cpp
+--- xmlrpc-c-1.06.27.orig/src/cpp/test/test.cpp 2008-05-31 01:21:14.000000000 +0200
++++ xmlrpc-c-1.06.27/src/cpp/test/test.cpp 2008-05-31 01:21:20.000000000 +0200
+@@ -3,10 +3,11 @@
+ #include <iomanip>
+ #include <vector>
+ #include <sstream>
+ #include <memory>
+ #include <time.h>
++#include <cstring>
+
+ #include "xmlrpc-c/girerr.hpp"
+ using girerr::error;
+ #include "transport_config.h"
+ #include "xmlrpc-c/base.hpp"
diff --git a/dev-libs/xmlrpc-c/metadata.xml b/dev-libs/xmlrpc-c/metadata.xml
index fae7d74a9aee..762741c0ab18 100644
--- a/dev-libs/xmlrpc-c/metadata.xml
+++ b/dev-libs/xmlrpc-c/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
+ <email>loki_val@gentoo.org</email>
+ <name>Peter Alfredsen</name>
</maintainer>
</pkgmetadata>
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild
new file mode 100644
index 000000000000..cb426a5fd729
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.06.27.ebuild,v 1.1 2008/05/30 23:55:33 loki_val Exp $
+
+EAPI=1
+
+inherit eutils
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+SRC_URI="mirror://sourceforge/${PN}/${P/-c}.tgz"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="+curl threads"
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-libs/libxml2
+ curl? ( net-misc/curl )"
+
+pkg_setup() {
+ if ! use curl
+ then
+ ewarn "Curl support disabled: No client library will be be built"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-curl-easy-setopt.patch
+ epatch "${FILESDIR}"/${P}-abyss-header-fixup.patch
+
+ #CPP test suite doesn't pass, but if we were to get it to pass,
+ #this is needed to get it to build.
+ epatch "${FILESDIR}"/${P}-gcc43-test-fix.patch
+ epatch "${FILESDIR}"/${PN}-1.06.09-asneeded.patch
+ epatch "${FILESDIR}"/${PN}-1.05-pic.patch
+
+ # Respect the user's CFLAGS/CXXFLAGS.
+ sed -i -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" Makefile.common
+ sed -i -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" Makefile.common
+}
+
+src_compile() {
+ # Respect the user's LDFLAGS.
+ export LADD=${LDFLAGS}
+ econf --disable-wininet-client --enable-libxml2-backend --disable-libwww-client \
+ $(use_enable threads abyss-threads) \
+ $(use_enable curl curl-client) || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_test() {
+ unset LDFLAGS LADD
+ cd "${S}"/src/test/
+ einfo "Building general tests"
+ make || die "Make of general tests failed"
+ einfo "Running general tests"
+ ./test || die "General tests failed"
+
+ #C++ tests. They fail.
+ #cd "${S}"/src/cpp/test
+ #einfo "Building C++ tests"
+ #make || die "Make of C++ tests failed"
+ #einfo "Running C++ tests"
+ #./test || die "C++ tests failed"
+}
+
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "installation failed"
+
+ dodoc README doc/CREDITS doc/DEVELOPING doc/HISTORY doc/SECURITY doc/TESTING \
+ doc/TODO || die "installing docs failed"
+}