Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 16:09:31 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>, Allan Jude <freebsd@allanjude.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Official FreeBSD Binary Packages now available for pkgng
Message-ID:  <5272C70B.1040200@FreeBSD.org>
In-Reply-To: <CAJ-Vmo=jHXjaM2ifHapRX3xx=Bt-2_OAHip5rLRVenDtDR8Lxg@mail.gmail.com>
References:  <5271BC11.1010303@FreeBSD.org> <CACeEFf4Hif3WHufC=i08gbkXb6oC=4sxbyvO4FQnTkRWA7ZwnA@mail.gmail.com> <5272C5E5.6050109@allanjude.com> <CAJ-Vmo=jHXjaM2ifHapRX3xx=Bt-2_OAHip5rLRVenDtDR8Lxg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--WQNdcngd9GNLuih3T1whE9mA9Mna4GFov
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 10/31/2013 4:06 PM, Adrian Chadd wrote:
> ... I still think the SRV record stuff is a bad idea.
>=20
> 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.

I don't like it either, it's not up to portmgr.

>=20
> 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.

It's not real. It's a client-side thing only. The "pkg+" is stripped
away before the fetch. It's only intended to make people realize they
can't just drop it into firefox and hit enter.

1.2 adds support for it which is coming soon, but it doesn't really
change much.

>=20
>=20
> -adrian
>=20
> (with his HTTP hat on..)
>=20
>=20
> On 31 October 2013 14:04, Allan Jude <freebsd@allanjude.com> wrote:
>>
> 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: Se=
rvice
>>>> Unavailable
>>>> pkg: No digest falling back on legacy catalog format
>>>> pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/repo.txz: Servi=
ce
>>>> Unavailable
>>>> root@basay:/usr/local/etc/pkg/repos #
>>>>
>>>> Eric
>>>>
>>>>
>>>> On Wed, Oct 30, 2013 at 7:10 PM, Bryan Drewery <bdrewery@freebsd.org=
>
> 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 t=
o
>>>>> 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 separate=
ly in
>>>>> the future.
>>>>>
>>>>> If you are currently not using pkg and wish to, run the following a=
s
>>>>> root. Be sure not to add WITH_PKGNG=3Dyes to your make.conf until a=
fter
>>>>> pkg is installed.
>>>>>
>>>>>   # cd /usr/ports/ports-mgmt/pkg && make install clean
>>>>>   # echo WITH_PKGNG=3Dyes >> /etc/make.conf
>>>>>   # pkg2ng
>>>>>
>>>>> You can now either continue to use ports with portmaster/portupgrad=
e, 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, PUBKE=
Y.
>>>>>    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 i=
t and
>>>>> does not have a DNS A record. This is intended as it is an SRV host=
=2E
>>>>> pkg(8) knows how to properly use it. You can use 'pkg search' to br=
owse
>>>>> 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.h=
tml
>>>>> .
>>>>> Also see 'man pkg' for examples or 'pkg help'.
>>>>>
>>>>>
>>>>> Packages are built weekly from a snapshot of the Ports Collection e=
very
>>>>> Wednesday morning 01:00 UTC. They typically will be available in th=
e
>>>>> 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@freebs=
d.org"
> I am guessing the proxy passes the full HTTP request, without doing the=

> SRV lookup, and then can't find the A record.
>=20
> I wonder if the http+pkg:// protocol can solve this, likely will requir=
e
> a patch to fetch to implement the logic to do the dns lookup and make
> the proxies request for the real hostname
>=20
>>
>> _______________________________________________
>> 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.o=
rg"
>=20


--=20
Regards,
Bryan Drewery


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJScscMAAoJEDXXcbtuRpfPcvEIAI/966ncypKNdK7PhlYwd/7A
h9HN4j4GiQiWWxWJSVT9qjOVDFQB+jhpfcd4Ui4d4IRB3Vya3Ft6kSs2D0stoG3y
S4fNkn+NpQ1cLy7UCsS6+H4zEagOl4Y/SF5nrSWiDKOKFmudhKNPrm77F4wOO2Bs
08WOc3MIkEPGApgzh4JvdShvFAinFbTc62BZDobBuKm8EdpsU72MzmmTHnpiMV6e
ZkSeTSwJGiXjCimAomAOxBMUEQ8F7g4yoTdrnvkDj6M2+pJsSedL4Ifn2MxxP9gK
+mUOBIitjA3E1d4lB23uSnl5p57hzzyRyZaIgCdkeNq2UsL15rj996+M84/WzXA=
=JlU9
-----END PGP SIGNATURE-----

--WQNdcngd9GNLuih3T1whE9mA9Mna4GFov--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5272C70B.1040200>