From owner-freebsd-ports@FreeBSD.ORG Fri Feb 22 20:42:08 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BBC516A407 for ; Fri, 22 Feb 2008 20:42:08 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mx.critical.ch (mx.critical.ch [62.2.45.171]) by mx1.freebsd.org (Postfix) with ESMTP id EBA7F13C467 for ; Fri, 22 Feb 2008 20:42:07 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from alaska.critical.ch (84-72-48-221.dclient.hispeed.ch [84.72.48.221]) (authenticated bits=0) by mx.critical.ch (8.14.2/8.14.2/critical-1.0) with ESMTP id m1MKF8uJ077496; Fri, 22 Feb 2008 21:15:09 +0100 (CET) (envelope-from ehaupt@FreeBSD.org) Received: from beaver (beaver.home.critical.ch [192.168.1.3]) by alaska.home.critical.ch (8.14.2/8.14.2) with SMTP id m1MKF6fH046664; Fri, 22 Feb 2008 21:15:08 +0100 (CET) (envelope-from ehaupt@FreeBSD.org) Date: Fri, 22 Feb 2008 21:17:42 +0100 From: Emanuel Haupt To: gareth Message-Id: <20080222211742.ed8a1c17.ehaupt@FreeBSD.org> In-Reply-To: <20080222172210.GA31869@lordcow.org> References: <20080222172210.GA31869@lordcow.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mx.critical.ch [62.2.45.171]); Fri, 22 Feb 2008 21:15:09 +0100 (CET) X-Virus-Scanned: ClamAV 0.92.1/5938/Fri Feb 22 19:08:07 2008 on milkyway.critical.ch X-Virus-Status: Clean Cc: ports@FreeBSD.org Subject: Re: caching problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 20:42:08 -0000 > hey guys, our proxy is caching extremely old copies of the ports index > and portaudit databases from freebsd.org. our admins claim that they > cache the following files i need normally: > > http://www.FreeBSD.org/ports/auditfile.tbz > http://www.FreeBSD.org/ports/INDEX-6.bz2 > > since they have no no-cache pragma directives, and our admins won't > budge on their 'policy'. is the freebsd site breaking standards in > this way? is it feasible to add the directives? if not my solution > is to mirror the files elsewhere and specify this mirror - for > portaudit i see you can specify it in /usr/local/etc/portaudit.conf, > but i can't see where to specify an alternate url for 'portsdb -F' > to use? You could host the INDEX file on a mirror running a webserver on a non standard port. Then you could add something like this to /usr/local/etc/pkgtools.conf: ENV['MASTER_SITE_INDEX'] = "http://your.index.mirror.tld:81/" Although adjusting the cache policy seems more reasonable to me. Emanuel -- GnuPG key id: 0x90215DB9 Download: http://pgp.mit.edu:11371 Key fingerprint: 741B C70F 100B F360 0B52 E92D 5F01 7A86 9021 5DB9