summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/RPC-XML/Manifest1
-rw-r--r--dev-perl/RPC-XML/RPC-XML-0.790.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-perl/RPC-XML/Manifest b/dev-perl/RPC-XML/Manifest
index e48a9c0524ae..dd7b9ea3a5e5 100644
--- a/dev-perl/RPC-XML/Manifest
+++ b/dev-perl/RPC-XML/Manifest
@@ -1,2 +1,3 @@
DIST RPC-XML-0.77.tar.gz 205679 SHA256 e38c5d131e8c29f41ca39ac1e4b7abd33ed1c9b417e0d8ac1c24a056ce7e6f5a SHA512 960625a387da279bab93d09f8b62d4e4f3e01a008abcc5503de3661171c1a4ffd4db9a4c10c4882e77bc7d12bb14071ca875c1988a3d3126fdf6ee70d68e80c9 WHIRLPOOL aca53100c4e905eba8ad4ea763058c6e63401d6de14be5c79450143eea3167f8d335eb3ff47789396612099bce4b6eed0aeb2d2b39a3158c161a37b66f15a9dc
DIST RPC-XML-0.78.tar.gz 207243 SHA256 a2c02724a29f8f3183e396d1ca69fa76650cd913334d6d429a094321f588ec6a SHA512 160c5e699d3de78fe61a2d7a307e094261054cc4936d2b909fd0d29af77ca57aa76cd62f421a714c39feb1b46f1d81b9561551884dfb7e4dc6ab560c8e3e2822 WHIRLPOOL 5c72f81b60a53ad3fe51001bb86a978a0eef8a09ef0302f54c84c4b32b89a99bcbeceed756ac4c667e4fe3716e5f3eee69327db73332651a485134e8d0f1e318
+DIST RPC-XML-0.79.tar.gz 209612 SHA256 9822ffcfbea9c2bddef00507dc93f7acb83589e6ff6460ca7040f147aeebf9a9 SHA512 541ee3abf4e44cff68a2b7b7c4f78095e8e4ec479d72b52d300503bc1688f64fd01a0ff3c2cdf8e18573d19af0bae467ac68befe7ad8756e6287ed494a50ce26 WHIRLPOOL 9e42d4c4fee850283bc692cf27915bcd562282e814778253bafa15e5936ab7b8f097e09cbd13ea3ceacbd2673c033e42dda24dc50dc08eeef1ac107cf606af69
diff --git a/dev-perl/RPC-XML/RPC-XML-0.790.0.ebuild b/dev-perl/RPC-XML/RPC-XML-0.790.0.ebuild
new file mode 100644
index 000000000000..c81b991755f8
--- /dev/null
+++ b/dev-perl/RPC-XML/RPC-XML-0.790.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=RJRAY
+MODULE_VERSION=0.79
+inherit perl-module
+
+DESCRIPTION="An implementation of XML-RPC"
+
+SLOT="0"
+LICENSE="|| ( Artistic-2 LGPL-2.1 )"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="test"
+
+SRC_TEST="do"
+
+RDEPEND="
+ >=virtual/perl-File-Spec-0.800.0
+ >=dev-perl/libwww-perl-5.834.0
+ >=virtual/perl-Module-Load-0.240.0
+ >=virtual/perl-Scalar-List-Utils-1.200.0
+ >=dev-perl/XML-LibXML-1.850.0
+ >=dev-perl/XML-Parser-2.310.0
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( >=virtual/perl-Test-Simple-0.940.0 )
+"
+
+# Dubious test.
+PERL_RM_FILES=(
+ t/60_net_server.t
+)
+
+pkg_postinst() {
+ SETWARN=0
+ has_version '=www-servers/apache-2*' && HAVE_APACHE2=1
+ has_version '>=www-apache/mod_perl-2.0' && HAVE_MP2=2
+
+ [ -n "${HAVE_APACHE2}" ] && SETWARN=1
+ [ -n "${HAVE_MP2}" ] && SETWARN=1
+
+ if [ "${SETWARN}" == "1" ]; then
+ ewarn "Apache2 or mod_perl2 were detected."
+ ewarn ""
+ ewarn "NOTE FROM THE AUTHOR OF RPC-XML"
+ ewarn ""
+ ewarn "At present, this package does not work with Apache2 and the soon-to-be"
+ ewarn "mod_perl2. The changes to the API for location handlers are too drastic to"
+ ewarn "try and support both within the same class (I tried, using the compatibility"
+ ewarn "layer). Also, mp2 does not currently provide support for <Perl> sections, which"
+ ewarn "are the real strength of the Apache::RPC::Server class."
+ fi
+}