From 60941a47198c40a975256659648867d14a0fc57b Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 7 Apr 2013 10:29:15 -0700 Subject: j3dcore: kill off some of the old build scripts from the native builds Signed-off-by: Harvey Harrison --- build-tools/genzip | 54 -------------------------------- build-tools/linux-amd64/script1.txt | 4 --- build-tools/linux-amd64/script2.txt | 56 ---------------------------------- build-tools/linux-amd64/unzipsfx | Bin 55272 -> 0 bytes build-tools/linux-i586/script1.txt | 4 --- build-tools/linux-i586/script2.txt | 56 ---------------------------------- build-tools/linux-i586/unzipsfx | Bin 51400 -> 0 bytes build-tools/solaris-sparc/script1.txt | 4 --- build-tools/solaris-sparc/script2.txt | 56 ---------------------------------- build-tools/solaris-sparc/unzipsfx | Bin 75852 -> 0 bytes build-tools/solaris-x86/script1.txt | 4 --- build-tools/solaris-x86/script2.txt | 56 ---------------------------------- build-tools/solaris-x86/unzipsfx | Bin 72044 -> 0 bytes 13 files changed, 294 deletions(-) delete mode 100644 build-tools/genzip delete mode 100644 build-tools/linux-amd64/script1.txt delete mode 100644 build-tools/linux-amd64/script2.txt delete mode 100755 build-tools/linux-amd64/unzipsfx delete mode 100644 build-tools/linux-i586/script1.txt delete mode 100644 build-tools/linux-i586/script2.txt delete mode 100755 build-tools/linux-i586/unzipsfx delete mode 100644 build-tools/solaris-sparc/script1.txt delete mode 100644 build-tools/solaris-sparc/script2.txt delete mode 100755 build-tools/solaris-sparc/unzipsfx delete mode 100644 build-tools/solaris-x86/script1.txt delete mode 100644 build-tools/solaris-x86/script2.txt delete mode 100755 build-tools/solaris-x86/unzipsfx (limited to 'build-tools') diff --git a/build-tools/genzip b/build-tools/genzip deleted file mode 100644 index 85b0832..0000000 --- a/build-tools/genzip +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# usage: genzip [ ... ] - -tmpscr1=script1.$$ -tmpscr2=script2.$$ - -archive=$1 -shift -license=$1 -shift - -echo "zip'ing..." - -zip -r $archive.zip $* - -cat ../unzipsfx $archive.zip > $archive - -echo "Checksumming..." - -sum=`/usr/bin/sum $archive` -index=1 -for s in $sum -do - case $index in - 1) sum1=$s; - index=2; - ;; - 2) sum2=$s; - index=3; - ;; - esac -done -echo sum = $sum1 $sum2 - -cat ../script1.txt $license ../script2.txt > $tmpscr1 - -linecount=`/usr/bin/wc -l < $tmpscr1` -linecount=$(($linecount + 1)) -echo linecount = $linecount - -echo "Generating .bin script..." - -sed -e s/@LINECOUNT@/$linecount/ -e s/@SUM1@/$sum1/ -e s/@SUM2@/$sum2/ < $tmpscr1 > $tmpscr2 -cat $tmpscr2 $archive > ../$archive.bin -chmod +x ../$archive.bin - -echo "Cleaning up..." -rm -f $tmpscr1 -rm -f $tmpscr2 -rm -f $archive.zip -rm -f $archive - -echo "Done" diff --git a/build-tools/linux-amd64/script1.txt b/build-tools/linux-amd64/script1.txt deleted file mode 100644 index 05d4088..0000000 --- a/build-tools/linux-amd64/script1.txt +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -PATH=/usr/bin:/bin -more <<"EOF" - diff --git a/build-tools/linux-amd64/script2.txt b/build-tools/linux-amd64/script2.txt deleted file mode 100644 index ea5fb16..0000000 --- a/build-tools/linux-amd64/script2.txt +++ /dev/null @@ -1,56 +0,0 @@ - -EOF -agreed= -while [ x$agreed = x ]; do - echo - echo "Do you agree to the above license terms? [yes or no] " - read reply leftover - case $reply in - y* | Y*) - agreed=1;; - n* | n*) - echo "If you don't agree to the license you can't install this sofware"; - exit 1;; - esac -done -if [ ! -w `pwd` ] ; then - echo "You do not have write permission to `pwd`" - echo "3D installation failed" - exit 1 -fi -outname=install.sfx.$$ -echo "Unpacking..." -tail -n +@LINECOUNT@ $0 > $outname -if [ -x /usr/bin/sum ] ; then - echo "Checksumming..." - - sum=`/usr/bin/sum $outname` - index=1 - for s in $sum - do - case $index in - 1) sum1=$s; - index=2; - ;; - 2) sum2=$s; - index=3; - ;; - esac - done - if expr $sum1 != @SUM1@ || expr $sum2 != @SUM2@ ; then - echo "The download file appears to be corrupted. Please refer" - echo "to the Troubleshooting section of the Installation" - echo "Instructions on the download page for more information." - echo "Please do not attempt to install this archive file." - rm -f $outname - exit 1 - fi -else - echo "Can't find /usr/bin/sum to do checksum. Continuing anyway." -fi -echo "Extracting..." -chmod u+x $outname -./$outname -rm -f $outname -echo "Done." -exit 0 diff --git a/build-tools/linux-amd64/unzipsfx b/build-tools/linux-amd64/unzipsfx deleted file mode 100755 index 12bfc5c..0000000 Binary files a/build-tools/linux-amd64/unzipsfx and /dev/null differ diff --git a/build-tools/linux-i586/script1.txt b/build-tools/linux-i586/script1.txt deleted file mode 100644 index 05d4088..0000000 --- a/build-tools/linux-i586/script1.txt +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -PATH=/usr/bin:/bin -more <<"EOF" - diff --git a/build-tools/linux-i586/script2.txt b/build-tools/linux-i586/script2.txt deleted file mode 100644 index ea5fb16..0000000 --- a/build-tools/linux-i586/script2.txt +++ /dev/null @@ -1,56 +0,0 @@ - -EOF -agreed= -while [ x$agreed = x ]; do - echo - echo "Do you agree to the above license terms? [yes or no] " - read reply leftover - case $reply in - y* | Y*) - agreed=1;; - n* | n*) - echo "If you don't agree to the license you can't install this sofware"; - exit 1;; - esac -done -if [ ! -w `pwd` ] ; then - echo "You do not have write permission to `pwd`" - echo "3D installation failed" - exit 1 -fi -outname=install.sfx.$$ -echo "Unpacking..." -tail -n +@LINECOUNT@ $0 > $outname -if [ -x /usr/bin/sum ] ; then - echo "Checksumming..." - - sum=`/usr/bin/sum $outname` - index=1 - for s in $sum - do - case $index in - 1) sum1=$s; - index=2; - ;; - 2) sum2=$s; - index=3; - ;; - esac - done - if expr $sum1 != @SUM1@ || expr $sum2 != @SUM2@ ; then - echo "The download file appears to be corrupted. Please refer" - echo "to the Troubleshooting section of the Installation" - echo "Instructions on the download page for more information." - echo "Please do not attempt to install this archive file." - rm -f $outname - exit 1 - fi -else - echo "Can't find /usr/bin/sum to do checksum. Continuing anyway." -fi -echo "Extracting..." -chmod u+x $outname -./$outname -rm -f $outname -echo "Done." -exit 0 diff --git a/build-tools/linux-i586/unzipsfx b/build-tools/linux-i586/unzipsfx deleted file mode 100755 index 00c946c..0000000 Binary files a/build-tools/linux-i586/unzipsfx and /dev/null differ diff --git a/build-tools/solaris-sparc/script1.txt b/build-tools/solaris-sparc/script1.txt deleted file mode 100644 index 05d4088..0000000 --- a/build-tools/solaris-sparc/script1.txt +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -PATH=/usr/bin:/bin -more <<"EOF" - diff --git a/build-tools/solaris-sparc/script2.txt b/build-tools/solaris-sparc/script2.txt deleted file mode 100644 index a9aafa8..0000000 --- a/build-tools/solaris-sparc/script2.txt +++ /dev/null @@ -1,56 +0,0 @@ - -EOF -agreed= -while [ x$agreed = x ]; do - echo - echo "Do you agree to the above license terms? [yes or no] " - read reply leftover - case $reply in - y* | Y*) - agreed=1;; - n* | n*) - echo "If you don't agree to the license you can't install this sofware"; - exit 1;; - esac -done -if [ ! -w `pwd` ] ; then - echo "You do not have write permission to `pwd`" - echo "3D installation failed" - exit 1 -fi -outname=install.sfx.$$ -echo "Unpacking..." -tail +@LINECOUNT@ $0 > $outname -if [ -x /usr/bin/sum ] ; then - echo "Checksumming..." - - sum=`/usr/bin/sum $outname` - index=1 - for s in $sum - do - case $index in - 1) sum1=$s; - index=2; - ;; - 2) sum2=$s; - index=3; - ;; - esac - done - if expr $sum1 != @SUM1@ || expr $sum2 != @SUM2@ ; then - echo "The download file appears to be corrupted. Please refer" - echo "to the Troubleshooting section of the Installation" - echo "Instructions on the download page for more information." - echo "Please do not attempt to install this archive file." - rm -f $outname - exit 1 - fi -else - echo "Can't find /usr/bin/sum to do checksum. Continuing anyway." -fi -echo "Extracting..." -chmod u+x $outname -./$outname -rm -f $outname -echo "Done." -exit 0 diff --git a/build-tools/solaris-sparc/unzipsfx b/build-tools/solaris-sparc/unzipsfx deleted file mode 100755 index a27ffd5..0000000 Binary files a/build-tools/solaris-sparc/unzipsfx and /dev/null differ diff --git a/build-tools/solaris-x86/script1.txt b/build-tools/solaris-x86/script1.txt deleted file mode 100644 index 05d4088..0000000 --- a/build-tools/solaris-x86/script1.txt +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -PATH=/usr/bin:/bin -more <<"EOF" - diff --git a/build-tools/solaris-x86/script2.txt b/build-tools/solaris-x86/script2.txt deleted file mode 100644 index a9aafa8..0000000 --- a/build-tools/solaris-x86/script2.txt +++ /dev/null @@ -1,56 +0,0 @@ - -EOF -agreed= -while [ x$agreed = x ]; do - echo - echo "Do you agree to the above license terms? [yes or no] " - read reply leftover - case $reply in - y* | Y*) - agreed=1;; - n* | n*) - echo "If you don't agree to the license you can't install this sofware"; - exit 1;; - esac -done -if [ ! -w `pwd` ] ; then - echo "You do not have write permission to `pwd`" - echo "3D installation failed" - exit 1 -fi -outname=install.sfx.$$ -echo "Unpacking..." -tail +@LINECOUNT@ $0 > $outname -if [ -x /usr/bin/sum ] ; then - echo "Checksumming..." - - sum=`/usr/bin/sum $outname` - index=1 - for s in $sum - do - case $index in - 1) sum1=$s; - index=2; - ;; - 2) sum2=$s; - index=3; - ;; - esac - done - if expr $sum1 != @SUM1@ || expr $sum2 != @SUM2@ ; then - echo "The download file appears to be corrupted. Please refer" - echo "to the Troubleshooting section of the Installation" - echo "Instructions on the download page for more information." - echo "Please do not attempt to install this archive file." - rm -f $outname - exit 1 - fi -else - echo "Can't find /usr/bin/sum to do checksum. Continuing anyway." -fi -echo "Extracting..." -chmod u+x $outname -./$outname -rm -f $outname -echo "Done." -exit 0 diff --git a/build-tools/solaris-x86/unzipsfx b/build-tools/solaris-x86/unzipsfx deleted file mode 100755 index fdf918f..0000000 Binary files a/build-tools/solaris-x86/unzipsfx and /dev/null differ -- cgit v1.2.3