From 6c832fb296225b454f0995b9e86cef2836e3a9d6 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 6 Jan 2004 00:26:43 +0000 Subject: Initial import of p5-SOAP-Lite-0.55 into the NetBSD packages collection. SOAP::Lite for Perl is a collection of Perl modules which provides a simple and lightweight interface to the Simple Object Access Protocol (SOAP, also known as Service Oriented Access Protocol) both on client and server side. --- net/p5-SOAP-Lite/DESCR | 4 ++ net/p5-SOAP-Lite/Makefile | 21 ++++++ net/p5-SOAP-Lite/PLIST | 1 + net/p5-SOAP-Lite/distinfo | 5 ++ net/p5-SOAP-Lite/patches/patch-aa | 146 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 177 insertions(+) create mode 100644 net/p5-SOAP-Lite/DESCR create mode 100644 net/p5-SOAP-Lite/Makefile create mode 100644 net/p5-SOAP-Lite/PLIST create mode 100644 net/p5-SOAP-Lite/distinfo create mode 100644 net/p5-SOAP-Lite/patches/patch-aa (limited to 'net/p5-SOAP-Lite') diff --git a/net/p5-SOAP-Lite/DESCR b/net/p5-SOAP-Lite/DESCR new file mode 100644 index 00000000000..28576a505bf --- /dev/null +++ b/net/p5-SOAP-Lite/DESCR @@ -0,0 +1,4 @@ +SOAP::Lite for Perl is a collection of Perl modules which provides a +simple and lightweight interface to the Simple Object Access Protocol +(SOAP, also known as Service Oriented Access Protocol) both on client +and server side. diff --git a/net/p5-SOAP-Lite/Makefile b/net/p5-SOAP-Lite/Makefile new file mode 100644 index 00000000000..a28a3929c9e --- /dev/null +++ b/net/p5-SOAP-Lite/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/06 00:26:43 grant Exp $ +# + +DISTNAME= SOAP-Lite-0.55 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=soaplite/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://soaplite.com/ +COMMENT= Perl5 module providing a lightweight interface to SOAP + +DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI +DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64 +DEPENDS+= p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser + +USE_BUILDLINK2= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SOAP/Lite/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/p5-SOAP-Lite/PLIST b/net/p5-SOAP-Lite/PLIST new file mode 100644 index 00000000000..fe759b781be --- /dev/null +++ b/net/p5-SOAP-Lite/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/06 00:26:43 grant Exp $ diff --git a/net/p5-SOAP-Lite/distinfo b/net/p5-SOAP-Lite/distinfo new file mode 100644 index 00000000000..7b19ea23e74 --- /dev/null +++ b/net/p5-SOAP-Lite/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/06 00:26:43 grant Exp $ + +SHA1 (SOAP-Lite-0.55.tar.gz) = 34e502f58f66fac9daee2a7e6c8ec0b79b51e5ba +Size (SOAP-Lite-0.55.tar.gz) = 167076 bytes +SHA1 (patch-aa) = dc355501fbccdc14a9a82d1a037105f20d6f6126 diff --git a/net/p5-SOAP-Lite/patches/patch-aa b/net/p5-SOAP-Lite/patches/patch-aa new file mode 100644 index 00000000000..25080620aab --- /dev/null +++ b/net/p5-SOAP-Lite/patches/patch-aa @@ -0,0 +1,146 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/06 00:26:43 grant Exp $ + +--- Makefile.PL.orig Tue Apr 16 14:38:22 2002 ++++ Makefile.PL +@@ -5,137 +5,15 @@ use ExtUtils::MakeMaker; + require 5.004; + use strict; + +-my $prerequisites = < +- +-Possible options are: +- +- --noprompt Disable interactive dialog +- --alltests Perform extra testing +- --help, -? Display this help text +- +- [Do not] install prerequisites for appropriate module: +- +-EOI +- +-# Create config parameters using module names and expand help text +-# We will create a hash (%config) that has each module => (1|0) for install +-my(%options, %config); +-foreach (split "\n", $prerequisites) { +- next unless /\((SOAP::[\w:]+).+\[(yes|no)\]/; +- my $module = do { (my $t = $1) =~ s/::/-/g; $t }; +- my $shortcut = do { (my $t = $module) =~ s/SOAP-(?:Transport-)?//; $t }; +- $config{$1} = $2 eq 'yes'; +- $options{"install-$module|$shortcut!"} = \$config{$1}; +- $helptext .= sprintf " --[no]install-%-28s --[no]%s\n", $module, $shortcut; +-} +- +-GetOptions( +- 'prompt!' => \(my $prompt = 1), +- 'alltests!' => \(my $alltests = 0), +- 'help|?' => \(my $help = 0), +- %options, ++my %prerequisites = ( ++ "XML::Parser" => "2.23", ++ "MIME::Base64" => 0, ++ "URI" => 0, + ); + +-$help and print($helptext), exit; +- +-# Now update prerequisites according to command line options +-$prerequisites =~ s/\((SOAP::[\w:]+)([^\)]*)\)(.+)\[(yes|no)\] +- /sprintf"(%s%s)%s[%s]",$1,$2,$3,$config{$1}?'yes':'no'/egx; +- +-print < 'yes') =~ /^\s*y/i : 1; +- +-foreach (split /(^[-\s]+$)/m, $prerequisites) { +- print unless $auto; +- if (/SOAP::/m && +- (/\s+(yes)\s*$/m || +- /\[(yes|no)\]/ && +- ($auto || ExtUtils::MakeMaker::prompt("\nDo you plan to use this module?", $1) =~ /^\s*(y)/i))) { +- %prerequisites = (%prerequisites, map {/\s+/? split : ($_ => 0)} /^\s{20,}([\w:]+(?:\s+[\d.]+)?)/mg) if $1 =~ /^y/; +- } +-} +- +-my $noncoretests = $prompt ? ExtUtils::MakeMaker::prompt(' +-During "make test" phase we may run tests with several SOAP servers +-that may take long and may fail due to server/connectivity problems. +- +-Do you want to perform these tests in addition to core tests?', $alltests ? 'yes' : 'no') =~ /^\s*(y)/i : $alltests; +- +-my $tests = join ' ', glob ($noncoretests ? 't/*.t' : 't/0*.t'); +- + WriteMakefile( + 'NAME' => 'SOAP::Lite', + 'VERSION_FROM' => 'lib/SOAP/Lite.pm', + 'PREREQ_PM' => \%prerequisites, + 'EXE_FILES' => ['bin/SOAPsh.pl', 'bin/XMLRPCsh.pl', 'bin/stubmaker.pl'], +- test => {TESTS => $tests}, + ); -- cgit v1.2.3