Martin Carpenter
mcarpenter@free.fr
Copyright © Martin Carpenter 2011
The solaris-prototype gem helps with the manipulation of SunOS and Solaris prototype entries for SysV packages.
p = Solaris::Prototype.from_path './usr/local/bin/foo' p.to_s => "f none ./usr/local/bin/foo 0755 martin staff" p.owner = 'root' p.group = 'sys' p.to_s => "f none ./usr/local/bin/foo 0755 root sys" p.pathname = "/usr/local/bin/foo=./usr/local/bin/foo" => "f none /usr/local/bin/foo=./usr/local/bin/foo 0755 root sys"
This can then be fed into pkgmk(1M).