From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 17:29:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2EB731E; Wed, 28 Nov 2012 17:29:13 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 812638FC0C; Wed, 28 Nov 2012 17:29:13 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 28 Nov 2012 09:29:08 -0800 Message-ID: <50B649E1.8070001@a1poweruser.com> Date: Wed, 28 Nov 2012 12:29:05 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Matthew Seaman Subject: Re: using new pkgng system on 9.0 system References: <50AE3BF5.1000200@a1poweruser.com> <50AE7716.6060506@infracaninophile.co.uk> <50AF9865.50509@a1poweruser.com> <50AFBCEE.1010000@FreeBSD.org> <50AFCC5A.10006@a1poweruser.com> <50AFE792.1020101@FreeBSD.org> In-Reply-To: <50AFE792.1020101@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Nov 2012 17:29:08.0779 (UTC) FILETIME=[DF85E7B0:01CDCD8D] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2012 17:29:13 -0000 Matthew Seaman wrote: > On 23/11/2012 19:19, Fbsd8 wrote: >> Where do I find the url for the beta-test server repositories? >> Can I use ftp or browser to see index content? > > > pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL > for the FreeBSD pkg repo[*], which is currently pointing at the > beta-test repo, but which will in the fullness of time be changed to > point at the actual production repo. There is no pkg.conf supplied. It's named as pkg.conf.sample this fact is not mentioned anywhere. pkg should be released with a default pkg.conf not a pkg.conf.sample so pkg is ready to function right from the original install of pkg. > > No, in general you can't assume that you'll be able to browse the repo > using a web browser or similar. Even if you could, all you'ld see is a > lot of pkg tarballs which would tell you the package names and versions > and how much data you'll need to download and not a lot else. Use the > repo catalogue. It can tell you almost anything you might want to know > about the available packages in the repo. > > Cheers, > > Matthew > > [*] Note: the default URL uses an SRV record in the DNS, which typical > web browsers don't know how to handle. You'll just get NXDOMAIN if you > try and point Firefox at it. > > For those who know how to handle SRV records, it looks like this: > > worm:~:% dig _http._tcp.pkg.freebsd.org IN SRV > > ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org IN SRV > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;_http._tcp.pkg.freebsd.org. IN SRV > > ;; ANSWER SECTION: > _http._tcp.pkg.freebsd.org. 3600 IN SRV 10 10 80 pkgbeta.FreeBSD.org. > > ;; Query time: 44 msec > ;; SERVER: 8.8.8.8#53(8.8.8.8) > ;; WHEN: Fri Nov 23 21:13:50 2012 > ;; MSG SIZE rcvd: 83 > Yes the url pkgbeta.FreeBSD.org can be browsed using a browser. As of Nov 28 pkgbeta.FreeBSD.org only contains the pkg package. So in conclusion, pkg is not ready for testing.