Copying and Creating Package Repositories in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Viewing Properties that Apply to the Entire Repository

The following command displays a list of the package publishers known by the local repository. The STATUS column indicates whether the publisher’s package data is currently being processed.

$ pkgrepo info -s /export/IPSpkgrepos/Solaris
PUBLISHER PACKAGES STATUS           UPDATED
solaris   4506     online           2013-07-11T23:32:46.379726Z

The following command displays property information that applies to the entire repository. See the pkgrepo(1) man page for a complete list of repository properties and their descriptions, including specifications of their values.

$ pkgrepo get -s /export/IPSpkgrepos/Solaris
SECTION    PROPERTY                     VALUE
publisher  prefix                       solaris
repository check-certificate-revocation False
repository signature-required-names     ()
repository trust-anchor-directory       /etc/certs/CA/
repository version                      4
publisher/prefix

The name of the default publisher. Though a repository can contain packages from multiple publishers, only one of the publishers can be set as the default publisher. This default publisher name is used for the following purposes:

  • To identify a package when no publisher is specified in the package FMRI in the pkg command

  • To assign a publisher to a package when the package is published to the repository (using the pkgsend(1) command) and no publisher is specified in the package manifest

repository/check-certificate-revocation

A flag for checking the certificate. When set to True, the pkgrepo verify command attempts to determine whether the certificate has been revoked since being issued. This value must match the value of the check-certificate-revocation image property described in Additional Image Properties in Adding and Updating Software in Oracle Solaris 11.2 and in the pkg(1) man page.

repository/signature-required-names

A list of names that must be seen as common names of certificates while validating the signatures of a package. This list is used by the pkgrepo verify command. This value must match the value of the signature-required-names image property described in Image Properties for Signed Packages in Adding and Updating Software in Oracle Solaris 11.2 and in the pkg(1) man page.

repository/trust-anchor-directory

The absolute path name of the directory that contains the trust anchors for packages in this repository. The default is /etc/certs/CA/. This value must match the value of the trust-anchor-directory image property described in Additional Image Properties in Adding and Updating Software in Oracle Solaris 11.2 and in the pkg(1) man page.

repository/version

The format version of the repository. This value cannot be set with the pkgrepo set command shown in Modifying Repository Property Values. This value can be set with the pkgrepo create command. Version 4 repositories are created by default. Version 4 repositories support storage of packages for multiple publishers.