From c50a02bf812167482c1140bf53e131fee0788512 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 8 Nov 2013 21:15:14 +0700 Subject: perl/perl-SOAP-Lite: Updated for version 1.07. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- perl/perl-SOAP-Lite/SOAP-Lite-0.710.08.patch | 12 ------- perl/perl-SOAP-Lite/SOAP-Lite-0.712_sysread.patch | 38 ----------------------- perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild | 13 +++----- perl/perl-SOAP-Lite/perl-SOAP-Lite.info | 8 ++--- perl/perl-SOAP-Lite/slack-desc | 2 +- 5 files changed, 9 insertions(+), 64 deletions(-) delete mode 100644 perl/perl-SOAP-Lite/SOAP-Lite-0.710.08.patch delete mode 100644 perl/perl-SOAP-Lite/SOAP-Lite-0.712_sysread.patch (limited to 'perl/perl-SOAP-Lite') diff --git a/perl/perl-SOAP-Lite/SOAP-Lite-0.710.08.patch b/perl/perl-SOAP-Lite/SOAP-Lite-0.710.08.patch deleted file mode 100644 index 0b1e6e8470..0000000000 --- a/perl/perl-SOAP-Lite/SOAP-Lite-0.710.08.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar SOAP-Lite-0.710.08.orig/Makefile.PL SOAP-Lite-0.710.08/Makefile.PL ---- SOAP-Lite-0.710.08.orig/Makefile.PL 2008-06-28 11:37:20.000000000 -0700 -+++ SOAP-Lite-0.710.08/Makefile.PL 2008-12-07 23:42:03.341939336 -0800 -@@ -43,7 +43,7 @@ - ["DIME messages","SOAP::Packager::DIME",{"IO::Scalar" => "2.105", "DIME::Tools" => 0.03, "Data::UUID" => "0.11"},0], - ["SSL Support for TCP Transport","SOAP::Transport::TCP",{"IO::Socket::SSL" => 0},0], - ["Compression support for HTTP","SOAP::Transport::HTTP",{"Compress::Zlib" => 0},0], -- ["MIME interoperability w/ Axis","SOAP::Lite",{"MIME::Parser" => "6.106"},0], -+ ["MIME interoperability w/ Axis","SOAP::Lite",{"MIME::Parser" => "5.413"},0], - ); - - use Getopt::Long; diff --git a/perl/perl-SOAP-Lite/SOAP-Lite-0.712_sysread.patch b/perl/perl-SOAP-Lite/SOAP-Lite-0.712_sysread.patch deleted file mode 100644 index 85289fcada..0000000000 --- a/perl/perl-SOAP-Lite/SOAP-Lite-0.712_sysread.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 8f49c0e970261f59bc043a8104a9a730ec69dcf4 Mon Sep 17 00:00:00 2001 -From: Christian Ruppert -Date: Wed, 23 Mar 2011 18:04:19 +0100 -Subject: [PATCH] Use read() instead of sysread() when using mod_perl - -https://rt.cpan.org/Public/Bug/Display.html?id=58538 ---- - lib/SOAP/Transport/HTTP.pm | 14 +++++++++++--- - 1 files changed, 11 insertions(+), 3 deletions(-) - -diff --git a/lib/SOAP/Transport/HTTP.pm b/lib/SOAP/Transport/HTTP.pm -index f16b990..57ebbf3 100644 ---- a/lib/SOAP/Transport/HTTP.pm -+++ b/lib/SOAP/Transport/HTTP.pm -@@ -566,9 +566,17 @@ sub handle { - if ( !$chunked ) { - my $buffer; - binmode(STDIN); -- while ( sysread( STDIN, $buffer, $length ) ) { -- $content .= $buffer; -- last if ( length($content) >= $length ); -+ if ( defined($ENV{"MOD_PERL"}) ) { -+ while ( read( STDIN, $buffer, $length ) ) { -+ $content .= $buffer; -+ last if ( length($content) >= $length ); -+ } -+ } -+ else { -+ while ( sysread( STDIN, $buffer, $length ) ) { -+ $content .= $buffer; -+ last if ( length($content) >= $length ); -+ } - } - } - --- -1.7.3.4 - diff --git a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild index 13c7c513bf..6248007310 100644 --- a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild +++ b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-SOAP-Lite -VERSION=${VERSION:-0.712} +VERSION=${VERSION:-1.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,16 +68,11 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# This patch alters the dependancy to the "real" stable version of MIME::Parser. -patch -p1 < $CWD/SOAP-Lite-0.710.08.patch -# https://rt.cpan.org/Public/Bug/Display.html?id=58538 -patch -p1 < $CWD/SOAP-Lite-0.712_sysread.patch + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL --noprompt \ PREFIX=/usr \ diff --git a/perl/perl-SOAP-Lite/perl-SOAP-Lite.info b/perl/perl-SOAP-Lite/perl-SOAP-Lite.info index 8a18914f0e..3c8fb62f43 100644 --- a/perl/perl-SOAP-Lite/perl-SOAP-Lite.info +++ b/perl/perl-SOAP-Lite/perl-SOAP-Lite.info @@ -1,8 +1,8 @@ PRGNAM="perl-SOAP-Lite" -VERSION="0.712" -HOMEPAGE="http://search.cpan.org/~mkutter/SOAP-Lite-0.712/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-Lite-0.712.tar.gz" -MD5SUM="fd71a0c0feff85f670ab4b2e571652a8" +VERSION="1.07" +HOMEPAGE="http://search.cpan.org/~mkutter/SOAP-Lite-1.07/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-Lite-1.07.tar.gz" +MD5SUM="6a159da979e9980705f95a94f76aa8c4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libwww-perl perl-Class-Inspector perl-Data-Dumper perl-MIME-Lite perl-Task-Weaken" diff --git a/perl/perl-SOAP-Lite/slack-desc b/perl/perl-SOAP-Lite/slack-desc index 75c4c90136..6f47234d0c 100644 --- a/perl/perl-SOAP-Lite/slack-desc +++ b/perl/perl-SOAP-Lite/slack-desc @@ -12,7 +12,7 @@ perl-SOAP-Lite: SOAP::Lite is a collection of Perl modules which provides a simp perl-SOAP-Lite: and lightweight interface to the Simple Object Access Protocol (SOAP) perl-SOAP-Lite: both on client and server side. perl-SOAP-Lite: -perl-SOAP-Lite: Homepage: http://search.cpan.org/~mkutter/SOAP-Lite-0.712/ +perl-SOAP-Lite: Homepage: http://search.cpan.org/~mkutter/SOAP-Lite-1.07/ perl-SOAP-Lite: perl-SOAP-Lite: perl-SOAP-Lite: -- cgit v1.2.3