pkgsrc/net/p5-RPC-XML/Makefile

31 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2011/11/05 20:26:27 hiramatsu Exp $
DISTNAME= RPC-XML-0.76
PKGNAME= p5-${DISTNAME}
CATEGORIES= net www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RPC/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.blackperl.com/RPC::XML/
Updated from version 0.60nb1 to 0.64. Pkgsrc changes: o Add commented-out HOMEPAGE using search.cpan.org. Upstream changes: 0.64 Mon Sep 29 04:20:02 PDT 2008 t/40_server.t: Further flexibility on the test of $srv->url(). This should (finally) catch any variation of 127.* address and/or host/domain naming that aliases to "localhost". lib/RPC/XML/Parser.pm: t/20_parser.t: Lingering problem from RT ticket #30354, RPC::XML::Parser did not get the change committed that included parser-level support for <i8>. Also added tests for parsing RPC::XML::request objects and all the data-type objects to the parser test suite (had they been there before, I would have caught this myself). 0.63 Fri Sep 19 02:22:26 PDT 2008 lib/RPC/XML.pm: Forgot to increment $VERSION before the previous commit. Won't show up in CPAN as an available update otherwise. 0.62 Fri Sep 19 02:12:02 PDT 2008 t/40_server.t: Extended the die message when $srv fails to allocate. Some testers are getting a failure here but I have no idea how or why. lib/RPC/XML.pm: Testers-service reports showed that the new i8 type was not auto-boxing correctly on true 64-bit machines. Turns out I had bogus values for the maximums and minimums, not just for 8-byte ints but also for plain 4-byte ones as well. 0.61 Mon Sep 15 01:38:44 PDT 2008 t/00_load.t: Converted to Test::More due to some cpan-testers reports that showed test 2 failing. Hoping this might provide better feedback if it continues to fail. t/40_server.t: Changed a test for "localhost:$port" in the server URL method to optionally allow localhost.localdomain, for those systems whose /etc/hosts cause the former to convert to the latter. Was causing false failures. t/40_server.t: t/50_client.t: t/60_net_server.t: Test suites armored against server processes that die as a result of croak() or other calls within 3rd-party modules. The client and net_server suites were also converted to Test::More at this time. t/40_server.t: Fix for RT ticket #36078, fix the URL testing on the server object to be less strict. Instead of only allowing "localhost", now also allows "localhost.localdomain" and does a look-up of "localhost" for the 127.* IP address and permits that as well. In essence, this extends and supercedes the second change listed above after more invariant cases were discovered. lib/RPC/XML.pm: t/10_data.t: Per RT ticket #30354 and specific request from a large agency using this package, implemented an "i8" type as an extension to the official XML-RPC specification. Documentation and tests included. THIS SHOULD BE CONSIDERED EXPERIMENTAL. t/40_server.t: t/60_net_server.t: Some of the work in armoring the test suites against server-death changed the counts on tests and on call-counts in the system.status method. Some explicit re-starts didn't help.
2008-11-18 16:37:52 +01:00
#HOMEPAGE= http://search.cpan.org/dist/RPC-XML/
COMMENT= XML-RPC client and server library for Perl
pkgsrc changes: - Updating package for p5 module RPC::XML from 0.64 to 0.65 - Adjusting license and dependencies according to META.yml Upstream changes: 0.65 Wednesday June 17, 2009, 06:00:00 AM -0700 * etc/make_method * etc/rpc-method.dtd * lib/RPC/XML/Procedure.pm * t/30_method.t * t/35_namespaces.t (added) * t/namespace1.xpl (added) * t/namespace2.xpl (added) * t/namespace3.xpl (added) Support for declaration of namespaces in XPL code. Adds a new test suite and includes a rewrite/update of the method tests. Change also covers the make_method tool and the DTD for XPL files. * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm * t/02_pod_coverage.t Interim fix for encoding issues, prior to the mega-encoding work. This makes the library correctly create octet-based messages, rather than letting UTF-8 leak in if it was passed in initially. * lib/Apache/RPC/Server.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm Follow-up to previous commit, some serialization-related problems. Not all instances of bytelength() had been removed after the previous slate of changes, and once that was done some tests in 15_serialize.t broke. * lib/RPC/XML.pm * lib/RPC/XML/Parser.pm * t/12_nil.t (added) * t/30_method.t RT #34132: Based on a patch from the requestor, added support for <nil/>. Documentation and tests are present, but a little sparse. This change also incorporates a small add to lib/RPC/XML/Parser.pm to address RT #42033. * t/40_server.t * t/41_server_hang.t RT #27778: Fix problems with child-process management on Windows that was causing t/40_server.t to hang during test runs. Also put skip-clause into t/41_server_hang.t, as according to the person reporting, it doesn't work at all on MSWin (the network code is very UNIX-y). * lib/RPC/XML.pm * t/10_data.t Applied a regexp-fix from Joakim Mared for stringification of doubles. * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm * t/10_data.t RT ticket #35106: Make the behavior of RPC::XML::array constructor work as expected. This led to adding use of Scalar::Util and cleaning up the places where I was still doing "UNIVERSAL::isa(...)" hacks to test refs without the risk of directly calling ->isa() on a potentially-unblessed ref. * lib/Apache/RPC/Server.pm * lib/Apache/RPC/Status.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Function.pm * lib/RPC/XML/Method.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Update the copyright year and license information, and add contact data to all POD sections for RT, AnnoCPAN, GitHub, etc. * lib/RPC/XML/Client.pm * t/50_client.t RT ticket #34559: Allow control of LWP::UA timeouts from within client class. * lib/RPC/XML/Server.pm RT ticket #43019: Small hack to the existing SSL hack for Socket6 problems. * lib/Apache/RPC/Server.pm * lib/Apache/RPC/Status.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Function.pm * lib/RPC/XML/Method.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Since Scalar::Util requires 5.006, make that (5.006001, actually) the base required Perl version.
2009-07-07 23:31:27 +02:00
LICENSE= ${PERL5_LICENSE}
pkgsrc changes: - Updating package for p5 module RPC::XML from 0.64 to 0.65 - Adjusting license and dependencies according to META.yml Upstream changes: 0.65 Wednesday June 17, 2009, 06:00:00 AM -0700 * etc/make_method * etc/rpc-method.dtd * lib/RPC/XML/Procedure.pm * t/30_method.t * t/35_namespaces.t (added) * t/namespace1.xpl (added) * t/namespace2.xpl (added) * t/namespace3.xpl (added) Support for declaration of namespaces in XPL code. Adds a new test suite and includes a rewrite/update of the method tests. Change also covers the make_method tool and the DTD for XPL files. * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm * t/02_pod_coverage.t Interim fix for encoding issues, prior to the mega-encoding work. This makes the library correctly create octet-based messages, rather than letting UTF-8 leak in if it was passed in initially. * lib/Apache/RPC/Server.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm Follow-up to previous commit, some serialization-related problems. Not all instances of bytelength() had been removed after the previous slate of changes, and once that was done some tests in 15_serialize.t broke. * lib/RPC/XML.pm * lib/RPC/XML/Parser.pm * t/12_nil.t (added) * t/30_method.t RT #34132: Based on a patch from the requestor, added support for <nil/>. Documentation and tests are present, but a little sparse. This change also incorporates a small add to lib/RPC/XML/Parser.pm to address RT #42033. * t/40_server.t * t/41_server_hang.t RT #27778: Fix problems with child-process management on Windows that was causing t/40_server.t to hang during test runs. Also put skip-clause into t/41_server_hang.t, as according to the person reporting, it doesn't work at all on MSWin (the network code is very UNIX-y). * lib/RPC/XML.pm * t/10_data.t Applied a regexp-fix from Joakim Mared for stringification of doubles. * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm * t/10_data.t RT ticket #35106: Make the behavior of RPC::XML::array constructor work as expected. This led to adding use of Scalar::Util and cleaning up the places where I was still doing "UNIVERSAL::isa(...)" hacks to test refs without the risk of directly calling ->isa() on a potentially-unblessed ref. * lib/Apache/RPC/Server.pm * lib/Apache/RPC/Status.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Function.pm * lib/RPC/XML/Method.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Update the copyright year and license information, and add contact data to all POD sections for RT, AnnoCPAN, GitHub, etc. * lib/RPC/XML/Client.pm * t/50_client.t RT ticket #34559: Allow control of LWP::UA timeouts from within client class. * lib/RPC/XML/Server.pm RT ticket #43019: Small hack to the existing SSL hack for Socket6 problems. * lib/Apache/RPC/Server.pm * lib/Apache/RPC/Status.pm * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Function.pm * lib/RPC/XML/Method.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Since Scalar::Util requires 5.006, make that (5.006001, actually) the base required Perl version.
2009-07-07 23:31:27 +02:00
DEPENDS+= {perl>=5.10,p5-PathTools>=0.8}:../../devel/p5-PathTools
DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=1.2}:../../devel/p5-Scalar-List-Utils
Updating net/p5-RPC-XML from 0.69 to 0.72 pkgsrc changes: - Adding dependency to p5-XML-LibXML>=1.70 Upstream changes: 0.72 Sunday December 13, 2009, 09:45:00 PM -0700 * Makefile.PL * t/40_server_xmllibxml.t RT #52662: Fix requirement specification for XML::LibXML. * lib/RPC/XML.pm Some more clean-up of the docs, removing a redundant section. 0.71 Monday December 7, 2009, 08:00:00 PM -0700 * MANIFEST * t/01_pod.t (deleted) * t/02_pod_coverage.t (deleted) * t/03_meta.t (deleted) * t/04_minimumversion.t (deleted) * t/05_critic.t (deleted) * xt/01_pod.t (added) * xt/02_pod_coverage.t (added) * xt/03_meta.t (added) * xt/04_minimumversion.t (added) * xt/05_critic.t (added) Moved author-only tests to xt/, updated MANIFEST. * MANIFEST Add test suite 28_parser_bugs_50013.t, which was omitted from last release. * xt/01_pod.t * xt/02_pod_coverage.t * xt/03_meta.t * xt/04_minimumversion.t * xt/05_critic.t Re-engineered the author-only/release tests, since they're no longer in the t/ directory and thus should not interfere. 0.70 Sunday December 6, 2009, 10:00:00 PM -0700 * lib/RPC/XML.pm * t/10_data.t RT #49406: Make Base64 data-type allow zero-length data. * lib/RPC/XML.pm * t/10_data.t Hand-applied a patch (most likely from Bill Moseley) to extend the construction of dateTime.iso8601 data-types. * t/40_server.t Fixed another corner-case for the url() test. * lib/RPC/XML.pm Fixed a case from previous work that caused "undef" warnings. * lib/RPC/XML.pm * lib/RPC/XML/Parser.pm * t/28_parser_bugs_50013.t RT #50013: Restore backwards-compatibility for projects that use RPC::XML::Parser directly. * lib/RPC/XML/Procedure.pm RT #50143: Incorrectly called server_fault() as if it were a coderef. * lib/Apache/RPC/Server.pm Applied patch from Frank Wiegand to fix a POD problem. * lib/RPC/XML.pm Some additional regexp issues on dateTime.iso8601, to handle backwards-compatibility. * lib/RPC/XML/ParserFactory.pm Fixed some minor doc errors. * lib/RPC/XML/Parser/XMLParser.pm Moved the 'require' of some libraries to the point where they are first needed, to delay loading until/unless necessary. * lib/RPC/XML/Parser/XMLLibXML.pm (added) * t/21_xml_libxml.t (added) * t/29_parserfactory.t * t/40_server_xmllibxml.t (added) Implement support for XML::LibXML in the parser-factory.
2010-01-16 16:32:58 +01:00
DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML
DEPENDS+= p5-XML-Parser>=2.31:../../textproc/p5-XML-Parser
DEPENDS+= p5-libwww>=5.834:../../www/p5-libwww
DEPENDS+= p5-DateTime>=0.70:../../time/p5-DateTime
DEPENDS+= p5-DateTime-Format-ISO8601>=0.07:../../time/p5-DateTime-Format-ISO8601
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/RPC/XML/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"