From owner-freebsd-current@FreeBSD.ORG Fri Sep 7 11:54:25 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 868F2106564A; Fri, 7 Sep 2012 11:54:25 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E38A98FC0A; Fri, 7 Sep 2012 11:54:24 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q87Bs9OV057121 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 7 Sep 2012 12:54:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q87Bs9OV057121 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1347018856; bh=UmTZsRl3dexE7BuduZhKanH8hV9300mMX5YWI4F6+jQ=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=ucsm9IVdO8ZWuPye6EhUUfXHQx0eMWcsVauDI/DxHh7ds5gu7Ol38NSIbJIFpue/t JOLjLFRB/wB+i1H5HBZC12TMFRniVOm1/ImFuKdfzshE3fEnOXM+Mr566AZlBrR/zz Dve4hjUn8wADpBygzkQ8er6rczCjiz13FMaVHExI= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <5049E060.9020602@infracaninophile.co.uk> Date: Fri, 07 Sep 2012 12:54:08 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120831 Thunderbird/15.0 MIME-Version: 1.0 To: Ivan Voras References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> <5048D2EC.70109@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,SPF_FAIL,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-current@freebsd.org Subject: Re: pkg (aka pkgng) 1.0 released X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 11:54:25 -0000 On 09/07/12 12:30, Ivan Voras wrote: > On 06/09/2012 18:44, Matthew Seaman wrote: >> On 06/09/2012 16:37, Ivan Voras wrote: > >>> Hi, >>> >>> It looks like the pkg port installs pkg.conf.sample with the line: >>> >>> PACKAGESITE : http://pkg.freebsd.org/${ABI}/latest >>> >>> ... which is finally a good step in the direction of making pkgng >>> working by default, except that the "pkg.freebsd.org" site doesn't exist >>> in DNS. Instead, pkgbeta.freebsd.org still exists. I suppose one should >>> be a DNS CNAME for the other? >> >> It's a SRV record: >> >> seedling:~:% dig +short IN SRV _http._tcp.pkg.freebsd.org >> 10 10 80 pkgbeta.FreeBSD.org. > > Hi, > > What are the benefits of doing it this way? Yeah -- it's a bit OTT right now given there's just the one publicly available pkg repository available. It will pay off later when there are more pkg repositories available -- repositories can be added to (or removed from) the list in the SRV record without end-users having to know the details. It may also be possible to replicate what portupdate has done and use geolocation based services to steer end users to a nearby repository site automatically. Cheers, Matthew