From 0d11ddfc5e20854bc3e811cecdc6d9c5480c32d6 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 21 Mar 2000 19:13:31 +0000 Subject: Adapt to the crypto distribution. --- release/scripts/crypto-install.sh | 23 +++++++++++++++++++++++ release/scripts/des-install.sh | 21 --------------------- 2 files changed, 23 insertions(+), 21 deletions(-) create mode 100755 release/scripts/crypto-install.sh delete mode 100755 release/scripts/des-install.sh (limited to 'release') diff --git a/release/scripts/crypto-install.sh b/release/scripts/crypto-install.sh new file mode 100755 index 0000000..d915431 --- /dev/null +++ b/release/scripts/crypto-install.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +_DEST=${DESTDIR:-/} +echo "You are about to extract the CRYPTO distribution into ${_DEST} - are you SURE" +echo "you want to do this over your installed system? If not, hit ^C now," +echo -n "otherwise hit return to continue. " +read junk +cat crypto.?? | tar --unlink -xpzf - -C ${_DEST} +cat krb4.?? | tar --unlink -xpzf - -C ${_DEST} +cat krb5.?? | tar --unlink -xpzf - -C ${_DEST} +echo -n "Do you want to install the CRYPTO sources (y/n)? " +read ans +if [ "$ans" = "y" ]; then + cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src + cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src + cat skrb4.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src + cat skrb5.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src +fi +exit 0 diff --git a/release/scripts/des-install.sh b/release/scripts/des-install.sh deleted file mode 100755 index 477210b..0000000 --- a/release/scripts/des-install.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -if [ "`id -u`" != "0" ]; then - echo "Sorry, this must be done as root." - exit 1 -fi -_DEST=${DESTDIR:-/} -echo "You are about to extract the CRYPTO distribution into ${_DEST} - are you SURE" -echo "you want to do this over your installed system? If not, hit ^C now," -echo -n "otherwise hit return to continue. " -read junk -cat des.?? | tar --unlink -xpzf - -C ${_DEST} -cat krb4.?? | tar --unlink -xpzf - -C ${_DEST} -echo -n "Do you want to install the DES sources (y/n)? " -read ans -if [ "$ans" = "y" ]; then - cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src - cat skerbero.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src - cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src -fi -exit 0 -- cgit v1.1