Stuart Henderson <[email protected]> wrote:

It works fine for me through squid, so it looks like whatever proxy
it is you have to use doesn't like the doubled /.

squid, but for IPv6 mod_proxy.

Please try this diff. You can apply it in /usr/libdata/perl5/OpenBSD
(or in the src directory shown).

It works ok for me with scp, local files, http and ftp.

Index: PackageRepository.pm
===================================================================
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm,v
retrieving revision 1.65
diff -N -u -p PackageRepository.pm
--- PackageRepository.pm 24 Apr 2009 23:22:20 -0000 1.65
+++ PackageRepository.pm 11 May 2009 15:30:59 -0000
@@ -396,7 +396,7 @@ sub baseurl
{
 my $self = shift;

- return "//$self->{host}/$self->{path}";
+ return "//$self->{host}$self->{path}";
}

sub parse_url

Lovely! Will this make it into a future (stable) release (just to prepare myself for november 1st)?

Thanks a lot, Helmut

--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn

Reply via email to