Daria Mehra wrote: > Is it necessary to have a separate root package just to include a single > sample config file?
Yes > Is there perhaps another location where I could put > such a file, without proliferating packages? > > I would also appreciate a pointer to documentation about root and user > packages if it exists. I don't think there is one - but it should probably be documented here ... http://wikis.sun.com/display/SFWNotes/Package+writing+guidelines Paul > > Jim Walker wrote: >> It looks like you will need root and user >> packages for your software. >> >> The "r" and "u" suffixes in package names normally mean >> that they are root and user packages. >> >> Cheers, >> Jim >> >> Daria Mehra wrote: >>> I am getting this error when trying to "make install" my new package >>> SUNWwebalizer: >>> >>> $ make install >>> ../audit_pkg SUNWwebalizer >>> SUNWwebalizer: ERROR: etc does not belong in a "usr" package >>> SUNWwebalizer: ERROR: etc/webalizer does not belong in a "usr" package >>> SUNWwebalizer: ERROR: etc/webalizer/sample.conf does not belong in a >>> "usr" package >>> *** Error code 1 >>> make: Fatal error: Command failed for target `pkg' >>> >>> My prototype_com has these, presumably wrong, lines: >>> >>> d none etc 755 root sys >>> d none etc/webalizer 755 root bin >>> f none etc/webalizer/sample.conf 644 root bin >>> >>> What's the right way to package a sample configuration file (which >>> should be editable by the user)? I was looking at prototype files in >>> other packages such as SUNWapchr but I must be missing something. >>> -- ---------------------------------------------------------------------- Paul Cunningham Software Engineer Tadpole Business Unit
