diff options
author | 2009-01-26 01:32:19 +0100 | |
---|---|---|
committer | 2009-01-26 01:32:19 +0100 | |
commit | 4fdd86dec462bc5274a85f214999ff15da16bd33 (patch) | |
tree | 888e412dcb0a5dace3c987eefe47b6f59890e969 | |
parent | In tree (diff) | |
download | loki_val-4fdd86dec462bc5274a85f214999ff15da16bd33.tar.gz loki_val-4fdd86dec462bc5274a85f214999ff15da16bd33.tar.bz2 loki_val-4fdd86dec462bc5274a85f214999ff15da16bd33.zip |
New xmlrpc-c version with lots of local patches.
20 files changed, 2864 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog new file mode 100644 index 0000000..0ada8d7 --- /dev/null +++ b/dev-libs/xmlrpc-c/ChangeLog @@ -0,0 +1,365 @@ +# ChangeLog for dev-libs/xmlrpc-c +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.78 2009/01/03 17:52:01 loki_val Exp $ + + 03 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.16.06-r1.ebuild: + Bug 251415 not solved, reverting previous change. + + 03 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.16.06-r1.ebuild: + We need to "emake all" or we'll run into bug 251415. Per suggestion from + upstream. + +*xmlrpc-c-1.16.06-r1 (02 Jan 2009) + + 02 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/xmlrpc-c-1.16.06-parallel-make.patch, +xmlrpc-c-1.16.06-r1.ebuild: + Fix bug 251850, parallel make issue that would cause xmlrpc.h to not be + installed. Thanks to Diego for the report. + + 03 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.16.06.ebuild: + The --no-undefined patch had the fortunate effect of making parallel make + work, halving compilation time. + +*xmlrpc-c-1.16.06 (03 Dec 2008) + + 03 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> + -files/xmlrpc-c-1.16.04-abyss-disable.patch, + -files/xmlrpc-c-1.16.04-compile.patch, + -files/xmlrpc-c-1.16.04-cpplinking.patch, + -files/xmlrpc-c-1.16.04-linking-order.patch, + +files/xmlrpc-c-1.16.06-no-undefined.patch, -xmlrpc-c-1.16.04.ebuild, + +xmlrpc-c-1.16.06.ebuild: + Add new version. Upstream accepted our fixes from .04. New fixes included + fixing bug 246749. + +*xmlrpc-c-1.16.04 (29 Nov 2008) + + 29 Nov 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/xmlrpc-c-1.16.04-abyss-disable.patch, + +files/xmlrpc-c-1.16.04-compile.patch, + +files/xmlrpc-c-1.16.04-cpplinking.patch, + +files/xmlrpc-c-1.16.04-linking-order.patch, +xmlrpc-c-1.16.04.ebuild: + Bump, bug 246083. Also solves bug 235989 (!!). + +*xmlrpc-c-1.15.05 (24 Aug 2008) + + 24 Aug 2008; Peter Alfredsen <loki_val@gentoo.org> + -xmlrpc-c-1.06.09-r2.ebuild, -xmlrpc-c-1.15.02.ebuild, + -xmlrpc-c-1.15.03.ebuild, +xmlrpc-c-1.15.05.ebuild: + Bump to 1.15.05, remove old + + 09 Aug 2008; Santiago M. Mola <coldwind@gentoo.org> + xmlrpc-c-1.06.27.ebuild: + amd64 stable wrt bug #233123 + + 06 Aug 2008; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.14.07-r1.ebuild, xmlrpc-c-1.15.02.ebuild, + xmlrpc-c-1.15.03.ebuild: + Make >=xmlrpc-c-1.14.07 multilib-strict safe. For real this time. Bug + #233468, thanks to en.ABCD@gmail.com. Re-enable cxx useflag for + >=xmlrpc-c-1.15.02. Disable running unneeded autotools, bug #233436, + thanks to gentoobugsie@gmail.com. + + 02 Aug 2008; Markus Rothe <corsair@gentoo.org> xmlrpc-c-1.06.27.ebuild: + Stable on ppc64; bug #233123 + + 01 Aug 2008; nixnut <nixnut@gentoo.org> xmlrpc-c-1.06.27.ebuild: + Stable on ppc wrt bug 233123 + +*xmlrpc-c-1.14.07-r1 (31 Jul 2008) + + 31 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + -files/xmlrpc-c-1.14.07-multilib.patch, -xmlrpc-c-1.14.07.ebuild, + +xmlrpc-c-1.14.07-r1.ebuild: + Reverse the damage I've done, multilib patch installed into /usr/usr/lib64 + on amd64, see bug 233468. This is not strict-multilib, but we'll deal with + that later. + + 30 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/xmlrpc-c-1.14.07-multilib.patch, xmlrpc-c-1.14.07.ebuild: + Fixup for multilib, bug #233143. + + 28 Jul 2008; Raúl Porcel <armin76@gentoo.org> xmlrpc-c-1.06.27.ebuild: + alpha/ia64/x86 stable wrt #233123 + + 28 Jul 2008; Ferris McCormick <fmccor@gentoo.org> xmlrpc-c-1.06.27.ebuild: + Sparc stable, Bug #233123. + + 28 Jul 2008; Jeroen Roovers <jer@gentoo.org> xmlrpc-c-1.06.27.ebuild: + Stable for HPPA (bug #233123). + + 27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.14.07.ebuild: + Prepare for public consumption. + +*xmlrpc-c-1.15.03 (27 Jul 2008) + + 27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +xmlrpc-c-1.15.03.ebuild: + Bump + +*xmlrpc-c-1.15.02 (20 Jul 2008) + + 20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +xmlrpc-c-1.15.02.ebuild: + Bump + + 15 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/xmlrpc-c-1.14.07-abyss-disable.patch, xmlrpc-c-1.14.07.ebuild: + Really, *don't* build abyss. Bug 227187. + + 08 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + -xmlrpc-c-1.06.03.ebuild: + Remove old. + + 08 Jun 2008; Kenneth Prugh <ken69267@gentoo.org> + xmlrpc-c-1.06.09-r2.ebuild: + amd64 stable, bug #224275 + +*xmlrpc-c-1.14.07 (04 Jun 2008) + + 04 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +xmlrpc-c-1.14.07.ebuild: + Add 1.14.07 for testing. Resolves bug 203810. + + 04 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + -xmlrpc-c-1.06.09.ebuild, -xmlrpc-c-1.06.09-r1.ebuild: + Remove old. + + 02 Jun 2008; Raúl Porcel <armin76@gentoo.org> xmlrpc-c-1.06.09-r2.ebuild: + alpha/ia64/sparc stable wrt #224275 + + 01 Jun 2008; nixnut <nixnut@gentoo.org> xmlrpc-c-1.06.09-r2.ebuild: + Stable on ppc wrt bug 224275 + + 31 May 2008; Jeroen Roovers <jer@gentoo.org> xmlrpc-c-1.06.09-r2.ebuild: + Stable for HPPA (bug #224275). + + 31 May 2008; Christian Faulhammer <opfer@gentoo.org> + xmlrpc-c-1.06.09-r2.ebuild: + stable x86, bug 224275 + + 31 May 2008; Peter Alfredsen <loki_val@gentoo.org> + xmlrpc-c-1.06.09-r2.ebuild, xmlrpc-c-1.06.27.ebuild: + Committing build-time fix for bug 214137; SRCDIR was getting passed to the + ebuild + +*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 + + 28 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: + Remove Wulf C. Krueger (philantrop) from metadata.xml (as per #168573). + +*xmlrpc-c-1.06.09-r2 (22 Apr 2008) + + 22 Apr 2008; Doug Goldstein <cardoe@gentoo.org> + +xmlrpc-c-1.06.09-r2.ebuild: + rev bump to bump EAPI so everything builds properly with default USE flags + + 21 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/xmlrpc-c-1.06.09+curl-7.18.patch, xmlrpc-c-1.06.09-r1.ebuild: + Add patch to fix building with curl 7.18, thanks to Christophe Philemotte + in bug #216139. + + 02 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org> + files/xmlrpc-c-1.06.09-asneeded.patch, + +files/xmlrpc-c-1.06.09-strsol.patch, xmlrpc-c-1.06.09-r1.ebuild: + Added an updated linking patch as kindly provided by corsair on bug 209138. + xmlrpc-c now respects the user's LDFLAGS. Fixes bug 209693. + +*xmlrpc-c-1.06.09-r1 (22 Feb 2008) + + 22 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> + +xmlrpc-c-1.06.09-r1.ebuild: + Revision bump to ensure that -Wl,--as-needed get Flameeyes' fix. + + 21 Feb 2008; Raúl Porcel <armin76@gentoo.org> xmlrpc-c-1.06.09.ebuild: + alpha/ia64/sparc/x86 stable + + 11 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/xmlrpc-c-1.06.09-asneeded.patch, xmlrpc-c-1.06.09.ebuild: + Fix linking with --as-needed by properly link to libxml2 when using it. + Fixes cmake build with --as-needed. + + 06 Feb 2008; Markus Rothe <corsair@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Back to ~ppc64. It fails on another machine + + 05 Feb 2008; Markus Rothe <corsair@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Stable on ppc64 + + 03 Feb 2008; Wulf C. Krueger <philantrop@gentoo.org> + xmlrpc-c-1.06.09.ebuild: + Fixed overriding custom MAKEOPTS. Fixes bug 207924. Thanks, Jokey! + + 20 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> + +files/xmlrpc-c-gcc43.patch, xmlrpc-c-1.06.03.ebuild, + xmlrpc-c-1.06.09.ebuild: + Added a patch for gcc-4.3-compatibility as kindly provided by Devils-Hawk on + bug 206353. + + 14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org> + xmlrpc-c-1.06.09.ebuild: + ppc. stable + + 13 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> + xmlrpc-c-1.06.09.ebuild: + Made the build system respect the user's CFLAGS/CXXFLAGS. + + 10 Jan 2008; Guy Martin <gmsoft@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Added hppa to KEYWORDS. + + 13 Dec 2007; Wulf C. Krueger <philantrop@gentoo.org> + -files/xmlrpc-c-1.10.00-cmake.patch, + -files/xmlrpc-c-1.10.00-mutexcreate.patch, metadata.xml, + xmlrpc-c-1.06.09.ebuild, -xmlrpc-c-1.10.00.ebuild: + Removed broken version 1.10.00. Fixed several minor issues as per bug 194031. + + 11 Dec 2007; Benedikt Böhm <hollow@gentoo.org> metadata.xml: + update metadata + + 14 Oct 2007; Markus Rothe <corsair@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Added ~ppc64; bu #194031 + + 06 Oct 2007; Raúl Porcel <armin76@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Add ~ia64/~sparc wrt #194031 + + 02 Oct 2007; Jeroen Roovers <jer@gentoo.org> xmlrpc-c-1.06.09.ebuild: + Marked ~hppa (bug #194031). + + 01 Oct 2007; Roy Marples <uberlord@gentoo.org> xmlrpc-c-1.06.03.ebuild, + xmlrpc-c-1.06.09.ebuild: + Keyworded ~sparc-fbsd and ~x86-fbsd, #194031. + + 22 May 2007; Benedikt Böhm <hollow@gentoo.org> + -files/gentoo-0.9.9-r1.patch, -files/xmlrpc-c-gcc-3.4.patch, + -xmlrpc-c-0.9.9-r1.ebuild: + clean up + + 22 May 2007; Bryan Østergaard <kloeri@gentoo.org> + xmlrpc-c-1.06.03.ebuild: + Stable on Alpha, bug 166998. + +*xmlrpc-c-1.10.00 (22 May 2007) + + 22 May 2007; Benedikt Böhm <hollow@gentoo.org> + +files/xmlrpc-c-1.10.00-cmake.patch, + +files/xmlrpc-c-1.10.00-mutexcreate.patch, -xmlrpc-c-1.09.00.ebuild, + +xmlrpc-c-1.10.00.ebuild: + version bump; uses experimental cmake patch from Enrico Scholz + + 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: + add <herd>no-herd</herd> + + 17 Mar 2007; Steve Dibb <beandog@gentoo.org> xmlrpc-c-1.06.03.ebuild: + amd64 stable, bug 166998 + + 18 Feb 2007; nixnut <nixnut@gentoo.org> xmlrpc-c-1.06.03.ebuild: + Stable on ppc wrt bug 166998 + + 15 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + xmlrpc-c-1.06.03.ebuild: + stable x86; bug 166998 + +*xmlrpc-c-1.06.09 (15 Feb 2007) + + 15 Feb 2007; Benedikt Böhm <hollow@gentoo.org> +xmlrpc-c-1.06.09.ebuild: + version bump + +*xmlrpc-c-1.09.00 (30 Jan 2007) + + 30 Jan 2007; Benedikt Böhm <hollow@gentoo.org> -xmlrpc-c-1.06.02.ebuild, + +xmlrpc-c-1.09.00.ebuild: + version bump; remove old version + + 12 Aug 2006; Benedikt Böhm <hollow@gentoo.org> + files/xmlrpc-c-1.06.03-mustbuildclient.patch, xmlrpc-c-1.06.03.ebuild: + fix previous patch for optional client libs + +*xmlrpc-c-1.06.03 (12 Aug 2006) + + 12 Aug 2006; Benedikt Böhm <hollow@gentoo.org> + -files/xmlrpc-c-1.05-client-global.patch, + -files/xmlrpc-c-1.05-iostream.patch, + -files/xmlrpc-c-1.05-no-extra-qual.patch, + +files/xmlrpc-c-1.06.03-mustbuildclient.patch, -xmlrpc-c-1.05-r2.ebuild, + +xmlrpc-c-1.06.03.ebuild: + version bump; fix #142929 + +*xmlrpc-c-1.06.02 (31 Jul 2006) + + 31 Jul 2006; Benedikt Böhm <hollow@gentoo.org> + +files/xmlrpc-c-1.06.02-strsol.patch, + +files/xmlrpc-c-1.06.02-threadupdatestatus.patch, + -xmlrpc-c-1.03.14.ebuild, -xmlrpc-c-1.05.ebuild, -xmlrpc-c-1.05-r1.ebuild, + xmlrpc-c-1.05-r2.ebuild, +xmlrpc-c-1.06.02.ebuild: + version bump; fix #142231 + +*xmlrpc-c-1.05-r2 (06 Jul 2006) + + 06 Jul 2006; Benedikt Böhm <hollow@gentoo.org> + +files/xmlrpc-c-1.05-client-global.patch, +files/xmlrpc-c-1.05-pic.patch, + +xmlrpc-c-1.05-r2.ebuild: + install missing client_global.h; fix PIC handling on amd64 + +*xmlrpc-c-1.05-r1 (01 Jul 2006) + + 01 Jul 2006; Benedikt Böhm <hollow@gentoo.org> + +files/xmlrpc-c-1.05-no-extra-qual.patch, +xmlrpc-c-1.05-r1.ebuild: + fix #138668 + +*xmlrpc-c-1.05 (24 Jun 2006) +*xmlrpc-c-1.03.14 (24 Jun 2006) + + 24 Jun 2006; Benedikt Böhm <hollow@gentoo.org> -files/gentoo-0.9.9.patch, + -files/gentoo-1.2.patch, +files/xmlrpc-c-1.05-iostream.patch, + metadata.xml, -xmlrpc-c-0.9.9.ebuild, -xmlrpc-c-1.2.ebuild, + +xmlrpc-c-1.03.14.ebuild, +xmlrpc-c-1.05.ebuild: + version bumps; update metadata + + 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> xmlrpc-c-0.9.9-r1.ebuild: + Mark 0.9.9-r1 stable on alpha + + 26 Jul 2005; Jared Hudson <jhhudso@gentoo.org> xmlrpc-c-1.2.ebuild: + Modified latest ebuild to force make -j1 since greater than -j1 fails to + compile + + 22 May 2005; Jared Hudson <jhhudso@gentoo.org> : Version bump. + + 30 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> + xmlrpc-c-0.9.9-r1.ebuild: + ~alpha keyword, bug 89340. + + 17 Feb 2005; Karol Wojtaszek <sekretarz@gentoo.org> + xmlrpc-c-0.9.9-r1.ebuild: + Fixed sandbox access violation, bug #82178 + + 23 Sep 2004; Karol Wojtaszek <sekretarz@gentoo.org> + +files/xmlrpc-c-gcc-3.4.patch, xmlrpc-c-0.9.9-r1.ebuild: + Fixed gcc-3.4 compile issues. Bug #64330 + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmlrpc-c-0.9.9.ebuild: + virtual/glibc -> virtual/libc + +*xmlrpc-c-0.9.9-r1; Pieter Van den Abeele <pvdabeel@gentoo.org> : + + 16 Aug 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> : + Fixes 47830 + +*xmlrpc-c-0.9.9 (07 Mar 2003) + + 07 Mar 2002; Pieter Van den Abeele <pvdabeel@gentoo.org> : + + Created an ebuild - also tested on ppc diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest new file mode 100644 index 0000000..b8fdf6b --- /dev/null +++ b/dev-libs/xmlrpc-c/Manifest @@ -0,0 +1,20 @@ +AUX xmlrpc-c-1.16.08-abyss-fix.patch 2694 RMD160 7ba2f450632a364317fc7809184f535bb4ce27f1 SHA1 f18e10deec9ed9b3162e70e4a7a5e3ee36bc0431 SHA256 18a4f773997dcbe4cfdd31f9fe410ac6b7f2ab4db7447ad6ddbc9743ec17509a +AUX xmlrpc-c-1.16.08-build-tools-restructure.patch 13182 RMD160 003cbed0dc7e49313c065a88cb4e58a5d27323f4 SHA1 51e5776b56f389d900feaea55049b801bde502b4 SHA256 5b65a45c518a82a40147d8eb53c18150e4647dad6c9a57137a4d407b332ce80c +AUX xmlrpc-c-1.16.08-build-tools.patch 1616 RMD160 fe8a08cdd26c7afacbe7ff46f6588ab59eed07e9 SHA1 5125b9d8db678af44a39d5dd0d9e69b96d09d20b SHA256 a2bf0e402fe57f432ccaf3b7e490fe002304f6ab40bc7f67ac7d62f0df1dea81 +AUX xmlrpc-c-1.16.08-parallel-make.patch 696 RMD160 c5c62bd5e2af151dd6a3bc4bef3ac7e540d964d3 SHA1 db774c7b82c8e11fc547e64b23af8043084945d5 SHA256 8787067bf595fb8f4d0c4ed1fd0aea816c7307cc5ee864307bc1c57ed82d8fc4 +AUX xmlrpc-c-1.16.08-pstream-gcc-4.3.patch 745 RMD160 09461f1417c476061a45f2849f027ca227221cd0 SHA1 dcc2a5419ced17f775f5f13f1ec280388fb8bc71 SHA256 6e4f125e0f9d7b15645e4fa0f4d430240cd3eb6780bb240e3bdb7717dd388419 +AUX xmlrpc-c-1.16.08-tools-build-fix.patch 1202 RMD160 c40aabcd482eb51d95a68143b4747f654635c620 SHA1 0c1107760f37b900be52457bb2691f8a36e06eca SHA256 84597b87992b06c90accb50582d01fc320563ee895ec5c0f489725a3b9664af8 +AUX xmlrpc-c-1.16.08/0001-Fix-parallel-make-for-Gentoo-bug-255440.patch 798 RMD160 e1bf1cc607e76eaff4a118458f99bacd8d18dd78 SHA1 a48cccd71409d4b28e3afe7ad7d861c67a7c6060 SHA256 670d868dbde8b133763d402bf0b68538d5db2b45b5bc8ef44fff35a2e75d608b +AUX xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch 2519 RMD160 eff8300e3538c0e54611c6feface53f79a09f0aa SHA1 4160f92b8ff9dd1b63ee350334086159fcad1af5 SHA256 3984d296b0ecd99ac5a7913557b4e50b0342c32b01e2e441553e1e3685a6e9e9 +AUX xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch 886 RMD160 2894d239f3b13a0a70e5e623e607a50d7f8ed1c2 SHA1 81f2d807998931ef29202149ba646134bb01a904 SHA256 0b6c1245a5b12b145fd45b046b8054b4346085c5d1a3ed6a2325c255cf513b34 +AUX xmlrpc-c-1.16.08/0004-Make-tools-a-part-of-the-normal-build-system.patch 24365 RMD160 f1c5dc8b59dd2d1138e5556a964251897e094c9c SHA1 1bdce8af4ed94920429a4eae5806cb35a8b50be8 SHA256 f619b72d978c47938926aa624489e19799e98a4b376a679fe81c9166290d1cb8 +AUX xmlrpc-c-1.16.08/0005-Make-the-buildfiles-respect-the-options-passed-to-co.patch 1007 RMD160 04fb40fcef391708acef3c73b39bee77d19b6c7d SHA1 cf4a426672e828b9269cc30e9bfc76e2e532d698 SHA256 2846cc0b244f88c71c819cd4e3abfe04693c408f4e769e065250f849f4d982ef +AUX xmlrpc-c-1.16.08/0006-Clean-up-some-left-over-libtool-lint.patch 2131 RMD160 8053a8e0c60f3509dbb9c081e4c98f6df8b2c8de SHA1 d2cf32354cda89908e92135007229854d4457a23 SHA256 ad6cc0b40225c0644c07e74331c0d9e4869a8790c5e51d5661266f0a21192503 +AUX xmlrpc-c-1.16.08/0007-Add-enable-docs-option-and-the-associated-infrastruc.patch 19118 RMD160 5585e41e976809f1064fbcaab705442f5967039e SHA1 d21103ac87f10f2ec8b743f51d1ee1ac70d2d53b SHA256 96c4ff6a359584dba47ba9c5f950653bb8a141420d74a27a92c8ff4e42c9e603 +AUX xmlrpc-c-1.16.08/0008-Fix-using-configure-s-input.-We-need-to-define-exec_.patch 934 RMD160 28905de7deaef24a726ea694e8bac4f69ad95dcc SHA1 4e4cada0592963340f00a70822901a50788efacd SHA256 a0d480db5a68c26d9262578c8faac83f774af6d5edf1a3fda68504a41b7a74a9 +AUX xmlrpc-c-1.16.08/0009-Fix-C-gcc-4.3-tests.patch 1469 RMD160 63bf60220f0885d5a004e4eb0081ac1b3fe50f3d SHA1 34afb24f0fa05f36d75da4eab7919a6f7e5642ae SHA256 403a868a44cd5f988d64dfa95530e8f82ae35afb233f10f51aa28cf20c9122c8 +AUX xmlrpc-c-1.16.08/0010-Fix-C-tests-linking-order.patch 1594 RMD160 bf3afb2467fe046b53bd80bdb03c130d501676b6 SHA1 02a26d757f17f6be38fd178932f20eaeec6e280c SHA256 fe9e1a2ea8a7fc7d28fa226efe631157e32eb124303f32a472c6ce3a0c69a1ab +DIST xmlrpc-c-1.16.08.tar.bz2 570991 RMD160 469b806dbd932ea48238ed9d059de13a070c4d36 SHA1 3fa4d579a00fb5358a863751f8a4a97e8d33732c SHA256 7f913e30186b925df95cf072664d40097610775239fbb6fc51fd7ea11fb7e42e +EBUILD xmlrpc-c-1.16.08.ebuild 2198 RMD160 43d291ed18afafaaf3f26e4b0c217dffca8be386 SHA1 7223a7f9d269b82c0f1a62d023bc1d6dcf8d2c4b SHA256 09c5fb4022d0419ef74e454b9b839050a5ec12383a029c7d1a27430d59b2a61e +MISC ChangeLog 12768 RMD160 4bd47eacde9b65e09bda58e72acaa39b495fde66 SHA1 703126ef1e38a62eba549295dcde08a2c4df0aa0 SHA256 b26b07d39560f807dc2ba5dd7a61145800dff156732066947a73b8a7fa18becf +MISC metadata.xml 258 RMD160 e363fac4024fa1d6e8481465c06e42cbe2eb9e2a SHA1 26ea33fa143b55cfa84ee879aab41f1b5e337127 SHA256 960cfc8d2eda3540d50ea76f60889fb72e3dc8342ecd9dce2070517e4469f599 diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-abyss-fix.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-abyss-fix.patch new file mode 100644 index 0000000..c592367 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-abyss-fix.patch @@ -0,0 +1,62 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/lib/abyss/src/Makefile xmlrpc-c-1.16.08/lib/abyss/src/Makefile +--- xmlrpc-c-1.16.08.orig/lib/abyss/src/Makefile 2009-01-21 04:26:28.000000000 +0100 ++++ xmlrpc-c-1.16.08/lib/abyss/src/Makefile 2009-01-21 05:08:56.000000000 +0100 +@@ -57,15 +57,10 @@ + ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss) + #ABYSS_SHLIB is e.g. libxmlrpc_abyss.so.3.1 + ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss) + #ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so + +-# LIBDEP is the shared libraries on which libxmlrpc_abyss depends. +-# The runtime loader should load these libraries when it loads libxmlrpc_abyss. +- +-LIBDEP = $(LIBXMLRPC_UTIL) +- + ifneq ($(SHARED_LIB_TYPE),NONE) + TARGET_SHARED_LIBS := $(ABYSS_SHLIB) $(ABYSS_SHLIBLE) + endif + + # This 'common.mk' dependency makes sure the symlinks get built before +@@ -76,12 +71,17 @@ + .PHONY: all + all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBS) $(TARGET_SHARED_LE_LIBS) + + + # Rule for this is in common.mk, courtesy of TARGET_SHARED_LIBRARIES: +-$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) $(LIBDEP) +-$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) $(LIBDEP) ++$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) \ ++ $(LIBXMLRPC_UTIL) ++$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) ++$(ABYSS_SHLIB): LIBDEP = -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util ++ifeq ($(ENABLE_ABYSS_THREADS),yes) ++ $(ABYSS_SHLIB): LIBDEP += -lpthread ++endif + + # Rule for this is in common.mk, courtesy of TARGET_STATIC_LIBRARIES: + + libxmlrpc_abyss.a: $(TARGET_MODS:%=%.o) + libxmlrpc_abyss.a: LIBOBJECTS = $(TARGET_MODS:%=%.o) +diff -NrU5 xmlrpc-c-1.16.08.orig/src/cpp/Makefile xmlrpc-c-1.16.08/src/cpp/Makefile +--- xmlrpc-c-1.16.08.orig/src/cpp/Makefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/src/cpp/Makefile 2009-01-21 05:06:12.000000000 +0100 +@@ -138,14 +138,18 @@ + + LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++) + + $(LIBXMLRPC_SERVER_ABYSSPP_SH): $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) \ + $(LIBXMLRPC_ABYSS) \ ++ $(LIBXMLRPC_SERVER_ABYSS) \ ++ $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \ ++ $(call shlibfn, libxmlrpc_server++) \ ++ $(LIBXMLRPC_UTIL) \ + $(LIBXMLRPC) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \ +- -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc ++ -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc -L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_server++ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util + + LIBXMLRPC_SERVER_CGIPP_SH = $(call shlibfn, libxmlrpc_server_cgi++) + + $(LIBXMLRPC_SERVER_CGIPP_SH): $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh) \ + $(call shliblefn, libxmlrpc_server++) \ diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools-restructure.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools-restructure.patch new file mode 100644 index 0000000..80611e6 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools-restructure.patch @@ -0,0 +1,441 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/common.mk xmlrpc-c-1.16.08/common.mk +--- xmlrpc-c-1.16.08.orig/common.mk 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/common.mk 2009-01-22 12:23:17.000000000 +0100 +@@ -485,14 +485,14 @@ + # (except shared libraries) # + ############################################################################## + + MKINSTALLDIRS = $(SHELL) $(SRCDIR)/mkinstalldirs + +-.PHONY: install-common install-headers install-bin ++.PHONY: install-common install-headers install-bin install-man + install-common: \ + install-static-libraries install-shared-libraries \ +- install-headers install-bin ++ install-headers install-bin install-man + + INSTALL_LIB_CMD = $(INSTALL_DATA) $$p $(DESTDIR)$(LIBINST_DIR)/$$p + RANLIB_CMD = $(RANLIB) $(DESTDIR)$(LIBINST_DIR)/$$p + + install-static-libraries: $(STATIC_LIBRARIES_TO_INSTALL) +@@ -534,10 +534,20 @@ + done + + $(DESTDIR)$(PROGRAMINST_DIR): + $(MKINSTALLDIRS) $@ + ++MANDESTDIR = $(DESTDIR)$(MANINST_DIR) ++INSTALL_MAN_CMD = $(INSTALL_DATA) $$p $(MANDESTDIR)/$$p ++ ++install-man: $(MAN_FILES_TO_INSTALL) ++ $(MKINSTALLDIRS) $(MANDESTDIR) ++ @list='$(MAN_FILES_TO_INSTALL)'; \ ++ for p in $$list; do \ ++ echo "$(MAN_FILES_TO_INSTALL)"; \ ++ $(INSTALL_MAN_CMD); \ ++ done + + ############################################################################## + # MISCELLANEOUS RULES # + ############################################################################## + +diff -NrU5 xmlrpc-c-1.16.08.orig/config.mk.in xmlrpc-c-1.16.08/config.mk.in +--- xmlrpc-c-1.16.08.orig/config.mk.in 2009-01-22 12:05:43.000000000 +0100 ++++ xmlrpc-c-1.16.08/config.mk.in 2009-01-22 12:05:27.000000000 +0100 +@@ -25,10 +25,12 @@ + ENABLE_LIBXML2_BACKEND = @ENABLE_LIBXML2_BACKEND@ + + MUST_BUILD_WININET_CLIENT = @MUST_BUILD_WININET_CLIENT@ + MUST_BUILD_CURL_CLIENT = @MUST_BUILD_CURL_CLIENT@ + MUST_BUILD_LIBWWW_CLIENT = @MUST_BUILD_LIBWWW_CLIENT@ ++BUILD_TOOLS = @BUILD_TOOLS@ ++BUILD_XMLRPC_PSTREAM = @BUILD_XMLRPC_PSTREAM@ + LSOCKET = @LSOCKET@ + WININET_LDADD = @WININET_LDADD@ + WININET_RPATH = @WININET_RPATH@ + WININET_WL_RPATH = @WININET_WL_RPATH@ + CURL_LDADD = @CURL_LDADD@ +@@ -318,10 +320,11 @@ + # he doesn't like the default specified at 'configure' time. + + LIBINST_DIR = $(PREFIX)/lib + HEADERINST_DIR = $(PREFIX)/include + PROGRAMINST_DIR = $(PREFIX)/bin ++MANINST_DIR = $(PREFIX)/share/man/man1 + + # DESTDIR is designed to be overridden at make time in order to relocate + # the entire install into a subdirectory. + DESTDIR = + +diff -NrU5 xmlrpc-c-1.16.08.orig/configure.in xmlrpc-c-1.16.08/configure.in +--- xmlrpc-c-1.16.08.orig/configure.in 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/configure.in 2009-01-22 01:30:32.000000000 +0100 +@@ -84,10 +84,39 @@ + AC_MSG_CHECKING(whether to build Libwww client XML transport module) + AC_MSG_RESULT($MUST_BUILD_LIBWWW_CLIENT) + AC_SUBST(MUST_BUILD_LIBWWW_CLIENT) + + ++AC_ARG_ENABLE(tools, ++ [ --enable-tools Build the xmlrpc tools], , ++[enable_tools=no]) ++ ++BUILD_XMLRPC_PSTREAM=no ++ ++if test $enable_tools = yes; then ++ if ! test "$MUST_BUILD_WININET_CLIENT $MUST_BUILD_CURL_CLIENT $MUST_BUILD_LIBWWW_CLIENT" = "no no no"; then ++ AC_CHECK_LIB(ncurses, main, [have_libncurses=yes], [have_libncurses=no]) ++ AC_CHECK_LIB(readline, main, [have_libreadline=yes], [have_libreadline=no]) ++ if test $have_libreadline = yes && test $have_libncurses = yes; then ++ BUILD_XMLRPC_PSTREAM=yes ++ fi ++ BUILD_TOOLS=yes ++ fi ++else ++ BUILD_TOOLS=$enable_tools ++fi ++ ++AC_MSG_CHECKING(whether to build xmlrpc tools) ++AC_MSG_RESULT($BUILD_TOOLS) ++AC_SUBST(BUILD_TOOLS) ++if test $BUILD_TOOLS = yes; then ++ AC_MSG_CHECKING(whether to build the xmlrpc_pstream tool) ++ AC_MSG_RESULT($BUILD_XMLRPC_PSTREAM) ++ AC_SUBST(BUILD_XMLRPC_PSTREAM) ++fi ++ ++ + dnl Set up the appropriate Makefile substitutions. + + LIBXMLRPC_CLIENT_LA=libxmlrpc_client.la + AC_SUBST(LIBXMLRPC_CLIENT_LA) + CLIENTTEST=clienttest +diff -NrU5 xmlrpc-c-1.16.08.orig/GNUmakefile xmlrpc-c-1.16.08/GNUmakefile +--- xmlrpc-c-1.16.08.orig/GNUmakefile 2009-01-21 23:08:28.000000000 +0100 ++++ xmlrpc-c-1.16.08/GNUmakefile 2009-01-22 01:29:12.000000000 +0100 +@@ -21,10 +21,14 @@ + # As with any subdirectory, to build 'tools' or 'examples', cd to the + # subdirectory and make there. + + DEFAULT_SUBDIRS = include lib src + ++ifeq ($(BUILD_TOOLS),yes) ++ DEFAULT_SUBDIRS += tools ++endif ++ + PROGRAMS_TO_INSTALL = xmlrpc-c-config + + default: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all) + + # We don't want common.mk's rule for version.h +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/Makefile xmlrpc-c-1.16.08/tools/Makefile +--- xmlrpc-c-1.16.08.orig/tools/Makefile 2009-01-21 23:08:28.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/Makefile 2009-01-22 12:39:18.000000000 +0100 +@@ -5,21 +5,16 @@ + endif + SUBDIR := tools + + include $(BLDDIR)/config.mk + +-SUBDIRS = lib binmode-rpc-kit turbocharger ++#PROGRAMS_TO_INSTALL := ++#MAN_FILES_TO_INSTALL := ++#PROGRAMS_TO_INSTALL += xml-rpc-api2txt ++#MAN_FILES_TO_INSTALL += xml-rpc-api2txt.1 + +-ifeq ($(MUST_BUILD_CLIENT),yes) +- SUBDIRS += xmlrpc xmlrpc_transport +- +- ifeq ($(ENABLE_CPLUSPLUS),yes) +- SUBDIRS += xml-rpc-api2cpp xmlrpc_cpp_proxy +- # We could add 'xmlrpc_pstream' here, but we don't because we don't +- # want to deal with finding the Readline/Ncurses libraries. +- endif +-endif ++SUBDIRS = lib binmode-rpc-kit turbocharger xmlrpc xmlrpc_transport xml-rpc-api2cpp xmlrpc_cpp_proxy xmlrpc_pstream + + .PHONY: all clean distclean install check dep + + all: $(SUBDIRS:%=%/all) + +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc/Makefile xmlrpc-c-1.16.08/tools/xmlrpc/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc/Makefile 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc/Makefile 2009-01-22 00:04:43.000000000 +0100 +@@ -4,18 +4,24 @@ + SRCDIR := $(call updir,$(TOOLSDIR)) + BLDDIR := $(SRCDIR) + endif + SUBDIR := tools/xmlrpc + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc +- + include $(SRCDIR)/tools/common.mk + ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ + INCLUDES = \ + -I../lib/include \ + -Iblddir \ + -Iblddir/include \ + -Isrcdir/include \ +@@ -23,12 +29,10 @@ + + CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc +- + UTIL_OBJS = \ + casprintf.o \ + cmdline_parser.o \ + getoptx.o \ + stripcaseeq.o \ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2cpp/Makefile xmlrpc-c-1.16.08/tools/xml-rpc-api2cpp/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2cpp/Makefile 2009-01-21 23:08:20.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xml-rpc-api2cpp/Makefile 2009-01-22 12:24:17.000000000 +0100 +@@ -4,32 +4,36 @@ + SRCDIR := $(call updir,$(TOOLSDIR)) + BLDDIR := $(SRCDIR) + endif + SUBDIR := tools/xml-rpc-api2cpp + +-default: all +- + include $(BLDDIR)/config.mk + ++PROGRAMS_TO_INSTALL := ++MAN_FILES_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xml-rpc-api2cpp ++ MAN_FILES_TO_INSTALL += xml-rpc-api2cpp.1 ++ endif ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ + include $(SRCDIR)/tools/common.mk + + INCLUDES = -I$(BLDDIR) -I$(BLDDIR)/include -I$(SRCDIR)/include + + CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + + LDLIBS = -L$(BLDDIR)/src/cpp -lxmlrpc_cpp -lxmlrpc_server $(CLIENT_LDLIBS) + +-PROGS := +- +-ifeq ($(MUST_BUILD_CLIENT),yes) +- PROGS += xml-rpc-api2cpp +-endif +- +-all: $(PROGS) +- + OBJECTS = \ + xml-rpc-api2cpp.o \ + DataType.o \ + XmlRpcFunction.o \ + XmlRpcClass.o \ +File xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2txt is a regular file while file xmlrpc-c-1.16.08/tools/xml-rpc-api2txt is a directory +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2txt.1 xmlrpc-c-1.16.08/tools/xml-rpc-api2txt.1 +--- xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2txt.1 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xml-rpc-api2txt.1 1970-01-01 01:00:00.000000000 +0100 +@@ -1,47 +0,0 @@ +-.\" Hey, EMACS: -*- nroff -*- +-.\" First parameter, NAME, should be all caps +-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +-.\" other parameters are allowed: see man(7), man(1) +-.TH XML-RPC-API2TXT 1 "June 27, 2001" +-.\" Please adjust this date whenever revising the manpage. +-.\" +-.\" Some roff macros, for reference: +-.\" .nh disable hyphenation +-.\" .hy enable hyphenation +-.\" .ad l left justify +-.\" .ad b justify to both left and right margins +-.\" .nf disable filling +-.\" .fi enable filling +-.\" .br insert line break +-.\" .sp <n> insert n+1 empty lines +-.\" for manpage-specific macros, see man(7) +-.SH NAME +-xml-rpc-api2txt \- Print out a description of an XML-RPC API as text +-.SH SYNOPSIS +-.B xml-rpc-api2txt +-\fIserver-url\fR +-.SH DESCRIPTION +-xml-rpc-api2txt queries an XML-RPC server using the XML-RPC +-Instrospection API designed by Edd Dumbill. It then prints the +-results to standard output in a nicely formatted form, suitable for +-sending via e-mail. +-.PP +-You can find a list of supported XML-RPC server libraries (and patches +-for many others) at \fBhttp://xmlrpc-c.sourceforge.net/hacks.php\fR. +-.SH OPTIONS +-.TP +-.I server-url +-The name of the server to query. Try +-\fBhttp://xmlrpc-c.sourceforge.net/cgi-bin/interop.cgi\fR. +-.SH BUGS +-xml-rpc-api2txt assumes that method descriptions are ASCII text, not +-HTML as specified in the standard. (In practice, both conventions are +-often seen.) +-.SH SEE ALSO +-.BR xmlrpc-c (7), +-.BR xml-rpc-api2cpp (1). +-.PP +-This program is part of xmlrpc-c. +-.SH AUTHOR +-This manual page was written by Eric Kidd <eric.kidd@pobox.com>. +-It may be distributed under the same terms as the rest of xmlrpc-c. +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc_cpp_proxy/Makefile xmlrpc-c-1.16.08/tools/xmlrpc_cpp_proxy/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc_cpp_proxy/Makefile 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc_cpp_proxy/Makefile 2009-01-22 00:07:51.000000000 +0100 +@@ -4,26 +4,32 @@ + SRCDIR := $(call updir,$(TOOLSDIR)) + BLDDIR := $(SRCDIR) + endif + SUBDIR := tools/xmlrpc_cpp_proxy + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc_cpp_proxy ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_cpp_proxy ++ endif ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all + + include $(SRCDIR)/tools/common.mk + + INCLUDES = -I$(BLDDIR) -I$(BLDDIR)/include -I$(SRCDIR)/include + + CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_cpp_proxy +- + OBJECTS = \ + xmlrpc_cpp_proxy.o \ + xmlrpcMethod.o \ + xmlrpcType.o \ + proxyClass.o \ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.16.08/tools/xmlrpc_pstream/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/Makefile 2009-01-21 23:08:20.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc_pstream/Makefile 2009-01-22 01:33:14.000000000 +0100 +@@ -4,17 +4,27 @@ + SRCDIR := $(call updir,$(TOOLSDIR)) + BLDDIR := $(SRCDIR) + endif + SUBDIR := tools/xmlrpc_pstream + +-READLINE_LDLIBS = -lreadline -lncurses ++include $(BLDDIR)/config.mk + +-default: all ++PROGRAMS_TO_INSTALL := + +-include $(BLDDIR)/config.mk ++ifeq ($(BUILD_XMLRPC_PSTREAM),yes) ++ ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_pstream ++ endif ++ endif ++endif + +-PROGRAMS_TO_INSTALL = xmlrpc_pstream ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ ++READLINE_LDLIBS = -lreadline -lncurses + + include $(SRCDIR)/tools/common.mk + + INCLUDES = \ + -I../lib/include \ +@@ -25,15 +35,13 @@ + + CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_pstream +- + OBJECTS = \ + xmlrpc_pstream.o \ +- $(TOOLSDIR)/lib/dumpvalue.o \ ++ srcdir/tools/lib/dumpvalue.o \ + + LIBS = \ + $(LIBXMLRPC_CLIENTPP) \ + $(LIBXMLRPCPP) \ + $(LIBXMLRPC_CLIENT) \ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc_transport/Makefile xmlrpc-c-1.16.08/tools/xmlrpc_transport/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc_transport/Makefile 2009-01-21 23:08:11.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc_transport/Makefile 2009-01-22 00:07:48.000000000 +0100 +@@ -4,15 +4,21 @@ + SRCDIR := $(call updir,$(TOOLSDIR)) + BLDDIR := $(SRCDIR) + endif + SUBDIR := tools/xmlrpc_transport + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc_transport ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_transport ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all + + include $(SRCDIR)/tools/common.mk + + INCLUDES = \ + -I$(BLDDIR) \ +@@ -22,12 +28,10 @@ + + CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_transport +- + UTIL_OBJS = \ + casprintf.o \ + cmdline_parser.o \ + getoptx.o \ + stripcaseeq.o \ diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools.patch new file mode 100644 index 0000000..0c070d5 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-build-tools.patch @@ -0,0 +1,47 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/GNUmakefile xmlrpc-c-1.16.08/GNUmakefile +--- xmlrpc-c-1.16.08.orig/GNUmakefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/GNUmakefile 2009-01-21 09:45:03.000000000 +0100 +@@ -23,11 +23,11 @@ + + DEFAULT_SUBDIRS = include lib src + + PROGRAMS_TO_INSTALL = xmlrpc-c-config + +-default: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all) ++default: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all) tools/all + + # We don't want common.mk's rule for version.h + OMIT_VERSION_H = Y + + # We don't want common.mk's rule for transport_config.h +@@ -153,11 +153,11 @@ + + .PHONY: distdir + distdir: distdir-common + + .PHONY: install +-install: $(DEFAULT_SUBDIRS:%=%/install) install-common ++install: $(DEFAULT_SUBDIRS:%=%/install) tools/install install-common + + .PHONY: dep + dep: version.h $(BLDDIR)/include/xmlrpc-c/config.h $(SUBDIRS:%=%/dep) + + xmlrpc_config.h xmlrpc_amconfig.h \ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/Makefile xmlrpc-c-1.16.08/tools/Makefile +--- xmlrpc-c-1.16.08.orig/tools/Makefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/Makefile 2009-01-21 09:15:19.000000000 +0100 +@@ -11,13 +11,11 @@ + + ifeq ($(MUST_BUILD_CLIENT),yes) + SUBDIRS += xmlrpc xmlrpc_transport + + ifeq ($(ENABLE_CPLUSPLUS),yes) +- SUBDIRS += xml-rpc-api2cpp xmlrpc_cpp_proxy +- # We could add 'xmlrpc_pstream' here, but we don't because we don't +- # want to deal with finding the Readline/Ncurses libraries. ++ SUBDIRS += xml-rpc-api2cpp xmlrpc_cpp_proxy xmlrpc_pstream + endif + endif + + .PHONY: all clean distclean install check dep + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-parallel-make.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-parallel-make.patch new file mode 100644 index 0000000..188f42d --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-parallel-make.patch @@ -0,0 +1,17 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/src/cpp/Makefile xmlrpc-c-1.16.08/src/cpp/Makefile +--- xmlrpc-c-1.16.08.orig/src/cpp/Makefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/src/cpp/Makefile 2009-01-20 23:50:41.000000000 +0100 +@@ -111,10 +111,13 @@ + # shliblefn generates e.g. libxmlrpc.so + + LIBXMLRPC_CPP_SH = $(call shlibfn, libxmlrpc_cpp) + + $(LIBXMLRPC_CPP_SH): XmlRpcCpp.osh \ ++ $(LIBXMLRPC_UTIL) \ ++ $(LIBXMLRPC) \ ++ $(LIBXMLRPC_SERVER) \ + $(LIBXMLRPC_UTIL) + $(LIBXMLRPC_CPP_SH): LIBOBJECTS = XmlRpcCpp.osh + $(LIBXMLRPC_CPP_SH): LIBDEP = -Lblddir/src -lxmlrpc -lxmlrpc_server -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util + + LIBXMLRPCPP_SH = $(call shlibfn, lib$(LIBXMLRPCPP_NAME)) diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-pstream-gcc-4.3.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-pstream-gcc-4.3.patch new file mode 100644 index 0000000..30154e0 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-pstream-gcc-4.3.patch @@ -0,0 +1,23 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/xmlrpc_pstream.cpp xmlrpc-c-1.16.08/tools/xmlrpc_pstream/xmlrpc_pstream.cpp +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/xmlrpc_pstream.cpp 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc_pstream/xmlrpc_pstream.cpp 2009-01-21 09:56:31.000000000 +0100 +@@ -1,15 +1,16 @@ + #include <cassert> + #include <cerrno> + #include <string> + #include <vector> + #include <list> +-#include <string.h> +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstring> ++#include <cstdio> ++#include <cstdlib> + #include <unistd.h> + #include <signal.h> ++#include <iostream> + #include <readline/readline.h> + + #include "cmdline_parser.hpp" + #include "xmlrpc-c/girerr.hpp" + using girerr::throwf; diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-tools-build-fix.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-tools-build-fix.patch new file mode 100644 index 0000000..42aabc0 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08-tools-build-fix.patch @@ -0,0 +1,40 @@ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2cpp/Makefile xmlrpc-c-1.16.08/tools/xml-rpc-api2cpp/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xml-rpc-api2cpp/Makefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xml-rpc-api2cpp/Makefile 2009-01-21 11:00:14.000000000 +0100 +@@ -18,17 +18,17 @@ + + LDFLAGS = $(LADD) + + LDLIBS = -L$(BLDDIR)/src/cpp -lxmlrpc_cpp -lxmlrpc_server $(CLIENT_LDLIBS) + +-PROGS := ++PROGRAMS_TO_INSTALL := + + ifeq ($(MUST_BUILD_CLIENT),yes) +- PROGS += xml-rpc-api2cpp ++ PROGRAMS_TO_INSTALL += xml-rpc-api2cpp + endif + +-all: $(PROGS) ++all: $(PROGRAMS_TO_INSTALL) + + OBJECTS = \ + xml-rpc-api2cpp.o \ + DataType.o \ + XmlRpcFunction.o \ +diff -NrU5 xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.16.08/tools/xmlrpc_pstream/Makefile +--- xmlrpc-c-1.16.08.orig/tools/xmlrpc_pstream/Makefile 2008-12-29 05:12:25.000000000 +0100 ++++ xmlrpc-c-1.16.08/tools/xmlrpc_pstream/Makefile 2009-01-21 10:03:53.000000000 +0100 +@@ -29,11 +29,11 @@ + + all: xmlrpc_pstream + + OBJECTS = \ + xmlrpc_pstream.o \ +- $(TOOLSDIR)/lib/dumpvalue.o \ ++ srcdir/tools/lib/dumpvalue.o \ + + LIBS = \ + $(LIBXMLRPC_CLIENTPP) \ + $(LIBXMLRPCPP) \ + $(LIBXMLRPC_CLIENT) \ diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0001-Fix-parallel-make-for-Gentoo-bug-255440.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0001-Fix-parallel-make-for-Gentoo-bug-255440.patch new file mode 100644 index 0000000..51d0c90 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0001-Fix-parallel-make-for-Gentoo-bug-255440.patch @@ -0,0 +1,26 @@ +From 8cf7b4f825320d3aff30ea8cabb21e253519093e Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 13:23:31 +0100 +Subject: [PATCH 01/10] Fix parallel make for Gentoo bug 255440 + +--- + src/cpp/Makefile | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/src/cpp/Makefile b/src/cpp/Makefile +index 7e54282..ebffe7c 100644 +--- a/src/cpp/Makefile ++++ b/src/cpp/Makefile +@@ -113,6 +113,9 @@ all: \ + LIBXMLRPC_CPP_SH = $(call shlibfn, libxmlrpc_cpp) + + $(LIBXMLRPC_CPP_SH): XmlRpcCpp.osh \ ++ $(LIBXMLRPC_UTIL) \ ++ $(LIBXMLRPC) \ ++ $(LIBXMLRPC_SERVER) \ + $(LIBXMLRPC_UTIL) + $(LIBXMLRPC_CPP_SH): LIBOBJECTS = XmlRpcCpp.osh + $(LIBXMLRPC_CPP_SH): LIBDEP = -Lblddir/src -lxmlrpc -lxmlrpc_server -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch new file mode 100644 index 0000000..db2a17b --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0002-Fixup-abyss-compilation-add-lpthread-and-make-paral.patch @@ -0,0 +1,65 @@ +From 56bc636d4a2a7892f1a78c3702f8703cf7ce93b4 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 13:24:46 +0100 +Subject: [PATCH 02/10] Fixup abyss compilation; add lpthread and make parallel compile work. + +--- + lib/abyss/src/Makefile | 14 +++++++------- + src/cpp/Makefile | 6 +++++- + 2 files changed, 12 insertions(+), 8 deletions(-) + +diff --git a/lib/abyss/src/Makefile b/lib/abyss/src/Makefile +index cbb187e..da6ff1b 100644 +--- a/lib/abyss/src/Makefile ++++ b/lib/abyss/src/Makefile +@@ -59,11 +59,6 @@ ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss) + ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss) + #ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so + +-# LIBDEP is the shared libraries on which libxmlrpc_abyss depends. +-# The runtime loader should load these libraries when it loads libxmlrpc_abyss. +- +-LIBDEP = $(LIBXMLRPC_UTIL) +- + ifneq ($(SHARED_LIB_TYPE),NONE) + TARGET_SHARED_LIBS := $(ABYSS_SHLIB) $(ABYSS_SHLIBLE) + endif +@@ -78,8 +73,13 @@ all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBS) $(TARGET_SHARED_LE_LIBS) + + + # Rule for this is in common.mk, courtesy of TARGET_SHARED_LIBRARIES: +-$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) $(LIBDEP) +-$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) $(LIBDEP) ++$(ABYSS_SHLIB): $(TARGET_MODS:%=%.osh) \ ++ $(LIBXMLRPC_UTIL) ++$(ABYSS_SHLIB): LIBOBJECTS = $(TARGET_MODS:%=%.osh) ++$(ABYSS_SHLIB): LIBDEP = -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util ++ifeq ($(ENABLE_ABYSS_THREADS),yes) ++ $(ABYSS_SHLIB): LIBDEP += -lpthread ++endif + + # Rule for this is in common.mk, courtesy of TARGET_STATIC_LIBRARIES: + +diff --git a/src/cpp/Makefile b/src/cpp/Makefile +index ebffe7c..e08f47c 100644 +--- a/src/cpp/Makefile ++++ b/src/cpp/Makefile +@@ -143,10 +143,14 @@ LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++) + + $(LIBXMLRPC_SERVER_ABYSSPP_SH): $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) \ + $(LIBXMLRPC_ABYSS) \ ++ $(LIBXMLRPC_SERVER_ABYSS) \ ++ $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \ ++ $(call shlibfn, libxmlrpc_server++) \ ++ $(LIBXMLRPC_UTIL) \ + $(LIBXMLRPC) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh) + $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \ +- -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc ++ -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc -L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_server++ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util + + LIBXMLRPC_SERVER_CGIPP_SH = $(call shlibfn, libxmlrpc_server_cgi++) + +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch new file mode 100644 index 0000000..86b048e --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch @@ -0,0 +1,32 @@ +From 20bac6d6419bae95fdad1734e48302e7545dd7c5 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 13:25:56 +0100 +Subject: [PATCH 03/10] Fix compilation of xmlrpc_pstream with gcc-4.3+ + +--- + tools/xmlrpc_pstream/xmlrpc_pstream.cpp | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp +index 399e1b3..df4ef56 100644 +--- a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp ++++ b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp +@@ -3,11 +3,12 @@ + #include <string> + #include <vector> + #include <list> +-#include <string.h> +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstring> ++#include <cstdio> ++#include <cstdlib> + #include <unistd.h> + #include <signal.h> ++#include <iostream> + #include <readline/readline.h> + + #include "cmdline_parser.hpp" +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0004-Make-tools-a-part-of-the-normal-build-system.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0004-Make-tools-a-part-of-the-normal-build-system.patch new file mode 100644 index 0000000..19097a1 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0004-Make-tools-a-part-of-the-normal-build-system.patch @@ -0,0 +1,823 @@ +From ff11a98de533eeb77c90564ab362d8e661ff148e Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 14:34:33 +0100 +Subject: [PATCH 04/10] Make tools a part of the normal build system + move the decision to build out to the tools subdirectories + make xmlrpc_pstream installable + put autoconf for detection of libreadline and ncurses + new autoconf flag: --enable-tools + make xml-rpc-api2txt installable + install manpages + +--- + GNUmakefile | 4 + + common.mk | 14 +++- + config.mk.in | 3 + + configure.in | 29 ++++++ + tools/Makefile | 12 +--- + tools/xml-rpc-api2cpp/Makefile | 24 +++-- + tools/xml-rpc-api2txt | 147 ------------------------------- + tools/xml-rpc-api2txt.1 | 47 ---------- + tools/xml-rpc-api2txt/Makefile | 38 ++++++++ + tools/xml-rpc-api2txt/xml-rpc-api2txt | 147 +++++++++++++++++++++++++++++++ + tools/xml-rpc-api2txt/xml-rpc-api2txt.1 | 47 ++++++++++ + tools/xmlrpc/Makefile | 16 ++-- + tools/xmlrpc_cpp_proxy/Makefile | 16 +++- + tools/xmlrpc_pstream/Makefile | 22 +++-- + tools/xmlrpc_transport/Makefile | 14 ++- + 15 files changed, 340 insertions(+), 240 deletions(-) + delete mode 100755 stable/tools/xml-rpc-api2txt + delete mode 100644 stable/tools/xml-rpc-api2txt.1 + create mode 100644 stable/tools/xml-rpc-api2txt/Makefile + create mode 100755 stable/tools/xml-rpc-api2txt/xml-rpc-api2txt + create mode 100644 stable/tools/xml-rpc-api2txt/xml-rpc-api2txt.1 + +diff --git a/GNUmakefile b/GNUmakefile +index c0078e0..afa4d72 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -23,6 +23,10 @@ SUBDIRS = include lib src tools examples + + DEFAULT_SUBDIRS = include lib src + ++ifeq ($(BUILD_TOOLS),yes) ++ DEFAULT_SUBDIRS += tools ++endif ++ + PROGRAMS_TO_INSTALL = xmlrpc-c-config + + default: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all) +diff --git a/common.mk b/common.mk +index fe4ddbc..30b72e8 100644 +--- a/common.mk ++++ b/common.mk +@@ -487,10 +487,10 @@ $(SUBDIRS:%=$(CURDIR)/%): + + MKINSTALLDIRS = $(SHELL) $(SRCDIR)/mkinstalldirs + +-.PHONY: install-common install-headers install-bin ++.PHONY: install-common install-headers install-bin install-man + install-common: \ + install-static-libraries install-shared-libraries \ +- install-headers install-bin ++ install-headers install-bin install-man + + INSTALL_LIB_CMD = $(INSTALL_DATA) $$p $(DESTDIR)$(LIBINST_DIR)/$$p + RANLIB_CMD = $(RANLIB) $(DESTDIR)$(LIBINST_DIR)/$$p +@@ -536,6 +536,16 @@ install-bin: $(PROGRAMS_TO_INSTALL) $(DESTDIR)$(PROGRAMINST_DIR) + $(DESTDIR)$(PROGRAMINST_DIR): + $(MKINSTALLDIRS) $@ + ++MANDESTDIR = $(DESTDIR)$(MANINST_DIR) ++INSTALL_MAN_CMD = $(INSTALL_DATA) $$p $(MANDESTDIR)/$$p ++ ++install-man: $(MAN_FILES_TO_INSTALL) ++ $(MKINSTALLDIRS) $(MANDESTDIR) ++ @list='$(MAN_FILES_TO_INSTALL)'; \ ++ for p in $$list; do \ ++ echo "$(MAN_FILES_TO_INSTALL)"; \ ++ $(INSTALL_MAN_CMD); \ ++ done + + ############################################################################## + # MISCELLANEOUS RULES # +diff --git a/config.mk.in b/config.mk.in +index 89d039a..a84f5e8 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -27,6 +27,8 @@ ENABLE_LIBXML2_BACKEND = @ENABLE_LIBXML2_BACKEND@ + MUST_BUILD_WININET_CLIENT = @MUST_BUILD_WININET_CLIENT@ + MUST_BUILD_CURL_CLIENT = @MUST_BUILD_CURL_CLIENT@ + MUST_BUILD_LIBWWW_CLIENT = @MUST_BUILD_LIBWWW_CLIENT@ ++BUILD_TOOLS = @BUILD_TOOLS@ ++BUILD_XMLRPC_PSTREAM = @BUILD_XMLRPC_PSTREAM@ + LSOCKET = @LSOCKET@ + WININET_LDADD = @WININET_LDADD@ + WININET_RPATH = @WININET_RPATH@ +@@ -320,6 +322,7 @@ INSTALL_SCRIPT = $(INSTALL) -c -m 755 + LIBINST_DIR = $(PREFIX)/lib + HEADERINST_DIR = $(PREFIX)/include + PROGRAMINST_DIR = $(PREFIX)/bin ++MANINST_DIR = $(PREFIX)/share/man/man1 + + # DESTDIR is designed to be overridden at make time in order to relocate + # the entire install into a subdirectory. +diff --git a/configure.in b/configure.in +index 99e7758..60e3cf8 100644 +--- a/configure.in ++++ b/configure.in +@@ -86,6 +86,35 @@ AC_MSG_RESULT($MUST_BUILD_LIBWWW_CLIENT) + AC_SUBST(MUST_BUILD_LIBWWW_CLIENT) + + ++AC_ARG_ENABLE(tools, ++ [ --enable-tools Build the xmlrpc tools], , ++[enable_tools=no]) ++ ++BUILD_XMLRPC_PSTREAM=no ++ ++if test $enable_tools = yes; then ++ if ! test "$MUST_BUILD_WININET_CLIENT $MUST_BUILD_CURL_CLIENT $MUST_BUILD_LIBWWW_CLIENT" = "no no no"; then ++ AC_CHECK_LIB(ncurses, main, [have_libncurses=yes], [have_libncurses=no]) ++ AC_CHECK_LIB(readline, main, [have_libreadline=yes], [have_libreadline=no]) ++ if test $have_libreadline = yes && test $have_libncurses = yes; then ++ BUILD_XMLRPC_PSTREAM=yes ++ fi ++ BUILD_TOOLS=yes ++ fi ++else ++ BUILD_TOOLS=$enable_tools ++fi ++ ++AC_MSG_CHECKING(whether to build xmlrpc tools) ++AC_MSG_RESULT($BUILD_TOOLS) ++AC_SUBST(BUILD_TOOLS) ++if test $BUILD_TOOLS = yes; then ++ AC_MSG_CHECKING(whether to build the xmlrpc_pstream tool) ++ AC_MSG_RESULT($BUILD_XMLRPC_PSTREAM) ++ AC_SUBST(BUILD_XMLRPC_PSTREAM) ++fi ++ ++ + dnl Set up the appropriate Makefile substitutions. + + LIBXMLRPC_CLIENT_LA=libxmlrpc_client.la +diff --git a/tools/Makefile b/tools/Makefile +index 815db41..2e157a5 100644 +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -7,17 +7,7 @@ SUBDIR := tools + + include $(BLDDIR)/config.mk + +-SUBDIRS = lib binmode-rpc-kit turbocharger +- +-ifeq ($(MUST_BUILD_CLIENT),yes) +- SUBDIRS += xmlrpc xmlrpc_transport +- +- ifeq ($(ENABLE_CPLUSPLUS),yes) +- SUBDIRS += xml-rpc-api2cpp xmlrpc_cpp_proxy +- # We could add 'xmlrpc_pstream' here, but we don't because we don't +- # want to deal with finding the Readline/Ncurses libraries. +- endif +-endif ++SUBDIRS = lib binmode-rpc-kit turbocharger xmlrpc xmlrpc_transport xml-rpc-api2cpp xmlrpc_cpp_proxy xmlrpc_pstream xml-rpc-api2txt + + .PHONY: all clean distclean install check dep + +diff --git a/tools/xml-rpc-api2cpp/Makefile b/tools/xml-rpc-api2cpp/Makefile +index 0b9bbe1..435fd9c 100644 +--- a/tools/xml-rpc-api2cpp/Makefile ++++ b/tools/xml-rpc-api2cpp/Makefile +@@ -6,10 +6,22 @@ ifeq ($(SRCDIR),) + endif + SUBDIR := tools/xml-rpc-api2cpp + +-default: all +- + include $(BLDDIR)/config.mk + ++PROGRAMS_TO_INSTALL := ++MAN_FILES_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xml-rpc-api2cpp ++ MAN_FILES_TO_INSTALL += xml-rpc-api2cpp.1 ++ endif ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ + include $(SRCDIR)/tools/common.mk + + INCLUDES = -I$(BLDDIR) -I$(BLDDIR)/include -I$(SRCDIR)/include +@@ -20,14 +32,6 @@ LDFLAGS = $(LADD) + + LDLIBS = -L$(BLDDIR)/src/cpp -lxmlrpc_cpp -lxmlrpc_server $(CLIENT_LDLIBS) + +-PROGS := +- +-ifeq ($(MUST_BUILD_CLIENT),yes) +- PROGS += xml-rpc-api2cpp +-endif +- +-all: $(PROGS) +- + OBJECTS = \ + xml-rpc-api2cpp.o \ + DataType.o \ +diff --git a/tools/xml-rpc-api2txt b/tools/xml-rpc-api2txt +deleted file mode 100755 +index e771463..0000000 +--- a/tools/xml-rpc-api2txt ++++ /dev/null +@@ -1,147 +0,0 @@ +-#!/usr/bin/perl -w +-# +-# A handy little program to get the documentation of the available +-# methods from an XML-RPC service (via XML-RPC Introspection) and +-# print it out nicely formatted. +-# +-# (I wrote this in Perl because of all the spiffy report-generation +-# features.) +-# +-# You'll need to get Ken MacLeod's Frontier::RPC2 module from CPAN to use +-# this. +-# +-# Eric Kidd <eric.kidd@pobox.com> +-# +-# This script is part of xmlrpc-c, and may be used and distributed under +-# the same terms as the rest of the package. +- +-use strict; +- +-# One global variable for use with Perl's format routines, and one for +-# use inside an 'exec' block. +-use vars qw/$helptext $method_list/; +- +-# Try to load our Perl XML-RPC bindings, but fail gracefully. +-eval { +- require Frontier::Client; +-}; +-if ($@) { +- print STDERR <<"EOD"; +-This script requires Ken MacLeod\'s Frontier::RPC2 module. You can get this +-from CPAN or from his website at http://bitsko.slc.ut.us/~ken/xml-rpc/ . +- +-For installation instructions, see the XML-RPC HOWTO at: +- http://www.linuxdoc.org/HOWTO/XML-RPC-HOWTO/index.html +- +-EOD +- exit 1; +-} +- +-# Parse our command-line arguments. +-if (@ARGV != 1 || $ARGV[0] eq "--help") { +- print STDERR "Usage: xml-rpc-api2txt serverURL\n"; +- exit 1; +-} +- +-my $server = Frontier::Client->new(url => $ARGV[0]); +- +-# Try (very carefully) to get our a list of methods from the server. +-local $method_list; +-eval { +- $method_list = $server->call('system.listMethods'); +-}; +-if ($@) { +- print STDERR <<"EOD"; +-An error occurred while trying to talk to the XML-RPC server: +- +- $@ +- +-This may have been caused by several things--the server might not support +-introspection, it might not be an XML-RPC server, or your network might be +-down. Try the following: +- +- xml-rpc-api2txt http://xmlrpc-c.sourceforge.net/api/sample.php +- +-EOD +- exit 1; +-} +- +-# Enter the methods into a hashtable. +-my @methods = sort @$method_list; +-my %method_table; +-foreach my $method (@methods) { +- $method_table{$method} = {}; +-} +- +-# Get more information for the hash table. Since we need to make lots and +-# lots of very small XML-RPC calls, we'd like to use system.multicall to +-# reduce the latency. +-if (defined $method_table{'system.multicall'}) { +- +- # This is messy but fast. Everybody hates HTTP round-trip lag, right? +- my @call; +- foreach my $method (@methods) { +- push @call, {methodName => 'system.methodSignature', +- params => [$method]}; +- push @call, {methodName => 'system.methodHelp', +- params => [$method]}; +- } +- my @result = @{$server->call('system.multicall', \@call)}; +- for (my $i = 0; $i < @methods; $i++) { +- my $method = $methods[$i]; +- $method_table{$method}->{'signatures'} = $result[2*$i]->[0]; +- $method_table{$method}->{'help'} = $result[2*$i+1]->[0]; +- } +-} else { +- +- # This is easy but slow (especially over backbone links). +- foreach my $method (@methods) { +- my $signature = $server->call('system.methodSignature', $method); +- my $help = $server->call('system.methodHelp', $method); +- $method_table{$method}->{'signatures'} = $signature; +- $method_table{$method}->{'help'} = $help; +- } +-} +- +-# Now, we need to dump the API. +-print <<"EOD"; +-XML-RPC API for $ARGV[0] +- +-See http://www.linuxdoc.org/HOWTO/XML-RPC-HOWTO/index.html for instructions +-on using XML-RPC with Perl, Python, Java, C, C++, PHP, etc. +-EOD +-foreach my $method (@methods) { +- print "\n"; +- +- # Print a synopsis of the function. +- if ($method_table{$method}->{'signatures'} eq 'undef') { +- # No documentation. Bad server. No biscuit. +- print "unknown $method (...)\n"; +- } else { +- for my $signature (@{$method_table{$method}->{'signatures'}}) { +- my $return_type = shift @$signature; +- my $arguments = join(", ", @$signature); +- print "$return_type $method ($arguments)\n"; +- } +- } +- print "\n"; +- +- my $help = $method_table{$method}->{'help'}; +- if ($help =~ /\n/) { +- # Text has already been broken into lines by the server, so just +- # indent it by two spaces and hope for the best. +- my @lines = split(/\n/, $help); +- my $help = " " . join("\n ", @lines); +- print "$help\n"; +- } else { +- # Print our help text in a nicely-wrapped fashion using Perl's +- # formatting routines. +- $helptext = $method_table{$method}->{'help'}; +- write; +- } +-} +- +-format STDOUT = +- ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<~~ +- $helptext +-. +diff --git a/tools/xml-rpc-api2txt.1 b/tools/xml-rpc-api2txt.1 +deleted file mode 100644 +index a9e1ee3..0000000 +--- a/tools/xml-rpc-api2txt.1 ++++ /dev/null +@@ -1,47 +0,0 @@ +-.\" Hey, EMACS: -*- nroff -*- +-.\" First parameter, NAME, should be all caps +-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +-.\" other parameters are allowed: see man(7), man(1) +-.TH XML-RPC-API2TXT 1 "June 27, 2001" +-.\" Please adjust this date whenever revising the manpage. +-.\" +-.\" Some roff macros, for reference: +-.\" .nh disable hyphenation +-.\" .hy enable hyphenation +-.\" .ad l left justify +-.\" .ad b justify to both left and right margins +-.\" .nf disable filling +-.\" .fi enable filling +-.\" .br insert line break +-.\" .sp <n> insert n+1 empty lines +-.\" for manpage-specific macros, see man(7) +-.SH NAME +-xml-rpc-api2txt \- Print out a description of an XML-RPC API as text +-.SH SYNOPSIS +-.B xml-rpc-api2txt +-\fIserver-url\fR +-.SH DESCRIPTION +-xml-rpc-api2txt queries an XML-RPC server using the XML-RPC +-Instrospection API designed by Edd Dumbill. It then prints the +-results to standard output in a nicely formatted form, suitable for +-sending via e-mail. +-.PP +-You can find a list of supported XML-RPC server libraries (and patches +-for many others) at \fBhttp://xmlrpc-c.sourceforge.net/hacks.php\fR. +-.SH OPTIONS +-.TP +-.I server-url +-The name of the server to query. Try +-\fBhttp://xmlrpc-c.sourceforge.net/cgi-bin/interop.cgi\fR. +-.SH BUGS +-xml-rpc-api2txt assumes that method descriptions are ASCII text, not +-HTML as specified in the standard. (In practice, both conventions are +-often seen.) +-.SH SEE ALSO +-.BR xmlrpc-c (7), +-.BR xml-rpc-api2cpp (1). +-.PP +-This program is part of xmlrpc-c. +-.SH AUTHOR +-This manual page was written by Eric Kidd <eric.kidd@pobox.com>. +-It may be distributed under the same terms as the rest of xmlrpc-c. +diff --git a/tools/xml-rpc-api2txt/Makefile b/tools/xml-rpc-api2txt/Makefile +new file mode 100644 +index 0000000..bc8ff3f +--- /dev/null ++++ b/tools/xml-rpc-api2txt/Makefile +@@ -0,0 +1,38 @@ ++ifeq ($(SRCDIR),) ++ updir = $(shell echo $(dir $(1)) | sed 's/.$$//') ++ TOOLSDIR := $(call updir,$(CURDIR)) ++ SRCDIR := $(call updir,$(TOOLSDIR)) ++ BLDDIR := $(SRCDIR) ++endif ++SUBDIR := tools/xml-rpc-api2txt ++ ++include $(BLDDIR)/config.mk ++ ++PROGRAMS_TO_INSTALL := ++MAN_FILES_TO_INSTALL := ++ ++PROGRAMS_TO_INSTALL += xml-rpc-api2txt ++MAN_FILES_TO_INSTALL += xml-rpc-api2txt.1 ++ ++all: ++ ++default: all ++ ++include $(SRCDIR)/tools/common.mk ++ ++# This common.mk dependency makes sure the symlinks get built before ++# this make file is used for anything. ++ ++$(SRCDIR)/tools/common.mk: srcdir blddir ++ ++include depend.mk ++ ++.PHONY: clean ++clean: clean-common ++ rm -f $(PROGS) ++ ++.PHONY: distclean ++distclean: clean distclean-common ++ ++.PHONY: dep ++dep: dep-common +diff --git a/tools/xml-rpc-api2txt/xml-rpc-api2txt b/tools/xml-rpc-api2txt/xml-rpc-api2txt +new file mode 100755 +index 0000000..e771463 +--- /dev/null ++++ b/tools/xml-rpc-api2txt/xml-rpc-api2txt +@@ -0,0 +1,147 @@ ++#!/usr/bin/perl -w ++# ++# A handy little program to get the documentation of the available ++# methods from an XML-RPC service (via XML-RPC Introspection) and ++# print it out nicely formatted. ++# ++# (I wrote this in Perl because of all the spiffy report-generation ++# features.) ++# ++# You'll need to get Ken MacLeod's Frontier::RPC2 module from CPAN to use ++# this. ++# ++# Eric Kidd <eric.kidd@pobox.com> ++# ++# This script is part of xmlrpc-c, and may be used and distributed under ++# the same terms as the rest of the package. ++ ++use strict; ++ ++# One global variable for use with Perl's format routines, and one for ++# use inside an 'exec' block. ++use vars qw/$helptext $method_list/; ++ ++# Try to load our Perl XML-RPC bindings, but fail gracefully. ++eval { ++ require Frontier::Client; ++}; ++if ($@) { ++ print STDERR <<"EOD"; ++This script requires Ken MacLeod\'s Frontier::RPC2 module. You can get this ++from CPAN or from his website at http://bitsko.slc.ut.us/~ken/xml-rpc/ . ++ ++For installation instructions, see the XML-RPC HOWTO at: ++ http://www.linuxdoc.org/HOWTO/XML-RPC-HOWTO/index.html ++ ++EOD ++ exit 1; ++} ++ ++# Parse our command-line arguments. ++if (@ARGV != 1 || $ARGV[0] eq "--help") { ++ print STDERR "Usage: xml-rpc-api2txt serverURL\n"; ++ exit 1; ++} ++ ++my $server = Frontier::Client->new(url => $ARGV[0]); ++ ++# Try (very carefully) to get our a list of methods from the server. ++local $method_list; ++eval { ++ $method_list = $server->call('system.listMethods'); ++}; ++if ($@) { ++ print STDERR <<"EOD"; ++An error occurred while trying to talk to the XML-RPC server: ++ ++ $@ ++ ++This may have been caused by several things--the server might not support ++introspection, it might not be an XML-RPC server, or your network might be ++down. Try the following: ++ ++ xml-rpc-api2txt http://xmlrpc-c.sourceforge.net/api/sample.php ++ ++EOD ++ exit 1; ++} ++ ++# Enter the methods into a hashtable. ++my @methods = sort @$method_list; ++my %method_table; ++foreach my $method (@methods) { ++ $method_table{$method} = {}; ++} ++ ++# Get more information for the hash table. Since we need to make lots and ++# lots of very small XML-RPC calls, we'd like to use system.multicall to ++# reduce the latency. ++if (defined $method_table{'system.multicall'}) { ++ ++ # This is messy but fast. Everybody hates HTTP round-trip lag, right? ++ my @call; ++ foreach my $method (@methods) { ++ push @call, {methodName => 'system.methodSignature', ++ params => [$method]}; ++ push @call, {methodName => 'system.methodHelp', ++ params => [$method]}; ++ } ++ my @result = @{$server->call('system.multicall', \@call)}; ++ for (my $i = 0; $i < @methods; $i++) { ++ my $method = $methods[$i]; ++ $method_table{$method}->{'signatures'} = $result[2*$i]->[0]; ++ $method_table{$method}->{'help'} = $result[2*$i+1]->[0]; ++ } ++} else { ++ ++ # This is easy but slow (especially over backbone links). ++ foreach my $method (@methods) { ++ my $signature = $server->call('system.methodSignature', $method); ++ my $help = $server->call('system.methodHelp', $method); ++ $method_table{$method}->{'signatures'} = $signature; ++ $method_table{$method}->{'help'} = $help; ++ } ++} ++ ++# Now, we need to dump the API. ++print <<"EOD"; ++XML-RPC API for $ARGV[0] ++ ++See http://www.linuxdoc.org/HOWTO/XML-RPC-HOWTO/index.html for instructions ++on using XML-RPC with Perl, Python, Java, C, C++, PHP, etc. ++EOD ++foreach my $method (@methods) { ++ print "\n"; ++ ++ # Print a synopsis of the function. ++ if ($method_table{$method}->{'signatures'} eq 'undef') { ++ # No documentation. Bad server. No biscuit. ++ print "unknown $method (...)\n"; ++ } else { ++ for my $signature (@{$method_table{$method}->{'signatures'}}) { ++ my $return_type = shift @$signature; ++ my $arguments = join(", ", @$signature); ++ print "$return_type $method ($arguments)\n"; ++ } ++ } ++ print "\n"; ++ ++ my $help = $method_table{$method}->{'help'}; ++ if ($help =~ /\n/) { ++ # Text has already been broken into lines by the server, so just ++ # indent it by two spaces and hope for the best. ++ my @lines = split(/\n/, $help); ++ my $help = " " . join("\n ", @lines); ++ print "$help\n"; ++ } else { ++ # Print our help text in a nicely-wrapped fashion using Perl's ++ # formatting routines. ++ $helptext = $method_table{$method}->{'help'}; ++ write; ++ } ++} ++ ++format STDOUT = ++ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<~~ ++ $helptext ++. +diff --git a/tools/xml-rpc-api2txt/xml-rpc-api2txt.1 b/tools/xml-rpc-api2txt/xml-rpc-api2txt.1 +new file mode 100644 +index 0000000..a9e1ee3 +--- /dev/null ++++ b/tools/xml-rpc-api2txt/xml-rpc-api2txt.1 +@@ -0,0 +1,47 @@ ++.\" Hey, EMACS: -*- nroff -*- ++.\" First parameter, NAME, should be all caps ++.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection ++.\" other parameters are allowed: see man(7), man(1) ++.TH XML-RPC-API2TXT 1 "June 27, 2001" ++.\" Please adjust this date whenever revising the manpage. ++.\" ++.\" Some roff macros, for reference: ++.\" .nh disable hyphenation ++.\" .hy enable hyphenation ++.\" .ad l left justify ++.\" .ad b justify to both left and right margins ++.\" .nf disable filling ++.\" .fi enable filling ++.\" .br insert line break ++.\" .sp <n> insert n+1 empty lines ++.\" for manpage-specific macros, see man(7) ++.SH NAME ++xml-rpc-api2txt \- Print out a description of an XML-RPC API as text ++.SH SYNOPSIS ++.B xml-rpc-api2txt ++\fIserver-url\fR ++.SH DESCRIPTION ++xml-rpc-api2txt queries an XML-RPC server using the XML-RPC ++Instrospection API designed by Edd Dumbill. It then prints the ++results to standard output in a nicely formatted form, suitable for ++sending via e-mail. ++.PP ++You can find a list of supported XML-RPC server libraries (and patches ++for many others) at \fBhttp://xmlrpc-c.sourceforge.net/hacks.php\fR. ++.SH OPTIONS ++.TP ++.I server-url ++The name of the server to query. Try ++\fBhttp://xmlrpc-c.sourceforge.net/cgi-bin/interop.cgi\fR. ++.SH BUGS ++xml-rpc-api2txt assumes that method descriptions are ASCII text, not ++HTML as specified in the standard. (In practice, both conventions are ++often seen.) ++.SH SEE ALSO ++.BR xmlrpc-c (7), ++.BR xml-rpc-api2cpp (1). ++.PP ++This program is part of xmlrpc-c. ++.SH AUTHOR ++This manual page was written by Eric Kidd <eric.kidd@pobox.com>. ++It may be distributed under the same terms as the rest of xmlrpc-c. +diff --git a/tools/xmlrpc/Makefile b/tools/xmlrpc/Makefile +index e45334c..7c417b6 100644 +--- a/tools/xmlrpc/Makefile ++++ b/tools/xmlrpc/Makefile +@@ -6,14 +6,20 @@ ifeq ($(SRCDIR),) + endif + SUBDIR := tools/xmlrpc + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc +- + include $(SRCDIR)/tools/common.mk + ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ + INCLUDES = \ + -I../lib/include \ + -Iblddir \ +@@ -25,8 +31,6 @@ CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc +- + UTIL_OBJS = \ + casprintf.o \ + cmdline_parser.o \ +diff --git a/tools/xmlrpc_cpp_proxy/Makefile b/tools/xmlrpc_cpp_proxy/Makefile +index e2783c4..4cfefc9 100644 +--- a/tools/xmlrpc_cpp_proxy/Makefile ++++ b/tools/xmlrpc_cpp_proxy/Makefile +@@ -6,11 +6,19 @@ ifeq ($(SRCDIR),) + endif + SUBDIR := tools/xmlrpc_cpp_proxy + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc_cpp_proxy ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_cpp_proxy ++ endif ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all + + include $(SRCDIR)/tools/common.mk + +@@ -20,8 +28,6 @@ CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_cpp_proxy +- + OBJECTS = \ + xmlrpc_cpp_proxy.o \ + xmlrpcMethod.o \ +diff --git a/tools/xmlrpc_pstream/Makefile b/tools/xmlrpc_pstream/Makefile +index 03fceca..790eead 100644 +--- a/tools/xmlrpc_pstream/Makefile ++++ b/tools/xmlrpc_pstream/Makefile +@@ -6,13 +6,23 @@ ifeq ($(SRCDIR),) + endif + SUBDIR := tools/xmlrpc_pstream + +-READLINE_LDLIBS = -lreadline -lncurses ++include $(BLDDIR)/config.mk + +-default: all ++PROGRAMS_TO_INSTALL := + +-include $(BLDDIR)/config.mk ++ifeq ($(BUILD_XMLRPC_PSTREAM),yes) ++ ifeq ($(MUST_BUILD_CLIENT),yes) ++ ifeq ($(ENABLE_CPLUSPLUS),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_pstream ++ endif ++ endif ++endif + +-PROGRAMS_TO_INSTALL = xmlrpc_pstream ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all ++ ++READLINE_LDLIBS = -lreadline -lncurses + + include $(SRCDIR)/tools/common.mk + +@@ -27,11 +37,9 @@ CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_pstream +- + OBJECTS = \ + xmlrpc_pstream.o \ +- $(TOOLSDIR)/lib/dumpvalue.o \ ++ srcdir/tools/lib/dumpvalue.o \ + + LIBS = \ + $(LIBXMLRPC_CLIENTPP) \ +diff --git a/tools/xmlrpc_transport/Makefile b/tools/xmlrpc_transport/Makefile +index ba212bb..29cf55c 100644 +--- a/tools/xmlrpc_transport/Makefile ++++ b/tools/xmlrpc_transport/Makefile +@@ -6,11 +6,17 @@ ifeq ($(SRCDIR),) + endif + SUBDIR := tools/xmlrpc_transport + +-default: all +- + include $(BLDDIR)/config.mk + +-PROGRAMS_TO_INSTALL = xmlrpc_transport ++PROGRAMS_TO_INSTALL := ++ ++ifeq ($(MUST_BUILD_CLIENT),yes) ++ PROGRAMS_TO_INSTALL += xmlrpc_transport ++endif ++ ++all: $(PROGRAMS_TO_INSTALL) ++ ++default: all + + include $(SRCDIR)/tools/common.mk + +@@ -24,8 +30,6 @@ CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD) + + LDFLAGS = $(LADD) + +-all: xmlrpc_transport +- + UTIL_OBJS = \ + casprintf.o \ + cmdline_parser.o \ +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0005-Make-the-buildfiles-respect-the-options-passed-to-co.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0005-Make-the-buildfiles-respect-the-options-passed-to-co.patch new file mode 100644 index 0000000..840b8de --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0005-Make-the-buildfiles-respect-the-options-passed-to-co.patch @@ -0,0 +1,31 @@ +From c7d5eb8698baaed87ee3523fc28acc244af6b159 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 14:48:13 +0100 +Subject: [PATCH 05/10] Make the buildfiles respect the options passed to configure + +--- + config.mk.in | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/config.mk.in b/config.mk.in +index a84f5e8..a5c38c9 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -319,10 +319,10 @@ INSTALL_SCRIPT = $(INSTALL) -c -m 755 + # PREFIX is designed to be overridden at make time if the user decides + # he doesn't like the default specified at 'configure' time. + +-LIBINST_DIR = $(PREFIX)/lib +-HEADERINST_DIR = $(PREFIX)/include +-PROGRAMINST_DIR = $(PREFIX)/bin +-MANINST_DIR = $(PREFIX)/share/man/man1 ++LIBINST_DIR = @libdir@ ++HEADERINST_DIR = @includedir@ ++PROGRAMINST_DIR = @bindir@ ++MANINST_DIR = @mandir@/man1 + + # DESTDIR is designed to be overridden at make time in order to relocate + # the entire install into a subdirectory. +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0006-Clean-up-some-left-over-libtool-lint.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0006-Clean-up-some-left-over-libtool-lint.patch new file mode 100644 index 0000000..db38aaf --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0006-Clean-up-some-left-over-libtool-lint.patch @@ -0,0 +1,67 @@ +From 2bcb3261e2e6f4345a5ab62d563fa3a484b04182 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 14:57:46 +0100 +Subject: [PATCH 06/10] Clean up some left-over libtool lint + +--- + configure.in | 5 ----- + tools/xmlrpc_transport/Makefile | 7 ------- + 2 files changed, 0 insertions(+), 12 deletions(-) + +diff --git a/configure.in b/configure.in +index 60e3cf8..e1e19d2 100644 +--- a/configure.in ++++ b/configure.in +@@ -117,8 +117,6 @@ fi + + dnl Set up the appropriate Makefile substitutions. + +-LIBXMLRPC_CLIENT_LA=libxmlrpc_client.la +-AC_SUBST(LIBXMLRPC_CLIENT_LA) + CLIENTTEST=clienttest + AC_SUBST(CLIENTTEST) + XMLRPC_CLIENT_H=xmlrpc_client.h +@@ -155,7 +153,6 @@ AC_SUBST(ENABLE_ABYSS_SERVER) + + dnl Set up the appropriate Makefile substitutions. + ABYSS_SUBDIR= +-LIBXMLRPC_ABYSS_SERVER_LA= + SERVERTEST= + VALIDATEE= + XMLRPC_ABYSS_H= +@@ -163,14 +160,12 @@ SERVER= + if test x"$enable_abyss_server" != xno; then + FEATURE_LIST="abyss-server $FEATURE_LIST" + ABYSS_SUBDIR=abyss +- LIBXMLRPC_ABYSS_SERVER_LA=libxmlrpc_abyss_server.la + SERVERTEST=servertest + VALIDATEE=validatee + XMLRPC_ABYSS_H=xmlrpc_abyss.h + SERVER=server + fi + AC_SUBST(ABYSS_SUBDIR) +-AC_SUBST(LIBXMLRPC_ABYSS_SERVER_LA) + AC_SUBST(SERVERTEST) + AC_SUBST(VALIDATEE) + AC_SUBST(XMLRPC_ABYSS_H) +diff --git a/tools/xmlrpc_transport/Makefile b/tools/xmlrpc_transport/Makefile +index 29cf55c..915d745 100644 +--- a/tools/xmlrpc_transport/Makefile ++++ b/tools/xmlrpc_transport/Makefile +@@ -39,13 +39,6 @@ UTIL_OBJS = \ + + UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%) + +-# These are the Libtool .la files. We use them only for make dependencies. +-# We'd like to use these in the link rule, by using libtool --link, but +-# Libtool adds -l options to the link to cover the dependencies that are +-# recorded inside the shared libraries. And it doesn't add the necessary +-# -L options (it can't), so we end up with a messy mixture of the two +-# forms of specifying libraries. +- + LIBS = $(LIBXMLRPC_CLIENT) $(LIBXMLRPC) $(LIBXMLRPC_XML) $(LIBXMLRPC_UTIL) + + xmlrpc_transport:%:%.o $(LIBS) $(UTILS) +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0007-Add-enable-docs-option-and-the-associated-infrastruc.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0007-Add-enable-docs-option-and-the-associated-infrastruc.patch new file mode 100644 index 0000000..7007129 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0007-Add-enable-docs-option-and-the-associated-infrastruc.patch @@ -0,0 +1,566 @@ +From 8e86f59ef3bbe828f6c6b2cb34890b94ffc7453f Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 18:40:28 +0100 +Subject: [PATCH 07/10] Add enable-docs option and the associated infrastructure + +--- + GNUmakefile | 4 +- + common.mk | 15 +++++- + config.mk.in | 9 ++++ + configure.in | 8 +++ + doc/Makefile | 34 +++++++++++++ + lib/abyss/HISTORY | 122 ----------------------------------------------- + lib/abyss/HISTORY-ABYSS | 122 +++++++++++++++++++++++++++++++++++++++++++++++ + lib/abyss/Makefile | 8 +++- + lib/abyss/README | 23 --------- + lib/abyss/README-ABYSS | 23 +++++++++ + lib/expat/Makefile | 8 +++- + tools/xmlrpc/Makefile | 4 ++ + 12 files changed, 229 insertions(+), 151 deletions(-) + create mode 100644 stable/doc/Makefile + delete mode 100644 stable/lib/abyss/HISTORY + create mode 100644 stable/lib/abyss/HISTORY-ABYSS + delete mode 100644 stable/lib/abyss/README + create mode 100644 stable/lib/abyss/README-ABYSS + +diff --git a/GNUmakefile b/GNUmakefile +index afa4d72..5f63567 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -8,7 +8,7 @@ export BLDDIR + + include $(BLDDIR)/config.mk + +-SUBDIRS = include lib src tools examples ++SUBDIRS = include lib src tools examples doc + + # The reason we don't build tools and examples by default is that they + # contain executables, which require significantly more from the +@@ -21,7 +21,7 @@ SUBDIRS = include lib src tools examples + # As with any subdirectory, to build 'tools' or 'examples', cd to the + # subdirectory and make there. + +-DEFAULT_SUBDIRS = include lib src ++DEFAULT_SUBDIRS = include lib src doc + + ifeq ($(BUILD_TOOLS),yes) + DEFAULT_SUBDIRS += tools +diff --git a/common.mk b/common.mk +index 30b72e8..63e03ca 100644 +--- a/common.mk ++++ b/common.mk +@@ -487,10 +487,10 @@ $(SUBDIRS:%=$(CURDIR)/%): + + MKINSTALLDIRS = $(SHELL) $(SRCDIR)/mkinstalldirs + +-.PHONY: install-common install-headers install-bin install-man ++.PHONY: install-common install-headers install-bin install-man install-doc + install-common: \ + install-static-libraries install-shared-libraries \ +- install-headers install-bin install-man ++ install-headers install-bin install-man install-doc + + INSTALL_LIB_CMD = $(INSTALL_DATA) $$p $(DESTDIR)$(LIBINST_DIR)/$$p + RANLIB_CMD = $(RANLIB) $(DESTDIR)$(LIBINST_DIR)/$$p +@@ -547,6 +547,17 @@ install-man: $(MAN_FILES_TO_INSTALL) + $(INSTALL_MAN_CMD); \ + done + ++DOCDESTDIR = $(DESTDIR)$(DOCINST_DIR) ++INSTALL_DOC_CMD = $(INSTALL_DATA) $$p $(DOCDESTDIR)/$$p ++ ++install-doc: $(DOC_FILES_TO_INSTALL) ++ $(MKINSTALLDIRS) $(DOCDESTDIR) ++ @list='$(DOC_FILES_TO_INSTALL)'; \ ++ for p in $$list; do \ ++ echo "$(DOC_FILES_TO_INSTALL)"; \ ++ $(INSTALL_DOC_CMD); \ ++ done ++ + ############################################################################## + # MISCELLANEOUS RULES # + ############################################################################## +diff --git a/config.mk.in b/config.mk.in +index a5c38c9..6a3ae4b 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -18,6 +18,8 @@ + + # Here are the options the user chose on 'configure': + ++include $(SRCDIR)/version.mk ++ + ENABLE_ABYSS_SERVER = @ENABLE_ABYSS_SERVER@ + ENABLE_ABYSS_THREADS = @ENABLE_ABYSS_THREADS@ + ENABLE_CPLUSPLUS = @ENABLE_CPLUSPLUS@ +@@ -27,6 +29,7 @@ ENABLE_LIBXML2_BACKEND = @ENABLE_LIBXML2_BACKEND@ + MUST_BUILD_WININET_CLIENT = @MUST_BUILD_WININET_CLIENT@ + MUST_BUILD_CURL_CLIENT = @MUST_BUILD_CURL_CLIENT@ + MUST_BUILD_LIBWWW_CLIENT = @MUST_BUILD_LIBWWW_CLIENT@ ++INSTALL_DOCS = @enable_docs@ + BUILD_TOOLS = @BUILD_TOOLS@ + BUILD_XMLRPC_PSTREAM = @BUILD_XMLRPC_PSTREAM@ + LSOCKET = @LSOCKET@ +@@ -319,10 +322,16 @@ INSTALL_SCRIPT = $(INSTALL) -c -m 755 + # PREFIX is designed to be overridden at make time if the user decides + # he doesn't like the default specified at 'configure' time. + ++#datarootdir is the new Autoconf(2.60) name for datadir, which is still ++#accepted, but a warning is issued if datarootdir is not also used. ++ ++DATAROOT_DIR = @datarootdir@ ++DATAINST_DIR = @datadir@ + LIBINST_DIR = @libdir@ + HEADERINST_DIR = @includedir@ + PROGRAMINST_DIR = @bindir@ + MANINST_DIR = @mandir@/man1 ++DOCINST_DIR = $(DATAINST_DIR)/doc/xmlrpc-c-$(XMLRPC_MAJOR_RELEASE).$(XMLRPC_MINOR_RELEASE).$(XMLRPC_POINT_RELEASE)/ + + # DESTDIR is designed to be overridden at make time in order to relocate + # the entire install into a subdirectory. +diff --git a/configure.in b/configure.in +index e1e19d2..e857418 100644 +--- a/configure.in ++++ b/configure.in +@@ -115,6 +115,14 @@ if test $BUILD_TOOLS = yes; then + fi + + ++AC_ARG_ENABLE(docs, ++ [ --enable-docs Install the xmlrpc docs], , ++[enable_docs=no]) ++ ++AC_MSG_CHECKING(whether to install xmlrpc docs) ++AC_MSG_RESULT($enable_docs) ++AC_SUBST(enable_docs) ++ + dnl Set up the appropriate Makefile substitutions. + + CLIENTTEST=clienttest +diff --git a/doc/Makefile b/doc/Makefile +new file mode 100644 +index 0000000..9deefb1 +--- /dev/null ++++ b/doc/Makefile +@@ -0,0 +1,34 @@ ++ifeq ($(SRCDIR),) ++ updir = $(shell echo $(dir $(1)) | sed 's/.$$//') ++ SRCDIR := $(call updir,$(CURDIR)) ++ BLDDIR := $(SRCDIR) ++endif ++SUBDIR := doc ++ ++include $(BLDDIR)/config.mk ++ ++DOC_FILES_TO_INSTALL := ++ ++ifeq ($(INSTALL_DOCS),yes) ++ DOC_FILES_TO_INSTALL += COPYING CREDITS DEVELOPING HISTORY INSTALL SECURITY TESTING TODO ++endif ++ ++include $(SRCDIR)/common.mk ++ ++.PHONY: all ++all: ++ ++.PHONY: default ++default: ++ ++.PHONY: clean ++clean: ++ ++.PHONY: distclean ++distclean: ++ ++.PHONY: dep ++dep: dep-common ++ ++.PHONY: install ++install: install-common +diff --git a/lib/abyss/HISTORY b/lib/abyss/HISTORY +deleted file mode 100644 +index c7774dc..0000000 +--- a/lib/abyss/HISTORY ++++ /dev/null +@@ -1,122 +0,0 @@ +-Here is some stuff from the README file of the original Abyss source +-package in 2000. Abyss used to be an independent package and was included +-in Xmlrpc-c for convenience when Xmlrpc-c was created. Since then, the +-code has been greatly modified and extended for Xmlrpc-c. +- +-The original Abyss project was a product of Moez Mahfoudh mmoez@bigfoot.com. +- +- +- ABYSS Web Server +- ------------------ +- +- +-About: +------- +- +-ABYSS aims to be a fully HTTP/1.1 compliant web server. Its main design +-goals are speed, low resource usage and portability. ABYSS works on most +-UNIX based systems and on Win32 systems (Win95/98/2000/NT). +- +-Copyright: +----------- +- +-Copyright (C) 2000 Moez Mahfoudh. All rights reserved. +- +-Status: +-------- +- +-ABYSS is still in development stage. Actual version is 0.3. Many features +-are not implemented yet but the server core works well and seems to be +-stable. It is fully reliable for serving static files on medium load sites. +-In fact, primary benchmarks show that ABYSS is 70% as fast as Apache when +-using the fork system. This rate jumps to 130% when using threads. +-On UNIX platforms, some problems occurred because of the use of the Pthreads +-library. This will be corrected in the future versions. That's why only the +-fork system is usable under UNIX. This lowers performances but guarantees +-stability. +-CGI/1.1 support is still absent from the current version but will be +-included in the near future. +- +-Change Log: +------------ +- +- * Version 0.3 (March 23,2000): +- o Handles conditional GET requests (by date) +- o Conforms to all the MUSTs of the RFC2616 (newer version of the +- HTTP/1.1 protocol draft) +- o New configuration options (such as pidfile for UNIX systems...) +- o Handles HEAD and OPTIONS methods +- o Many bug fixes +- o Tested on Sun-OS 5.7 +- o Second public release +- +- * Version 0.2 beta (February 7,2000): +- o Handles GET on static files +- o Handles correctly range requests +- o Conforms to 80% of the MUSTs of the RFC2068 (HTTP/1.1 protocol +- draft) +- o Improved code portability (Win32 and UNIX platforms) +- o Tested on Linux 2.2 and Win95/98 +- o First public release +- +- * Version 0.1 (January 2000): +- o Completely rewritten in C +- o Speed improvement +- o New memory allocation scheme (using pools) +- o Never released +- +- * Version 0.0 (January 2000): +- o Initial version +- o Written in C++ +- o Never released +- +-Downloading: +------------- +- +- * Version 0.3 (current version): +- o UNIX package (source) abyss-0.3.tar.gz. +- o Win32 package is not available but you can extract source files +- from the UNIX package and compile them on Windows without any +- modification. (Sorry for this inconvenience: I have no Windows +- machine now to compile the program and to test it. If someone can +- do that, please email me the zipped package and I'll add it here). +- +- * Version 0.2 beta: +- o UNIX package (source) abyss-0.2b.tar.gz. +- o Win32 package (source+binary) abyss-0.2b.zip. +- +-Installation: +-------------- +- +- * For UNIX systems: +- o Untar/Ungzip the distribution package with a command like tar xvfz +- abyss-x.y.tar.gz +- o Edit the Makefile src/Makefile to meet your system requirements. +- o Go to directory src and execute make. +- o The server binary is generated and stored in the bin directory. +- o Edit the conf/abyss.conf to reflect your system configuration (At +- least change the paths). +- o Goto to the bin directory and start the server by typing ./abyss +- -c ../conf/abyss.conf +- +- * For Win32 systems: +- o Unzip the distribution package. +- o An executable file is already present in the bin directory. +- o If you wish to recompile the server, open the src/abyss.dsw file +- with Microsoft Visual C++ 5.0 or higher and rebuild the project. +- o Edit the conf/abyss.conf to reflect your system configuration (At +- least change the paths). +- o Goto to the bin directory and start the server by typing ./abyss +- -c ../conf/abyss.conf +- +- +-To do: +------- +- +- * CGI/1.1 support +- * Web based configuration/administration +- * Speed improvement +- * File caching system +- * Throttling +- * PUT method handling +- * ... +diff --git a/lib/abyss/HISTORY-ABYSS b/lib/abyss/HISTORY-ABYSS +new file mode 100644 +index 0000000..c7774dc +--- /dev/null ++++ b/lib/abyss/HISTORY-ABYSS +@@ -0,0 +1,122 @@ ++Here is some stuff from the README file of the original Abyss source ++package in 2000. Abyss used to be an independent package and was included ++in Xmlrpc-c for convenience when Xmlrpc-c was created. Since then, the ++code has been greatly modified and extended for Xmlrpc-c. ++ ++The original Abyss project was a product of Moez Mahfoudh mmoez@bigfoot.com. ++ ++ ++ ABYSS Web Server ++ ------------------ ++ ++ ++About: ++------ ++ ++ABYSS aims to be a fully HTTP/1.1 compliant web server. Its main design ++goals are speed, low resource usage and portability. ABYSS works on most ++UNIX based systems and on Win32 systems (Win95/98/2000/NT). ++ ++Copyright: ++---------- ++ ++Copyright (C) 2000 Moez Mahfoudh. All rights reserved. ++ ++Status: ++------- ++ ++ABYSS is still in development stage. Actual version is 0.3. Many features ++are not implemented yet but the server core works well and seems to be ++stable. It is fully reliable for serving static files on medium load sites. ++In fact, primary benchmarks show that ABYSS is 70% as fast as Apache when ++using the fork system. This rate jumps to 130% when using threads. ++On UNIX platforms, some problems occurred because of the use of the Pthreads ++library. This will be corrected in the future versions. That's why only the ++fork system is usable under UNIX. This lowers performances but guarantees ++stability. ++CGI/1.1 support is still absent from the current version but will be ++included in the near future. ++ ++Change Log: ++----------- ++ ++ * Version 0.3 (March 23,2000): ++ o Handles conditional GET requests (by date) ++ o Conforms to all the MUSTs of the RFC2616 (newer version of the ++ HTTP/1.1 protocol draft) ++ o New configuration options (such as pidfile for UNIX systems...) ++ o Handles HEAD and OPTIONS methods ++ o Many bug fixes ++ o Tested on Sun-OS 5.7 ++ o Second public release ++ ++ * Version 0.2 beta (February 7,2000): ++ o Handles GET on static files ++ o Handles correctly range requests ++ o Conforms to 80% of the MUSTs of the RFC2068 (HTTP/1.1 protocol ++ draft) ++ o Improved code portability (Win32 and UNIX platforms) ++ o Tested on Linux 2.2 and Win95/98 ++ o First public release ++ ++ * Version 0.1 (January 2000): ++ o Completely rewritten in C ++ o Speed improvement ++ o New memory allocation scheme (using pools) ++ o Never released ++ ++ * Version 0.0 (January 2000): ++ o Initial version ++ o Written in C++ ++ o Never released ++ ++Downloading: ++------------ ++ ++ * Version 0.3 (current version): ++ o UNIX package (source) abyss-0.3.tar.gz. ++ o Win32 package is not available but you can extract source files ++ from the UNIX package and compile them on Windows without any ++ modification. (Sorry for this inconvenience: I have no Windows ++ machine now to compile the program and to test it. If someone can ++ do that, please email me the zipped package and I'll add it here). ++ ++ * Version 0.2 beta: ++ o UNIX package (source) abyss-0.2b.tar.gz. ++ o Win32 package (source+binary) abyss-0.2b.zip. ++ ++Installation: ++------------- ++ ++ * For UNIX systems: ++ o Untar/Ungzip the distribution package with a command like tar xvfz ++ abyss-x.y.tar.gz ++ o Edit the Makefile src/Makefile to meet your system requirements. ++ o Go to directory src and execute make. ++ o The server binary is generated and stored in the bin directory. ++ o Edit the conf/abyss.conf to reflect your system configuration (At ++ least change the paths). ++ o Goto to the bin directory and start the server by typing ./abyss ++ -c ../conf/abyss.conf ++ ++ * For Win32 systems: ++ o Unzip the distribution package. ++ o An executable file is already present in the bin directory. ++ o If you wish to recompile the server, open the src/abyss.dsw file ++ with Microsoft Visual C++ 5.0 or higher and rebuild the project. ++ o Edit the conf/abyss.conf to reflect your system configuration (At ++ least change the paths). ++ o Goto to the bin directory and start the server by typing ./abyss ++ -c ../conf/abyss.conf ++ ++ ++To do: ++------ ++ ++ * CGI/1.1 support ++ * Web based configuration/administration ++ * Speed improvement ++ * File caching system ++ * Throttling ++ * PUT method handling ++ * ... +diff --git a/lib/abyss/Makefile b/lib/abyss/Makefile +index a675624..c0d2491 100644 +--- a/lib/abyss/Makefile ++++ b/lib/abyss/Makefile +@@ -8,6 +8,12 @@ SUBDIR := lib/abyss + + include $(BLDDIR)/config.mk + ++DOC_FILES_TO_INSTALL := ++ ++ifeq ($(INSTALL_DOCS),yes) ++ DOC_FILES_TO_INSTALL += HISTORY-ABYSS README-ABYSS ++endif ++ + SUBDIRS = src + + default: all +@@ -30,7 +36,7 @@ DISTFILES = + distdir: distdir-common + + .PHONY: install +-install: $(SUBDIRS:%=%/install) ++install: $(SUBDIRS:%=%/install) install-common + + .PHONY: dep + dep: $(SUBDIRS:%=%/dep) +diff --git a/lib/abyss/README b/lib/abyss/README +deleted file mode 100644 +index b1d6c80..0000000 +--- a/lib/abyss/README ++++ /dev/null +@@ -1,23 +0,0 @@ +-This directory contains the Abyss HTTP server component of XML-RPC For C/C++ +-(Xmlrpc-c). +- +-This was derived from the independently developed and distributed +-Abyss web server package in 2001. Since that time, work has stopped +-on package except for a non-free derivative of it that the original +-author has done. He uses the Abyss name for that. +- +-So this is now strictly a piece of Xmlrpc-c. Some day, we should change +-the name to avoid confusion with the old code on which it was based and +-the current non-free version. +- +-But for Xmlrpc-c, we don't want to enhance this much. That would +-duplicate the vast amount of work that has gone into other HTTP (web) +-servers such as Apache. If someone needs fancy HTTP service for +-XML-RPC, he should use Apache. One can use Apache with Xmlrpc-c +-either by using an Apache request handler plugin or by using a CGI +-script. Abyss is just for very simple servers, where the complexity +-of using (or even acquiring) Apache would not be warranted. +- +- +-Everything besides what's in the src/ directory is just historical -- +-it comes from the original Abyss in 2001. +diff --git a/lib/abyss/README-ABYSS b/lib/abyss/README-ABYSS +new file mode 100644 +index 0000000..b1d6c80 +--- /dev/null ++++ b/lib/abyss/README-ABYSS +@@ -0,0 +1,23 @@ ++This directory contains the Abyss HTTP server component of XML-RPC For C/C++ ++(Xmlrpc-c). ++ ++This was derived from the independently developed and distributed ++Abyss web server package in 2001. Since that time, work has stopped ++on package except for a non-free derivative of it that the original ++author has done. He uses the Abyss name for that. ++ ++So this is now strictly a piece of Xmlrpc-c. Some day, we should change ++the name to avoid confusion with the old code on which it was based and ++the current non-free version. ++ ++But for Xmlrpc-c, we don't want to enhance this much. That would ++duplicate the vast amount of work that has gone into other HTTP (web) ++servers such as Apache. If someone needs fancy HTTP service for ++XML-RPC, he should use Apache. One can use Apache with Xmlrpc-c ++either by using an Apache request handler plugin or by using a CGI ++script. Abyss is just for very simple servers, where the complexity ++of using (or even acquiring) Apache would not be warranted. ++ ++ ++Everything besides what's in the src/ directory is just historical -- ++it comes from the original Abyss in 2001. +diff --git a/lib/expat/Makefile b/lib/expat/Makefile +index 8feab79..97e4169 100644 +--- a/lib/expat/Makefile ++++ b/lib/expat/Makefile +@@ -8,6 +8,12 @@ SUBDIR := lib/expat + + include $(BLDDIR)/config.mk + ++DOC_FILES_TO_INSTALL := ++ ++ifeq ($(INSTALL_DOCS),yes) ++ DOC_FILES_TO_INSTALL += expat.html ++endif ++ + # Build up SUBDIRS: + SUBDIRS = gennmtab xmlparse xmltok + +@@ -27,7 +33,7 @@ DISTFILES = + + distdir: distdir-common + +-install: $(SUBDIRS:%=%/install) ++install: $(SUBDIRS:%=%/install) install-common + + check: + +diff --git a/tools/xmlrpc/Makefile b/tools/xmlrpc/Makefile +index 7c417b6..1aa96cb 100644 +--- a/tools/xmlrpc/Makefile ++++ b/tools/xmlrpc/Makefile +@@ -11,9 +11,13 @@ include $(BLDDIR)/config.mk + include $(SRCDIR)/tools/common.mk + + PROGRAMS_TO_INSTALL := ++DOC_FILES_TO_INSTALL := + + ifeq ($(MUST_BUILD_CLIENT),yes) + PROGRAMS_TO_INSTALL += xmlrpc ++ ifeq ($(INSTALL_DOCS),yes) ++ DOC_FILES_TO_INSTALL += xmlrpc.html ++ endif + endif + + all: $(PROGRAMS_TO_INSTALL) +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0008-Fix-using-configure-s-input.-We-need-to-define-exec_.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0008-Fix-using-configure-s-input.-We-need-to-define-exec_.patch new file mode 100644 index 0000000..5bd0796 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0008-Fix-using-configure-s-input.-We-need-to-define-exec_.patch @@ -0,0 +1,28 @@ +From 23c737df924e36946674ac1a9a32be2ae83d2d06 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 18:47:46 +0100 +Subject: [PATCH 08/10] Fix using configure's input. We need to define exec_prefix and prefix for that to work. + +--- + config.mk.in | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/config.mk.in b/config.mk.in +index 6a3ae4b..8ba8dec 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -322,9 +322,8 @@ INSTALL_SCRIPT = $(INSTALL) -c -m 755 + # PREFIX is designed to be overridden at make time if the user decides + # he doesn't like the default specified at 'configure' time. + +-#datarootdir is the new Autoconf(2.60) name for datadir, which is still +-#accepted, but a warning is issued if datarootdir is not also used. +- ++prefix = $(PREFIX) ++exec_prefix = @exec_prefix@ + DATAROOT_DIR = @datarootdir@ + DATAINST_DIR = @datadir@ + LIBINST_DIR = @libdir@ +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0009-Fix-C-gcc-4.3-tests.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0009-Fix-C-gcc-4.3-tests.patch new file mode 100644 index 0000000..b8fa7b1 --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0009-Fix-C-gcc-4.3-tests.patch @@ -0,0 +1,53 @@ +From 23525d212572f4b4703d3a2f73a8ef768bd77ce4 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Fri, 23 Jan 2009 23:46:35 +0100 +Subject: [PATCH 09/10] Fix C++ gcc-4.3 tests + +--- + src/cpp/test/server_abyss.cpp | 3 ++- + src/cpp/test/server_pstream.cpp | 2 +- + src/cpp/test/test.cpp | 1 + + 3 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/cpp/test/server_abyss.cpp b/src/cpp/test/server_abyss.cpp +index 4b236ef..2e09068 100644 +--- a/src/cpp/test/server_abyss.cpp ++++ b/src/cpp/test/server_abyss.cpp +@@ -5,7 +5,8 @@ + + =============================================================================*/ + #include <errno.h> +-#include <string> ++#include <cstring> ++#include <cstdlib> + #include <iostream> + #include <vector> + #include <sstream> +diff --git a/src/cpp/test/server_pstream.cpp b/src/cpp/test/server_pstream.cpp +index 83b3e88..f04808a 100644 +--- a/src/cpp/test/server_pstream.cpp ++++ b/src/cpp/test/server_pstream.cpp +@@ -8,7 +8,7 @@ + #include <sys/socket.h> + #include <arpa/inet.h> + #include <errno.h> +-#include <string> ++#include <cstring> + #include <fcntl.h> + + #include "xmlrpc-c/girerr.hpp" +diff --git a/src/cpp/test/test.cpp b/src/cpp/test/test.cpp +index 8a58089..68c90e6 100644 +--- a/src/cpp/test/test.cpp ++++ b/src/cpp/test/test.cpp +@@ -5,6 +5,7 @@ + #include <sstream> + #include <memory> + #include <time.h> ++#include <cstring> + + #include "xmlrpc-c/girerr.hpp" + using girerr::error; +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0010-Fix-C-tests-linking-order.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0010-Fix-C-tests-linking-order.patch new file mode 100644 index 0000000..a0d9fcb --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0010-Fix-C-tests-linking-order.patch @@ -0,0 +1,56 @@ +From 83ffe0eaa4800f0bdfec2302185ee5ab2b57ab3c Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Fri, 23 Jan 2009 23:59:49 +0100 +Subject: [PATCH 10/10] Fix C++ tests linking order. + +--- + src/cpp/test/Makefile | 16 +++++++--------- + 1 files changed, 7 insertions(+), 9 deletions(-) + +diff --git a/src/cpp/test/Makefile b/src/cpp/test/Makefile +index 664a459..03e1402 100644 +--- a/src/cpp/test/Makefile ++++ b/src/cpp/test/Makefile +@@ -19,18 +19,16 @@ XMLRPC_C_CONFIG = $(BLDDIR)/xmlrpc-c-config.test + + CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) + +-LDFLAGS += $(shell $(XMLRPC_C_CONFIG) client --ldadd) ++LIBS := $(shell $(XMLRPC_C_CONFIG) client --ldadd) + + ifeq ($(MUST_BUILD_CURL_CLIENT),yes) +- LDFLAGS += $(shell curl-config --libs) ++ LIBS += $(shell curl-config --libs) + endif + ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) +- LDFLAGS += $(shell libwww-config --libs) ++ LIBS += $(shell libwww-config --libs) + endif + +-LDFLAGS += "-lpthread" +- +-LDFLAGS += $(LADD) ++LIBS += -lpthread + + INCLUDES = -Isrcdir/include -I$(BLDDIR) -Isrcdir -Isrcdir/lib/util/include + +@@ -69,13 +67,13 @@ TEST_LIBS = \ + ifneq ($(ENABLE_LIBXML2_BACKEND),yes) + # We're using the internal Expat XML parser + TEST_LIBS += $(LIBXMLRPC_XMLPARSE_A) $(LIBXMLRPC_XMLTOK_A) +- LDADD_XML = ++ LIB_XML = + else +- LDADD_XML = $(shell xml2-config --libs) ++ LIB_XML = $(shell xml2-config --libs) + endif + + test: $(TEST_OBJS) $(TEST_LIBS) +- $(CXXLD) -o $@ $(LDFLAGS) $(LDADD_XML) $^ ++ $(CXXLD) -o $@ $(LADD) $^ $(LIB_XML) $(LIBS) + + %.o:%.cpp + $(CXX) -c $(INCLUDES) $(CXXFLAGS) $< +-- +1.6.1 + diff --git a/dev-libs/xmlrpc-c/metadata.xml b/dev-libs/xmlrpc-c/metadata.xml new file mode 100644 index 0000000..762741c --- /dev/null +++ b/dev-libs/xmlrpc-c/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>loki_val@gentoo.org</email> + <name>Peter Alfredsen</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.16.08.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.16.08.ebuild new file mode 100644 index 0000000..ed61490 --- /dev/null +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.16.08.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2009 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.16.06-r1.ebuild,v 1.3 2009/01/03 17:52:01 loki_val Exp $ + +EAPI=2 + +inherit eutils multilib base autotools + +DESCRIPTION="A lightweigt RPC library based on XML and HTTP" +SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2" +HOMEPAGE="http://xmlrpc-c.sourceforge.net/" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="+curl +cxx +tools +cgi abyss threads doc" +LICENSE="BSD" +SLOT="0" + +DEPEND="dev-libs/libxml2 + tools? ( dev-perl/frontier-rpc ) + curl? ( net-misc/curl )" + +pkg_setup() { + if ! use curl + then + ewarn "Curl support disabled: No client library will be be built" + fi +} + +#FAIL +#RESTRICT="test" + +#Bug 214137: We need to filter this. +unset SRCDIR + +pkg_setup() { + PATCHES=( "${FILESDIR}/${P}/"* ) +} + + +src_prepare() { + base_src_util autopatch + + # Respect the user's CFLAGS/CXXFLAGS. + sed -i \ + -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" \ + -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" \ + "${S}"/common.mk || die "404. File not found while sedding" + + sed -i \ + -e "/^LIBINST_DIR = / s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" \ + config.mk.in + eautoconf +} + +src_configure() { + # Respect the user's LDFLAGS. + export LADD=${LDFLAGS} + econf --disable-wininet-client \ + --disable-libwww-client \ + --enable-libxml2-backend \ + $(use_enable doc docs) \ + $(use_enable tools) \ + $(use_enable threads abyss-threads) \ + $(use_enable cgi cgi-server) \ + $(use_enable abyss abyss-server) \ + $(use_enable cxx cplusplus) \ + $(use_enable curl curl-client) \ + || die "econf failed" +} + +src_compile() { + emake || die "Compiling failed" +} + +src_test() { + unset LDFLAGS LADD SRCDIR + cd "${S}"/src/test/ + einfo "Building general tests" + make || die "Make of general tests failed" + einfo "Running general tests" + ./test || die "General tests failed" + + 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 DESTDIR="${D}" install || die "installation failed" + prepalldocs +} |