> -----Original Message----- > From: Shawn Walker [mailto:[EMAIL PROTECTED] > > > > Creating Signed Packages: > http://docs.sun.com/app/docs/doc/817-0406/6mg76stf9?q=sign&a=view > Thanks for that... I hadn't managed to track it down.
> > - meta-packages: There are a number of ways to provide, for example, > SMTP > > capability. If I develop a package which requires SMTP, but doesn't > need a > > particular version of sendmail, postfix, etc., tracking the dependency > > against the availability of an SMTP providing meta-package simplifies a > lot > > of things. Ditto for multiple providers of perl, ftp server ... This > > capability could also allow for dummy packages if I, for some reason, > > build/install a dependency outside of the package framework. I could > > indicate the dep is in fact satisfied w/o ignoring it. > > I don't think it has this ability directly, though you could > accomplish something similar through request scripts. > It doesn't look like this is a good idea... from: http://docs.sun.com/app/docs/doc/806-7008/6jftmsc2v?a=view "Do not perform any special analysis of the target system in a request script. It is risky to test the system for the presence of certain binaries or behaviors, and set environment variables based upon that analysis, because there is no guarantee that the request script will actually be executed at install time. The administrator installing the package may provide a response file that will insert the environment variables without ever calling the request script. If the request script is also evaluating the target file system, that evaluation may not happen. An analysis of the target system for special treatment is best left to the checkinstall script." It looks like it's possible with a checkinstall script, but even here, I don't think it could be done reliably. Say, for example, your package depends on an FTP server. There are any number of FTP servers out there ... I've probably used 4 or 5 different ftp servers over the years on different systems in different applications. There was no consistency in the naming of whatever provided 'ftpd', no commonality of anything. You could probably get checkinstall to see if port 21 was open, but an FTP server package can be installed and not enabled. You can clearly get part way there with checkinstall. I'm not confident you could get all the way there, though. Rich _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org