Create a repository filesystem:

# zfs create -p rpool/export/pkg/openindiana

Copy the data from packages/i386/nightly-nd/repo.redist into the new filesystem:

# (cd packages/i386/nightly-nd/repo.redist; tar cf - *) | ssh pkgdev "cd /export/pkg/openindiana; tar xvpf -"

Set repository properties:

# /usr/lib/pkg.depotd -d /export/pkg/openindiana -p 10000 --set-property publisher.prefix='openindiana.org' \
repository.name='OpenIndiana Package Repository' \
repository.description='This repository serves the development releases of OpenIndiana.>
<p>
For more information visit <a href="http://www.openindiana.org/">openindiana.org</a>
</p>
'

Fix the publisher:

[Yet to be written - need to use set-publisher tool in pkg-gate]