pkgng goes official in FreeBSD

As seen on the announcements list, pkgng is now officially up and running for FreeBSD! The infrastructure had some rough times before and the deployment was prolonged a bit, but now it's finally there and the old pkg_* tools can be put to rest.

The preferred format for referencing repos has changed a bit, so if you have old config files, be sure to update them!

Instead of specifying PACKAGESITE in the main pkg.conf, now each repo can be in its own config file. Quoting the announcement:

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: "${ABI}/latest",
  mirror_type: "srv",
  enabled: true

Happy pkgng'ing!

Comments !