Excerpts from Philip Brown's message of Thu Dec 16 18:43:02 -0500 2010:

> If you were creating packages more directly like I do, rather than
> using GAR, I would suggest
> creating prototype entries such as
> 
> f cswusergroup /etc/opt/csw/pkg/CSWyourpkg/cswusergroup 0644 root bin
> f cswpreserveconf /path/you/need.conf.CSW 0600 someuser somegroup
> 
> and in pkginfo
> CLASSES=cswusergroup cswpreserveconf none

I just took a quick peek at the GAR code and I _think_ this could be
resolved simply by swapping the order that the potential classes are
processed in.  Right now the ordering is:

_CSWCLASSES  = cswmigrateconf cswcpsampleconf cswpreserveconf
_CSWCLASSES += cswetcservices
_CSWCLASSES += cswusergroup ugfiles
_CSWCLASSES += cswcrontab
_CSWCLASSES += cswpycompile
_CSWCLASSES += cswinetd
_CSWCLASSES += cswinitsmf
_CSWCLASSES += cswtexinfo
_CSWCLASSES += cswpostmsg

If we move cswusergroup and ugfiles higher in the list, that should
allow what is required.  I'll take a closer look tonight after running
a pile of last minute seasonal errands.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to