summaryrefslogtreecommitdiff
path: root/net/p5-RPC-XML
AgeCommit message (Collapse)AuthorFilesLines
2020-09-04p5-RPC-XML: remove p5-Compress-Raw-Zlib, part of perlwiz1-6/+2
2020-08-31*: bump PKGREVISION for perl-5.32.wiz1-2/+2
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-2/+2
2018-08-22Recursive bump for perl5-5.28.0wiz1-2/+2
2018-07-04*: Move SUBST_STAGE from post-patch to pre-configurejperkin1-2/+2
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
2017-06-05Recursive revbump from lang/perl5 5.26.0ryoon1-2/+2
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-06-05Update to 0.80wen2-8/+7
Upstream changes: 0.80 Sunday May 8, 2016, 12:45:00 PM -0700 * etc/make_method Make the build reproducible by dropping timestamps in make_method output. (Niko Tyni) * t/40_server.t * t/40_server_xmllibxml.t * t/50_client.t Fixes for test problems with Strawberry Perl. * lib/RPC/XML/Client.pm Fix leak caused by failing to free Expat parser. We don't want to return from the method until the parser's been freed. We therefore need to call $parser->release() before the return statements caused by request failures. (Tom Grimwood-Taylor) * lib/RPC/XML/Server.pm One socket-opt change, one typo corrected. * lib/RPC/XML.pm Applied patch for numeric regexes and critic cleanup. Addresses GitHub pull request #10 and RT #111636. * t/60_net_server.t RT #99578: Work-around fix for Net::Server+IO::Socket::IP. If a system's IPv6 declaration of localhost was before the IPv4 declaration in the hosts file, this test would fail.
2015-11-04Add SHA512 digests for distfiles for net categoryagc1-1/+2
Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-07-12Comment out dependencies of the stylewiz1-3/+3
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS since pkgsrc enforces the newest perl version anyway, so they should always pick perl, but sometimes (pkg_add) don't due to the design of the {,} syntax. No effective change for the above reason. Ok joerg
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-05-03(pkgsrc)mef2-7/+9
- Add comment on DEPENDS related, make test may fail # if Net::Server exists, t/60 may fail due to more test items # t/60_net_server.t ............... skipped: Net::Server not available #DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server (upstream) - Update to 0.79 -------------- 0.79 Friday May 1, 2015, 09:00:00 AM -0700 * t/40_server.t * t/40_server_xmllibxml.t * t/41_server_hang.t * t/60_net_server.t * t/70_compression_detect.t * t/90_rt54183_sigpipe.t * t/util.pl Test clean-up/fixes to address CPAN test failures. Should address problems with having IO::Socket::IP acting in place of IO::Socket::INET and also address some issues with a dynloader bug being triggered by t/70_compression_detect.t. * t/00_load.t * t/10_data.t * t/11_base64_fh.t * t/12_nil.t * t/13_no_deep_recursion.t * t/14_datetime_iso8601.t * t/15_serialize.t * t/20_xml_parser.t * t/21_xml_libxml.t * t/25_parser_negative.t * t/29_parserfactory.t * t/30_procedure.t * t/35_namespaces.t * t/40_server.t * t/40_server_xmllibxml.t * t/41_server_hang.t * t/50_client.t * t/51_client_with_host_header.t * t/60_net_server.t * t/90_rt50013_parser_bugs.t * t/90_rt54183_sigpipe.t * t/90_rt54494_blessed_refs.t * t/90_rt58065_allow_nil.t * t/90_rt58323_push_parser.t * t/util.pl Perl::Critic clean-up of test suites. * lib/RPC/XML/Parser/XMLParser.pm Fix to prevent a new sprintf-related warning in 5.21. * README * lib/Apache/RPC/status.code Merge pull request #8 from jkg/docfixes (James Green). Replace indirect object notation with direct.
2014-07-31`use base` claims to be able to find the named parent module evenschmonz1-1/+7
when it's defined otherwise than a separate file with a matching name. When committing to the NetBSD wiki, I'm seeing RPC::XML errors that suggest otherwise ("Can't locate RPC/XML/datatype.pm" and so on). I don't know why we're having this problem on wiki.n.o and I haven't managed to reproduce it elsewhere, but it sure looks fixed after switching to `use parent -norequire`. `use parent` seems to be generally preferred usage anyway. Bump PKGREVISION.
2014-07-30Update to 0.78. From the changelog:schmonz2-9/+10
* lib/RPC/XML.pm A patch to loop detection in smart_encode from Dag-Erling Smørgrav. Some other minor bits. * lib/RPC/XML/Procedure.pm RT #83108: Fixed a spelling error. Some other fixes, too. * lib/RPC/XML.pm RT #86187: Force key-ordering in struct as_string and serialize. Was getting some intermittent bug reports of failures in t/15_serialize.t that amounted to the keys in a fault struct not being in consistent order. * lib/RPC/XML.pm * t/15_serialize.t Undo the previous change and fix the test. The previous change didn't feel right, so this rolls it back and fixes the problem at the level of the test, instead. * Makefile.PL * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm Replace direct evals for loading optional modules with Module::Load. Required adding this to Makefile.PL because Module::Load is not core in 5.8.8. Also did some slight doc tweaking. * lib/RPC/XML.pm * lib/RPC/XML/Client.pm Merge pull request #5 from alexrj/utf8-encode. Use utf8::encode() instead of utf8::downgrade(). * lib/RPC/XML.pm * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm Finish the uft8 encode vs. downgrade change from the previous commit. Changed in places that were overlooked, and adjusted the version number in all three modules. * lib/RPC/XML.pm * lib/RPC/XML/Parser/XMLLibXML.pm Merge pull request #6 from dctabuyz/master. Added 'no_blanks' libxml option to skip blank XML::LibXML::Text nodes. * lib/RPC/XML/Server.pm Merge pull request #7 from kvar/master. Initialize $do_compress in RPC::XML::Server between requests. * lib/RPC/XML.pm * lib/RPC/XML/Parser/XMLLibXML.pm * lib/RPC/XML/Server.pm Bump version numbers on modules changed in github pulls. * t/15_serialize.t Fix a test failure on Windows. * lib/RPC/XML.pm RT #70408: Fix spelling error in man page, reported by Debian group. * t/90_rt54183_sigpipe.t Fix to handle cases where server creation fails. Now skips the tests rather than dying. * lib/RPC/XML/Client.pm RT #67486: Add port to Host header in client requests. * lib/RPC/XML/Server.pm RT #65341: Added "use" of forgotten library File::Temp. This was causing failure when "message_file_thresh" kicked in. * t/10_data.t RT #78602: Changed 64-bit test from use64bitint to longsize. On some systems (such as OS X), use64bitint can be true even when in 32-bit mode. * t/21_xml_libxml.t Fix from Christian Walde, skip passed test on Windows. * lib/RPC/XML/Server.pm * t/40_server.t Checkpoint refactoring and additional tests. Work is not complete here, but the Net::Server changes demand immediate attention * t/20_xml_parser.t RT #72780: Check for a possible parser failure. One instance of XML::Parser failing to parse the extern entities test. Cannot reproduce, so wrap it in a "skip" block for now. * lib/RPC/XML/Procedure.pm * t/30_method.t RT #71452: Correct handling of dateTime parameters. Existing code in lib/RPC/XML/Procedure.pm did not properly handle parameters of the dateTime.iso8601 type. Also, there were no tests for these. * MANIFEST * t/30_method.t (deleted) * t/30_proceudre.t (added) Renamed t/30_method.t to t/30_procedure.t. * lib/RPC/XML/Server.pm RT #77992: Make RPC::XML::Server work with Net::Server again, after the API changes of Net::Server 2.x.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2011-11-05Update p5-RPC-XML to 0.76.hiramatsu2-8/+9
Changes from previous: - fixed typo - clean up test suite - improved date parsing - fix MANIFEST - improved arguments-checking in send_request. - fixes from Devel::Cover analysis. - fixes for file-based method loading/reloading. - documentation clean-up and update.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-1/+2
2010-09-08Welcome to 0.73:schnoebe2-7/+6
0.73 Tuesday March 16, 2010, 10:45:00 PM -0700 * MANIFEST * t/28_parser_bugs_50013.t (deleted) * t/90_rt50013_parser_bugs.t (added) Rename of t/28_parser_bugs_50013.t to fit more universal scheme for test suites that directly address specific RT bugs. * lib/RPC/XML/Server.pm * t/90_rt54183_sigpipe.t (added) RT #54183: Provide handling of SIGPIPE when sending the response to the client, in case they've terminated the connection. * MANIFEST Forgot to add the new test suite to MANIFEST. * lib/RPC/XML/Server.pm Forgot to update the module version number. * lib/RPC/XML.pm Fix typo in reftype() call. * lib/RPC/XML.pm * t/90_rt54494_blessed_refs.t (added) RT #54494: Fix handling of blessed references in smart_encode(). * 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/Parser/XMLLibXML.pm * lib/RPC/XML/Parser/XMLParser.pm * lib/RPC/XML/ParserFactory.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Large-scale code clean-up driven by Perl::Critic. All critic flags down to severity 1 now removed. * MANIFEST Forgot to add t/90_rt54494_blessed_refs.t when it was created.
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-01-16Updating net/p5-RPC-XML from 0.69 to 0.72sno2-6/+7
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.
2009-09-13Updating net/p5-RPC-XML from 0.67 to 0.69sno2-6/+6
Upstream changes: 0.69 Thursday September 3, 2009, 10:25:00 AM -0700 * t/00_load.t * t/01_pod.t * t/02_pod_coverage.t * t/10_data.t * t/11_base64_fh.t * t/12_nil.t * t/15_serialize.t * t/20_parser.t * t/50_client.t Minor clean-up of old CVS/SVN keyword references. * lib/RPC/XML/Client.pm * lib/RPC/XML/Parser.pm * lib/RPC/XML/Parser/XMLParser.pm (added) * lib/RPC/XML/ParserFactory.pm (added) * lib/RPC/XML/Server.pm * t/20_parser.t (deleted) * t/20_xml_parser.t (added) * t/29_parserfactory.t (added) * t/40_server.t * t/util.pl Converted parsing to be from a specific class to a parser-factory style. This included renaming the existing parser class and shuffling tests around. * t/70_compression_detect.t Cleaner approach to scrubbing symbol tables. * t/00_load.t * t/01_pod.t * t/02_pod_coverage.t * t/03_meta.t (added) * t/04_minimumversion.t (added) * t/05_critic.t (added) New tests, and developer-specific tests changed to only run in my copy. * lib/RPC/XML/Client.pm * lib/RPC/XML/Parser/XMLParser.pm * lib/RPC/XML/Server.pm * t/11_base64_fh.t * t/15_serialize.t * t/20_xml_parser.t * t/30_method.t * t/35_namespaces.t * t/40_server.t * t/41_server_hang.t * t/50_client.t RT #47806: One more patch for Windows compatibility with temp-files. * 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/Parser/XMLParser.pm * lib/RPC/XML/ParserFactory.pm * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm Fixes based on Perl::Critic and other best-practices techniques. * etc/make_method Also made changes based on Perl::Critic. * MANIFEST * lib/RPC/XML/Parser.pm * lib/RPC/XML/Parser/XMLParser.pm Expanded definition of the interface to include push-parsing methods. Documented these and added stubs to RPC::XML::Parser::XMLParser that throw exceptions when called by a non-push-parser instance. Reflected changes to test suite in MANIFEST. * lib/RPC/XML/Parser/XMLParser.pm Slight tweak to make this 5.6.1-compatible. * lib/RPC/XML/Procedure.pm * lib/RPC/XML/Server.pm RT #42736: Support user-adjustment of server-based faults, and normalize the existing faults. * lib/RPC/XML/Procedure.pm Fix encoding of return values from call() when the method called is of type Function (and thus has no strict signatures). * lib/RPC/XML.pm * t/13_no_deep_recursion.t (added) RT #41063: Re-visit how arrays and structs are smart-encoded and constructed, so as to avoid cyclical data structure references.
2009-07-18Updating package for p5 module for RPC::XML from 0.65 to 0.67sno2-8/+8
Upstream changes: 0.67 Friday July 10, 2009, 01:30:00 AM -0700 * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm * t/70_compression_detect.t (added) RT #47219: Mis-read the patch from previous fix, this actually fixes it. Also added a test suite to check for compression-detection. 0.66 Thursday July 9, 2009, 07:36:15 AM -0700 * lib/RPC/XML/Client.pm * lib/RPC/XML/Server.pm RT #47219: Re-did the detection of compression availability (testing for the Compress::Zlib module) based on comments in this bug. * t/60_net_server.t RT #47220: Net::Server tests are not (currently) viable on Windows. Also made script taint-safe. * t/40_server.t * t/50_client.t * t/util.pl RT #47221: Applied a patch from kmx@volny.cz, for better Windows testing. * 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 All modules now use the "warnings" pragma.
2009-07-07pkgsrc changes:sno2-7/+9
- 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.
2008-11-18Updated from version 0.60nb1 to 0.64.he2-7/+7
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-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-07-23updated to 0.60rhaen2-6/+6
ChangeLog: 0.60 Wed Apr 9 03:01:07 PDT 2008 t/00_load.t: t/01_pod.t: t/02_pod_coverage.t: t/10_data.t: t/11_base64_fh.t: t/15_serialize.t: t/20_parser.t: t/30_method.t: t/40_server.t: t/50_client.t: t/60_net_server.t: Related to the main change of RT ticket #30849, fixes potential problem in the creation of temporary file names if a test script is run directly from the "t" directory. While at it, added a line with the Subversion "Id" keyword and set the "svn:keywords" property on all test scripts. The code-fix is based on suggestions from J??rg Meltzer <joerg@joergmeltzer.de>. lib/RPC/XML/Client.pm: Per RT ticket #30849, fix problem caused by having colons in temp-file names. Fix largely from patch suggested by J??rg Meltzer <joerg@joergmeltzer.de>. lib/RPC/XML/Server.pm: Applied a modified form of a patch submitted by Mike Rylander <miker@n2bb.com> to make things work under SSL. lib/RPC/XML/Server.pm: t/41_server_hang.t: Fixed the bug in RPC::XML::Server::process_request() could lead to an infinite loop if the client shuts down the socket before the full request is sent. Added a test script specific to this bug, to catch it if it reappears. lib/RPC/XML.pm: t/10_data.t: Per RT ticket #30042, made a do-nothing branch in RPC::XML::smart_encode actually die with an error when a reference-type is passed in that cannot be converted. Added two tests to cover this, and took the opportunity to convert 10_data.t to Test::More. t/40_server.t: t/50_client.t: Applied a patch from Chris Darroch to make the spawning of servers work in some corner-cases that were failing. All that was required was explicit specification of 'localhost' in the instantiation. lib/RPC/XML/Parser.pm: t/20_parser.t: Applied a patch from Masatake Daimon (????????????) to improve the performance of the parser by reducing the (vast) number of string-concat operations. During this change, re-wrote the parser tests to use Test::More and have better diagnostics. lib/RPC/XML/Server.pm: t/40_server.t: Per RT ticket #29351, fixed a bug that caused a server to incorrectly report the location and cause of an XML parsing error in the request. The actual bug and solution were different than initially reported in the ticket. lib/RPC/XML.pm: t/10_data.t: Per RT ticket #31818, fix to the XML serialization of double values to conform to the XML-RPC spec, as it does not allow for exponential notation. This also required changes to the tests, as values were no longer being auto-truncated at 5 decimal places. Also finished cleaning up the t/10_data.t test suite with diagnostic messages on the tests that had not previously gotten them. lib/RPC/XML.pm: t/20_parser.t: In response to concerns raised by a report of parsing problems, added XML entity encoding for ' and " (&apos; and &quot;) to the base RPC::XML module, and added a test to the parser suite to make sure it is correctly turning all core XML entities back into characters during the parsing process. lib/Apache/RPC/Server.pm: lib/RPC/XML/Server.pm: t/40_server.t: RT ticket #34557: Provide access to client-side connection info to methods called on the server, by placing the data from get_peeraddr() (as abstracted through existing methods in HTTP::Daemon::ClientConn and Apache::Connection) into localized keys on the server object, as is already done with the method_name and signature pseudo-keys. Tests added to 40_server.t and docs updated. etc/make_method: lib/Apache/RPC/Server.pm: lib/Apache/RPC/Status.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: lib/RPC/XML.pm: Updated all copyright/redistribution information with current year and correct/current URLs for Artistic and LGPL licenses.
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2007-05-06Initial import of p5-RPC-XML 0.59.heinz4-0/+34
The package was originally created by Roman Kulik in pkgsrc-wip. Very small changes by me. The RPC::XML package is an implementation of XML-RPC. The module provides classes for sample client and server implementations, a server designed as an Apache location-handler, and a suite of data-manipulation classes that are used by them.