On Thu, Jun 02, 2005 at 08:15:32AM +0200, Roberto Nibali wrote:
So why not make it a package then? You basically provided all the files and also the knowledge needed to create a package. The addition to the hybrid Makefile could be something along the lines of (schematically):
Here's one I made while Solaris 10 was still in beta, works great on sol 8, 9 and 10. http://www.campin.net/download/NCsysng-1.6.7-1.pkg.gz A couple things come to mind where it's creator realizes it's not perfect: 1) the RC script(s) are embedded in the postinstall and postremove scripts, it doesn't preserve any local changes you made to it (doesn't matter on solaris 10 obviously, since the package uses the SMF). 2) it'll install a couple uneeded files on solaris 8 and 9 pertaining to the SMF facility in sol10. It doesn't hurt anything, but it's not pretty. I'm too lazy to fix it since I only used this package on solaris 10. I don't plan on maintaining an up to date package all the time, but I'll fix any errors anyone points out in the package and update the version if I'm in there fixing the package anyways. -- Nate BASIC - A programming language. Related to certain social diseases in that those who have it will not admit it in polite company. -Anon.