#!/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." \ 19 76 10 \ "aaa_base" "Basic filesystem, shell, and utils" "on" \ "aaa_glibc-solibs" "Runtime glibc support libraries" "on" \ "aaa_libraries" "Various shared libraries" "on" \ "aaa_terminfo" "A subset of the terminfo database from ncurses" "on" \ "acl" "POSIX Access Control List tools" "on" \ "acpid" "ACPI Power Management daemon" "on" \ "attr" "Tools for fs extended attributes" "on" \ "bash" "GNU bash shell" "on" \ "bcachefs-tools" "tools for bcachefs filesystem" "on" \ "bin" "Various system utilities" "on" \ "btrfs-progs" "Utilities for btrfs filesystems" "on" \ "bzip2" "bzip2 compression utility" "on" \ "coreutils" "The core GNU command-line utilities" "on" \ "cpio" "The GNU cpio backup/archiving utility" "on" \ "cpufrequtils" "Kernel CPUfreq utilities" "on" \ "cracklib" "Password checking library" "on" \ "cryptsetup" "Utilities for encrypting partitions" "on" \ "dbus" "D-Bus message bus system" "on" \ "dcron" "Cron daemon" "on" \ "devs" "Device files found in /dev" "on" \ "dialog" "The program that generates these menus :-)" "on" \ "dosfstools" "Tools for working with FAT filesystems" "on" \ "dracut" "Creates an initrd for the kernel" "on" \ "e2fsprogs" "Utilities for ext2/3/4 filesystems" "on" \ "ed" "A clone of the old, original UN*X line editor" "on" \ "efibootmgr" "Tool to modify UEFI boot entries" "on" \ "efivar" "Library and tools to handle UEFI variables" "on" \ "elogind" "logind extracted from systemd" "on" \ "elvis" "elvis text editor (ex/vi clone)" "on" \ "etc" "System config files & utilities" "on" \ "eudev" "Manages /dev and modules" "on" \ "exfatprogs" "exFAT filesystem utilities" "on" \ "f2fs-tools" "Flash-Friendly File System" "on" \ "file" "Determines what file format data is in" "on" \ "findutils" "GNU file finding utilities" "on" \ "floppy" "Utilities for using DOS floppies" "on" \ "gawk" "GNU awk pattern scanning language" "on" \ "gettext" "Programs used to internationalize scripts" "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" "on" \ "grub" "GNU GRUB, the GRand Unified Bootloader" "on" \ "gzip" "GNU zip compression utility" "on" \ "haveged" "A simple entropy daemon" "on" \ "hdparm" "Get/Set IDE hard drive parameters" "on" \ "hostname" "Linux hostname utility" "on" \ "hwdata" "Hardware identification and config data" "on" \ "hwm-bw-lx2160acex7" "lx2160acex7 SoC Boot Loader firmware" "on" \ "hwm-bw-raspberrypi" "Raspberry Pi initial Boot Loader firmware" "on" \ "hwm-bw-rk3399" "RK3399 SoC Boot Loader firmware" "on" \ "infozip" "zip/unzip archive utilities" "on" \ "inih" "INI Not Invented Here" "on" \ "iniparser" "ini file parsing library" "on" \ "inotify-tools" "Command-line tools for using inotify." "on" \ "jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \ "kbd" "Change keyboard and console mappings" "on" \ "kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \ "kernel_armv8" "Generic Linux Kernel for AArch64 systems" "on" \ "kmod" "Kernel module utilities" "on" \ "lbzip2" "Parallel bzip2 compressor" "on" \ "less" "A text pager utility" "on" \ "lhasa" "Free LZH archive tool" "on" \ "libblockdev" "library for manipulating block devices" "on" \ "libbytesize" "library for working with big sizes in bytes" "on" \ "libcgroup" "Tools for using kernel control groups" "on" \ "libgudev" "udev GObject bindings library" "on" \ "libpwquality" "Password quality checking library" "on" \ "logrotate" "System log rotation utility" "on" \ "lrzip" "Long Range ZIP" "on" \ "lvm2" "Tools for creating logical volumes" "on" \ "lzip" "A lossless data compressor" "on" \ "lzlib" "lzip compression library" "on" \ "mdadm" "Utilities for managing MD (RAID) devices" "on" \ "minicom" "Serial transfer and modem comm package" "on" \ "mkinitrd" "Tool for building an initial ramdisk" "on" \ "mlocate" "Locates files on the system" "on" \ "mt-st" "mt ported from BSD - controls tape drive" "on" \ "mtd-utils" "Memory Technology Device Utilities" "on" \ "mtx" "Controls tape autochangers" "on" \ "ncompress" "The historic compress utility" "on" \ "ndctl" "non-volatile memory device library" "on" \ "ntfs-3g" "FUSE-based NTFS read-write mount program" "on" \ "nut" "Network UPS Tools" "on" \ "nvi" "nvi text editor (ex/vi clone)" "on" \ "openssl-solibs" "OpenSSL shared libraries" "on" \ "openssl11-solibs" "OpenSSL shared libraries version 1.1.x" "on" \ "os-prober" "A tool for finding bootable OS partitions" "on" \ "pam" "Pluggable Authentication Modules" "on" \ "patch" "Applies a diff file to an original file" "on" \ "pciutils" "Linux PCI utilities" "on" \ "pkgtools" "Slackware package management tools" "on" \ "plzip" "Parallel lzip compressor" "on" \ "procps-ng" "Displays process info" "on" \ "quota" "User disk quota utilities" "on" \ "reiserfsprogs" "Tools for the ReiserFS journaling filesystem" "on" \ "rpi-userland" "Raspberry Pi userland tools" "on" \ "rpm2tgz" "A simple script to convert an RPM to a tgz" "on" \ "sdparm" "Get/Set SCSI hard drive parameters" "on" \ "sed" "GNU stream editor" "on" \ "shadow" "Shadow password suite" "on" \ "sharutils" "GNU shell archive utilities" "on" \ "smartmontools" "Hard drive monitoring utilities" "on" \ "splitvt" "Split a screen into sections (use screen ;-)" "on" \ "sysfsutils" "Utilities for the sysfs filesystem" "on" \ "sysklogd" "Logs system and kernel messages" "on" \ "sysvinit" "System V-like INIT programs" "on" \ "sysvinit-functions" "Init functions used by some third-party apps" "on" \ "sysvinit-scripts" "The startup scripts for Slackware" "on" \ "tar" "GNU tar archive utility" "on" \ "tcsh" "Extended C shell /bin/tcsh" "on" \ "time" "Times how long a process takes to run" "on" \ "tree" "Display a directory in tree form" "on" \ "udisks2" "storage device daemon v2" "on" \ "unarj" "Extract ARJ archives" "on" \ "upower" "power management abstraction daemon" "on" \ "usb_modeswitch" "Switching tool for multiple mode USB devices" "on" \ "usbutils" "Linux USB utilities" "on" \ "userspace-rcu" "userspace read-copy-update library" "on" \ "utempter" "Library used for writing to utmp/wtmp" "on" \ "util-linux" "Util-linux utilities" "on" \ "volume_key" "manipulate storage keys" "on" \ "which" "Locate an executable in your \$PATH" "on" \ "xfsprogs" "Utilities for SGI's XFS filesystem" "on" \ "xz" "xz (LZMA) compression utility" "on" \ "zerofree" "Zero free blocks from ext* filesystems" "on" \ "zoo" "Zoo archive utility" "on" \ 2> $TMP/SeTpkgs # If the user pressed cancel, or something bad happened then we # mark all packages as skipped and bail out. if [ $? = 1 -o $? = 255 ]; then # Not in Slackware, but a nice addition for Slackware ARM whilst # we're processing the package selection: dialog \ --backtitle "Slackware installer: package selection" \ --infobox "Marking all packages as skipped" 3 35 rm -f $TMP/SeTpkgs # Empty, but not delete this file: > $TMP/SeTnewtag for PKG in \ aaa_base aaa_glibc-solibs aaa_libraries aaa_terminfo acl acpid attr bash bcachefs-tools bin btrfs-progs bzip2 coreutils cpio cpufrequtils cracklib cryptsetup dbus dcron devs dialog dosfstools dracut e2fsprogs ed efibootmgr efivar elogind elvis etc eudev exfatprogs f2fs-tools file findutils floppy gawk gettext glibc-zoneinfo gpm gptfdisk grep grub gzip haveged hdparm hostname hwdata hwm-bw-lx2160acex7 hwm-bw-raspberrypi hwm-bw-rk3399 infozip inih iniparser inotify-tools jfsutils kbd kernel-firmware kernel_armv8 kmod lbzip2 less lhasa libblockdev libbytesize libcgroup libgudev libpwquality logrotate lrzip lvm2 lzip lzlib mdadm minicom mkinitrd mlocate mt-st mtd-utils mtx ncompress ndctl ntfs-3g nut nvi openssl-solibs openssl11-solibs os-prober pam patch pciutils pkgtools plzip procps-ng quota reiserfsprogs rpi-userland rpm2tgz sdparm sed shadow sharutils smartmontools splitvt sysfsutils sysklogd sysvinit sysvinit-functions sysvinit-scripts tar tcsh time tree udisks2 unarj upower usb_modeswitch usbutils userspace-rcu utempter util-linux volume_key which xfsprogs xz zerofree zoo \ ; do echo "$PKG: SKP" >> $TMP/SeTnewtag done exit fi dialog \ --backtitle "Slackware installer: package selection" \ --infobox "Processing package selection" 3 33 cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ aaa_base aaa_glibc-solibs aaa_libraries aaa_terminfo acl acpid attr bash bcachefs-tools bin btrfs-progs bzip2 coreutils cpio cpufrequtils cracklib cryptsetup dbus dcron devs dialog dosfstools dracut e2fsprogs ed efibootmgr efivar elogind elvis etc eudev exfatprogs f2fs-tools file findutils floppy gawk gettext glibc-zoneinfo gpm gptfdisk grep grub gzip haveged hdparm hostname hwdata hwm-bw-lx2160acex7 hwm-bw-raspberrypi hwm-bw-rk3399 infozip inih iniparser inotify-tools jfsutils kbd kernel-firmware kernel_armv8 kmod lbzip2 less lhasa libblockdev libbytesize libcgroup libgudev libpwquality logrotate lrzip lvm2 lzip lzlib mdadm minicom mkinitrd mlocate mt-st mtd-utils mtx ncompress ndctl ntfs-3g nut nvi openssl-solibs openssl11-solibs os-prober pam patch pciutils pkgtools plzip procps-ng quota reiserfsprogs rpi-userland rpm2tgz sdparm sed shadow sharutils smartmontools splitvt sysfsutils sysklogd sysvinit sysvinit-functions sysvinit-scripts tar tcsh time tree udisks2 unarj upower usb_modeswitch usbutils userspace-rcu utempter util-linux volume_key which xfsprogs xz zerofree zoo \ ; do if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs > /dev/null 2>&1 ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs