diff options
author | 2010-03-17 08:51:19 +0000 | |
---|---|---|
committer | 2010-03-17 08:51:19 +0000 | |
commit | 0d839286eba1694bbf94fa6cc6e28a8d5e94b17e (patch) | |
tree | 49a649b781e923d623358b9d81759bf31b2df5fd /dev-perl/RPC-XML/RPC-XML-0.73.ebuild | |
parent | Version bump (diff) | |
download | historical-0d839286eba1694bbf94fa6cc6e28a8d5e94b17e.tar.gz historical-0d839286eba1694bbf94fa6cc6e28a8d5e94b17e.tar.bz2 historical-0d839286eba1694bbf94fa6cc6e28a8d5e94b17e.zip |
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/RPC-XML/RPC-XML-0.73.ebuild')
-rw-r--r-- | dev-perl/RPC-XML/RPC-XML-0.73.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-perl/RPC-XML/RPC-XML-0.73.ebuild b/dev-perl/RPC-XML/RPC-XML-0.73.ebuild new file mode 100644 index 000000000000..5a04bff5c2bd --- /dev/null +++ b/dev-perl/RPC-XML/RPC-XML-0.73.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/RPC-XML/RPC-XML-0.73.ebuild,v 1.1 2010/03/17 08:49:08 tove Exp $ + +EAPI=2 + +MODULE_AUTHOR=RJRAY +inherit perl-module + +DESCRIPTION="An implementation of XML-RPC" + +SLOT="0" +LICENSE="|| ( Artistic-2 LGPL-2.1 )" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +SRC_TEST="do" + +RDEPEND=">=dev-perl/libwww-perl-5.834 + >=dev-perl/XML-LibXML-1.70 + >=dev-perl/XML-Parser-2.31 + dev-perl/net-server + >=virtual/perl-Scalar-List-Utils-1.20" +DEPEND="${RDEPEND}" + +pkg_postinst() { + perl-module_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 +} |