From owner-freebsd-questions@FreeBSD.ORG  Wed Oct  2 22:06:48 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@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 ESMTP id 340F1EB4
 for <freebsd-questions@freebsd.org>; Wed,  2 Oct 2013 22:06:48 +0000 (UTC)
 (envelope-from matthew@FreeBSD.org)
Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk
 [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id B70AD2D95
 for <freebsd-questions@freebsd.org>; Wed,  2 Oct 2013 22:06:47 +0000 (UTC)
Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk
 [81.2.117.99]) (authenticated bits=0)
 by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r92M6hTQ051786
 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO)
 for <freebsd-questions@freebsd.org>; Wed, 2 Oct 2013 23:06:43 +0100 (BST)
 (envelope-from matthew@FreeBSD.org)
DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r92M6hTQ051786
Authentication-Results: smtp.infracaninophile.co.uk/r92M6hTQ051786;
 dkim=none reason="no signature"; dkim-adsp=none (unprotected policy)
Message-ID: <524C98EC.6060204@FreeBSD.org>
Date: Wed, 02 Oct 2013 23:06:36 +0100
From: Matthew Seaman <matthew@FreeBSD.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6;
 rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Subject: Re: Where is pkg repository for 9.2-RELEASE (amd64)?
References: <201310022007.r92K7nV2072671@psr.com>
In-Reply-To: <201310022007.r92K7nV2072671@psr.com>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="OGJSwIME1KNIW1gdte6ir6am7lRjQAMJ3"
X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk
X-Virus-Status: Clean
X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00
 autolearn=ham version=3.3.2
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
 lucid-nonsense.infracaninophile.co.uk
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Oct 2013 22:06:48 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OGJSwIME1KNIW1gdte6ir6am7lRjQAMJ3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 02/10/2013 21:07, Winston wrote:
> Summary:
>=20
> Where is the (U.S.) pkg(ng) repository for amd64 9.2-RELEASE (i.e.,
> what's the right URI for PACKAGESITE in pkg.conf)?
>=20
>=20
> Things I tried that didn't work:
>=20
> * pkg_add -r pkg  didn't create /usr/local/etc/pkg.conf
>=20
> * pkg.conf.sample suggests "http://pkg.freebsd.org/${ABI}/latest",
>   but the host name pkg.freebsd.org does not DNS resolve for me.
>=20
> * URLs using pkgbeta.FreeBSD.org didn't work, and
>   http://pkgbeta.FreeBSD.org/  itself says
>   "Currently this site only contains pkg bootstrap files!"

Yeah -- and the bootstrap pkg on pkgbeta is severely out of date and has
some problems with the up to date DB schema.

Use PACKAGESITE=3Dhttp://pkg-test.freebsd.org/pkg-test-${ABI}/latest

That's the kit that will form the official FreeBSD package repository;
it just lacks the crypto bits for signing the packages, which is why
it's calling itself 'pkg-test'

Oh -- there isn't an A record in the DNS for pkg-test.freebsd.org --
look up a SRV record for _http._tcp.pkg-test.freebsd.org instead.

(Yes, this is counter to RFC 2616.
https://github.com/freebsd/pkg/issues/550  There are moves afoot to
change to a new set of URL schemes: pkg+http://, pkg+https://,
pkg+ssh:// etc. but these are still under development)

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--OGJSwIME1KNIW1gdte6ir6am7lRjQAMJ3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iKYEARECAGYFAlJMmPJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEI1NTUyQTk2Mjc0RUQyNDg1NzM0MEVCNEYw
QzhFNEU3NjBBRTkwOEMACgkQ8Mjk52CukIzlHgCffwnWkDE3uv0iTCxEdhB3duTH
PTIAn2NHK5qyO5Hzzgv4qah+YGKINBEh
=Ph7t
-----END PGP SIGNATURE-----

--OGJSwIME1KNIW1gdte6ir6am7lRjQAMJ3--