home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume8 / uumail4 / part04 < prev    next >
Encoding:
Internet Message Format  |  1987-02-04  |  2.6 KB

  1. Subject:  v08i036:  Uumail release 4.2, Part04/04
  2. Newsgroups: mod.sources
  3. Approved: mirror!rs
  4.  
  5. Submitted by: sob@soma.BCM.TMC.EDU (Stan Barber)
  6. Mod.sources: Volume 8, Issue 36
  7. Archive-name: uumail4/Part04
  8.  
  9. [  IMPORTANT NOTE:  This version superceeds the recent net.sources posting
  10.    because it also inclues the Patch#1.  An earlier version of Uumail
  11.    was next in the backlog, hence this "rapid" posting.  --r$  ]
  12.  
  13. #! /bin/sh
  14.  
  15. # Make a new directory for the uumail sources, cd to it, 
  16. # and run kits 1 thru 4 through sh. 
  17. # When all 4 kits have been run, read README.
  18.  
  19. echo "This is uumail kit 4 (of 4).  If kit 4 is complete, the line"
  20. echo '"'"End of kit 4 (of 4)"'" will echo at the end.'
  21. echo ""
  22. export PATH || (echo "You didn't use sh, you clunch." ; kill $$)
  23. echo Extracting kittrailer
  24. cat >kittrailer <<'!STUFFY!FUNK!'
  25. #! /bin/sh
  26. # $Header: kittrailer,v 4.3 85/05/01 11:42:11 lwall Exp $
  27. #
  28. # $Log:    kittrailer,v $
  29. # Revision 4.3  85/05/01  11:42:11  lwall
  30. # Baseline for release with 4.3bsd.
  31.  
  32. rangelist=`gas -n$3`
  33. cat >>$1 <<EOT
  34. echo ""
  35. echo "End of kit $2 (of $3)"
  36. cat /dev/null >kit${2}isdone
  37. config=true
  38. for iskit in $rangelist; do
  39.     if test -f kit\${iskit}isdone; then
  40.     echo "You have run kit \${iskit}."
  41.     else
  42.     echo "You still need to run kit \${iskit}."
  43.     config=false
  44.     fi
  45. done
  46. case \$config in
  47.     true)
  48.     echo "You have run all your kits.  Please read README and then type Configure."
  49.     chmod 755 Configure
  50.     ;;
  51. esac
  52. : I do not append .signature, but someone might mail this.
  53. exit
  54. EOT
  55. !STUFFY!FUNK!
  56. echo Extracting kitleader
  57. cat >kitleader <<'!STUFFY!FUNK!'
  58. #! /bin/sh
  59. # $Header: kitleader,v 4.3 85/05/01 11:42:03 lwall Exp $
  60. #
  61. # $Log:    kitleader,v $
  62. # Revision 4.3  85/05/01  11:42:03  lwall
  63. # Baseline for release with 4.3bsd.
  64.  
  65. cat >$1 <<EOT
  66. #! /bin/sh
  67.  
  68. # Make a new directory for the uumail sources, cd to it, 
  69. # and run kits 1 thru $3 through sh. 
  70. # When all $3 kits have been run, read README.
  71.  
  72. echo "This is uumail kit $2 (of $3).  If kit $2 is complete, the line"
  73. echo '"'"End of kit $2 (of $3)"'" will echo at the end.'
  74. echo ""
  75. export PATH || (echo "You didn't use sh, you clunch." ; kill \$\$)
  76. EOT
  77. !STUFFY!FUNK!
  78. echo ""
  79. echo "End of kit 4 (of 4)"
  80. cat /dev/null >kit4isdone
  81. config=true
  82. for iskit in 1               2               3               4               ; do
  83.     if test -f kit${iskit}isdone; then
  84.     echo "You have run kit ${iskit}."
  85.     else
  86.     echo "You still need to run kit ${iskit}."
  87.     config=false
  88.     fi
  89. done
  90. case $config in
  91.     true)
  92.     echo "You have run all your kits.  Please read README and then type Configure."
  93.     chmod 755 Configure
  94.     ;;
  95. esac
  96. : I do not append .signature, but someone might mail this.
  97. exit
  98.  
  99.