From owner-freebsd-current@FreeBSD.ORG Thu Oct 31 21:06:18 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 81ACBA29 for ; Thu, 31 Oct 2013 21:06:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x233.google.com (mail-qe0-x233.google.com [IPv6:2607:f8b0:400d:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 43DF7230A for ; Thu, 31 Oct 2013 21:06:18 +0000 (UTC) Received: by mail-qe0-f51.google.com with SMTP id q19so2119305qeb.38 for ; Thu, 31 Oct 2013 14:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Uz3OglcI2uHj/10EH4BBlGgqh3kjsRPfd2XXV0KjwX0=; b=U+1Nafbj+8gHolqnerylsC1yphl/k50imhtZT6ZqooDFE3sEzf1cB/3U1CvzqsjeJ4 B8ZhoZUlbvux2+hsNzwcSeCRBJIa0ya+8vzCM1gMSEwLP+VLKye1oRBYuEfuRyfs93Lq UU6Si9mlrlmzd2QPvWWRPq/pDnIQ6yATP7AfhTQjzg+TLJ3vSAQ1IbTYgOWPaO58jOve J2lOkEaxnXGSe0PiMcuvr6JEQRtRU56vnVnTh9P90OAWsIFM4om5kEwgmWER1NKa1LAK 89m7QlyhVOsWePythkZseKhB36tUU7AQT4htmf6NMwDzW96dDvwzXCdANFz5yXsl7GYR +4qw== MIME-Version: 1.0 X-Received: by 10.224.51.131 with SMTP id d3mr8227983qag.0.1383253577437; Thu, 31 Oct 2013 14:06:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Thu, 31 Oct 2013 14:06:17 -0700 (PDT) In-Reply-To: <5272C5E5.6050109@allanjude.com> References: <5271BC11.1010303@FreeBSD.org> <5272C5E5.6050109@allanjude.com> Date: Thu, 31 Oct 2013 14:06:17 -0700 X-Google-Sender-Auth: gPXOcexASw22IydMPJNmMRtouVg Message-ID: Subject: Re: Official FreeBSD Binary Packages now available for pkgng From: Adrian Chadd To: Allan Jude Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 31 Oct 2013 21:06:18 -0000 ... I still think the SRV record stuff is a bad idea. Well, I think it's a great idea - because I plan on supporting it in the next HTTP thing I write - but not having an A record is going to continue to bite things. Also, http+pkg:// isn't a defined protocol either and some strict proxies may actually reject it. You should go back to the http:// protocol. -adrian (with his HTTP hat on..) On 31 October 2013 14:04, Allan Jude wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2013-10-31 16:47, Eric Camachat wrote: >> It doesn't work with our (microsoft) proxy server, see below. >> >> root@basay:/usr/local/etc/pkg/repos # pkg update -f >> Updating repository catalogue >> pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/digests.txz: Service >> Unavailable >> pkg: No digest falling back on legacy catalog format >> pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/repo.txz: Service >> Unavailable >> root@basay:/usr/local/etc/pkg/repos # >> >> Eric >> >> >> On Wed, Oct 30, 2013 at 7:10 PM, Bryan Drewery > wrote: >> >>> We are pleased to announce that official binary packages are now >>> available for pkg, the next generation package management tool for > FreeBSD. >>> >>> Pkg allows you to either use ports with portmaster/portupgrade or to >>> have binary remote packages without ports. >>> >>> We have binary packages available for i386 and amd64 on >>> 8.3,8.4,9.1,9.2,10.0 and 11 (head). >>> >>> Pkg will be the default starting in FreeBSD 10. >>> >>> The pkg_install suite of tools pkg_create(1), pkg_add(1), and >>> pkg_info(1) (which ports also use), are deprecated and will be >>> discontinued in roughly 6 months. A communication regarding the >>> deprecation of the pkg_install suite of tools will be sent separately in >>> the future. >>> >>> If you are currently not using pkg and wish to, run the following as >>> root. Be sure not to add WITH_PKGNG=yes to your make.conf until after >>> pkg is installed. >>> >>> # cd /usr/ports/ports-mgmt/pkg && make install clean >>> # echo WITH_PKGNG=yes >> /etc/make.conf >>> # pkg2ng >>> >>> You can now either continue to use ports with portmaster/portupgrade, as >>> before or switch to using binary packages only. >>> >>> >>> To use binary packages: >>> >>> 1. Ensure your pkg(8) is up-to-date. 'pkg -v' should say at least >>> 1.1.4_8. If it does not, first upgrade from ports. >>> 2. Remove any repository-specific configuration from >>> /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY. >>> If this leaves your pkg.conf empty, just remove it. >>> 3. mkdir -p /usr/local/etc/pkg/repos >>> 4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with: >>> FreeBSD: { >>> url: "http://pkg.FreeBSD.org/${ABI}/latest", >>> mirror_type: "srv", >>> enabled: "yes" >>> } >>> >>> * Note that pkg.FreeBSD.org does not have a browsable web page on it and >>> does not have a DNS A record. This is intended as it is an SRV host. >>> pkg(8) knows how to properly use it. You can use 'pkg search' to browse >>> the available packages in the repository. >>> >>> Mirrors you may use instead of the global pkg.FreeBSD.org: >>> >>> pkg.eu.FreeBSD.org >>> pkg.us-east.FreeBSD.org >>> pkg.us-west.FreeBSD.org >>> >>> Your system is now ready to use packages! >>> >>> Refer to the handbook section on pkgng for usage at >>> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html >>> . >>> Also see 'man pkg' for examples or 'pkg help'. >>> >>> >>> Packages are built weekly from a snapshot of the Ports Collection every >>> Wednesday morning 01:00 UTC. They typically will be available in the >>> repository after a few days. >>> >>> Pkg 1.2 will be released in the coming month which will bring many >>> improvements including officially signed packages. FreeBSD 10's pkg >>> bootstrap now also supports signed pkg(8) installation. >>> >>> >>> Regards, >>> Bryan Drewery >>> on behalf of portmgr@ >>> >>> >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > I am guessing the proxy passes the full HTTP request, without doing the > SRV lookup, and then can't find the A record. > > I wonder if the http+pkg:// protocol can solve this, likely will require > a patch to fetch to implement the logic to do the dns lookup and make > the proxies request for the real hostname > > - -- > Allan Jude > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (MingW32) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJScsXlAAoJEJrBFpNRJZKfvGUP/juCxjR30BPycq1wsPg/p1X9 > oVorgOaFYYEo5Wg13J2UNj0vkOcFjl9hIdjKh3NmzTP9VOEbJPX4/WSFJOLdxsO+ > FFmmYoPywQUnfyAgIJiWbFokL4JptDduvAO98oRm+DHUtTS1yMm4bnGt+Rkt4uuH > km6doAh79QuOEduTCA7Q2NLQxU2j1BFQ8dcGxMjtFbGm+o3QJX5/eToQdtCH6p/S > tQ2JnfCdV34gl1S8S7RrxxPqU9P5iKy65/w3B2L/DPd4NCJTJmge9C2uUIHMG/oE > +OK2ti/ya6u4WBxAJaPckCmSa72hOSp9aqTjztrhD7S2b9K3kdkMUKj9kTNViiAe > D6XW+glcu/H9W2ruWzQLAJMpjfPF1I+4anufbVvKhu++ENEpV5LUEgx+Iyp5thuY > ifNptmUXeoQiDHNUfrqlaT31yejY0nhlY2nGqmlnPNjLCMLo99RY5H9nPWUu/J4d > 5Z0zuhT+WDjFR8t+WhXWGdIBlPvuk1Uqk+yGXKN5qIdp/J3Cs9U5Lgo4biXZP7nR > 7iTNsRt4GpCTBB5fAzqSanezZGA2ekD/D9lDVwGnudXhVArKlPrCadiCbQQSkhgY > CZYQ96Tp39YV9i2J98/HhEtxWZQt9ibC/zSOHu142d89V1n0Ud/vLVc7eE256pW1 > Ce3QQJRlg6rUVQuSWtf/ > =cv2E > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"