#!/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 D (PROGRAM DEVELOPMENT)" \ --checklist "Please select the packages you wish to install \ from series D. 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 \ "binutils" "GNU C compiler utilities" "on" \ "bison" "GNU bison parser generator 1.25" "on" \ "byacc" "Berkeley Yacc" "on" \ "egcs" "egcs-1.0.3 C/C++ compiler" "on" \ "egcsobjc" "egcs Objective-C compiler (requires egcs)" "off" \ "egcs_g77" "egcs Fortran-77 compiler (requires egcs)" "off" \ "flex" "Fast lexical analyzer generator 2.5.4" "on" \ "gcc" "GNU gcc-2.7.2.3 C compiler" "on" \ "gdb" "The GNU debugger" "on" \ "gcl" "GNU Common LISP" "off" \ "gmake" "GNU make" "on" \ "libc" "Libraries for developing ELF binaries" "on" \ "libcinfo" "Info files for the C compiler" "off" \ "linuxinc" "Linux kernel include files" "on" \ "m4" "GNU m4 1.4" "on" \ "ncurses" "A curses-compatible library" "on" \ "p2c" "A Pascal to C translator 1.19" "off" \ "perl" "Larry Wall's systems language" "on" \ "pmake" "BSD 4.4 make" "on" \ "python" "An interpreted object-oriented language" "off" \ "rcs" "GNU revision control system" "off" \ "svgalib" "Svgalib Super-VGA Graphics Library" "on" \ "strace" "Traces program execution" "on" \ "terminfo" "Complete /usr/lib/terminfo database" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in binutils bison byacc egcs egcs_g77 egcsobjc flex gcc \ gcl gdb gmake libc libcinfo linuxinc m4 ncurses p2c perl pmake python \ rcs strace svgalib terminfo ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in binutils bison byacc egcs egcs_g77 egcsobjc flex gcc \ gcl gdb gmake libc libcinfo linuxinc m4 ncurses p2c perl pmake python \ rcs strace svgalib terminfo ; 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