summaryrefslogtreecommitdiffstats
path: root/release/mkextract.sh
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-12 20:37:41 +0000
committerjkh <jkh@FreeBSD.org>1994-11-12 20:37:41 +0000
commit96fe75d118b2a6243c82f14e06cd8668681b0a6d (patch)
tree1cdd2a37e3c55ceaecc8e53117cae2e024405fac /release/mkextract.sh
parente23dd471849b13ea8b7d0b7f79b7114f2adeff5b (diff)
downloadFreeBSD-src-96fe75d118b2a6243c82f14e06cd8668681b0a6d.zip
FreeBSD-src-96fe75d118b2a6243c82f14e06cd8668681b0a6d.tar.gz
Add the mkextract.sh script I use for the XFree86 distribution, just so
I have a master copy someplace.
Diffstat (limited to 'release/mkextract.sh')
-rw-r--r--release/mkextract.sh60
1 files changed, 60 insertions, 0 deletions
diff --git a/release/mkextract.sh b/release/mkextract.sh
new file mode 100644
index 0000000..1256d5a
--- /dev/null
+++ b/release/mkextract.sh
@@ -0,0 +1,60 @@
+#!/bin/sh
+#
+# mkextract - generate extract.sh
+# Jordan Hubbard
+#
+# This script generates the extract.sh script from the current tarballs
+# and should not be run by anyone but the release coordinator (there wouldn't
+# be much point).
+#
+# Jordan
+
+BASEDIR=/usr/X11R6
+TARGETS=XFree86-3.1*
+echo -n "Creating extract.sh.."
+cat > extract.sh << DO_THE_FUNKY_CHICKEN
+#!/bin/sh
+#
+# Don't edit me - I'm auto-generated by mkextract.sh!
+#
+if [ ! -f /usr/bin/tar ]; then
+ dialog --title "Error!" --msgbox "You must install the bindist before this distribution!" 6 72
+ exit 0
+fi
+
+dialog --title "XFree86 3.1 Installation" \
+ --msgbox "Welcome to the XFree86 3.1 installation! You'll be asked
+a series of annoying yes/no questions for each component of the
+XFree86 distribution you wish to install. If you're not sure
+whether or not you need some component, simply answer yes and
+delete it later if it turns out you don't need it. This is
+a little rough, yes, but I'm working on it!
+
+Comments on the XFree86 distribution to David Dawes
+<dawes@FreeBSD.org>
+
+Comments on this install to Jordan Hubbard
+<jkh@FreeBSD.org>
+
+Thanks!" 18 72
+dialog --title "Read This First" --textbox README.FreeBSD 22 76
+DO_THE_FUNKY_CHICKEN
+
+for i in $TARGETS; do
+ abbrevname=`echo $i | sed -e 's/XFree86-3.1-//' -e 's/.tar.gz//'`
+ echo "if dialog --title \"Install Request\" --yesno \"Do you wish to install the ${abbrevname} distribution?\" 6 72; then dialog --title \"Progress\" --infobox \"Installing $i\" 6 72; tar --unlink -xvzf $i -C /usr > /dev/ttyv1 2>&1 ; fi" >> extract.sh
+done
+
+cat >> extract.sh << OH_YEAH_BABY_GET_DOWN
+dialog --title "Finished!" \
+ --infobox "
+You're now done with the installation of XFree86 3.1.
+Now would probably be a very good time to look in ${BASEDIR}/lib/X11/doc
+for further information on what to do next. XFree86 3.1 is now
+installed in the ${BASEDIR} directory, unlike
+earlier releases. For backwards compatibility, you might consider
+a symlink to /usr/X386." 10 76
+OH_YEAH_BABY_GET_DOWN
+
+chmod 755 extract.sh
+echo " Done."
OpenPOWER on IntegriCloud