pkgsrc/net/p5-SOAP-Lite/Makefile

40 lines
1.5 KiB
Makefile
Raw Normal View History

2013-08-13 02:43:07 +02:00
# $NetBSD: Makefile,v 1.36 2013/08/13 00:43:07 wen Exp $
2013-08-13 02:43:07 +02:00
DISTNAME= SOAP-Lite-1.04
PKGNAME= p5-${DISTNAME}
2004-01-06 02:06:43 +01:00
CATEGORIES= net perl5
Updated p5-SOAP-Lite to 0.60a. Major changes since 0.55: + Merged SOAP::MIME into SOAP::Lite's core + Cleaned up the UI for the Makefile.PL script - it now detects and indicated whether certain Perl modules have been detected. The table displaying installation preferences has been substantially cleaned up, the code is much more modular and relies on a simple data structure representing potential module dependencies. + Made the Makefile.PL script iterative - meaning, the user will be continually be presented with their preferences until they explicity choose to accept them and continue (bug 747295) + Differentiate between xsd:int and xsd:long to fix interoperability bug with Java Web services ! Fixed MIME interoperability bug with Apache Axis - Axis' MIME parser requires that MIME boundaries are terminiated by a CRLF character where the MIME::Tools package only outputs a CR character. A patch was integrated into the MIME::Tools module which allows SOAP::Lite to specify its own MIME Boundary delimiter ! SOAP Faultcodes are now properly typed a xsd:QName, whereas before they were xsd:string - to be honest, they are left untyped so that toolkits can serialize them according to the schema (bug 747283) ! Fixed documentation error around turning on a trace for multiple "channels" (bug 747310) ! Disabled SOAPStruct (bug 747316) ! Fixed XML::Parser::Expat vulnerability (bug 747265) ! Added item in TROUBLESHOOTING section explaining that there is a bug in Perl 5.8 that prevents +autodispatch from working properly. The workaround is to use dispatch_from instead (bug 747290) ! Fixed warning when autodispatched call has no parameters (bug 747286) ! Fixed warning when empty SOAPAction specified (bug 747278) ! Turned off HTTP keep alive patch by default, however users can now turn on the patch by setting the constant PATCH_HTTP_KEEPALIVE to 1 (bug 747281) ! Removed dependency on the URI module for non-HTTP transports (bug 747306)
2004-05-17 01:17:33 +02:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SOAP/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.soaplite.com/
Update from version 0.69nb1 to 0.71.08. Pkgsrc changes: o Add commented-out HOMEPAGE using search.cpan.org. Upstream changes: 0.710.08 - Jul 13 2008 ! [ 2015071 ] HTTP header is no more accessible The HTTP header can be pre-filled again. Now, the HTTP header is cloned from a (possibly user defined) header for every request ! #37358: Test Failure in Strawberry perl - IO::SessionData ! #37359: Test Failure in Strawberry perl - IO::SessionSet ! [ 2005296 ] CPANTS says META.yml broken ! [ 2005288 ] CPANTS: has_humanreadable_license not ok ! #37040: Memory leak when calling WS using wsdl SOAP::Transport::HTTP->new() was leaking two scalars per call 0.710.07 ! [ 1963995 ] > not deserialized in result ! [ 1833218 ] < and > not deserialized in faultstring/detail ! [ 1959329 ] Incorrect Content-Type while sending requests with no parts ! [ 1945385 ] Incorrect starting part detection for Multipart/Related 0.710.06 ! #36477 SOAP::Lite Envelope not stripped down for XMLRPC ! #36455 XMLRPC::Transport::HTTP::CGI generates extra params 0.710.05 ! got version number right, finally. Thanks to Graham Barr, Andreas J. Koenig and Matt S Trout (in alphabetical order) for support 0.071.04 ! updated version number and fixed declaring version, so that perl 5.6.2 can parse it, too ! fixed memory leaks with XMLRPC::Lite v0.71.03 ! #35041: SOAP::Lite Passes Decoded Strings to LWP ! #35133: Version Unparsable by ExtUtils::MakeMaker ! #33973: KeepAlive fails to function ! #33773: redefined warnings ! #34514: Subclasses of XMLRPC::Serializer misbehave because of a "ref" call in SOAP::Lite (actually fixed in 0.71.01, but I forgot to add it to Changes) 0.71.02 ! [1942233] Memory leak in 0.69 && 0.71 0.71.01 ! #34515: Printing UTF-8 through SOAP::Transport::HTTP throws a warning ! Version numbers updated ! [1904955] Subclassing XMLRPC::Serializer broken 0.71 Feb 2008 - bumped up version. Just curious about commit e-mail. 0.70_08 Feb 25 2008 - bumped up version - accidentally uploaded a ppm to CPAN 0.70_07 Feb 25 2008 + Added additional callbacks to XML::Parser::Lite and made it work under (at least) perl5.6.2, 5.8.7, 5.8.8 and 5.10. Thanks to Adam Leggett. ! Fixes failing test on 5.10. The mechanism for determining whether a class is loaded in SOAP::Server has been changed to the following: Assume loaded if - the class is main - the class implements the required method - the corresponding module (file) exists in %INC This is still error prone - if you know a better algorithm, please help me out. 0.70_06 Feb 16 2008 ! Fixes failing test without FCGI installed 0.70_05 Feb 13 2008 ! Fixes #32971 Undefined subroutine &Apache::Constant::BAD_REQUEST called ! Fixes [ 1867264 ] [PATCH] handle empty complexTypes correctly ! Fixes #32810: [PATCH] handle empty complexTypes correctly (duplicate) ! Fixes [ 1864481 ] XML::Parser::Lite documentation is incomplete + Fixes [ 747302 ] Make tainting work with XML::Parser::Lite + Fixes [ 1864480 ] Make XML::Parser::Lite's private subs private ! Fixes [ uncategorized ] bad XML::Parser::Lite behaviour under perl 5.8 0.70_04 Jan 02 2008 ! Fixes #32008: Failed t/03-server.t tests 2-5 under Perl 5.10 on Mac OS X 10.3.9 ! Fixes [ 1855575 ] "P" autotyped as xsd:duration ! Fixes [ 1842314 ] Expect: 100-Continue does not work with Apache::SOAP ! Fixes #13140 unable to use local file as WSDL service description file Acually there is no bug, but just a missing comment in the examples... 0.70_03 Nov 18 2007 ! Fixes [ 1816906 ] 7/06_modules.t fails with Apache 1.27 ! Fixes [ 1414914 ] longs are serialized into xsd:int by default - ! Fixes [ 1833803 ] int numbers serialized as long ! Fixes #21113: sending xml files using SOAP::Transport::HTTP::CGI (actually trapped a documentation error) ! Fixes #3677: Line > 1000 characters breaks perl parser ! Fixes #11797: SOAP::Transport::HTTP::CGI returns HTTP response headers terminated by "\n" instead of "\r\n" ! Fixed #24211: strings with leading zero mistreated as int ! Fixed #25668: cannot build SOAP::Lite with mod_perl 1.29 ! Fixed #16897: SOAP::Lite 0.66 fails with UNIVERSAL::use ! Fixed #30741: SOAP::Transport::HTTP::Apache 0.70_02 Nov 08 2007 ! Fixed [ 1828412 ] SOAP::Lite serializes faults with wrong element order, thanks to Tom Fischer. ! Fixed [ 1073360 ] Failure to read() long requests under mod_perl (fixed for mod_perl before thanks to JT Justman, now fixed for CGI, too). ! Fixed #30339: envelope subroutine() in XMLRPC/Lite.pm incorrectly requires method parameter for a response envelope ! Fixed #26408: SOAP::Transport::HTTP needs to call extract_cookies when dealing with a cookie jar ! Fixed #22730 test failure on bleedperl ! Fixed #30271 Don't give strings with utf8 flag set to MIME::Base64::encode_base64(). ! Fixed [ 1816907 ] t/01_core.t fails on 5.6.x ! Fixed #24810 missing prerequisite LWP::UserAgent 0.70_01 Oct 18 2007 + Added LOOPBACK test transport backend. + Added more core tests ! Fixed #14052: 'use base' pragma no longer works for SOAP::Lite ! Fixed #27032: Some debugging-aid patches ! Fixed #22732: Documentation error for use_prefix() ! Fixed [ 1044270 ] Suppress type for array when autotyping off ! Fixed [ 1665916 ] encode_scalar needs "no strict 'refs'"? ! Fixed [ 1481017 ] Typo on CPAN's documentation ! Fixed [ 1750846 ] Error with ENV{EXPECT} ! Fixed [ 887015 ] Memory Leak ! Fixed [ 1700326 ] encode_data called incorrectly in envelope ! Fixed [ 1612405 ] Incorrect deserialization of arrays/vectors ! Fixed [ 1204279 ] Boolean serialization error and added test ! Fixed [ 1569418 ] anyURI Serialization problem
2008-07-27 22:56:27 +02:00
#HOMEPAGE= http://search.cpan.org/dist/SOAP-Lite/
COMMENT= Perl5 module providing a lightweight interface to SOAP
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Class-Inspector-[0-9]*:../../devel/p5-Class-Inspector
DEPENDS+= p5-Crypt-SSLeay>=0:../../security/p5-Crypt-SSLeay
DEPENDS+= p5-FCGI>=0:../../www/p5-FCGI
DEPENDS+= {perl>=5.10.0,p5-IO-Compress>=2.017}:../../devel/p5-IO-Compress
DEPENDS+= p5-IO-Socket-SSL>=0:../../security/p5-IO-Socket-SSL
DEPENDS+= {perl>=5.10.0,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
DEPENDS+= p5-MIME-Lite>=0:../../mail/p5-MIME-Lite
DEPENDS+= p5-MIME-tools>=0:../../mail/p5-MIME-tools
DEPENDS+= {perl>=5.10,p5-Net>=0}:../../net/p5-Net
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
2004-01-06 05:26:53 +01:00
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser
DEPENDS+= {perl>=5.10.1,p5-constant>=1.14}:../../devel/p5-constant
DEPENDS+= p5-libwww>=0:../../www/p5-libwww
DEPENDS+= {perl>=5.10.0,p5-version>=0}:../../devel/p5-version
WRKSRC= ${WRKDIR}/${DISTNAME:C|[a-z]$||}
REPLACE_PERL+= bin/SOAPsh.pl bin/XMLRPCsh.pl bin/stubmaker.pl
PERL5_PACKLIST= auto/SOAP/Lite/.packlist
MAKE_PARAMS+= --noprompt
Update p5-SOAP-Lite to 0.69. Changes: 0.69 Aug 16 2006 ! Commented out two lines of code that were causing S::L to die under a non-fatal error condition. This is a HACK. 0.68 July 6 2006 ! Patched support for mod_perl Apache2 (thanks to JT Justman) ! Fixed bug where SOAP::SOM objects were not properly detected, serialized and returned (thanks chris at prather dot o r g) ! Fixed bug with default_ns and ns functions so that they serialized XML properly. + Started to add experimental DIME support - possible impacts to MIME support as well 0.65-beta7 May 12 2005 + Added default_ns and ns to replace the confusing use of uri() and use_prefex() 0.65-beta6 June 3 2005 ! Fixed bug resulting in XMLRPC requests to be serialized using the doc/literal serializer if serializing arrays 0.65-beta5 May 6 2005 ! Fixed critical bug which prevented all XMLRPC servers from working 0.65-beta4 Apr 3 2005 ! Fixed bug 1160881 - HTTP headers are now terminated by \r\n for compatibility with .NET and compliance with HTTP spec. ! Fixed 1158666 - stubmaker.pl no longer call deprecated subroutine + stubmaker.pl got a lot of enhancements - now has help and version output, run time options, etc. See 'man stubmaker.pl' for more. + Classes generated by stub_maker.pl now have a special subroutine called 'want_som.' When set to 1, the stub class will return a SOAP::SOM object for every request. ! Fixed bug 1149427 - now capable of returning SOAP::SOM objects from generated stub classes. 0.65-beta3 Mon Oct 25 2004 + SOAP::Lite will only warn you once when you call a doc/literal service + Added SOAP::Schema->cache_dir() and SOAP::Schema->cache_ttl(), which control how code stubs generated from WSDLs are cached to prevent constant reparsing of WSDL files. ! Tested SOAP::Lite against Google, Salesforce, and FedEx. So far, clients can successfully call these service providers (at least some of their operations) - testing does not provide 100% coverage of their APIs. 0.65-beta2.1 Mon Oct 25 2004 + Fixed bug in unit tests in which MIME::Tools was not properly detected resulting in failed unit tests for some users. + Fixed some documentation issues (speling, etc). 0.65-beta2 Mon Oct 25 2004 ** WARNING ** substantial changes have been made to SOAP::Lite in this release in regards to how it manages attachments. The changes may introduce instabilities into your software that relies on this functionality. Please test your software with 0.65 prior to moving it to a production environment. + Added ReleaseNotes.txt + Added section REPORTING BUGS to pod comments + Deprecated SOAP::Lite->schema removed + Deprecated SOAP::Lite->on_debug removed + Deprecated SOAP::Schema->schema in favor of SOAP::Schema->schema_url + Added SOAP::Schema->useragent - which returns the LWP::UserAgent instance that will be used when accessing WSDLs via the SOAP::Lite->service call. This is helpful when access to a WSDL requires authentication, etc. + Made changes that allow messages to be constructed using a NULL body: <Envelope><Body /></Envelope> + Added constant OBJS_BY_REF_KEEPALIVE which defaults to 600 - this is so that services can configure how long to cache objects marked as persistent using SOAP::Server::Object->objects_by_reference() + Added the ability for a user to modify the UserAgent class used by SOAP::Transport::HTTP::Client, updated Transport.pm's documentation to reflect this. Added $SOAP::Transport::HTTP::Client::USERAGENT_CLASS variable as a means of setting this. + Added initial DIME support + SOAP Packager package/unpackage now take in a context variable as input because DIME needs to know what version of SOAP you are using. + Refactored and rewrote README + Renamed SOAP::Schema->stub() to SOAP::Schema->generate_stub. This populates a private variable called C<stub> with the autogenerate Perl code. + Added SOAP::Schema->stub() which returns the autogenerated Perl code used internally by SOAP::Lite. This can be helpful for debugging SOAP::Lite's utilization of WSDL, as well as helpful to developers working on S::L's WSDL support. 0.65-beta1 Mon Oct 18 15:55:00 2004 + Made SOAP::Serializer->readable actually produce readable XML! ! Fixed bug 747312 - Made XML Schema 2001 the default schema + Changed typelookup of base64 to base64Binary to conform with 2001 schema + Added support for [almost] all XML Schema 2001 built-in datatypes + Added register_ns subroutine to SOAP::Serializer + Added find_prefix subroutine to SOAP::Serializer + Added use_prefix subroutine to SOAP::Serializer + Added a necessary set of initial subroutinues to support wsdl2perl project + Added format_datetime to SOAP::Utils + Documented SOAP::SOM->parts + Added SOAP::SOM->is_multipart + Properly escaped characters to facilitate emacs syntax highlighting + Ran podchecker to validate all POD comments ! Fixed bug 749636 - changed a croak to a warn to enable socket timeouts in SOAP::Transport::TCP::Server + Added support for UDDI 2/3 + Majorly revamped product documentation thanks to the kind contribution made by O'Reilly. Appendix B from "Programming Web Services with Perl" has been completely integrated. + To better segment SOAP::Lite documentation, many modules have been added that contain documentation only. For those who loved the old documentation, it can be found in lib/OldDocs/SOAP/*.pm and lib/OldDocs/SOAP/Transport/*.pm ! Fix a bug in which doclit style arrays were not being deserialized properly. IOW, Repeated elements were not made into an array, only the last occurring value was recorded. + Added the ability for a SOAP Client to gain direct access to the HTTP::Request and HTTP::Response objects. + Changed default envelope namespace prefix from SOAP-ENV to soap + Changed default encoding namespace prefix from SOAP-ENC to soapenc + Reachitected MIME support to decouple MIME layer from transport layer. This only impacts the HTTP layer since that is the only transport in SOAP::Lite that supports attachments. + Creation of SOAP::Packager - decoupled in an extensible way the packaging of parts (a.k.a. attachments). This is used for encoding and decoding. This enables a more seemless addition of DIME support. Changes were made throughout SOAP::Lite to accomodate this functionality. - a call "context" was added to SOAP::Server and SOAP::Deserializer so that those classes could have access to the global SOAP::Packager instance - deprecated many function calls and packages having to do with attachment support - fixed several of the SOAP::*::new() methods so that they don't inadvertantly reinitialize themselves and destroy precious context information in the process + Gave developers direct access to MIME::Parser object so that they can optimize its use. See the following URL to optimize it for memory consumption, parsing speed, disk utilization, etc: http://search.cpan.org/dist/MIME-tools/lib/MIME/Parser.pm#OPTIMIZING_YOUR_PARSER + Added a context variable to SOAP::Serializer and SOAP::Deserializer so that they have mechanisms for getting instance data from the calling context. The value of context is either SOAP::Lite or SOAP::Server depending upon the role the service is playing in the transaction. Contexts are initialized when a call is made, and destroyed when a call is completed. + Greater than character '>' has been added to list of characters that will be automatically escaped. This is not a requirement by the XML spec, it is a MAY, but I am doing it after seeing a minority of people report a compatibility problem. - Removed deprecated methods: SOAP::Serializer::namespace and encodingspace + Added SOAP::Serializer::encodingStyle method which allows users to set the URI for default encodingStyle. + Added initial support for literal encoding style. EXPERIMENTAL + Added some true constant values representing various SOAP namespace URIs + Added SOAP::Constants::SUPPORTED_ENCODING_STYLES for better tracking of the set of encoding styles that the toolkit can [de]serialize ! Fixed bug 840172 - "Makefile.PL --noprompt flag broken," now fixed + Updated SOAP 1.2 URIs to the latest (TODO - maintain support for older ones) + Added HTTPS support for HTTP::Server Daemon class - thanks to Nils Sowen for this contribution
2006-10-21 19:11:47 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"