Project

General

Profile

Actions

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.

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:
External Bug:

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.

Actions #1

Updated by Rich Lowe over 12 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?)

Actions

Also available in: Atom PDF