publisher.prefix is required

pkg.depotd: repository configuration error: publisher.prefix is required

Standing a new IPS server , don't forget to set the publisher.prefix. A lot of blog posts and doco pre-dates this addition

pfexec svccfg -s pkg/server "setprop pkg/port=10000"
pfexec svccfg -s pkg/server "setprop pkg/inst_root=/export/ipsrepo"
pkgsend -s file:///export/ipsrepo create-repository --set-property publisher.prefix=myrepo
pfexec svcadm enable pkg/server
pfexec svcadm restart pkg/server