Feature #1158
open
replace deprecated pkgsend subcommands with pkgrepo in usr/src/pkg/Makefile
Added by Bayard Bell over 12 years ago.
Updated over 12 years ago.
Category:
tools - gate/build tools
Description
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.
- 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?)
Also available in: Atom
PDF