From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 21:13:37 2011 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 471511065670 for ; Wed, 22 Jun 2011 21:13:37 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1821E8FC1D for ; Wed, 22 Jun 2011 21:13:36 +0000 (UTC) Received: by pzk27 with SMTP id 27so1046954pzk.13 for ; Wed, 22 Jun 2011 14:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=16t9VaGBnKz5OTJAF1tv++VfOtz7ipCU+bV01fHcpgI=; b=WSKf//877++V1btDr1KA7AE4FRVKCaVE2aZYAHjx4dvOgwS0c1hMLeDTP+UwOotAEQ jPNpZBtexOC/F+GQO6NsWZ7Ybo7jpY2G6aa9mP6S1pVnFLlIwoh+tKqQcsgrIX6GphKy ZxlyTbcUzNBsOE0Sg8oPGHOsxTcyqORJdWpZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=d8WR69xApMahoyeOsLHLzB59qsl9j80RSHm3YMe6y7vFI0HHsjgLTe3E0IM0MkqI7L XSHGrpZqTBgbRGEF1EZwveD2hUmu9syudKs0MTK+WJ7GYDg6O1zYI6wRbbm4pzBiMvuh IjZ9gp3PmbjKJI/WxCAL4jR0F/nczy80QQz2Y= MIME-Version: 1.0 Received: by 10.68.52.70 with SMTP id r6mr732088pbo.465.1308777216745; Wed, 22 Jun 2011 14:13:36 -0700 (PDT) Sender: pldrouin@gmail.com Received: by 10.68.42.228 with HTTP; Wed, 22 Jun 2011 14:13:36 -0700 (PDT) Date: Wed, 22 Jun 2011 17:13:36 -0400 X-Google-Sender-Auth: _w2vKRwl_3ObuzDrZVGy1CQNVNs Message-ID: From: Pierre-Luc Drouin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Required HTTP/FTP Servers for FreeBSD and Ports Updates? 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: Wed, 22 Jun 2011 21:13:37 -0000 Hi, I am working on a network which uses a http/ftp proxy that prompts by default for user permission before downloading any file. In order to be able to keep my system up-to-date (FreeBSD and ports), I have to white list the FreeBSD servers and directories that need to be accessible, because otherwise I can only download files through a web browser, which is obviously extremely painful. Also only the HTTP and FTP protocols are allowed on my network, so CVSUP is not allowed. So my current plan is to update FreeBSD using the following tools: 1-Port directory update through portsnap 2-FreeBSD src update through CTM 3-Port updates through distfiles and/or packages I think 1- and 2- are quite straightforward. To allow 1- I need to white list the whole content of http://portsnap.freebsd.org/ . To allow 2- I need to white list the content of ftp://ftp.freebsd.org/pub/FreeBSD/CTM/ . That should be sufficient, right? The main issue I have though is with 3-. MASTER_SITE_BACKUP and MASTER_SITE_OVERRIDE variables are no longer recognized in /etc/make.conf, right? How can I force FreeBSD to pull distfiles and packages from ftp://ftp.freebsd.org/pub/FreeBSD/ports ? Also what is the difference between ftp://ftp.freebsd.org/pub/FreeBSD/distfiles and ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles ? I guess one of the directories is aliased to point to the other, right? Thanks!