Hi,
213 is a valid return code from an FTP server for SIZE command and
should not be treated as a problem.
Alternate implementations of FETCH_CMD could provide a slightly
different "Requesting <url>" log lines. Would it be okay to relax
the format a bit and ignore any line starting with "Requesting"
instead.
Index: OpenBSD/PackageRepository.pm
===================================================================
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm,v
retrieving revision 1.114
diff -u -p -r1.114 PackageRepository.pm
--- OpenBSD/PackageRepository.pm 12 Jul 2015 14:52:17 -0000 1.114
+++ OpenBSD/PackageRepository.pm 15 Aug 2015 18:58:03 -0000
@@ -666,10 +666,11 @@ sub parse_problems
}
my $notyet = 1;
while(<$fh>) {
- next if
m/^(?:200|220|221|226|229|230|227|250|331|500|150)[\s\-]/o;
+ next if m/^(?:150|200|213|220|221|226|229|230|227|250)[\s\-]/o;
+ next if m/^(?:331|500)[\s\-]/o;
next if m/^EPSV command not understood/o;
next if m/^Trying [\da-f\.\:]+\.\.\./o;
- next if m/^Requesting \Q$baseurl\E/;
+ next if m/^Requesting/;
next if m/^Remote system type is\s+/o;
next if m/^Connected to\s+/o;
next if m/^remote\:\s+/o;