From owner-svn-doc-head@FreeBSD.ORG Thu May 7 14:48:36 2015 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AE8ECB2; Thu, 7 May 2015 14:48:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4A951FA0; Thu, 7 May 2015 14:48:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t47EmZ45063148; Thu, 7 May 2015 14:48:35 GMT (envelope-from brd@FreeBSD.org) Received: (from brd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t47EmZoA063147; Thu, 7 May 2015 14:48:35 GMT (envelope-from brd@FreeBSD.org) Message-Id: <201505071448.t47EmZoA063147@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: brd set sender to brd@FreeBSD.org using -f From: Brad Davis Date: Thu, 7 May 2015 14:48:35 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46664 - head/en_US.ISO8859-1/articles/hubs X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 14:48:36 -0000 Author: brd Date: Thu May 7 14:48:35 2015 New Revision: 46664 URL: https://svnweb.freebsd.org/changeset/doc/46664 Log: Add small section explaining we are not allowing public mirrors of packages and possible workarounds. Reviewed by: decke Modified: head/en_US.ISO8859-1/articles/hubs/article.xml Modified: head/en_US.ISO8859-1/articles/hubs/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/hubs/article.xml Thu May 7 13:59:45 2015 (r46663) +++ head/en_US.ISO8859-1/articles/hubs/article.xml Thu May 7 14:48:35 2015 (r46664) @@ -328,6 +328,27 @@ &prompt.user; rsync -vaHz --delete rsync://bit0.us-west.freebsd.org/FreeBSD-www-data/ /usr/local/www/ + + Mirroring Packages + Due to very high requirements of bandwidth, storage and + adminstration the &os; Project has decided not to allow public + mirrors of packages. For sites with lots of machines, it might + be advantagous to run a caching HTTP proxy for the &man.pkg.8; + process. Alternatively specific packages and their dependencies + can be fetched by running something like the following: + + &prompt.user; pkg fetch -d -o /usr/local/mirror vim + + Once those packages have been fetched, the repository metadata must be generated by running: + + &prompt.user; pkg repo /usr/local/mirror + + Once the packages have been fetched and the metadata for the + repository has been generated, serve the packages up to the + client machines via HTTP. For additional information see the + man pages for &man.pkg.8;, specifically the pkg-repo(8) page. + + How often should I mirror?