replace deprecated pkgsend subcommands with pkgrepo in usr/src/pkg/Makefile
Rather than using the deprecated pkgsend create-repository... set-property, the Makefile should use pkgrepo create/pkgrepo set. Comments also need to be updated to reflect this.
Updated by Rich Lowe about 9 years ago
- Tracker changed from Bug to Feature
- Subject changed from replace pkgrepo with deprecated pkgsend repo subcommands in usr/src/pkg/Makefile to replace deprecated pkgsend subcommands with pkgrepo in usr/src/pkg/Makefile
The even-newer-than-that pkg(5) uses 'pkgrepo add-publisher' not 'set publisher/prefix', as it handles repositories containing multiple publishers in a more obvious manner.
I'd ideally like to limp along with the most-compatible syntax for a while if we can, and only do this once. Does pkgsend still work across the range of pkg versions people are using?
(If not, does set publisher/prefix still work in pkg new enough to prefer add-publisher?)