summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-08-12 07:37:06 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-08-12 07:37:06 +0000
commit1fe8975e9df3c0c1036b6754ea7aa6b9f13bb5e3 (patch)
tree719d6c22324ea9cf85f32cdb02d9bbc8b45486a3 /dev-libs/xmlrpc-c
parentVersion Bump, plus minor ebuild fixes (diff)
downloadgentoo-2-1fe8975e9df3c0c1036b6754ea7aa6b9f13bb5e3.tar.gz
gentoo-2-1fe8975e9df3c0c1036b6754ea7aa6b9f13bb5e3.tar.bz2
gentoo-2-1fe8975e9df3c0c1036b6754ea7aa6b9f13bb5e3.zip
version bump; fix #142929
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog12
-rw-r--r--dev-libs/xmlrpc-c/files/digest-xmlrpc-c-1.06.033
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch97
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.06.03.ebuild51
4 files changed, 162 insertions, 1 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index b997187b10ff..ca868860ca36 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.16 2006/07/31 06:35:57 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.17 2006/08/12 07:37:06 hollow Exp $
+
+*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)
diff --git a/dev-libs/xmlrpc-c/files/digest-xmlrpc-c-1.06.03 b/dev-libs/xmlrpc-c/files/digest-xmlrpc-c-1.06.03
new file mode 100644
index 000000000000..9def50efb0af
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/digest-xmlrpc-c-1.06.03
@@ -0,0 +1,3 @@
+MD5 d97bc8f290049169e521b8ab0b36214e xmlrpc-c-1.06.03.tgz 679053
+RMD160 e33916221bdb5c8f0b1ebd1099a08f6cc1ce12fa xmlrpc-c-1.06.03.tgz 679053
+SHA256 f9bf17b1a7cdf7d1e20de855012e0f91aef3133316fab35aa27e719abf5383d1 xmlrpc-c-1.06.03.tgz 679053
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch
new file mode 100644
index 000000000000..f4c600b6887c
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch
@@ -0,0 +1,97 @@
+Index: xmlrpc-c-1.06.03/src/cpp/Makefile
+===================================================================
+--- xmlrpc-c-1.06.03.orig/src/cpp/Makefile
++++ xmlrpc-c-1.06.03/src/cpp/Makefile
+@@ -17,12 +17,15 @@ default: all
+ # libxmlrpc_cpp is the legacy C++ wrapper library. The others are the
+ # more elaborate replacements.
+
+-TARGET_LIBRARY_NAMES := \
++TARGET_LIBRARY_NAMES = \
+ libxmlrpc_cpp \
+ libxmlrpc++ \
+ libxmlrpc_server++ \
+- libxmlrpc_server_abyss++ \
+- libxmlrpc_client++ \
++ libxmlrpc_server_abyss++
++
++ifeq ($(MUST_BUILD_CLIENT),yes)
++ TARGET_LIBRARY_NAMES += libxmlrpc_client++
++endif
+
+ STATIC_LIBRARIES_TO_INSTALL = $(TARGET_STATIC_LIBRARIES)
+
+@@ -57,7 +60,9 @@ LIBXMLRPCPP_OBJS = \
+
+ LIBXMLRPC_SERVERPP_OBJS = registry.o
+ LIBXMLRPC_SERVER_ABYSSPP_OBJS = server_abyss.o
++ifeq ($(MUST_BUILD_CLIENT),yes)
+ LIBXMLRPC_CLIENTPP_OBJS = client.o client_simple.o curl.o libwww.o wininet.o
++endif
+
+ ALL_OBJS = \
+ XmlRpcCpp.o \
+Index: xmlrpc-c-1.06.03/GNUmakefile
+===================================================================
+--- xmlrpc-c-1.06.03.orig/GNUmakefile
++++ xmlrpc-c-1.06.03/GNUmakefile
+@@ -36,6 +36,7 @@ OMIT_VERSION_H = Y
+ OMIT_TRANSPORT_CONFIG_H = Y
+
+ transport_config.h: $(BUILDDIR)/Makefile.config
++ifeq ($(MUST_BUILD_CLIENT),yes)
+ rm -f $@
+ echo '/* This file was generated by a make rule */' >>$@
+ ifeq ($(MUST_BUILD_WININET_CLIENT),yes)
+@@ -67,6 +68,7 @@ else
+ endif
+ endif
+ endif
++endif
+
+ .PHONY: clean clean-local
+ clean: $(SUBDIRS:%=%/clean) clean-common clean-local
+Index: xmlrpc-c-1.06.03/src/Makefile
+===================================================================
+--- xmlrpc-c-1.06.03.orig/src/Makefile
++++ xmlrpc-c-1.06.03/src/Makefile
+@@ -68,8 +68,10 @@ endif
+ # referred-to library before it loads libxxx. Note that the link command
+ # may require the necessary -L options in addition.
+
++ifeq ($(MUST_BUILD_CLIENT),yes)
+ LIBXMLRPC_CLIENT_OBJS = xmlrpc_client.lo xmlrpc_client_global.lo
+ LIBXMLRPC_CLIENT_LIBDEP = -lxmlrpc_util -lxmlrpc
++endif
+
+ LIBXMLRPC_SERVER_OBJS = registry.lo system_method.lo
+ LIBXMLRPC_SERVER_LIBDEP = -lxmlrpc_util -lxmlrpc
+@@ -78,8 +80,10 @@ LIBXMLRPC_SERVER_ABYSS_OBJS = xmlrpc_ser
+ LIBXMLRPC_SERVER_ABYSS_LIBDEP = \
+ -lxmlrpc_util -lxmlrpc_server -L$(ABYSS_LIBDIR) -lxmlrpc_abyss -lxmlrpc
+
++ifeq ($(ENABLE_CGI_SERVER),yes)
+ LIBXMLRPC_SERVER_CGI_OBJS = xmlrpc_server_cgi.lo
+ LIBXMLRPC_SERVER_CGI_LIBDEP = -lxmlrpc_util -lxmlrpc_server -lxmlrpc
++endif
+
+ LIBXMLRPC_OBJS = \
+ trace.lo \
+Index: xmlrpc-c-1.06.03/tools/Makefile
+===================================================================
+--- xmlrpc-c-1.06.03.orig/tools/Makefile
++++ xmlrpc-c-1.06.03/tools/Makefile
+@@ -10,11 +10,12 @@ SUBDIRS = binmode-rpc-kit turbocharger
+
+ ifeq ($(MUST_BUILD_CLIENT),yes)
+ SUBDIRS += xmlrpc xmlrpc_transport
+-endif
+
+ ifeq ($(ENABLE_CPLUSPLUS),yes)
+ SUBDIRS += xml-rpc-api2cpp
+ endif
++endif
++
+
+ .PHONY: all clean distclean install check dep
+
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.06.03.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.03.ebuild
new file mode 100644
index 000000000000..9b0c227e1e5b
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.03.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.06.03.ebuild,v 1.1 2006/08/12 07:37:06 hollow Exp $
+
+inherit eutils
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+SRC_URI="mirror://sourceforge/xmlrpc-c/${P}.tgz"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="curl libwww threads"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/libc
+ dev-libs/libxml2
+ libwww? ( net-libs/libwww )
+ curl? ( net-misc/curl )"
+
+pkg_setup() {
+ # paralell make doesn't work
+ MAKEOPTS="-j1"
+
+ if ! use curl && ! use libwww; then
+ ewarn "Neither CURL nor libwww support was selected"
+ ewarn "No client library will be be built"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-1.05-pic.patch
+ epatch "${FILESDIR}"/${PN}-1.06.02-threadupdatestatus.patch
+ epatch "${FILESDIR}"/${PN}-1.06.02-strsol.patch
+ epatch "${FILESDIR}"/${PN}-1.06.03-cppmustbuildclient.patch
+}
+
+src_compile() {
+ econf --disable-wininet-client --enable-libxml2-backend \
+ $(use_enable threads abyss-threads) \
+ $(use_enable curl curl-client) \
+ $(use_enable libwww libwww-client) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}