v 1.2.1 - config confusion

Anton Shterenlikht mexas at bris.ac.uk
Fri Nov 29 11:30:12 UTC 2013


pkg is a great tool!
Many thanks to all developers.

However, the pace of development is so
fast, I can't keep up. And, it seems,
the documentation is a bit behind too.

I've seen some posts in ports@ about
configuring pkg 1.2.1, but I'm still
not clear. Is seems pkg.conf(5) man page is
out of date. It still says PACKAGESITE
should be in this file, which is now obsolete.

https://wiki.freebsd.org/pkgng is more up-to-date.
Still:

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
}

So where does PUBKEY goes now?

What is the meaning of FreeBSD identifier?
Can I give it another name?

pkg-repo(8) says SIGNATURE_TYPE should be set
to FINGERPRINTS. Should this also appear
in /usr/local/etc/pkg/repos/FreeBSD.conf?

And so on...

I'm on ia64, so I have to build my own packages.
Please provide an up-to-date guide on the
transition from version 1.1 to 1.2.

Again, thank you for a great too!

Many thanks

Anton



More information about the freebsd-pkg mailing list