IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.3 PROGNAME="bootshell $VERSION" DESC="\ bootshell \n\ \n\ bootshell is a very (very!) limited shell intended to run as the boot \n\ prompt for a Linux390 system. The goal here is to allow the VMOPER \n\ to halt the Linux390 system without knowing the root password, while \n\ still preserving system security. The assumptions are made that: \n\ a) Your opers are trusted to halt the system \n\ b) Your VM account password is not your root password. \n\ \n\ bootshell was written by Mike Kershaw of Marist College" BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/bootshell PKGNAME=bootshell-$VERSION-s390-$BUILD TAG=ADD compile() { cp $CWD/bootshell-1.3.cc ./ cat $CWD/bootshell-1.3-1.diff | patch -p0 echo g++ -o bootshell bootshell-1.3.cc g++ -o bootshell bootshell-1.3.cc } install() { mkdir -p /package-bootshell/sbin \ /package-bootshell/usr/doc/bootshell-$VERSION cp -av bootshell /package-bootshell/sbin head -n 30 $CWD/bootshell-1.3.cc > /package-bootshell/usr/doc/bootshell-$VERSION/README touch -r $CWD/bootshell-1.3.cc /package-bootshell/usr/doc/bootshell-$VERSION/README } attributes() { chown -R root.bin $PKG/package-bootshell/sbin } special() { cd $PKG mv package-bootshell/* ./ rmdir package-bootshell cd $CTL cat $CWD/slack-desc > slack-desc }