svr4_package revision 258945
1258945SrobertoDate: Wed, 12 Apr 1995 12:42:03 +0100 2258945SrobertoMessage-ID: <513.797686923@concurrent.co.uk> 3258945SrobertoFrom: Andy Chittenden <asc@concurrent.co.uk> 4258945Sroberto 5258945SrobertoDave 6258945Sroberto 7258945SrobertoHere is a uuencoded, compressed tar file. The only file I've 8258945Srobertochanged is Makefile - I've included the full file rather than diffs. 9258945SrobertoThere are some new files as well: 10258945Sroberto 11258945Sroberto xntp shell script that starts up ntp during boot up 12258945Sroberto (the packaging stuff creates links to it so it comes 13258945Sroberto up at run level 2). As with all svr4 start/stop 14258945Sroberto scripts, it takes one parameter which is either 15258945Sroberto start or stop. It assumes that ntp.conf is in 16258945Sroberto /etc/inet/ntp.conf (where it should be on svr4 17258945Sroberto machines). 18258945Sroberto prototype describes the file contents of the package. 19258945Sroberto You might like to review its contents to 20258945Sroberto see whether you want to include any other 21258945Sroberto files or remove some. NB I've made the man 22258945Sroberto pages go into 1m as they should on svr4. 23258945Sroberto preinstall runs before installation takes place. It 24258945Sroberto ensures that ntp is down if it is up before 25258945Sroberto installing a replacement package 26258945Sroberto postinstall starts up ntp after package installation. 27258945Sroberto preremove brings down ntp before removing the package. 28258945Sroberto 29258945SrobertoYou create a package using "make package". This creates a file 30258945Srobertocalled xntp.pkg. To install this package, you use 31258945Sroberto"pkgadd -d `pwd`/xntp.pkg xntp". This will start up ntp if 32258945Sroberto/etc/inet/ntp.conf exists. If you don't want the package anymore, use 33258945Sroberto"pkgrm xntp". I have tested this on Solaris 2.4. 34