From owner-freebsd-ports Fri Mar 9 11:11: 1 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id 7CFF937B71A for ; Fri, 9 Mar 2001 11:10:55 -0800 (PST) (envelope-from Stephane.Lentz@ansf.alcatel.fr) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id UAA21359; Fri, 9 Mar 2001 20:05:59 +0100 Received: from nickfury.netfr.alcatel.fr (nsfws7.ansf.alcatel.fr [155.132.195.132]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id UAA00659; Fri, 9 Mar 2001 20:05:25 +0100 (MET) Received: (from angel@localhost) by nickfury.netfr.alcatel.fr (8.11.2/8.11.1) id f29K8Xd25951; Fri, 9 Mar 2001 20:08:33 GMT Date: Fri, 9 Mar 2001 20:08:32 +0000 From: Stephane Lentz To: Dag-Erling Smorgrav Cc: ports@FreeBSD.ORG Subject: Re: curl 7.6.1 port : HTTP proxy not working Message-ID: <20010309200832.A25927@nickfury.netfr.alcatel.fr> Reply-To: Stephane.Lentz@ansf.alcatel.fr References: <20010309152555.A25496@nickfury.netfr.alcatel.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from Dag-Erling Smorgrav on Fri, Mar 09, 2001 at 06:56:18PM +0100 Organization: Alcanet International Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I managed to use fetch through the proxy we have that requires a username/password. I made a typo to the HTTP_PROXY_AUTH variable (the correct value is HTTP_PROXY_AUTH=basic:*:slentz:password). So yes I can use fetch instead of curl. Whatever it is if someone wants to use curl through some HTTP proxy in some scripts he will need to recompile it with some --disable-ipv6 as the configure option. Maybe the CONFIGURE_ARGS variable in the port's Makefile should be changed or some option ENABLE_IPV6 added. It will also be cool to have some examples in the man page for fetch. For instance : to download the ports or use fetch through some corporate HTTP proxy you should export the following 2 variables : HTTP_PROXY_AUTH and FTP_PROXY example : export HTTP_PROXY_AUTH=basic:*:username:password export FTP_PROXY=http://myproxy.company.com:3128/ Thanks for your help, Stephane. On Fri, Mar 09, 2001 at 06:56:18PM +0100, Dag-Erling Smorgrav wrote: > Stephane Lentz writes: > > I wanted to use the curl package to grab packages, sources & so on > > through our corporate proxy (curl is much powerfull than fetch). > > What, specifically, does curl do that fetch(1) doesn't? I don't want > a laundry list, I just want to know what features fetch(1) lacks that > you personally need. > > > I found out that the curl package does not support HTTP proxy. > > Fetch(1) does. > > DES > -- > Dag-Erling Smørgrav - des@thinksec.com > -- -- Stephane Lentz - Internet Services / Alcanet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message