#!/bin/sh #item ####description ###on off ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES N (NETWORK/NEWS/MAIL/UUCP)" \ --checklist "Please select the packages you wish to install \ from series N. Use the \ UP/DOWN keys to scroll through the list, and the SPACE key to select \ the packages you wish to install. Recommended packages have \ already been selected for you, but you may unselect them if you wish. \ Press ENTER when you are \ done." 22 70 11 \ "apache" "Apache WWW (HTTP) server" "on" \ "bind" "Berkeley Internet Name Domain server" "on" \ "dip" "Handles SLIP/CSLIP connections" "off" \ "elm" "Menu-driven user mail program" "off" \ "ftchmail" "fetchmail - get mail from POP/IMAP/ETRN servers" "on" \ "imapd" "ipop3d/imapd remote mail access daemons" "off" \ "inn" "InterNetNews news transport system" "on" \ "mailx" "The mailx mailer" "on" \ "metamail" "Metamail multimedia mail extensions" "on" \ "netatalk" "Print/file server for Apple Macs" "off" \ "netmods" "Kernel modules needed for networking" "on" \ "netpipes" "Network pipe utilities" "off" \ "nn_nntp" "The 'nn' news reader" "off" \ "lynx" "Text-based World Wide Web browser" "on" \ "pine" "Pine menu-driven mail program" "on" \ "ppp" "Point-to-point protocol" "on" \ "procmail" "Mail delivery/filtering utility" "on" \ "rdist" "Remote file distribution utility" "off" \ "rsync" "Enhanced replacement for rcp" "off" \ "samba" "SMB print/file server for Win95/NT LANs" "off" \ "sendmail" "The sendmail mail transport agent" "on" \ "smailcfg" "Extra configuration files for sendmail" "off" \ "tcpdump" "Tool for dumping network packets" "on" \ "tcpip1" "TCP/IP networking programs" "on" \ "tcpip2" "More TCP/IP networking programs" "on" \ "tin" "The 'tin' news reader" "on" \ "trn" "A threaded news reader" "on" \ "uucp" "Taylor UUCP 1.06.1 with HDB && Taylor configs" "off" \ "wget" "WWW/FTP retrieval tool" "on" \ "xntp" "Network Time Protocol" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in apache bind mailx dip elm ftchmail inn metamail netpipes ppp \ procmail rdist rsync lynx nn_nntp smailcfg tin imapd pine sendmail tcpdump \ tcpip1 \ tcpip2 trn uucp samba netmods netatalk wget xntp ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in procmail ppp mailx tcpdump tcpip1 tcpip2 uucp apache \ dip inn elm ftchmail imapd pine sendmail metamail smailcfg tin \ rdist rsync bind trn nn_nntp lynx netpipes \ netmods netatalk samba wget xntp ; do if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs