summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-06-15 20:15:12 +0000
committerjkh <jkh@FreeBSD.org>1994-06-15 20:15:12 +0000
commit45edfbbd43e7ad8d73f6f2594b27a48b9d0fc80c (patch)
tree33facb626613c24f386ed1db2d8e94c332ae2752 /etc
parent1abbfca57d59410591ba28ac7333f642efcd1459 (diff)
downloadFreeBSD-src-45edfbbd43e7ad8d73f6f2594b27a48b9d0fc80c.zip
FreeBSD-src-45edfbbd43e7ad8d73f6f2594b27a48b9d0fc80c.tar.gz
Commit Rod's magic EXTRACT scripts to the tree so that we can work on
them. These were al hand-copied over before.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/etc.i386/EXTRACT_bin.sh18
-rwxr-xr-xetc/etc.i386/EXTRACT_secr.sh14
-rwxr-xr-xetc/etc.i386/EXTRACT_src.sh41
3 files changed, 73 insertions, 0 deletions
diff --git a/etc/etc.i386/EXTRACT_bin.sh b/etc/etc.i386/EXTRACT_bin.sh
new file mode 100755
index 0000000..e35e0a2
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_bin.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD binaries into ${EXTRACT_TARGET}
+# if it is set, or / otherwise.
+#
+# CAUTION DO NOT USE THIS TO INSTALL THE BINARIES ONTO A RUNNING
+# SYSTEM, it will NOT WORK!!! You should use the extract command from /magic
+# for installing the bindist onto your system.
+SOURCEDIR=.
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ echo "YOU DO NOT WANT TO DO THAT!!!"
+ exit
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+cat bin_tgz.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+#NO_EXPORT#cat des_tgz.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
diff --git a/etc/etc.i386/EXTRACT_secr.sh b/etc/etc.i386/EXTRACT_secr.sh
new file mode 100755
index 0000000..a117c42
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_secr.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD secure distribution into
+# ${EXTRACT_TARGET} if it is set, or / otherwise.
+#
+SOURCEDIR=.
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+
+cat des_tgz.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat libcrypt.aa | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
diff --git a/etc/etc.i386/EXTRACT_src.sh b/etc/etc.i386/EXTRACT_src.sh
new file mode 100755
index 0000000..b6c1d09
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_src.sh
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD sources into
+# ${EXTRACT_TARGET}/usr/src if it is set, or /usr/src otherwise.
+# If you do not want all the sources you can copy this file to your
+# disk and edit it to comment out the ones you do not want. You
+# will need to change the setting of SOURCEDIR to reflect where the srcdist
+# directory is (dependent on where your cdrom is mounted,
+# it might be /cdrom/tarballs/srcdist) .
+#
+if [ X"${SOURCEDIR}" = X"" ]; then
+ SOURCEDIR=.
+fi
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+
+# Note that base.aa is REQUIRED to be able to use the source tree for
+# building in.
+#
+cat base.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+
+#
+# The following are optional
+#
+cat bin.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat contrib.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat etc.aa | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat games.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat gnu.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat include.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat lib.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+#NO_EXPORT#cat libcrypt.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat libexec.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat sbin.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat share.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat sys.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat usrbin.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
+cat usrsbin.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
OpenPOWER on IntegriCloud