Date: Tue, 4 Mar 2008 15:02:11 +0000 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: Using ports and pkg_add over HTTP Message-ID: <20080304150211.4467f503@gumby.homeunix.com.> In-Reply-To: <200803041422.20652.fbsd.questions@rachie.is-a-geek.net> References: <bf1688f00803040420j68a9eae7w27be9165f75c79c8@mail.gmail.com> <200803041422.20652.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Mar 2008 14:22:20 +0100 Mel <fbsd.questions@rachie.is-a-geek.net> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080304150211.4467f503>