From owner-freebsd-questions@FreeBSD.ORG Thu Oct 7 07:16:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AEB416A4CE for ; Thu, 7 Oct 2004 07:16:46 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7D2E43D1D for ; Thu, 7 Oct 2004 07:16:44 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i977GXwK057703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Oct 2004 08:16:33 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i977GXLv057702; Thu, 7 Oct 2004 08:16:33 +0100 (BST) (envelope-from matthew) Date: Thu, 7 Oct 2004 08:16:32 +0100 From: Matthew Seaman To: Remko Lodder Message-ID: <20041007071632.GA57242@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Remko Lodder , "Bigelow, Andrea L." , "'questions@freebsd.org'" References: <41646CBF.4000702@elvandar.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <41646CBF.4000702@elvandar.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 07 Oct 2004 08:16:33 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,USERPASS, WEIRD_PORT autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: "'questions@freebsd.org'" cc: "Bigelow, Andrea L." Subject: Re: FTP Proxies and Ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 07:16:46 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2004 at 12:07:59AM +0200, Remko Lodder wrote: > Bigelow, Andrea L. wrote: > >I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getti= ng > >fetch to honor my company's FTP proxy. The easiest way to use the proxy = is=20 > >a > >URL format: ftp://:@. Is there a way that I = can > >specify that this format be used anytime I want to download and install = or > >update a port? I'm using fetch instead of CVSup.=20 =20 > I'd needed to set > ftp_proxy=3Dhttp://username:password@: > and > http_proxy=3Dhttp://username:password@: > while using squid. > Yes there are 2 http's. For convenience, you can set those variables from within /etc/make.conf: FETCH_ENV=3D FTP_PROXY=3Dhttp://username:password@proxy.example.com:3= 128/ \ HTTP_PROXY=3Dhttp://username:password@proxy.example.com:31= 28/ You can also use the HTTP_PROXY_AUTH variable where: HTTP_PROXY=3Dhttp://proxy.example.com:3128/ HTTP_PROXY_AUTH=3Dbasic:*:username:password is equivalent to the previous HTTP_PROXY setting. In theory that can let you use other HTTP authorization schemes than basic auth, except that support for those other schemes has not yet been added to libfetch. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBZO1QiD657aJF7eIRAsBAAJsEO+w9MgbzDHQ6O9uO5Im9ZblkhwCZAXP5 FfG8eaLwrdZen8IOo1um4Yo= =Zpf4 -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--