3 # $FreeBSD: src/release/scripts/crypto-install.sh,v 1.1.2.2 2002/08/08 08:23:53 ru Exp $
4 # $DragonFly: src/release/scripts/Attic/crypto-install.sh,v 1.2 2003/06/17 04:27:21 dillon Exp $
7 if [ "`id -u`" != "0" ]; then
8 echo "Sorry, this must be done as root."
12 echo "You are about to extract the CRYPTO distribution into ${_DEST} - are you SURE"
13 echo "you want to do this over your installed system? If not, hit ^C now,"
14 echo -n "otherwise hit return to continue. "
16 cat crypto.?? | tar --unlink -xpzf - -C ${_DEST}
17 cat krb4.?? | tar --unlink -xpzf - -C ${_DEST}
18 cat krb5.?? | tar --unlink -xpzf - -C ${_DEST}
19 echo -n "Do you want to install the CRYPTO sources (y/n)? "
21 if [ "$ans" = "y" ]; then
22 cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
23 cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
24 cat skrb4.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
25 cat skrb5.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src