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