Greetings,

Changset r1117 in the pkg(5) gate implemented the following enhancements:

   7862 install links using p5i for search results desired
   8723 repository should contain publisher and repository client metadata
   8724 publisher metadata retrieval operation desired


The purpose of this new functionality is to allow "one-click" web-based 
installation of packaging software and to enable clients to retrieve 
metadata about the publisher and repository that can be used for policy 
determination and auto-configuration.

As a result of this change, repository administrators will need to add 
additional information to the cfg_cache file located in the repository 
directory (e.g. /var/pkg/repo/cfg_cache) to enable this new 
functionality and to allow correct identification of depot RSS/Atom feed 
entries.

If you do not provide this new information, the new functionality will 
be disabled (return 404 errors to clients) but the depot server will 
otherwise function correctly.

To do this, simply start and stop the pkg.depotd server while the 
repository is not in use.  Once you've done that, you will see one new 
configuration section entitled 'publisher' and several new configuration 
attributes under the 'repository' section.

==============================

The easiest way to do this is to stop and start the depot server (not in 
readonly mode) so that the new sections and attributes will be written 
to the configuration file.  An example of what information you might 
provide is below:

[publisher]
alias =
prefix = opensolaris.org

[repository]
collection_type = core
description = This repository serves the currently in-development 
release of OpenSolaris.
detailed_url = http://www.opensolaris.com
legal_uris = 
http://www.opensolaris.org/os/copyrights/,http://www.opensolaris.org/os/tou/,http://www.opensolaris.org/os/trademark/
maintainer_url = http://www.opensolaris.org/os/project/indiana/
maintainer = Project Indiana <indiana-discuss at opensolaris.org>
name = OpenSolaris Packaging Repository
origins = http://pkg.opensolaris.org/dev
refresh_seconds = 14400
registration_uri =
related_uris = 
http://pkg.opensolaris.org/contrib,http://pkg.opensolaris.org/pending

==============================

A detailed explanation of these attributes, their purpose, and allowed 
values can be found in "pydoc pkg.client.publisher" under the 
"Publisher" and "Repository" class headings.

Cheers,
-- 
Shawn Walker

Reply via email to