Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2013 16:58:01 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Rainer Duffner <rainer@ultra-secure.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to get pkgng work through a proxy?
Message-ID:  <20130514145801.GE32935@e-new.0x20.net>
In-Reply-To: <20130514123644.4b5a53af@suse3>
References:  <20130514123644.4b5a53af@suse3>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, May 14, 2013 at 12:36:44PM +0200, Rainer Duffner wrote:
> Hi,
> 
> I have this host (a cloned VM, FreeBSD 9.1 AMD64) behind an Astaro
> Web-Proxy:
> 
> 
> (blahost </root>) 70 # pkg
> update
> [12:00] Updating repository catalogue
> repo.txz                                                        3%
> 10KB   0.5KB/s   0.0KB/s - stalled -pkg:
> http://pkgng.our.repo/91amd64-91patch/repo.txz: Operation timed out
> 
> 
> It's a proxy with authentication.
> 
> I'm not sure if it's a fetch(3) problem in general.
> Because a single fetch from the same server of a small and large file
> does work, though a bit slow.
> 
> pkg is 1.0.2

It's working here with these env vars set:

http_proxy=http://<USER>:<PASSWD>@<SERVER>:8080
ftp_proxy=http://<USER>:<PASSWD>@<SERVER>:8080
HTTP_PROXY=http://<USER>:<PASSWD>@<SERVER>:8080
FTP_PROXY=http://<USER>:<PASSWD>@<SERVER>:8080
HTTP_PROXY_AUTH=basic:*:<USER>:<PASSWD>


But I can't tell which one get's pulled in.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlGSUPkACgkQKc512sD3afgILwCfaG1Qg/oPd4NaAhMJY/C6F+7D
DboAniwk37s2OCOTLe+w4MknH+98BqQ6
=czHm
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130514145801.GE32935>