From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 08:10:10 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACAB6AFD for ; Mon, 28 Apr 2014 08:10:10 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81B2918DE for ; Mon, 28 Apr 2014 08:10:10 +0000 (UTC) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s3S8A52d067449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 Apr 2014 01:10:09 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <535E0CD7.2030900@freebsd.org> Date: Mon, 28 Apr 2014 16:09:59 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: ports@freebsd.org Subject: setting up a ports distfile mirror Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 08:10:10 -0000 I noticed that if I set an override site, that it uses it differently that a primary site. for example: if I have a file needed for a perl install on my ftp server: /pub/ports-distfiles/perl/defined-or-5.8.9.bz2 and set the over-ride to point to my local server's ports-distfiles directory, it fails to find that file because it doesn't look in .../perl/.., yet on the primary site (or the FreeBSD site) it looks for , and finds this file in the 'perl' subdirectory. On the Over-ride site however, it looks for it in the base directory. and doesn't look in the 'perl' subdirectory. (this is an 8.0 vintage system) but I see similar happennig on newer systems, (I will confirm this soon). Is there a way to specify a local distfile mirror that has the same layout as the primaries? Julian p.s. keep me in CCs please.