Jelajahi Sumber

upgrading package: perl-www 20031016 -> 20031020

Ralf S. Engelschall 22 tahun lalu
induk
melakukan
d6e196e056
2 mengubah file dengan 3 tambahan dan 24 penghapusan
  1. 0 17
      perl-www/perl-www.patch
  2. 3 7
      perl-www/perl-www.spec

+ 0 - 17
perl-www/perl-www.patch

@@ -1,17 +0,0 @@
---- lib/LWP/Protocol/ftp.pm.orig	Fri Oct 26 22:13:20 2001
-+++ lib/LWP/Protocol/ftp.pm	Mon May 26 11:09:01 2003
-@@ -334,7 +334,13 @@
- 				       " " . $ftp->message);
- 		}
- 	    }
--	} elsif (!length($remote_file) || $ftp->code == 550) {
-+	} elsif (!length($remote_file) || ( $ftp->code >= 400 && $ftp->code < 600 )) {
-+	# be open minded and treat 4xx and 5xx treated equally - the next cwd will fail anyway if we were too broadminded
-+	# see ftp://ftp.rfc-editor.org/in-notes/std/std9.txt
-+	# chapter "4.2.  FTP REPLIES" and chapter "6. STATE DIAGRAMS", RETR
-+	# 4yz   Transient Negative Completion reply, 450 Requested file action not taken.  File unavailable (e.g., file busy).
-+	# 5yz   Permanent Negative Completion reply, 550 Requested action not taken.  File unavailable (e.g., file not found, no access).
-+	# the risk applying this patch is the incompatiblity that we now return the status of the CWD and not the RETR
- 	    # 550 not a plain file, try to list instead
- 	    if (length($remote_file) && !$ftp->cwd($remote_file)) {
- 		LWP::Debug::debug("chdir before listing failed");

+ 3 - 7
perl-www/perl-www.spec

@@ -24,7 +24,7 @@
 ##
 
 #   versions of individual parts
-%define       V_libwww_perl          5.72
+%define       V_libwww_perl          5.73
 %define       V_uri                  1.27
 %define       V_cgi                  3.00
 %define       V_cgi_application      3.1
@@ -48,8 +48,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL/Artistic
-Version:      20031016
-Release:      20031016
+Version:      20031020
+Release:      20031020
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz
@@ -66,7 +66,6 @@ Source10:     http://www.cpan.org/modules/by-module/RPC/RPC-XML-%{V_rpc_xml}.tar
 Source11:     http://www.cpan.org/modules/by-module/SOAP/SOAP-Lite-%{V_soap_lite}.tar.gz
 Source12:     http://www.cpan.org/modules/by-module/SOAP/SOAP-Lite-SmartProxy-%{V_soap_lite_smartproxy}.tar.gz
 Source13:     http://www.cpan.org/modules/by-module/SOAP/SOAP-payload-%{V_soap_payload}.tar.gz
-Patch0:       perl-www.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -108,9 +107,6 @@ AutoReqProv:  no
     %setup11 -q -T -D -a 11
     %setup12 -q -T -D -a 12
     %setup13 -q -T -D -a 13
-    ( cd libwww-perl-%{V_libwww_perl}
-      %patch -p0
-    ) || exit $?
 
 %build