home *** CD-ROM | disk | FTP | other *** search
/ IT.SOFT 25 / ITSOFTCD_25.iso / pc / slakware / n1 / maketag.ez < prev    next >
Encoding:
Text File  |  1999-01-28  |  2.7 KB  |  67 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. TMP=/var/log/setup/tmp
  4. if [ ! -d $TMP ]; then
  5.   mkdir -p $TMP
  6. fi
  7. cat /dev/null > $TMP/SeTnewtag
  8. dialog --title "SELECTING PACKAGES FROM SERIES N (NETWORK/NEWS/MAIL/UUCP)" \
  9.        --checklist "Please select the packages you wish to install \
  10. from series N. Use the \
  11. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  12. the packages you wish to install. Recommended packages have \
  13. already been selected for you, but you may unselect them if you wish. \
  14. Press ENTER when you are \
  15. done." 22 70 11 \
  16. "apache" "Apache WWW (HTTP) server" "on" \
  17. "procmail" "Mail delivery/filtering utility" "on" \
  18. "dip" "Handles SLIP/CSLIP connections" "off" \
  19. "ppp" "Point-to-point protocol" "on" \
  20. "mailx" "The mailx mailer" "on" \
  21. "tcpip1" "TCP/IP networking programs" "on" \
  22. "tcpip2" "More TCP/IP networking programs" "on" \
  23. "samba" "SMB print/file server for Win95/NT LANs" "off" \
  24. "netatalk" "Print/file server for Apple Macs" "off" \
  25. "bind" "Berkeley Internet Name Domain server" "on" \
  26. "rdist" "Remote file distribution utility" "off" \
  27. "rsync" "Enhanced replacement for rcp" "off" \
  28. "lynx" "Text-based World Wide Web browser" "on" \
  29. "uucp" "Taylor UUCP 1.06.1 with HDB && Taylor configs" "off" \
  30. "elm" "Menu-driven user mail program" "off" \
  31. "imapd" "ipop3d/imapd remote mail access daemons" "off" \
  32. "pine" "Pine menu-driven mail program" "on" \
  33. "sendmail" "The sendmail mail transport agent" "on" \
  34. "metamail" "Metamail multimedia mail extensions" "on" \
  35. "smailcfg" "Extra configuration files for sendmail" "off" \
  36. "cnews" "Spools and transmits Usenet news" "off" \
  37. "inn" "InterNetNews news transport system" "on" \
  38. "tin" "The 'tin' news reader" "on" \
  39. "trn" "A threaded news reader" "on" \
  40. "netmods" "Kernel modules needed for networking" "on" \
  41. "nn_nntp" "The 'nn' news reader" "off" \
  42. "netpipes" "Network pipe utilities" "off" \
  43. "wget" "WWW/FTP retrieval tool" "on" \
  44. 2> $TMP/SeTpkgs
  45. if [ $? = 1 -o $? = 255 ]; then
  46.  rm -f $TMP/SeTpkgs
  47.  > $TMP/SeTnewtag
  48.  for pkg in apache bind cnews mailx dip elm inn metamail netpipes ppp \
  49.   procmail rdist rsync lynx nn_nntp smailcfg tin imapd pine sendmail tcpip1 \
  50.   tcpip2 trn uucp samba netmods netatalk wget ; do
  51.   echo "$pkg: SKP" >> $TMP/SeTnewtag
  52.  done
  53.  exit
  54. fi
  55. cat /dev/null > $TMP/SeTnewtag
  56. for PACKAGE in procmail ppp mailx tcpip1 tcpip2 uucp apache \
  57. dip inn elm imapd pine sendmail metamail smailcfg cnews tin \
  58. rdist rsync bind trn nn_nntp lynx netpipes \
  59. netmods netatalk samba wget ; do
  60.  if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
  61.   echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
  62.  else
  63.   echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
  64.  fi
  65. done
  66. rm -f $TMP/SeTpkgs
  67.