The page and its children is replaced with Packaging and Delivering Software with the Image Packaging System developer's guide. Avoid touching this wiki page.

Information about using IPS

Quick and easy way of adding instance of pkg/server to smf:

svccfg -s svc:/application/pkg/server add osol_dev_134
svccfg -s svc:/application/pkg/server:osol_dev_134 addpg pkg application
svccfg -s svc:/application/pkg/server:osol_dev_134 setprop pkg/inst_root=/export/pkg/osol_dev_134
svccfg -s svc:/application/pkg/server:osol_dev_134 setprop pkg/port=10134
svccfg -s svc:/application/pkg/server:osol_dev_134 setprop pkg/pkg_root=/
svccfg -s svc:/application/pkg/server:osol_dev_134 setprop pkg/readonly=true
svccfg -s svc:/application/pkg/server:osol_dev_134 setprop pkg/proxy_base=http://pkg.openindiana.org/exp
svcadm refresh svc:/application/pkg/server:osol_dev_134
svcadm enable svc:/application/pkg/server:osol_dev_134

Adding new smf instance on pkg01.uk.openindiana.org

svccfg -s svc:/application/pkg/server add l10n-nightly
svccfg -s svc:/application/pkg/server:l10n-nightly addpg pkg application
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/proxy_base=http://pkg.openindiana.org/l10n-nightly
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/port=10007
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/inst_root=/export/pkg/l10n-nightly
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/readonly=true
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/log_access=/export/pkg/logs/l10n-nightly.log
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/threads=100
svccfg -s svc:/application/pkg/server:l10n-nightly setprop pkg/content_root=/export/pkg/l10n-nightly/content_root/
svcadm enable svc:/application/pkg/server:l10n-nightly

To configure Apache 2.4 server as reverse proxy for pkg.depotd, you should add to Apache configuration (note AllowEncodedSlashes option)

AllowEncodedSlashes NoDecode
 
ProxyPass /l10n-nightly http://pkg.openindiana.org:10007/l10n-nightly nocanon max=200