From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 17:19:58 2012 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 6F9E6106564A for ; Thu, 12 Jul 2012 17:19:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD3F8FC0C for ; Thu, 12 Jul 2012 17:19:58 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id A72D8A72AD2 for ; Thu, 12 Jul 2012 13:19:57 -0400 (EDT) Received: (qmail 16315 invoked from network); 12 Jul 2012 17:19:57 -0000 Received: by simscan 1.4.0 ppid: 23440, pid: 31716, t: 0.1626s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Jul 2012 17:19:56 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 414BC33C20; Thu, 12 Jul 2012 13:19:56 -0400 (EDT) From: Lowell Gilbert To: Kaya Saman References: Date: Thu, 12 Jul 2012 13:19:56 -0400 In-Reply-To: (Kaya Saman's message of "Thu, 12 Jul 2012 18:00:01 +0100") Message-ID: <44k3y83nib.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Is there a way to run FreeBSD ports through port 80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 17:19:58 -0000 Kaya Saman writes: > On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder wrote: >> On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman wrote: >> >>> >>> I would like to use ports specifically and not the pkg_add tool to get >>> software. >> >> >> Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your >> own local mirror (net/cvsup-mirror) as well. > Yeah, this is a good idea.... I was actually thinking about this. > > I've never done it so I'd need to google around a bit and do some > testing but it is probably what we would want to do! It's quite easy. It does require letting cvsup through the firewall, though. Getting the ports tree through HTTP is best done with portsnap, but once you get it inside your network you can run a cvsup server, NFS mount it on the other machines, or even run your own internal ports build server. As for fetching the distfiles, most of them are available through HTTP URLs as well as FTP. For ones that aren't, (and assuming the rather silly security policies won't allow for an external web-based FTP proxy) you may need to bring them in by offline media. Good luck.