xref: /netbsd-src/external/bsd/ntp/dist/html/hints/svr4_package (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardelDate: Wed, 12 Apr 1995 12:42:03 +0100
2*abb0f93cSkardelMessage-ID: <513.797686923@concurrent.co.uk>
3*abb0f93cSkardelFrom: Andy Chittenden <asc@concurrent.co.uk>
4*abb0f93cSkardel
5*abb0f93cSkardelDave
6*abb0f93cSkardel
7*abb0f93cSkardelHere is a uuencoded, compressed tar file. The only file I've
8*abb0f93cSkardelchanged is Makefile - I've included the full file rather than diffs.
9*abb0f93cSkardelThere are some new files as well:
10*abb0f93cSkardel
11*abb0f93cSkardel	xntp	shell script that starts up ntp during boot up
12*abb0f93cSkardel		(the packaging stuff creates links to it so it comes
13*abb0f93cSkardel		up at run level 2). As with all svr4 start/stop
14*abb0f93cSkardel		scripts, it takes one parameter which is either
15*abb0f93cSkardel		start or stop. It assumes that ntp.conf is in
16*abb0f93cSkardel		/etc/inet/ntp.conf (where it should be on svr4
17*abb0f93cSkardel		machines).
18*abb0f93cSkardel	prototype	describes the file contents of the package.
19*abb0f93cSkardel			You might like to review its contents to
20*abb0f93cSkardel			see whether you want to include any other
21*abb0f93cSkardel			files or remove some. NB I've made the man
22*abb0f93cSkardel			pages go into 1m as they should on svr4.
23*abb0f93cSkardel	preinstall	runs before installation takes place. It
24*abb0f93cSkardel			ensures that ntp is down if it is up before
25*abb0f93cSkardel			installing a replacement package
26*abb0f93cSkardel	postinstall	starts up ntp after package installation.
27*abb0f93cSkardel	preremove	brings down ntp before removing the package.
28*abb0f93cSkardel
29*abb0f93cSkardelYou create a package using "make package". This creates a file
30*abb0f93cSkardelcalled xntp.pkg. To install this package, you use
31*abb0f93cSkardel"pkgadd -d `pwd`/xntp.pkg xntp". This will start up ntp if
32*abb0f93cSkardel/etc/inet/ntp.conf exists. If you don't want the package anymore, use
33*abb0f93cSkardel"pkgrm xntp". I have tested this on Solaris 2.4.
34