diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-03-23 17:15:51 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-03-23 17:15:51 +0000 |
commit | 9a7eb7ad8c3334899a4088d18fc86b906f1ad928 (patch) | |
tree | f842b2247f2ba4aa6080329b29660c92e6543114 /dev-perl/SOAP-Lite | |
parent | Change the location in which we search for mbrola. (diff) | |
download | historical-9a7eb7ad8c3334899a4088d18fc86b906f1ad928.tar.gz historical-9a7eb7ad8c3334899a4088d18fc86b906f1ad928.tar.bz2 historical-9a7eb7ad8c3334899a4088d18fc86b906f1ad928.zip |
Add a patch to use read() instead of sysread() when using mod_perl, https://rt.cpan.org/Public/Bug/Display.html?id=58538 Switch to EAPI 3, set RDEPEND.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/SOAP-Lite')
-rw-r--r-- | dev-perl/SOAP-Lite/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/SOAP-Lite/Manifest | 19 | ||||
-rw-r--r-- | dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild | 12 | ||||
-rw-r--r-- | dev-perl/SOAP-Lite/files/SOAP-Lite-0.712_sysread.patch | 38 |
4 files changed, 64 insertions, 13 deletions
diff --git a/dev-perl/SOAP-Lite/ChangeLog b/dev-perl/SOAP-Lite/ChangeLog index f20794019e84..126c98ea5912 100644 --- a/dev-perl/SOAP-Lite/ChangeLog +++ b/dev-perl/SOAP-Lite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-perl/SOAP-Lite # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/SOAP-Lite/ChangeLog,v 1.65 2011/01/14 16:38:50 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/SOAP-Lite/ChangeLog,v 1.66 2011/03/23 17:15:51 idl0r Exp $ + + 23 Mar 2011; Christian Ruppert <idl0r@gentoo.org> SOAP-Lite-0.712.ebuild, + +files/SOAP-Lite-0.712_sysread.patch: + Add a patch to use read() instead of sysread() when using mod_perl, + https://rt.cpan.org/Public/Bug/Display.html?id=58538 Switch to EAPI 3, set + RDEPEND. 14 Jan 2011; Torsten Veller <tove@gentoo.org> -SOAP-Lite-0.710.10.ebuild: Cleanup diff --git a/dev-perl/SOAP-Lite/Manifest b/dev-perl/SOAP-Lite/Manifest index 45809f9fbcee..d8075e8b5b3d 100644 --- a/dev-perl/SOAP-Lite/Manifest +++ b/dev-perl/SOAP-Lite/Manifest @@ -1,18 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX SOAP-Lite-0.60.a.patch 652 RMD160 8329fe289def1242b0a8ad273866f8061de2e1ea SHA1 6c4f11679512fa1a9f41e8be69a25c92b22c5b83 SHA256 0d2aa6e4b377ead23337836e14d3f726863a8420d5fce99aad7bc119729a85e1 AUX SOAP-Lite-0.710.08.patch 735 RMD160 4add3c90144f8e7b6ae8c3bfca6184a26c4b5c04 SHA1 d5b23ffaac9d3b8165b874fdd0c1b7e250b0b4ab SHA256 c05fd1268b10373b424158606be579f8f437cdd7ff3c0e34a7240c7e2b4d0881 +AUX SOAP-Lite-0.712_sysread.patch 1313 RMD160 51af6490c7a157a3d6c7c260cc4b03a6108c4f65 SHA1 97509894c85cb26d0cb3beddc670004b0af54aaa SHA256 587aac61a77453843d41613f97cb20969cb908acde6c66bafa69fb255f93c704 DIST SOAP-Lite-0.711.tar.gz 238102 RMD160 e8f7e0dc34b794a9d20348ade6c3c2910e0bbe91 SHA1 1516df70279169118626d0d257722709c9181542 SHA256 6679c5baab4c3e575ebd8423ee9d3a46bbe35eb7ed7d3bfda6c930d325b9b86e DIST SOAP-Lite-0.712.tar.gz 237942 RMD160 1380a3814a323679f23fd882f5a9b779c121a9f2 SHA1 46445cdf32e245b867abf0036a83d442351475c0 SHA256 1767494854716afde371c569cd08edc8bcb5d53360f351c87d6ddfe30c33d492 EBUILD SOAP-Lite-0.711.ebuild 1538 RMD160 c276a80cdf1bb22d80d91a65e51a0b2587c60fa9 SHA1 12f0025e4204df15ca60981e3caaefbc17297ab9 SHA256 364f64c7aeea33aebe9e744d997003cd55988f1ed480ba121aa535b91679c4ab -EBUILD SOAP-Lite-0.712.ebuild 1569 RMD160 5dee06b1f1812bb556d528154c9a0a3b5ea797c6 SHA1 f479911de90aa6245579a0cabbe6a53b53c7615e SHA256 e5aa8bc9d48f0c150e55dc25a6bfffe89b01f276d975f9aeea32b2f21efb5c7b -MISC ChangeLog 8438 RMD160 89d915090bedb5280e17b2b268f7dfb81be4f46b SHA1 9894a292b348cb087bdef93397a70ce0c8803135 SHA256 4ea237d9db2768c0d136a51cda44e8b3a644a31f1f3743134fb537cc2a03ad04 +EBUILD SOAP-Lite-0.712.ebuild 1618 RMD160 5eec8161c106c457df2ef3c75c638b5d55605d85 SHA1 92bcc1445a143bb4abe0953f85ac4d63a21bd995 SHA256 0b9d558820738998bf9f55c44ab68fb7aa623417112fd396ad2c3b4d8dde9ea0 +MISC ChangeLog 8714 RMD160 c11d26dff8b556dc7b3362ae9f3ce25996462287 SHA1 2f0979bc246169ae55591615ba116d3d07d17190 SHA256 a29f06b7b937549b9d65e49a4f9e481a814cdbaabeb7c4013a39181bab3da6c8 MISC metadata.xml 235 RMD160 487dd2c2bc6e13dc5ae08d930ccde2757bcd3e94 SHA1 033263d7298fccacd1136a2a1f6741c396d6af71 SHA256 660dd6b55627a192cf093eba352bf0f3ec9845eac57c245321d798b1f9497bf1 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk0wfB8ACgkQV3J2n04EauxhOACgm4eiLZpz0H3Lx68HFZgNQlKC -tpQAoI2D6JlfQrms5Ymy2pns+WpTu32M -=3k5H +iQEcBAEBCAAGBQJNiirMAAoJEMOx0zmdw4Z112sH/0kCN7p9Vqoy9oClmCYi9gZ0 +iq3IFJJ5VInpR3kpt0msbqCMxP5SUil79CUXnhQy2650JRCPlxrx2xsFw9c9InZa +nMC3UgSeyzkaOJNcQq77KXmwbw5bUxJVOuWJWxirbJRVxsiR2BcBDLGXWh60Jn7T +sXoAS+vbEMrhkKt0nsO3+L2SbCzIinc4n01v6PXzjeWZpZU1f98UOdr/bPttdzkr +NHTmwqHIuW3MElCH7XB+jNSINxTAg4KqX2HfnQMtczgf7DB9AJornHRUjI5hzn+W +o4CBLqjpTDGbPMcZCz9d8EHfE2jpleG5oL2/TfLmkgyW7UfAHZHlkKwHLvyy97Y= +=50Oy -----END PGP SIGNATURE----- diff --git a/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild b/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild index e7c6da0c8346..1bc8ce7e7567 100644 --- a/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild +++ b/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild,v 1.2 2010/10/27 20:13:08 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/SOAP-Lite/SOAP-Lite-0.712.ebuild,v 1.3 2011/03/23 17:15:51 idl0r Exp $ + +EAPI="3" MODULE_AUTHOR="MKUTTER" inherit perl-module eutils @@ -34,15 +36,15 @@ DEPEND="dev-perl/Class-Inspector >=dev-perl/MIME-tools-5.413 virtual/perl-version dev-lang/perl" +RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { # The author of this module put a dep for MIME::Parser 6.X - but the6.X # release of MIME::Parser was a mistake during a change in maintainers on # cpan. This patch alters the dependancy to the "real" stable version of # MIME::Parser. epatch "${FILESDIR}"/SOAP-Lite-0.710.08.patch + epatch "${FILESDIR}"/${P}_sysread.patch } src_test() { diff --git a/dev-perl/SOAP-Lite/files/SOAP-Lite-0.712_sysread.patch b/dev-perl/SOAP-Lite/files/SOAP-Lite-0.712_sysread.patch new file mode 100644 index 000000000000..85289fcadaad --- /dev/null +++ b/dev-perl/SOAP-Lite/files/SOAP-Lite-0.712_sysread.patch @@ -0,0 +1,38 @@ +From 8f49c0e970261f59bc043a8104a9a730ec69dcf4 Mon Sep 17 00:00:00 2001 +From: Christian Ruppert <idl0r@gentoo.org> +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 + |