Project

General

Profile

Feature #1158

replace deprecated pkgsend subcommands with pkgrepo in usr/src/pkg/Makefile

Added by Bayard Bell about 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2011-06-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

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.

History

#1

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?)

Also available in: Atom PDF