@@ -0,0 +1,244208 @@
+#!/bin/sh
+PATH=/usr/bin:/bin
+umask 022
+
+release_comp() {
+ if [ "$1" = "$2" ] ; then
+ echo "eq"
+ else
+ lrel=`printf "%s\n%s\n" $1 $2 | \
+ sort -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n | \
+ head -1`
+ if [ "$1" = "${lrel}" ]; then
+ echo "lt"
+ else
+ echo "gt"
+ fi
+ fi
+}
+
+
+agree() {
+ while [ "true" ]; do
+ read reply leftover
+ case $reply in
+ [yY] | [yY][eE][sS])
+ echo "yes"
+ return 0
+ ;;
+ [nN] | [nN][oO])
+ echo "no"
+ return 0
+ ;;
+ esac
+ done
+}
+
+
+install_JavaDB() {
+ return 0
+}
+
+
+register_JDK() {
+ javaprefix="$1"
+ source="$2"
+ noregister="$3"
+ if [ -x "$javaprefix/bin/java" ] ; then
+ register_option=""
+ if [ "$noregister" != "-noregister" ] ; then
+ register_option="-register"
+ more <<"EOF"
+
+Java(TM) SE Development Kit 6 successfully installed.
+
+Product Registration is FREE and includes many benefits:
+* Notification of new versions, patches, and updates
+* Special offers on Sun products, services and training
+* Access to early releases and documentation
+
+Product and system data will be collected. If your configuration
+supports a browser, the Sun Product Registration form for
+the JDK will be presented. If you do not register, none of
+this information will be saved. You may also register your
+JDK later by opening the register.html file (located in
+the JDK installation directory) in a browser.
+
+For more information on what data Registration collects and
+how it is managed and used, see:
+http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html
+
+EOF
+ printf "Press Enter to continue.....\n"
+ read reply leftover
+ fi
+ "$javaprefix/bin/java" com.sun.servicetag.Installer \
+ -source "$source" "$register_option" > /dev/null 2>&1
+ fi
+ return 0
+}
+
+javahome=jdk1.6.0_06
+platform=linux
+PACKED_JARS="jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar lib/tools.jar jre/lib/ext/localedata.jar"
+ARCH=64
+BINARY_NAME=jdk-6u6-fcs-bin-b02-linux-amd64-25_mar_2008.bin
+diskSpaceRequired=195892
+more <<"EOF"
+Sun Microsystems, Inc. Binary Code License Agreement
+
+for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6
+
+SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
+SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
+THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
+CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
+(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
+CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
+ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
+SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
+AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
+TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
+AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
+CONTINUE.
+
+1. DEFINITIONS. "Software" means the identified above in
+binary form, any other machine readable materials
+(including, but not limited to, libraries, source files,
+header files, and data files), any updates or error
+corrections provided by Sun, and any user manuals,
+programming guides and other documentation provided to you
+by Sun under this Agreement. "General Purpose Desktop
+Computers and Servers" means computers, including desktop,
+laptop and tablet computers, or servers, used for general
+computing functions under end user control (such as but not
+specifically limited to email, general purpose Internet
+browsing, and office suite productivity tools).
+The use of Software in systems and solutions that provide
+dedicated functionality (other than as mentioned above) or
+designed for use in embedded or function-specific software
+applications, for example but not limited to: Software
+embedded in or bundled with industrial control systems,
+wireless mobile telephones, wireless handheld devices,
+kiosks, TV/STB, Blu-ray Disc devices, telematics and
+network control switching equipment, printers and storage
+management systems, and other related systems are excluded
+from this definition and not licensed under this
+Agreement. "Programs" means Java technology applets and
+applications intended to run on the Java Platform Standard
+Edition (Java SE) platform on Java-enabled General Purpose
+Desktop Computers and Servers.
+
+2. LICENSE TO USE. Subject to the terms and conditions of
+this Agreement, including, but not limited to the Java
+Technology Restrictions of the Supplemental License Terms,
+Sun grants you a non-exclusive, non-transferable, limited
+license without license fees to reproduce and use
+internally Software complete and unmodified for the sole
+purpose of running Programs. Additional licenses for
+developers and/or publishers are granted in the
+Supplemental License Terms.
+
+3. RESTRICTIONS. Software is confidential and copyrighted.
+Title to Software and all associated intellectual property
+rights is retained by Sun and/or its licensors. Unless
+enforcement is prohibited by applicable law, you may not
+modify, decompile, or reverse engineer Software. You
+acknowledge that Licensed Software is not designed or
+intended for use in the design, construction, operation or
+maintenance of any nuclear facility. Sun Microsystems, Inc.
+disclaims any express or implied warranty of fitness for
+such uses. No right, title or interest in or to any
+trademark, service mark, logo or trade name of Sun or its
+licensors is granted under this Agreement. Additional
+restrictions for developers and/or publishers licenses are
+set forth in the Supplemental License Terms.
+
+4. LIMITED WARRANTY. Sun warrants to you that for a period
+of ninety (90) days from the date of purchase, as evidenced
+by a copy of the receipt, the media on which Software is
+furnished (if any) will be free of defects in materials and
+workmanship under normal use. Except for the foregoing,
+Software is provided "AS IS". Your exclusive remedy and
+Sun's entire liability under this limited warranty will be
+at Sun's option to replace Software media or refund the fee
+paid for Software. Any implied warranties on the Software
+are limited to 90 days. Some states do not allow
+limitations on duration of an implied warranty, so the
+above may not apply to you. This limited warranty gives you
+specific legal rights. You may have others, which vary from
+state to state.
+
+5. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
+AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
+REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
+WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
+EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
+INVALID.
+
+6. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY
+LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
+ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
+CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,
+EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES. In no event will Sun's liability to you, whether
+in contract, tort (including negligence), or otherwise,
+exceed the amount paid by you for Software under this
+Agreement. The foregoing limitations will apply even if the
+above stated warranty fails of its essential purpose. Some
+states do not allow the exclusion of incidental or
+consequential damages, so some of the terms above may not
+be applicable to you.
+
+7. TERMINATION. This Agreement is effective until
+terminated. You may terminate this Agreement at any time by
+destroying all copies of Software. This Agreement will
+terminate immediately without notice from Sun if you fail
|