#!/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 --backtitle "Slackware installer: package selection" --title "SELECTING PACKAGES FROM SERIES N (NETWORK/NEWS/MAIL/UUCP)" \ --checklist "Please select the packages you wish to install from this series. \ 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." \ 21 72 11 \ "cifs-utils" "CIFS filesystem utilities" "on" \ "curl" "Command-line URL transfer utility" "on" \ "cyrus-sasl" "SASL email authentication library" "on" \ "dhcpcd" "DHCP client daemon" "on" \ "gnupg" "GNU Privacy Guard public key encryption" "on" \ "gnutls" "GNU TLS/SSL (secure communications) library" "on" \ "gpgme" "GnuPG Made Easy library" "on" \ "iputils" "Some common network tools" "on" \ "ipw2100-fw" "Firmware for Intel ipw2100 wireless." "off" \ "ipw2200-fw" "Firmware for Intel ipw2200 wireless." "off" \ "iw" "Utility for mac80211 based wireless devices" "off" \ "libassuan" "Interprocess Communication Library for GPG" "on" \ "libgcrypt" "General purpose crypto library" "on" \ "libgpg-error" "GnuPG Error Definitions Library" "on" \ "links" "Text-based WWW browser (with frames)" "on" \ "nc" "Netcat network utility" "off" \ "net-tools" "Utilities required for networking on Linux" "on" \ "network-scripts" "Scripts required for networking on Slackware" "on" \ "ntp" "Network Time Protocol" "on" \ "openssh" "OpenSSH Secure Shell" "on" \ "openssl" "OpenSSL Secure Sockets Layer toolkit" "on" \ "rfkill" "tool to query wireless interfaces" "off" \ "samba" "SMB print/file server for Windows LANs" "on" \ "tcpdump" "Tool for dumping network packets" "off" \ "wget" "WWW/FTP retrieval tool" "on" \ "wireless-tools" "Tools for wireless networking" "on" \ "wpa_supplicant" "WPA/WPA2/IEEE 802.1X (wireless) Supplicant" "on" \ "zd1211-firmware" "Firmware for zd1211 USB wireless" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ cifs-utils curl cyrus-sasl dhcpcd gnupg gnutls gpgme iputils ipw2100-fw ipw2200-fw iw libassuan libgcrypt libgpg-error links nc net-tools network-scripts ntp openssh openssl rfkill samba tcpdump wget wireless-tools wpa_supplicant zd1211-firmware \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ cifs-utils curl cyrus-sasl dhcpcd gnupg gnutls gpgme iputils ipw2100-fw ipw2200-fw iw libassuan libgcrypt libgpg-error links nc net-tools network-scripts ntp openssh openssl rfkill samba tcpdump wget wireless-tools wpa_supplicant zd1211-firmware \ ; 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