#!/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 A (BASE LINUX SYSTEM)" \ --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. \ You are cautioned against unselecting REQUIRED packages. However, it's your system. :^) \ Press ENTER when you are done." \ 21 76 10 \ "aaa_base" "Basic filesystem, shell, and utils - REQUIRED" "on" \ "aaa_elflibs" "Various ELF libraries -- REQUIRED" "on" \ "acpid" "ACPI Power Management daemon" "on" \ "bash" "GNU bash shell - REQUIRED" "on" \ "bin" "Various system utilities - REQUIRED" "on" \ "bzip2" "bzip2 compression utility" "on" \ "coreutils" "The core GNU command-line utilities - REQUIRED" "on" \ "cpio" "The GNU cpio backup/archiving utility" "on" \ "dbus" "Message bus daemon" "on" \ "dcron" "Cron daemon - REQUIRED" "off" \ "devs" "Device files found in /dev - REQUIRED" "on" \ "dialog" "The program that generates these menus :-)" "on" \ "dosfstools" "Tools for working with FAT filesystems" "on" \ "e2fsprogs" "Utilities for ext2/ext3 filesystems - REQUIRED" "on" \ "eject" "A tool for ejecting removable media" "on" \ "etc" "System config files & utilities - REQUIRED" "on" \ "eudev" "Manages /dev and modules - REQUIRED" "on" \ "file" "Determines what file format data is in" "on" \ "findutils" "GNU file finding utilities" "on" \ "gawk" "GNU awk pattern scanning language" "on" \ "gettext" "Programs used to internationalize scripts" "on" \ "getty-ps" "Getty_ps serial login support - OPTIONAL" "on" \ "glibc-solibs" "Runtime glibc support libraries" "on" \ "glibc-zoneinfo" "Configures your time zone" "on" \ "gpm" "Cut and paste text with your mouse" "on" \ "gptfdisk" "GPT fdisk utilities" "on" \ "grep" "GNU grep searching tool - REQUIRED" "on" \ "gzip" "GNU zip compression utility - REQUIRED" "on" \ "hdparm" "Get/Set IDE hard drive parameters" "off" \ "hwdata" "Hardware identification and config data" "on" \ "infozip" "zip/unzip archive utilities" "on" \ "kbd" "Change keyboard and console mappings" "on" \ "kernel-firmware-raspi" "Linux kernel firmware -- REQUIRED" "on" \ "kmod" "Kernel module utilities -- REQUIRED" "on" \ "less" "A text pager utility - REQUIRED" "on" \ "lha" "LHA archive utility" "on" \ "libgudev" "udev GObject bindings library - REQUIRED" "on" \ "logrotate" "System log rotation utility" "on" \ "lvm2" "Tools for creating logical volumes" "on" \ "mdadm" "Utilities for managing MD (RAID) devices" "on" \ "mtd-utils" "Memory Technology Device Utilities" "on" \ "ntfs-3g" "FUSE-based NTFS read-write mount program" "on" \ "openssl-solibs" "OpenSSL shared libraries -- REQUIRED" "on" \ "patch" "Applies a diff file to an original file" "off" \ "pciutils" "Linux PCI utilities" "on" \ "pkgtools" "Slackware package management tools - REQUIRED" "on" \ "procps-ng" "Displays process info - REQUIRED" "on" \ "sdparm" "Get/Set SCSI hard drive parameters" "off" \ "sed" "GNU stream editor -- REQUIRED" "on" \ "shadow" "Shadow password suite -- REQUIRED" "on" \ "slocate" "Locates files on the system" "on" \ "sysfsutils" "Utilities for the sysfs filesystem" "on" \ "sysklogd" "Logs system and kernel messages" "on" \ "sysvinit" "System V-like INIT programs - REQUIRED" "on" \ "sysvinit-functions" "Init functions used by some third-party apps" "on" \ "sysvinit-scripts" "The startup scripts for Slackware - REQUIRED" "on" \ "tar" "GNU tar archive utility -- REQUIRED" "on" \ "u-boot-tools" "Tools to work with the 'U-Boot' Linux Loader" "on" \ "udisks" "storage device daemon" "on" \ "udisks2" "storage device daemon v2" "on" \ "usbutils" "Linux USB utilities" "on" \ "utempter" "Library used for writing to utmp/wtmp" "on" \ "util-linux" "Util-linux utilities - REQUIRED" "on" \ "vboot-utils" "Installation tools for the Samsung 2012 ARM Chromebook" "on" \ "which" "Locate an executable in your \$PATH" "on" \ "xz" "xz (LZMA) compression utility - REQUIRED" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ aaa_base aaa_elflibs acpid bash bin bzip2 coreutils cpio dbus dcron devs dialog dosfstools e2fsprogs eject etc eudev file findutils gawk gettext getty-ps glibc-solibs glibc-zoneinfo gpm gptfdisk grep gzip hdparm hwdata infozip kbd kernel-firmware-raspi kmod less lha libgudev logrotate lvm2 mdadm mtd-utils ntfs-3g openssl-solibs patch pciutils pkgtools procps-ng sdparm sed shadow slocate sysfsutils sysklogd sysvinit sysvinit-functions sysvinit-scripts tar u-boot-tools udisks udisks2 usbutils utempter util-linux vboot-utils which xz \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ aaa_base aaa_elflibs acpid bash bin bzip2 coreutils cpio dbus dcron devs dialog dosfstools e2fsprogs eject etc eudev file findutils gawk gettext getty-ps glibc-solibs glibc-zoneinfo gpm gptfdisk grep gzip hdparm hwdata infozip kbd kernel-firmware-raspi kmod less lha libgudev logrotate lvm2 mdadm mtd-utils ntfs-3g openssl-solibs patch pciutils pkgtools procps-ng sdparm sed shadow slocate sysfsutils sysklogd sysvinit sysvinit-functions sysvinit-scripts tar u-boot-tools udisks udisks2 usbutils utempter util-linux vboot-utils which xz \ ; do if grep "\(^\| \)$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