From owner-freebsd-questions@FreeBSD.ORG Tue Mar 4 15:02:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A98106566C for ; Tue, 4 Mar 2008 15:02:15 +0000 (UTC) (envelope-from fbsd06+TW=175cc7b7@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id 010B68FC18 for ; Tue, 4 Mar 2008 15:02:14 +0000 (UTC) (envelope-from fbsd06+TW=175cc7b7@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id C267DD05A3 for ; Tue, 4 Mar 2008 10:02:13 -0500 (EST) Date: Tue, 4 Mar 2008 15:02:11 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080304150211.4467f503@gumby.homeunix.com.> In-Reply-To: <200803041422.20652.fbsd.questions@rachie.is-a-geek.net> References: <200803041422.20652.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Using ports and pkg_add over HTTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 15:02:15 -0000 On Tue, 4 Mar 2008 14:22:20 +0100 Mel wrote: > On Tuesday 04 March 2008 13:20:05 Attila GOLONCSER wrote: > > > is there any possible way to use the FreeBSD package management > > over HTTP? I can't access FTP from my network. As I know I can > > install over HTTP, but how can I use > > pkg_add -r and ports over HTTP? > > By setting PACKAGESITE And for ports, you can add the following in make.conf to make the ports prefer http servers for distfiles: MASTER_SORT_REGEX?= ^http:// (Incidentally I used to do this because my ISP favoured http over ftp in its traffic shaping) If you have direct access to an http proxy (webcache), you can also try setting http_proxy in the environment. This allows ftp urls to be requested over http, if the proxy supports it.