Todd Pisek wrote:
I work on the SAM-QFS product. We are going to deliver a version of our
product to Open Solaris 2009.06. Our product requires an explicit
license acceptance and we also have additional interactive scripts that,
using SVR4 packaging, we perform at install time. My understanding is
that at this time, there is no provision for either explicit license
acceptance or interactive scripts in IPS.
If you are certain your product *requires* explicit license acceptance
(yours would be the first one delivered for OpenSolaris 200x release
that did as far as I know), then be aware that functionality should be
delivered in the next few months, but obviously not for the 2009.06 release.
That particular functionality is tracked under the following issues:
5586 licenseinfo api needs to expose license action attributes
http://defect.opensolaris.org/bz/show_bug.cgi?id=5586
5732 packagemanager should have support for click-thru license
http://defect.opensolaris.org/bz/show_bug.cgi?id=5732
5943 'must_accept' attribute desired for license actions
http://defect.opensolaris.org/bz/show_bug.cgi?id=5943
Your plan for using SMF or an install script to self-assemble your
software is probably the best one at this time.
Hopefully though, your install script would not add or remove files from
the system that your package delivered as that might cause the user
grief whenever they perform a "pkg fix" or "pkg verify". Instead, it
would ideally just use a configuration file marked with "preserve=true"
(or "strawberry" -- whichever you prefer :)).
One of the other pkg(5) team members may have better suggestions.
Finally, note that if your package is not freely redistributable, it
will need to be delivered to the secure "extras" repository as any
package on pkg.opensolaris.org can be freely redistributed by users.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss