From owner-freebsd-hackers@FreeBSD.ORG Mon May 5 08:31:19 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C68837B401 for ; Mon, 5 May 2003 08:31:19 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D2B43F85 for ; Mon, 5 May 2003 08:31:18 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 17A60419 for ; Mon, 5 May 2003 17:31:17 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 4ED3D2FDAC9; Mon, 5 May 2003 17:31:16 +0200 (CEST) Date: Mon, 5 May 2003 17:31:16 +0200 From: Roman Neuhauser To: freebsd-hackers@freebsd.org Message-ID: <20030505153116.GC74924@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20030504100447.GU12792@freepuppy.bellavista.cz> <200305042336.h44NaoM7023683@gw.catspoiler.org> <20030504235059.GB42024@isnic.is> <20030505001955.GB92114@opiate.soulwax.net> <87r87d5vfg.fsf@pooh.honeypot.net> <87u1c94epk.fsf@pooh.honeypot.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87u1c94epk.fsf@pooh.honeypot.net> User-Agent: Mutt/1.5.1i Subject: Re: Periodic email about security notifications X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 15:31:19 -0000 # kirk@strauser.com / 2003-05-05 10:04:39 -0500: > At 2003-05-05T14:18:11Z, Kirk Strauser writes: > > > I'd almost consider adding something like: > > > > if ($ftp_servername eq 'ftp.freebsd.org') > > { > > die "Use a mirror, please!"; > > } > > > > to this and most similar scripts. > > Actually, I had an idea: > > Debian makes "ftp.us.debian.org" a round-robin pointer to any of a number of > machines. What about doing the same for FreeBSD, and making scripts replace > references to "ftp.freebsd.org" with "ftpmirror.freebsd.org" or similar? > Then, those with specific needs could still download from ftp.freebsd.org, > but everyone else would automatically get a mirror site. or something like this? security_advisory_mirror_list="ftp0 ftp1 ftp2 ftp3 ftp4 ftp5 ftp6 ftp7" getMirror () { set -- $security_advisory_mirror_list security_advisory_mirror=$(eval echo '$'`jot -r 1 1 $#`) } there is probably a less convoluted way to get the result, but it's too hot here right now, and my brain is toast. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html