/contrib/ntp/html/build/hints/svr4_package

https://bitbucket.org/freebsd/freebsd-head/ · #! · 33 lines · 29 code · 4 blank · 0 comment · 0 complexity · d17f1c2f6d2a4c44282f005d26ec59c7 MD5 · raw file

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