summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-11-20 12:06:54 +0000
committerPeter Volkov <pva@gentoo.org>2011-11-20 12:06:54 +0000
commit97e30ea6504263528522abc714bb86461fd2abfb (patch)
tree731a6cc7ba743dbb078d2da07c165dbb4265f712 /dev-libs
parentMoved from sunrise overlay. Thanks to Marcin Miroslaw <bug@mejor.pl>. Bug #26... (diff)
downloadgentoo-2-97e30ea6504263528522abc714bb86461fd2abfb.tar.gz
gentoo-2-97e30ea6504263528522abc714bb86461fd2abfb.tar.bz2
gentoo-2-97e30ea6504263528522abc714bb86461fd2abfb.zip
Version bump, thank slepnoga for report.
(Portage version: 2.1.10.36/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog7
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.28.03.ebuild92
2 files changed, 98 insertions, 1 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index 063f3c2ab9a4..15fb440a3050 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.97 2011/10/01 21:44:07 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.98 2011/11/20 12:06:54 pva Exp $
+
+*xmlrpc-c-1.28.03 (20 Nov 2011)
+
+ 20 Nov 2011; Peter Volkov <pva@gentoo.org> +xmlrpc-c-1.28.03.ebuild:
+ Version bump, thank slepnoga for report.
*xmlrpc-c-1.28.00 (01 Oct 2011)
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03.ebuild
new file mode 100644
index 000000000000..befe8c2bfbcd
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.28.03.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2011 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.28.03.ebuild,v 1.1 2011/11/20 12:06:54 pva Exp $
+
+EAPI="4"
+
+inherit eutils multilib
+
+# Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
+# We use "advanced" branch, so for the current release revision take look here:
+# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
+# e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
+# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
+# Note: autogenerated tarball checksum changes every download, thus download it
+# manually and distribute on mirrors.
+# It's possible to build net-libs/libwww without ssl support, but taking into
+# account that libwww is not really well maintained and upstream is dead we
+# better use it only in case ssl is required.
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="abyss +cgi +curl +cxx +libxml2 libwww static-libs threads tools"
+
+REQUIRED_USE="test? ( static-libs abyss curl cxx )"
+
+DEPEND="
+ tools? ( dev-perl/frontier-rpc )
+ curl? ( net-misc/curl )
+ libwww? ( net-libs/libwww[ssl] )
+ libxml2? ( dev-libs/libxml2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/advanced"
+
+pkg_setup() {
+ use curl || use libwww || \
+ ewarn "Curl support disabled: No client library will be be built"
+}
+
+#Bug 214137: We need to filter this.
+unset SRCDIR
+
+# Bug 255440
+export LC_ALL=C
+export LANG=C
+
+src_prepare() {
+ sed -i \
+ -e "/CFLAGS_COMMON/s|-g -O3$||" \
+ -e "/CXXFLAGS_COMMON/s|-g$||" \
+ "${S}"/common.mk || die
+
+ export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
+
+ use static-libs || { sed \
+ -e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
+ -i common.mk || die; }
+}
+
+src_configure() {
+ econf --disable-wininet-client \
+ $(use_enable libxml2 libxml2-backend) \
+ $(use_enable libwww libwww-client) \
+ $(use_enable libwww libwww-ssl) \
+ $(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)
+}
+
+src_compile() {
+ emake -r
+}
+
+src_test() {
+ unset LDFLAGS LADD SRCDIR
+ cd "${S}"/test/
+ einfo "Building general tests"
+ make || die "Make of general tests failed"
+ einfo "Running general tests"
+ ./test || die "General tests failed"
+ cd "${S}"/test/cpp/
+ einfo "Running C++ tests"
+ ./test || die "C++ tests failed"
+}