Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
bc8b4f3695
5 changed files with 142 additions and 0 deletions
  1. +20
    -0
      package/java/sun-jdk14/head-tail.patch
  2. +12
    -0
      package/java/sun-jdk14/sun-jdk14.conf
  3. +50
    -0
      package/java/sun-jdk14/sun-jdk14.desc
  4. +10
    -0
      package/java/sun-jdk15/sun-jdk15.conf
  5. +50
    -0
      package/java/sun-jdk15/sun-jdk15.desc

+ 20
- 0
package/java/sun-jdk14/head-tail.patch

@ -0,0 +1,20 @@
--- j2sdk-1_4_2_08-linux-i586.bin 2005-05-21 03:31:21.000000000 +0200
+++ java.bin 2005-05-21 11:43:00.000000000 +0200
@@ -355,7 +355,7 @@
esac
done
outname=install.sfx.$$
-diskSpace=`df -k . | tail -1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'`
+diskSpace=`df -k . | tail -n1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'`
if [ $diskSpace -lt $diskSpaceRequired ]; then
printf "You will need atleast %s kBytes of Disk Free\n" $diskSpaceRequired
printf "Please free up the required Disk Space and try again\n"
@@ -363,7 +363,7 @@
fi
trap 'rm -f $outname; exit 1' HUP INT QUIT TERM
echo "Unpacking..."
-tail +511 $0 > $outname
+tail -n+511 $0 > $outname
if [ -x /usr/bin/sum ] ; then
echo "Checksumming..."

+ 12
- 0
package/java/sun-jdk14/sun-jdk14.conf

@ -0,0 +1,12 @@
install_jdk () {
cp -a $archdir/j2sdk-${ver//./_}-linux-i586.bin java.bin
chmod +x java.bin
patch -p0 < $confdir/head-tail.patch
yes | ./java.bin
cp -a --reply=yes j2sdk1.4* /opt
}
autoextract=0
custmain="install_jdk"

+ 50
- 0
package/java/sun-jdk14/sun-jdk14.desc

@ -0,0 +1,50 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/stf/lsdvd/lsdvd.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] JavaTM 2 Platform Standard Edition Development Kit 1.4.2
[T] Java 2 Platform, Standard Edition (J2SE) provides a complete applications
[T] environment for a wide range of computer systems. It also serves as the
[T] foundation for the Java 2 Platform, Enterprise Edition (J2EE) and Java Web
[T] Services.
[T] The J2SE Runtime Environment (JRE) provides all the software required to
[T] run Java applets and applications.
[T] The J2SE Development Kit (JDK) contains everything that is in the JRE, as
[T] well as tools for developing Java applets and applications.
[U] http://java.sun.com/j2se/1.4.2/index.jsp
[A] Sun Microsystems, Inc.
[M] Stefan Fiedler <stefan.fiedler@students.jku.at>
[C] extra/development
[R] + x86
[L] Commercial
#[L] http://java.sun.com/j2se/1.4.2/j2sdk-1_4_2_08-license.txt
[S] Stable
[V] 1.4.2.08
[P] O -?---5---9 500.000
[D] X j2sdk-1_4_2_08-linux-i586.bin http://java.sun.com/j2se/1.4.2/download.jsp NODIST NOAUTO

+ 10
- 0
package/java/sun-jdk15/sun-jdk15.conf

@ -0,0 +1,10 @@
install_jdk ()
{
cp -a $archdir/jdk-${ver//./_}-linux-i586.bin java.bin
chmod +x java.bin
yes | ./java.bin
cp -a --reply=yes jdk1.5* /opt
}
autoextract=0
custmain="install_jdk"

+ 50
- 0
package/java/sun-jdk15/sun-jdk15.desc

@ -0,0 +1,50 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/stf/lsdvd/lsdvd.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] JavaTM 2 Platform Standard Edition Development Kit 5.0
[T] Java 2 Platform, Standard Edition (J2SE) provides a complete applications
[T] environment for a wide range of computer systems. It also serves as the
[T] foundation for the Java 2 Platform, Enterprise Edition (J2EE) and Java Web
[T] Services.
[T] The J2SE Runtime Environment (JRE) provides all the software required to
[T] run Java applets and applications.
[T] The J2SE Development Kit (JDK) contains everything that is in the JRE, as
[T] well as tools for developing Java applets and applications.
[U] http://java.sun.com/j2se/1.5.0/index.jsp
[A] Sun Microsystems, Inc.
[M] Stefan Fiedler <stefan.fiedler@students.jku.at>
[C] extra/development
[R] + x86
[L] Commercial
#[L] http://java.sun.com/j2se/1.5.0/jdk-1_5_0_03-license.txt
[S] Stable
[V] 1.5.0.3
[P] O -?---5---9 500.000
[D] X jdk-1_5_0_3-linux-i586.bin http://java.sun.com/j2se/1.5.0/download.jsp NODIST NOAUTO

Loading…
Cancel
Save