On Mon, Jun 21, 2010 at 11:04:16AM +0100, Tom Evans wrote: > My company recently enabled proxy authentication for outgoing > connections, and this has stopped ports from working. > > >From fetch(5), I understand that I can place my proxy authentication > in plain text in the environment*, and this will allow fetch to work > correctly, and this does work: > > > # env | grep -i proxy > ftp_proxy=http://proxy:3128/ > HTTP_PROXY_AUTH=basic:*:tevans_at_domain.com:password > HTTP_PROXY=http://proxy:3128/ > > # fetch http://googlecl.googlecode.com/files/googlecl-0.9.5.tar.gz > googlecl-0.9.5.tar.gz 100% of 36 kB 77 MBps > > However, the ports makefiles seem to do something funky to my > environment which hides these environment variables, and so the ports > infrastructure stops working: > You should use FETCH_ENV or FETCH_ARGS to pass information to fetch(1) from the ports infrastructure. It is documented in /usr/ports/Mk/bsd.port.mk, search for FETCH_BINARY. Hope that helps. -erwin -- Erwin Lansing http://droso.org Prediction is very difficult especially about the future erwin_at_FreeBSD.org
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC