# zfs create rpool/export/repoSolaris11
# zfs set atime=off rpool/export/repoSolaris11
# pkgrepo create /export/repoSolaris11
# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/repoSolaris11 '*'
Processing packages for publisher solaris ...
Retrieving and evaluating 4401 package(s)...
Creating Plan \
# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11
# svccfg -s application/pkg/server setprop pkg/readonly=true
# svcprop -p pkg/inst_root application/pkg/server
/export/repoSolaris11
# svccfg -s application/pkg/server setprop pkg/port=port_number
or
# svccfg -s pkg/server editprop
# svcadm refresh application/pkg/server
# svcadm enable application/pkg/server
on clients
# pkg set-publisher -G '*' -M '*' -g http://