[Lunar-commits] <moonbase> j2sdk: move it to zdeprecated dir. use sun-jdk instead.
Florin Braescu
florin at lunar-linux.org
Wed Feb 17 22:46:12 CET 2010
commit 0d64524dc0c35a535555b20eb42053b719c64c85
Author: Florin Braescu <florin at lunar-linux.org>
Date: Wed Feb 17 23:46:12 2010 +0200
j2sdk: move it to zdeprecated dir. use sun-jdk instead.
---
compilers/j2sdk/BUILD | 20 --------------------
compilers/j2sdk/BUILD.x86_64 | 21 ---------------------
compilers/j2sdk/CONFLICTS | 2 --
compilers/j2sdk/DETAILS | 21 ---------------------
compilers/j2sdk/DETAILS.x86_64 | 20 --------------------
compilers/j2sdk/POST_REMOVE | 5 -----
compilers/j2sdk/PRE_BUILD | 10 ----------
zdeprecated/j2sdk/BUILD | 20 ++++++++++++++++++++
zdeprecated/j2sdk/BUILD.x86_64 | 21 +++++++++++++++++++++
zdeprecated/j2sdk/CONFLICTS | 2 ++
zdeprecated/j2sdk/DETAILS | 21 +++++++++++++++++++++
zdeprecated/j2sdk/DETAILS.x86_64 | 20 ++++++++++++++++++++
zdeprecated/j2sdk/POST_REMOVE | 5 +++++
zdeprecated/j2sdk/PRE_BUILD | 10 ++++++++++
14 files changed, 99 insertions(+), 99 deletions(-)
diff --git a/compilers/j2sdk/BUILD b/compilers/j2sdk/BUILD
deleted file mode 100644
index 492ae5e..0000000
--- a/compilers/j2sdk/BUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-(
- prepare_install &&
- cp -r $SOURCE_DIRECTORY /usr/lib &&
- chmod 0755 /usr/lib/j2sdk$VERSION &&
- for FILE in `/bin/ls /usr/lib/$MODULE$VERSION/bin`; do
- if [ -f "/usr/lib/$MODULE$VERSION/bin/$FILE" -a ! -e "/usr/bin/$FILE" ]; then
- ln -sf "/usr/lib/$MODULE$VERSION/bin/$FILE" "/usr/bin/$FILE"
- fi
- done
-
- # Prune old.libraries
- rm -rf /usr/lib/$MODULE$VERSION/old.libraries &&
-
- # Do I smell mozilla or firefox?
-
- mkdir -p /opt/lunar/plugins &&
- ln -sf /usr/lib/$MODULE$VERSION/jre/plugin/i386/mozilla/libjavaplugin_oji.so \
- /opt/lunar/plugins/libjavaplugin_oji.so
-
-) > $C_FIFO 2>&1
diff --git a/compilers/j2sdk/BUILD.x86_64 b/compilers/j2sdk/BUILD.x86_64
deleted file mode 100644
index 7fb1ae0..0000000
--- a/compilers/j2sdk/BUILD.x86_64
+++ /dev/null
@@ -1,21 +0,0 @@
-(
-
- prepare_install &&
- cp -r $SOURCE_DIRECTORY /usr/lib &&
- chmod 0755 /usr/lib/j2sdk$VERSION &&
- for FILE in `/bin/ls /usr/lib/$MODULE$VERSION/bin`; do
- if [ -f "/usr/lib/$MODULE$VERSION/bin/$FILE" -a ! -e "/usr/bin/$FILE" ]; then
- ln -sf "/usr/lib/$MODULE$VERSION/bin/$FILE" "/usr/bin/$FILE"
- fi
- done
-
- # Prune old.libraries
- rm -rf /usr/lib/$MODULE$VERSION/old.libraries &&
-
- # Do I smell mozilla or firefox?
-
- mkdir -p /opt/lunar/plugins &&
- ln -sf /usr/lib/$MODULE$VERSION/jre/plugin/amd64/mozilla/libjavaplugin_oji.so \
- /opt/lunar/plugins/libjavaplugin_oji.so
-
-) > $C_FIFO 2>&1
diff --git a/compilers/j2sdk/CONFLICTS b/compilers/j2sdk/CONFLICTS
deleted file mode 100644
index 299e2d8..0000000
--- a/compilers/j2sdk/CONFLICTS
+++ /dev/null
@@ -1,2 +0,0 @@
-conflicts sun-jre &&
-conflicts sun-jdk
diff --git a/compilers/j2sdk/DETAILS b/compilers/j2sdk/DETAILS
deleted file mode 100644
index f2c2b6e..0000000
--- a/compilers/j2sdk/DETAILS
+++ /dev/null
@@ -1,21 +0,0 @@
- MODULE=j2sdk
- VERSION=1.4.2
- SUBVERSION=03
- SOURCE=$MODULE-$VERSION-$SUBVERSION-linux-i586.bin
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
- SOURCE_URL[0]=ftp://mirrors.dotsrc.org/mirrors/java-linux/JDK-$VERSION/i386/$SUBVERSION/
- SOURCE_URL[1]=ftp://mirror.switch.ch/mirror/java-linux/JDK-$VERSION/i386/$SUBVERSION/
- SOURCE_VFY=sha1:1d7dd1b91ece6f9a9895bb03986eb865934716ea
- WEB_SITE=http://www.blackdown.org/java-linux/java2-status
- ENTERED=20010922
- UPDATED=20061028
- SHORT="Blackdown port of Sun's Java virtual machine."
-LDD_CHECK=off
-cat << EOF
-The Java 2 Standard Edition (J2SE) is a feature-complete development and
-deployment platform. Blackdown provides both a SDK (J2SDK, formerly
-known as JDK) and a runtime environment (J2RE) for Linux on various
-architectures (ix86, Sparc, PPC, S/390, ARM, m68k). Both the J2SDK and
-the J2RE contain the Java Plug-In for Netscape 4.x and Mozilla/Netscape
-7.x.
-EOF
diff --git a/compilers/j2sdk/DETAILS.x86_64 b/compilers/j2sdk/DETAILS.x86_64
deleted file mode 100644
index a9d0801..0000000
--- a/compilers/j2sdk/DETAILS.x86_64
+++ /dev/null
@@ -1,20 +0,0 @@
- MODULE=j2sdk
- VERSION=1.4.2
- SUBVERSION=03
- SOURCE=$MODULE-$VERSION-$SUBVERSION-linux-amd64.bin
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
- SOURCE_URL[0]=http://ftp.cica.es/pub/java-linux/JDK-$VERSION/amd64/$SUBVERSION/
- SOURCE_VFY=sha1:e3be6bc1c31691123a396351478b58e1b09e9489
- WEB_SITE=http://www.blackdown.org/java-linux/java2-status
- ENTERED=20010922
- UPDATED=20080320
- SHORT="Blackdown port of Sun's Java virtual machine."
-LDD_CHECK=off
-cat << EOF
-The Java 2 Standard Edition (J2SE) is a feature-complete development and
-deployment platform. Blackdown provides both a SDK (J2SDK, formerly
-known as JDK) and a runtime environment (J2RE) for Linux on various
-architectures (ix86, Sparc, PPC, S/390, ARM, m68k). Both the J2SDK and
-the J2RE contain the Java Plug-In for Netscape 4.x and Mozilla/Netscape
-7.x.
-EOF
diff --git a/compilers/j2sdk/POST_REMOVE b/compilers/j2sdk/POST_REMOVE
deleted file mode 100644
index 320d0a1..0000000
--- a/compilers/j2sdk/POST_REMOVE
+++ /dev/null
@@ -1,5 +0,0 @@
-# Tidy up
-
-if [ -d /usr/lib/j2sdk$VERSION ]; then
- rm -rf /usr/lib/j2sdk$VERSION
-fi
diff --git a/compilers/j2sdk/PRE_BUILD b/compilers/j2sdk/PRE_BUILD
deleted file mode 100644
index 11f5ee7..0000000
--- a/compilers/j2sdk/PRE_BUILD
+++ /dev/null
@@ -1,10 +0,0 @@
-cd $BUILD_DIRECTORY &&
-chmod +x $SOURCE_CACHE/$SOURCE &&
-_POSIX2_VERSION=199209 $SOURCE_CACHE/$SOURCE
-
-if [ $? -ne 0 ]; then
- echo 'Problem with either License Agreement or j2sdk binary'
- exit 1
-fi
-
-chown -R root:root $SOURCE_DIRECTORY
diff --git a/zdeprecated/j2sdk/BUILD b/zdeprecated/j2sdk/BUILD
new file mode 100644
index 0000000..492ae5e
--- /dev/null
+++ b/zdeprecated/j2sdk/BUILD
@@ -0,0 +1,20 @@
+(
+ prepare_install &&
+ cp -r $SOURCE_DIRECTORY /usr/lib &&
+ chmod 0755 /usr/lib/j2sdk$VERSION &&
+ for FILE in `/bin/ls /usr/lib/$MODULE$VERSION/bin`; do
+ if [ -f "/usr/lib/$MODULE$VERSION/bin/$FILE" -a ! -e "/usr/bin/$FILE" ]; then
+ ln -sf "/usr/lib/$MODULE$VERSION/bin/$FILE" "/usr/bin/$FILE"
+ fi
+ done
+
+ # Prune old.libraries
+ rm -rf /usr/lib/$MODULE$VERSION/old.libraries &&
+
+ # Do I smell mozilla or firefox?
+
+ mkdir -p /opt/lunar/plugins &&
+ ln -sf /usr/lib/$MODULE$VERSION/jre/plugin/i386/mozilla/libjavaplugin_oji.so \
+ /opt/lunar/plugins/libjavaplugin_oji.so
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/j2sdk/BUILD.x86_64 b/zdeprecated/j2sdk/BUILD.x86_64
new file mode 100644
index 0000000..7fb1ae0
--- /dev/null
+++ b/zdeprecated/j2sdk/BUILD.x86_64
@@ -0,0 +1,21 @@
+(
+
+ prepare_install &&
+ cp -r $SOURCE_DIRECTORY /usr/lib &&
+ chmod 0755 /usr/lib/j2sdk$VERSION &&
+ for FILE in `/bin/ls /usr/lib/$MODULE$VERSION/bin`; do
+ if [ -f "/usr/lib/$MODULE$VERSION/bin/$FILE" -a ! -e "/usr/bin/$FILE" ]; then
+ ln -sf "/usr/lib/$MODULE$VERSION/bin/$FILE" "/usr/bin/$FILE"
+ fi
+ done
+
+ # Prune old.libraries
+ rm -rf /usr/lib/$MODULE$VERSION/old.libraries &&
+
+ # Do I smell mozilla or firefox?
+
+ mkdir -p /opt/lunar/plugins &&
+ ln -sf /usr/lib/$MODULE$VERSION/jre/plugin/amd64/mozilla/libjavaplugin_oji.so \
+ /opt/lunar/plugins/libjavaplugin_oji.so
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/j2sdk/CONFLICTS b/zdeprecated/j2sdk/CONFLICTS
new file mode 100644
index 0000000..299e2d8
--- /dev/null
+++ b/zdeprecated/j2sdk/CONFLICTS
@@ -0,0 +1,2 @@
+conflicts sun-jre &&
+conflicts sun-jdk
diff --git a/zdeprecated/j2sdk/DETAILS b/zdeprecated/j2sdk/DETAILS
new file mode 100644
index 0000000..f2c2b6e
--- /dev/null
+++ b/zdeprecated/j2sdk/DETAILS
@@ -0,0 +1,21 @@
+ MODULE=j2sdk
+ VERSION=1.4.2
+ SUBVERSION=03
+ SOURCE=$MODULE-$VERSION-$SUBVERSION-linux-i586.bin
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
+ SOURCE_URL[0]=ftp://mirrors.dotsrc.org/mirrors/java-linux/JDK-$VERSION/i386/$SUBVERSION/
+ SOURCE_URL[1]=ftp://mirror.switch.ch/mirror/java-linux/JDK-$VERSION/i386/$SUBVERSION/
+ SOURCE_VFY=sha1:1d7dd1b91ece6f9a9895bb03986eb865934716ea
+ WEB_SITE=http://www.blackdown.org/java-linux/java2-status
+ ENTERED=20010922
+ UPDATED=20061028
+ SHORT="Blackdown port of Sun's Java virtual machine."
+LDD_CHECK=off
+cat << EOF
+The Java 2 Standard Edition (J2SE) is a feature-complete development and
+deployment platform. Blackdown provides both a SDK (J2SDK, formerly
+known as JDK) and a runtime environment (J2RE) for Linux on various
+architectures (ix86, Sparc, PPC, S/390, ARM, m68k). Both the J2SDK and
+the J2RE contain the Java Plug-In for Netscape 4.x and Mozilla/Netscape
+7.x.
+EOF
diff --git a/zdeprecated/j2sdk/DETAILS.x86_64 b/zdeprecated/j2sdk/DETAILS.x86_64
new file mode 100644
index 0000000..a9d0801
--- /dev/null
+++ b/zdeprecated/j2sdk/DETAILS.x86_64
@@ -0,0 +1,20 @@
+ MODULE=j2sdk
+ VERSION=1.4.2
+ SUBVERSION=03
+ SOURCE=$MODULE-$VERSION-$SUBVERSION-linux-amd64.bin
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
+ SOURCE_URL[0]=http://ftp.cica.es/pub/java-linux/JDK-$VERSION/amd64/$SUBVERSION/
+ SOURCE_VFY=sha1:e3be6bc1c31691123a396351478b58e1b09e9489
+ WEB_SITE=http://www.blackdown.org/java-linux/java2-status
+ ENTERED=20010922
+ UPDATED=20080320
+ SHORT="Blackdown port of Sun's Java virtual machine."
+LDD_CHECK=off
+cat << EOF
+The Java 2 Standard Edition (J2SE) is a feature-complete development and
+deployment platform. Blackdown provides both a SDK (J2SDK, formerly
+known as JDK) and a runtime environment (J2RE) for Linux on various
+architectures (ix86, Sparc, PPC, S/390, ARM, m68k). Both the J2SDK and
+the J2RE contain the Java Plug-In for Netscape 4.x and Mozilla/Netscape
+7.x.
+EOF
diff --git a/zdeprecated/j2sdk/POST_REMOVE b/zdeprecated/j2sdk/POST_REMOVE
new file mode 100644
index 0000000..320d0a1
--- /dev/null
+++ b/zdeprecated/j2sdk/POST_REMOVE
@@ -0,0 +1,5 @@
+# Tidy up
+
+if [ -d /usr/lib/j2sdk$VERSION ]; then
+ rm -rf /usr/lib/j2sdk$VERSION
+fi
diff --git a/zdeprecated/j2sdk/PRE_BUILD b/zdeprecated/j2sdk/PRE_BUILD
new file mode 100644
index 0000000..11f5ee7
--- /dev/null
+++ b/zdeprecated/j2sdk/PRE_BUILD
@@ -0,0 +1,10 @@
+cd $BUILD_DIRECTORY &&
+chmod +x $SOURCE_CACHE/$SOURCE &&
+_POSIX2_VERSION=199209 $SOURCE_CACHE/$SOURCE
+
+if [ $? -ne 0 ]; then
+ echo 'Problem with either License Agreement or j2sdk binary'
+ exit 1
+fi
+
+chown -R root:root $SOURCE_DIRECTORY
More information about the Lunar-commits
mailing list