Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Sep 2012 12:54:08 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pkg (aka pkgng) 1.0 released
Message-ID:  <5049E060.9020602@infracaninophile.co.uk>
In-Reply-To: <k2clsv$tci$1@ger.gmane.org>
References:  <20120830141939.GJ64447@ithaqua.etoilebsd.net> <k2ag08$hih$1@ger.gmane.org> <5048D2EC.70109@FreeBSD.org> <k2clsv$tci$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5049E060.9020602>