Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2012 22:30:05 -0600
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        FreeBSD Ports <ports@FreeBSD.org>
Subject:   PKGNG overview, status and FAQ
Message-ID:  <50C5654D.1010709@FreeBSD.org>

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

I've seen some confusion on what pkgng is and what the current status of
it is, so I decided to writeup a small explanation.

PKGNG is a replacement for pkg_add/pkg_install. Before pkgng came along,
ports already used pkg_install and binary packages were installed with
pkg_add -r. These old tools did not properly handle upgrades or
dependencies very well.

PKGNG is a replacement for pkg_add/pkg_install, but much smarter. It is
similar to apt-get, yum, etc. All pkgng packages are built from ports at
some point, so it is still limited by limitations of ports. PkgPrimer
[1] provides some comparison of the old commands to the new commands.

PKGNG is not necessarily a replacement for ports. You can continue to
use ports just like before (with portmaster / portupgrade / manual), or
you can opt to use a binary package repository.

Ports allow you to select which OPTIONS are used, while binary packages
generally do not. Your local Ports checkout may have different versions
of the remote repository you choose to use. As such, if you try to use
both binary packages and ports, you may run into surprises.

The plan is to provide a pkg.freebsd.org repository that is updated
frequently, uses SRV mirrors, and has signed packages. This part of the
plan is stalled. More information on the roadmap for pkgng is on the
PKGNG Charter wiki page [2]

The nature of mirrors means that http://pkg.freebsd.org will not have a
site on it as it is an SRV mirror, not an FTP or HTTP server. If it had
packages, you would not be able to browse them. You should use 'pkg
search' instead. You can see which mirrors are available by running:

    dig SRV _http._tcp.pkg.freebsd.org

However, due to the recent security incident [3], the pkg.freebsd.org
repository was cleared and will be rebuilt in the future [4]. As such,
no packages except for 'ports-mgmt/pkg' are currently available.

However, you can build your own packages and run your own repository
using poudriere (ports-mgmt/poudriere) or tinderbox
(ports-mgmt/tinderbox-devel); or just continue using ports.


[1] http://wiki.freebsd.org/PkgPrimer
[2] http://wiki.freebsd.org/pkgng/CharterAndRoadMap
[3] http://www.freebsd.org/news/2012-compromise.html
[4]
http://lists.freebsd.org/pipermail/freebsd-ports/2012-November/079711.htm=
l

More information, blog posts, and resources can be found on the PKGNG
wiki page: http://wiki.freebsd.org/pkgng


Hope this helps,
Bryan Drewery



--------------enig470A16E8C5A35A2DFC259965
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 undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQxWVNAAoJEG54KsA8mwz5KwAP/2qPRamJv2nq3TUcYBqRUANs
MA2QCyEaBQ+//3J8Elad4nOzTCEd+NYhvv5r5awDrAPLxt9LEmzu83qfjsCpSarg
v6+o7wUvGL1du0VI1UuNYAOzoD7v7XYBx482s8m4T9dpznlSlGLUR5UOvPw1iG9j
HASrL/wN/9oBot1zuPtWk/D/SJcBGR0CWOWalDWr11OoXixVuM6xjkEAX5LfIPpw
P2fuEB0QGukJRp5eguDt0BRX5mKKWZYIbrK99LqFrbYo2q85Q9PFCdSjTbdo9qdu
NFZzSWxzf7SUxksWPLkzZ803qaCqsqhhlhIBESBjMSJgl1h0AMTgFuJW86LbAA46
Mqm9ziT2oCXokREu1yrxPhMjFFoG1lhqBer4XTfGoWDos9ML7nIoskDvL6ys2H2t
cL9ypCw/dDhj3TwS3tX9DLPL8BiAuCHv6TZKQC/KIim+oBxKRCqLBOPKuKCoWHtx
Gg+QIKZ6WDhwFJeyxHrVvf34YsHFvGD/qviAslU8YHl408qzVB1dsIC35v1+ZwaK
5PfaHo7vNp3YzA2iALsYTj0fYd3RB5mE6QuIkBvCQk+DEEGMRp0+s+d3uEibV4Ve
KkTpzViLCb4tn2i932pvUXqCY+J5+dbsrjFWH0LWyeLgU9jqEyWlWrqMuISK7aYi
pGl5a3djsT2EqCgPNDIN
=SOIZ
-----END PGP SIGNATURE-----

--------------enig470A16E8C5A35A2DFC259965--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C5654D.1010709>