aboutsummaryrefslogtreecommitdiff
path: root/release/scripts/crypto-install.sh
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2000-03-21 19:13:31 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2000-03-21 19:13:31 +0000
commit1158a8cd3f6316cfa724990a620787b3a9044860 (patch)
tree3e05b8f11640ea446b6be197508ee94085481365 /release/scripts/crypto-install.sh
parent8abb3721a53e4375fc935dd3472026bf5063cfe8 (diff)
Notes
Diffstat (limited to 'release/scripts/crypto-install.sh')
-rwxr-xr-xrelease/scripts/crypto-install.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/release/scripts/crypto-install.sh b/release/scripts/crypto-install.sh
new file mode 100755
index 0000000000000..d915431c8d188
--- /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