From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 23:47:21 2003 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 44A2816A4CE for ; Fri, 5 Dec 2003 23:47:21 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id CBFDD43FCB for ; Fri, 5 Dec 2003 23:47:17 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 69515 invoked by uid 555); 6 Dec 2003 10:47:15 +0300 Received: from hal.localdomain (213.80.149.163) by t-k.ru with TeleMail/2 id 1070696834-69491 for mbueide@charter.net; Sat, Dec 6 10:47:14 2003 +0300 (MSK) Date: Sat, 6 Dec 2003 10:48:15 +0300 From: Sergey 'DoubleF' Zaharchenko To: mike bueide Message-Id: <20031206104815.32d8571f.doublef@tele-kom.ru> In-Reply-To: <20031206070902.GA1320@charter.net> References: <20031206070902.GA1320@charter.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sat__6_Dec_2003_10_48_15_+0300_1ZlURYmEO3i6X3tp" cc: freebsd-questions@freebsd.org Subject: Re: fetch and portinstall 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: Sat, 06 Dec 2003 07:47:21 -0000 --Signature=_Sat__6_Dec_2003_10_48_15_+0300_1ZlURYmEO3i6X3tp Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sat, 6 Dec 2003 00:09:02 -0700 mike bueide probably wrote: > > When I install or upgrade a port, all attempts to an HTTP > URL fetch are timing out. Typically I'll just sudo > portupgrade a port I wish to install. > > I am behind a firewall that uses nat and stateful rules. > Ftp fetches work just fine. I just would like to speed If that's the only handicap, I'm very surprised to hear that FTP goes through and HTTP doesn't. Maybe your sysadmin disabled HTTP access:)? > things up a bit by either causing the HTTP attempts to time > out sooner or authorize them somehow. You mean you have a local proxy? Set HTTP_PROXY to its address then. If you want to change the timeout value, use -T with fetch. > -T seconds Set timeout value to seconds. Overrides the environment > variables FTP_TIMEOUT for FTP transfers or HTTP_TIMEOUT for > HTTP transfers if set. If you want to make the change permanent, put the appropriate FETCH_CMD in your /etc/make.conf (e.g FETCH_CMD=/usr/bin/fetch -T 5). > I have done digging via man fetch. It mentions some > environment variables that can be set: > > HTTP_AUTH (man 3 fetch) > HTTP_TIMEOUT (man 1 fetch) > > I don't understand what user-name / password combination for > HTTP_AUTH could be set to enable HTTP fetches. Is it the > same as the anonymous/email_address used when manually > logging into ftp sites as a guest? > > And, if I set these ENVIRONMENT VARIABLES, do I need them > set it in the root shell, or the user running sudo? > > Thanks to any who might respond. > > -- > Michael Bueide > mbueide (at) charter (dot) net . > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- DoubleF The older a man gets, the farther he had to walk to school as a boy. --Signature=_Sat__6_Dec_2003_10_48_15_+0300_1ZlURYmEO3i6X3tp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/0YnKwo7hT/9lVdwRAj52AJ0T0gqpg50AVJKbXEjvfqdlQsqz5ACcDKqd Ejdxua0EG4hssdiWbuiMbew= =qpvb -----END PGP SIGNATURE----- --Signature=_Sat__6_Dec_2003_10_48_15_+0300_1ZlURYmEO3i6X3tp--