summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-23 16:47:35 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-23 16:47:35 +0000
commitdcb5ba11721d10f97e2de58cd88f1a500040d51f (patch)
treea3fa462c34b570bef46d8fe534334405c9920338 /dev-java
parentadd comments (diff)
downloadhistorical-dcb5ba11721d10f97e2de58cd88f1a500040d51f.tar.gz
historical-dcb5ba11721d10f97e2de58cd88f1a500040d51f.tar.bz2
historical-dcb5ba11721d10f97e2de58cd88f1a500040d51f.zip
prune older
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jdk/ChangeLog8
-rw-r--r--dev-java/sun-jdk/Manifest28
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.091
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.101
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.121
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.3.1.0911
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.3.1.1011
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.3.1.13 (renamed from dev-java/sun-jdk/files/sun-jdk-1.3.1.12)2
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild140
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.10.ebuild146
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.12.ebuild146
-rw-r--r--dev-java/sun-jre-bin/ChangeLog5
-rw-r--r--dev-java/sun-jre-bin/Manifest12
-rw-r--r--dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.051
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.4.2.05.ebuild189
15 files changed, 18 insertions, 684 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index f034f3702790..3936dfebe81a 100644
--- a/dev-java/sun-jdk/ChangeLog
+++ b/dev-java/sun-jdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/sun-jdk
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.87 2004/09/21 14:10:18 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.88 2004/09/23 16:47:35 axxo Exp $
+
+ 23 Sep 2004; Thomas Matthijs <axxo@gentoo.org> -files/sun-jdk-1.3.1.09,
+ -files/sun-jdk-1.3.1.10, -files/sun-jdk-1.3.1.12, +files/sun-jdk-1.3.1.13,
+ -sun-jdk-1.3.1.09.ebuild, -sun-jdk-1.3.1.10.ebuild,
+ -sun-jdk-1.3.1.12.ebuild:
+ prune older
21 Sep 2004; Thomas Matthijs <axxo@gentoo.org> -files/sun-jdk-1.5.0_beta1,
-files/sun-jdk-1.5.0_beta2, -files/sun-jdk-1.5.0_beta2-r1,
diff --git a/dev-java/sun-jdk/Manifest b/dev-java/sun-jdk/Manifest
index 862fd85c81db..2df30e8f81a2 100644
--- a/dev-java/sun-jdk/Manifest
+++ b/dev-java/sun-jdk/Manifest
@@ -1,30 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7ff0b815f7716cf90989d2ea8105a9d3 sun-jdk-1.3.1.09.ebuild 4308
-MD5 79dd2b204249c4cd78316e7408a65083 sun-jdk-1.3.1.10.ebuild 4519
-MD5 82846148787c925ae230ec788adca411 sun-jdk-1.2.2.017.ebuild 3158
-MD5 9d0ec33e8380d69df242b9328fef151b sun-jdk-1.3.1.12.ebuild 4571
-MD5 7dfced90cf06b1c1f70f0925afc3fbcf sun-jdk-1.4.2.05.ebuild 7327
+MD5 253daa5feae44492a91c5b5b1f74489a sun-jdk-1.3.1.13.ebuild 3959
+MD5 06e2b2b296486592eedf719fea226e29 sun-jdk-1.2.2.017.ebuild 3156
+MD5 2f38d799f06cd02574fd404ee182d08d sun-jdk-1.4.2.05.ebuild 6423
MD5 4bac1f49b3587d575ab3c401c1085b95 ChangeLog 18877
-MD5 1949428431c3b06d9b39e86e36a71ded sun-jdk-1.5.0_rc1.ebuild 8106
+MD5 91930582a4426251f6ef26c8e89ae6a7 sun-jdk-1.5.0_rc1.ebuild 7097
MD5 16c9e337522b7e477aece60ff98dde54 metadata.xml 239
-MD5 130466b740026a70232ca65aaa34946c files/sun-jdk-1.3.1.09 444
-MD5 7a5b975a887179b46f0865b3c3675c8b files/sun-jdk-1.3.1.10 444
-MD5 ffca1972398cce59ccc4a03e6da07f38 files/sun-jdk-1.3.1.12 479
+MD5 ffca1972398cce59ccc4a03e6da07f38 files/sun-jdk-1.3.1.13 479
MD5 23b60f3127f8ba04b0945493a0c3eba4 files/sun-jdk-1.4.2.05 503
MD5 8a86d872624397dc0644912c790f6f42 files/sun-jdk-1.2.2.017 336
MD5 92fc551c12c9a260dd9ced69d15cf0f3 files/digest-sun-jdk-1.2.2.017 78
-MD5 951b3321a6c971e8af7c5b12816f3db0 files/digest-sun-jdk-1.3.1.09 76
-MD5 7b0d2e578d7bc3c00ab9b67590b7b3ca files/digest-sun-jdk-1.3.1.10 76
-MD5 7e43d52edafc22eb69110fbdd1b93104 files/digest-sun-jdk-1.3.1.12 76
+MD5 d1e29e8acce3cfec9912e23aa366478a files/digest-sun-jdk-1.3.1.13 76
MD5 dbb142ea361e1f8ac87d899f62f66c89 files/digest-sun-jdk-1.4.2.05 140
MD5 55ccaaf7a2d90163835659383f84e8a0 files/sun-jdk-1.5.0_rc1 474
MD5 db074c663081fb462975f1fdce2602e4 files/digest-sun-jdk-1.5.0_rc1 215
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBUDZj/rLF9B432nYRAuBSAKCg9Mk0Grh17mNU9M5OBeDXDnQtrQCfR2BL
-22VCHAvtN9djq07SgLhpewM=
-=F7A0
------END PGP SIGNATURE-----
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09
deleted file mode 100644
index 91cdf2787241..000000000000
--- a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e64ed72f711ca31e911da00bd25ea28d j2sdk-1_3_1_09-linux-i586.bin 26590961
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.10 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.10
deleted file mode 100644
index 4f5b70ce2c0c..000000000000
--- a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 53a1f1e6c753b56810e1e1ff715e7fdc j2sdk-1_3_1_10-linux-i586.bin 26624701
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.12 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.12
deleted file mode 100644
index 6776b53d7fb5..000000000000
--- a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 551999da29041191481d89fa38e4ee9b j2sdk-1_3_1_12-linux-i586.bin 26645804
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.3.1.09 b/dev-java/sun-jdk/files/sun-jdk-1.3.1.09
deleted file mode 100644
index 1e65fdd64cd0..000000000000
--- a/dev-java/sun-jdk/files/sun-jdk-1.3.1.09
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1.09,v 1.8 2004/07/14 21:58:13 agriffis Exp $
-
-VERSION="Sun JDK @PV@"
-JAVA_HOME=/opt/@P@
-JDK_HOME=/opt/@P@
-JAVAC=${JAVA_HOME}/bin/javac
-ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
-ADDLDPATH="/opt/@P@/jre/lib"
-ENV_VARS="JAVA_HOME JDK_HOME JAVAC ADDPATH ADDLDPATH"
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.3.1.10 b/dev-java/sun-jdk/files/sun-jdk-1.3.1.10
deleted file mode 100644
index b8578e36dd53..000000000000
--- a/dev-java/sun-jdk/files/sun-jdk-1.3.1.10
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1.10,v 1.3 2004/07/14 21:58:13 agriffis Exp $
-
-VERSION="Sun JDK @PV@"
-JAVA_HOME=/opt/@P@
-JDK_HOME=/opt/@P@
-JAVAC=${JAVA_HOME}/bin/javac
-ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
-ADDLDPATH="/opt/@P@/jre/lib"
-ENV_VARS="JAVA_HOME JDK_HOME JAVAC ADDPATH ADDLDPATH"
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.3.1.12 b/dev-java/sun-jdk/files/sun-jdk-1.3.1.13
index 87234f0bb351..e876ad5c368b 100644
--- a/dev-java/sun-jdk/files/sun-jdk-1.3.1.12
+++ b/dev-java/sun-jdk/files/sun-jdk-1.3.1.13
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1.12,v 1.2 2004/07/15 16:38:06 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1.13,v 1.1 2004/09/23 16:47:35 axxo Exp $
VERSION="Sun JDK @PV@"
JAVA_HOME=/opt/@P@
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild
deleted file mode 100644
index 7aabb64d9ebf..000000000000
--- a/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild,v 1.13 2004/09/06 18:44:20 ciaranm Exp $
-
-IUSE="doc mozilla"
-
-inherit java nsplugins eutils
-
-At="j2sdk-1_3_1_09-linux-i586.bin"
-S="${WORKDIR}/jdk1.3.1_09"
-SRC_URI="${At}"
-DESCRIPTION="Sun Java Development Kit 1.3.1_09"
-HOMEPAGE="http://java.sun.com/products/archive/j2se/1.3.1_09/index.html"
-DEPEND="virtual/libc
- >=dev-java/java-config-0.2.7
- doc? ( =dev-java/java-sdk-docs-1.3.1* )"
-RDEPEND="sys-libs/lib-compat"
-PROVIDE="virtual/jre-1.3.1
- virtual/jdk-1.3.1
- virtual/java-scheme-2"
-LICENSE="sun-bcla-java-vm"
-SLOT="1.3"
-KEYWORDS="x86 -ppc -sparc -alpha -mips -hppa"
-RESTRICT="fetch"
-
-# this is needed for proper operating under a PaX kernel without activated grsecurity acl
-CHPAX_CONSERVATIVE_FLAGS="pemsv"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${HOMEPAGE}
- einfo "(select the \"Linux self-extracting file\" package format of the SDK)"
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r ${DISTDIR}/${At} ]; then
- eerror "cannot read ${At}. Please check the permission and try again."
- die
- fi
- #Search for the ELF Header
- testExp=`echo -e "\177\105\114\106\001\001\001"`
- startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
- tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
- chmod +x install.sfx
- ./install.sfx
- rm install.sfx
-}
-
-src_install () {
- local dirs="bin include include-old jre lib"
- dodir /opt/${P}
-
- for i in ${dirs} ; do
- if [ "${i}" == "bin" ] ; then
- dodir /opt/${P}/${i}
- cp -a ${i}/.java_wrapper ${D}/opt/${P}/bin/
- cp -a ${i}/* ${D}/opt/${P}/bin/
- elif [ "${i}" == "jre" ] ; then
- dodir /opt/${P}/${i}
- dodir /opt/${P}/${i}/bin
- cp -a ${i}/bin/.java_wrapper ${D}/opt/${P}/${i}/bin/
- cp -a ${i}/bin/* ${D}/opt/${P}/${i}/bin/
- cp -a ${i}/CHANGES \
- ${i}/COPYRIGHT \
- ${i}/ControlPanel.html \
- ${i}/LICENSE \
- ${i}/README \
- ${i}/Welcome.html \
- ${i}/lib \
- ${i}/plugin \
- ${D}/opt/${P}/${i}/
- else
- cp -a ${i} ${D}/opt/${P}/
- fi
- done
-
- dodoc COPYRIGHT README LICENSE
- dohtml README.html
-
- doman man/man1/*.1
-
- dodir /opt/${P}/share/
- cp -a demo src.jar ${D}/opt/${P}/share/
-
- if use mozilla ; then
- dodir /usr/lib/mozilla/plugins
- dosym /opt/${P}/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
- fi
-
- set_java_env ${FILESDIR}/${VMHANDLE} || die
-}
-
-pkg_postinst () {
- # Set as default VM if none exists
- java_pkg_postinst
- inst_plugin /opt/${P}/jre/plugin/i386/mozilla/libjavaplugin_oji.so
-
- # if chpax is on the target system, set the appropriate PaX flags
- # this will not hurt the binary, it modifies only unused ELF bits
- # but may confuse things like AV scanners and automatic tripwire
- if has_version "sys-apps/chpax"
- then
- einfo "setting up conservative PaX flags for jar, javac and java"
-
- for paxkills in "jar" "javac" "java"
- do
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
- done
-
- # /opt/sun-jdk-1.3.1.09/jre/bin/java_vm
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
-
- einfo "you should have seen lots of chpax output above now"
- ewarn "make sure the grsec ACL contains those entries also"
- ewarn "because enabling it will override the chpax setting"
- ewarn "on the physical files - help for PaX and grsecurity"
- ewarn "can be given by #gentoo-hardened + pappy@gentoo.org"
- fi
-
- #Thanks to Douglas Pollock <douglas.pollock@magma.ca> for this
- #comment found on the sun-jdk 1.2.2 ebuild that he sent.
- einfo "********************************************************"
- eerror "Some parts of Sun's JDK require XFree86 to be installed."
- eerror "Be careful which Java libraries you attempt to use."
- einfo "********************************************************"
- echo
-
- einfo "******************************************************"
- einfo " After installing ${P} this"
- einfo " was set as the default JVM to run."
- einfo " When finished please run the following so your"
- einfo " enviroment gets updated."
- eerror " /usr/sbin/env-update && source /etc/profile"
- einfo " Or use java-config program to set your preferred VM"
- einfo "******************************************************"
-
- ebeep 5
- epause 8
-}
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1.10.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.10.ebuild
deleted file mode 100644
index 4484c5523142..000000000000
--- a/dev-java/sun-jdk/sun-jdk-1.3.1.10.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.10.ebuild,v 1.8 2004/09/06 18:44:20 ciaranm Exp $
-
-IUSE="doc mozilla"
-
-inherit java nsplugins eutils
-
-MY_PV=${PV%.*}_${PV##*.}
-MY_P=jdk${MY_PV}
-MY_PVB=${PV%.*}
-
-At="j2sdk-${PV//./_}-linux-i586.bin"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="${At}"
-DESCRIPTION="Sun Java Development Kit"
-HOMEPAGE="http://java.sun.com/j2se/1.3/"
-DEPEND="virtual/libc
- >=dev-java/java-config-0.2.7
- doc? ( =dev-java/java-sdk-docs-1.3.1* )"
-RDEPEND="sys-libs/lib-compat"
-PROVIDE="virtual/jre-1.3.1
- virtual/jdk-1.3.1
- virtual/java-scheme-2"
-LICENSE="sun-bcla-java-vm"
-SLOT="1.3"
-KEYWORDS="~x86 -ppc -sparc -alpha -mips -hppa"
-RESTRICT="fetch"
-
-# this is needed for proper operating under a PaX kernel without activated grsecurity acl
-CHPAX_CONSERVATIVE_FLAGS="pemsv"
-
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${DOWNLOAD_URL}
- einfo "(SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting."
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r ${DISTDIR}/${At} ]; then
- eerror "cannot read ${At}. Please check the permission and try again."
- die
- fi
- #Search for the ELF Header
- testExp=`echo -e "\177\105\114\106\001\001\001"`
- startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
- tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
- chmod +x install.sfx
- ./install.sfx
- rm install.sfx
-}
-
-src_install () {
- local dirs="bin include include-old jre lib"
- dodir /opt/${P}
-
- for i in ${dirs} ; do
- if [ "${i}" == "bin" ] ; then
- dodir /opt/${P}/${i}
- cp -a ${i}/.java_wrapper ${D}/opt/${P}/bin/
- cp -a ${i}/* ${D}/opt/${P}/bin/
- elif [ "${i}" == "jre" ] ; then
- dodir /opt/${P}/${i}
- dodir /opt/${P}/${i}/bin
- cp -a ${i}/bin/.java_wrapper ${D}/opt/${P}/${i}/bin/
- cp -a ${i}/bin/* ${D}/opt/${P}/${i}/bin/
- cp -a ${i}/CHANGES \
- ${i}/COPYRIGHT \
- ${i}/ControlPanel.html \
- ${i}/LICENSE \
- ${i}/README \
- ${i}/Welcome.html \
- ${i}/lib \
- ${i}/plugin \
- ${D}/opt/${P}/${i}/
- else
- cp -a ${i} ${D}/opt/${P}/
- fi
- done
-
- dodoc COPYRIGHT README LICENSE
- dohtml README.html
-
- doman man/man1/*.1
-
- dodir /opt/${P}/share/
- cp -a demo src.jar ${D}/opt/${P}/share/
-
- if use mozilla ; then
- dodir /usr/lib/mozilla/plugins
- dosym /opt/${P}/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
- fi
-
- set_java_env ${FILESDIR}/${VMHANDLE} || die
-}
-
-pkg_postinst () {
- # Set as default VM if none exists
- java_pkg_postinst
- inst_plugin /opt/${P}/jre/plugin/i386/mozilla/libjavaplugin_oji.so
-
- # if chpax is on the target system, set the appropriate PaX flags
- # this will not hurt the binary, it modifies only unused ELF bits
- # but may confuse things like AV scanners and automatic tripwire
- if has_version "sys-apps/chpax"
- then
- einfo "setting up conservative PaX flags for jar, javac and java"
-
- for paxkills in "jar" "javac" "java"
- do
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
- done
-
- # /opt/sun-jdk-1.3.1.09/jre/bin/java_vm
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
-
- einfo "you should have seen lots of chpax output above now"
- ewarn "make sure the grsec ACL contains those entries also"
- ewarn "because enabling it will override the chpax setting"
- ewarn "on the physical files - help for PaX and grsecurity"
- ewarn "can be given by #gentoo-hardened + pappy@gentoo.org"
- fi
-
- #Thanks to Douglas Pollock <douglas.pollock@magma.ca> for this
- #comment found on the sun-jdk 1.2.2 ebuild that he sent.
- einfo "********************************************************"
- eerror "Some parts of Sun's JDK require XFree86 to be installed."
- eerror "Be careful which Java libraries you attempt to use."
- einfo "********************************************************"
- echo
-
- einfo "******************************************************"
- einfo " After installing ${P} this"
- einfo " was set as the default JVM to run."
- einfo " When finished please run the following so your"
- einfo " enviroment gets updated."
- eerror " /usr/sbin/env-update && source /etc/profile"
- einfo " Or use java-config program to set your preferred VM"
- einfo "******************************************************"
-
- ebeep 5
- epause 8
-}
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1.12.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.12.ebuild
deleted file mode 100644
index 8b1eef1dec96..000000000000
--- a/dev-java/sun-jdk/sun-jdk-1.3.1.12.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.12.ebuild,v 1.3 2004/09/06 18:44:20 ciaranm Exp $
-
-IUSE="doc mozilla"
-
-inherit java nsplugins eutils
-
-MY_PV=${PV%.*}_${PV##*.}
-MY_P=jdk${MY_PV}
-MY_PVB=${PV%.*}
-
-At="j2sdk-${PV//./_}-linux-i586.bin"
-S="${WORKDIR}/${MY_P}"
-SRC_URI="${At}"
-DESCRIPTION="Sun Java Development Kit"
-HOMEPAGE="http://java.sun.com/j2se/1.3/"
-DEPEND="virtual/libc
- >=dev-java/java-config-0.2.7
- doc? ( =dev-java/java-sdk-docs-1.3.1* )"
-RDEPEND="sys-libs/lib-compat"
-PROVIDE="virtual/jre-1.3.1
- virtual/jdk-1.3.1
- virtual/java-scheme-2"
-LICENSE="sun-bcla-java-vm"
-SLOT="1.3"
-KEYWORDS="~x86 -ppc -sparc -alpha -mips -hppa"
-RESTRICT="fetch"
-
-# this is needed for proper operating under a PaX kernel without activated grsecurity acl
-CHPAX_CONSERVATIVE_FLAGS="pemsv"
-
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${DOWNLOAD_URL}
- einfo "(SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting."
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r ${DISTDIR}/${At} ]; then
- eerror "cannot read ${At}. Please check the permission and try again."
- die
- fi
- #Search for the ELF Header
- testExp=`echo -e "\177\105\114\106\001\001\001"`
- startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
- tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
- chmod +x install.sfx
- ./install.sfx
- rm install.sfx
-
- sed "s/head -1/head -n 1/" -i ${MY_P}/bin/.java_wrapper
-}
-
-src_install () {
- local dirs="bin include include-old jre lib man"
- dodir /opt/${P}
-
- for i in ${dirs} ; do
- if [ "${i}" == "bin" ] ; then
- dodir /opt/${P}/${i}
- cp -dPR ${i}/.java_wrapper ${D}/opt/${P}/bin/
- cp -dPR ${i}/* ${D}/opt/${P}/bin/
- elif [ "${i}" == "jre" ] ; then
- dodir /opt/${P}/${i}
- dodir /opt/${P}/${i}/bin
- cp -dPR ${i}/bin/.java_wrapper ${D}/opt/${P}/${i}/bin/
- cp -dPR ${i}/bin/* ${D}/opt/${P}/${i}/bin/
- cp -dPR ${i}/CHANGES \
- ${i}/COPYRIGHT \
- ${i}/ControlPanel.html \
- ${i}/LICENSE \
- ${i}/README \
- ${i}/Welcome.html \
- ${i}/lib \
- ${i}/plugin \
- ${D}/opt/${P}/${i}/
- else
- cp -dPR ${i} ${D}/opt/${P}/
- fi
- done
-
- dodoc COPYRIGHT README LICENSE
- dohtml README.html
-
- dodir /opt/${P}/share/
- cp -a demo src.jar ${D}/opt/${P}/share/
-
- if use mozilla ; then
- dodir /usr/lib/mozilla/plugins
- dosym /opt/${P}/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
- fi
-
- set_java_env ${FILESDIR}/${VMHANDLE} || die
-}
-
-pkg_postinst () {
- # Set as default VM if none exists
- java_pkg_postinst
- inst_plugin /opt/${P}/jre/plugin/i386/mozilla/libjavaplugin_oji.so
-
- # if chpax is on the target system, set the appropriate PaX flags
- # this will not hurt the binary, it modifies only unused ELF bits
- # but may confuse things like AV scanners and automatic tripwire
- if has_version "sys-apps/chpax"
- then
- einfo "setting up conservative PaX flags for jar, javac and java"
-
- for paxkills in "jar" "javac" "java"
- do
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
- done
-
- # /opt/sun-jdk-1.3.1.09/jre/bin/java_vm
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
-
- einfo "you should have seen lots of chpax output above now"
- ewarn "make sure the grsec ACL contains those entries also"
- ewarn "because enabling it will override the chpax setting"
- ewarn "on the physical files - help for PaX and grsecurity"
- ewarn "can be given by #gentoo-hardened + pappy@gentoo.org"
- fi
-
- #Thanks to Douglas Pollock <douglas.pollock@magma.ca> for this
- #comment found on the sun-jdk 1.2.2 ebuild that he sent.
- einfo "********************************************************"
- eerror "Some parts of Sun's JDK require XFree86 to be installed."
- eerror "Be careful which Java libraries you attempt to use."
- einfo "********************************************************"
- echo
-
- einfo "******************************************************"
- einfo " After installing ${P} this"
- einfo " was set as the default JVM to run."
- einfo " When finished please run the following so your"
- einfo " enviroment gets updated."
- eerror " /usr/sbin/env-update && source /etc/profile"
- einfo " Or use java-config program to set your preferred VM"
- einfo "******************************************************"
-
- ebeep 5
- epause 8
-}
diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog
index 48c6e9f8edc0..7f0dfad5ed30 100644
--- a/dev-java/sun-jre-bin/ChangeLog
+++ b/dev-java/sun-jre-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/sun-jre-bin
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.8 2004/09/10 21:39:26 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.9 2004/09/23 16:45:52 axxo Exp $
+
+ 23 Sep 2004; Thomas Matthijs <axxo@gentoo.org> -sun-jre-bin-1.4.2.05.ebuild:
+ prune older
10 Sep 2004; Thomas Matthijs <axxo@gentoo.org> files/sun-jre-bin-1.4.2.05:
fix ADDPATH path's
diff --git a/dev-java/sun-jre-bin/Manifest b/dev-java/sun-jre-bin/Manifest
index 4e78981dcf92..2c46111cbd21 100644
--- a/dev-java/sun-jre-bin/Manifest
+++ b/dev-java/sun-jre-bin/Manifest
@@ -1,17 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 030dbbf902b30e6758818f8a5a6bdc87 sun-jre-bin-1.4.2.05-r1.ebuild 5999
-MD5 2f23f872276b3718421d21d424bcaec8 sun-jre-bin-1.4.2.05.ebuild 5999
MD5 fef072cc1348d759686edd2bb7d30067 ChangeLog 1778
MD5 ca35f917561afc166491d77810b71095 metadata.xml 242
-MD5 ea64994bb63f18d8c29ce57e4f5d80ea files/digest-sun-jre-bin-1.4.2.05 75
MD5 ea64994bb63f18d8c29ce57e4f5d80ea files/digest-sun-jre-bin-1.4.2.05-r1 75
MD5 65240bd8b9977fbe20b35c7f5201c10d files/sun-jre-bin-1.4.2.05 439
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBQh/7/rLF9B432nYRAhzLAKDAVb/U3MNCCNElUCNMvKaqVqZ8iQCeNdsF
-LEFEpUI2xT9A+OB25vQU9TE=
-=pzJk
------END PGP SIGNATURE-----
diff --git a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.05 b/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.05
deleted file mode 100644
index d113e0cf7148..000000000000
--- a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.05
+++ /dev/null
@@ -1 +0,0 @@
-MD5 cea966425860e698e087d63d2e5f7c89 j2re-1_4_2_05-linux-i586.bin 14381383
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.05.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.05.ebuild
deleted file mode 100644
index c7c87272690f..000000000000
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.05.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.05.ebuild,v 1.3 2004/09/06 18:45:33 ciaranm Exp $
-
-IUSE="gnome kde mozilla"
-
-inherit java nsplugins eutils
-
-At="j2re-1_4_2_05-linux-i586.bin"
-S="${WORKDIR}/j2re1.4.2_05"
-DESCRIPTION="Sun's J2SE Platform"
-HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
-SRC_URI=${At}
-SLOT="1.4"
-LICENSE="sun-bcla-java-vm"
-KEYWORDS="~x86 -ppc -sparc -alpha -mips -hppa"
-RESTRICT="fetch"
-
-DEPEND=">=dev-java/java-config-1.1.5
- sys-apps/sed"
-
-RDEPEND="sys-libs/lib-compat"
-
-PROVIDE="virtual/jre-1.4.2
- virtual/java-scheme-2"
-
-PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar
-lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar"
-
-# this is needed for proper operating under a PaX kernel without activated grsecurity acl
-CHPAX_CONSERVATIVE_FLAGS="pemsv"
-
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2re-1.4.2_05-oth-JPR&SiteId=JSC&TransactionId=noreg"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${DOWNLOAD_URL}
- einfo "(select the \"Linux self-extracting file\" package format of the JRE"
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r ${DISTDIR}/${At} ]; then
- eerror "cannot read ${At}. Please check the permission and try again."
- die
- fi
- #Search for the ELF Header
- testExp=`echo -e "\177\105\114\106\001\001\001"`
- startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
- tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
- chmod +x install.sfx
- ./install.sfx || die
- rm install.sfx
-
- if [ -f ${S}/lib/unpack ]; then
- UNPACK_CMD=${S}/lib/unpack
- chmod +x $UNPACK_CMD
- for i in $PACKED_JARS; do
- PACK_FILE=${S}/`dirname $i`/`basename $i .jar`.pack
- if [ -f ${PACK_FILE} ]; then
- echo " unpacking: $i"
- $UNPACK_CMD ${PACK_FILE} ${S}/$i
- rm -f ${PACK_FILE}
- fi
- done
- fi
-}
-
-src_install () {
- local dirs="bin lib man javaws plugin"
- dodir /opt/${P}
-
- for i in $dirs ; do
- cp -a $i ${D}/opt/${P}/
- done
-
- dodoc CHANGES COPYRIGHT README LICENSE THIRDPARTYLICENSEREADME.txt
- dohtml Welcome.html ControlPanel.html
-
- local plugin_dir="ns610"
- if has_version '>=gcc-3.2*' ; then
- plugin_dir="ns610-gcc32"
- fi
- if use mozilla ; then
- install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
- fi
- inst_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
-
- # create dir for system preferences
- dodir /opt/${P}/.systemPrefs
-
- # install control panel for Gnome/KDE
- sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}/" \
- -e "s/\(Name=Java\)/\1 Control Panel/" \
- ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
- ${T}/sun_java.desktop
-
- if use gnome ; then
- #TODO check this on Gnome
- dodir /usr/share/gnome/apps/Internet
- insinto /usr/share/gnome/apps/Internet
- doins ${T}/sun_java.desktop
- fi
- if use kde ; then
- dodir $KDEDIR/share/applnk/Internet
- insinto $KDEDIR/share/applnk/Internet
- doins ${T}/sun_java.desktop
- fi
-
- set_java_env ${FILESDIR}/${VMHANDLE}
-
- # TODO prepman "fixes" symlink ja -> ja__JP.eucJP in 'man' directory,
- # creating ja.gz -> ja_JP.eucJP.gz. This is broken as ja_JP.eucJP
- # is a directory and will not be gzipped ;)
-}
-
-pkg_postinst () {
- # Create files used as storage for system preferences.
- touch /opt/${P}/.systemPrefs/.system.lock
- chmod 644 /opt/${P}/.systemPrefs/.system.lock
- touch /opt/${P}/.systemPrefs/.systemRootModFile
- chmod 644 /opt/${P}/.systemPrefs/.systemRootModFile
-
- #Show info about netscape
- if has_version '>=netscape-navigator-4.79-r1' || has_version '>=netscape-communicator-4.79-r1' ; then
- einfo "********************************************************"
- einfo "If you want to install the plugin for Netscape 4.x, type"
- einfo
- einfo " cd /usr/lib/nsbrowser/plugins/"
- einfo " ln -sf /opt/${P}/jre/plugin/i386/ns4/libjavaplugin.so"
- einfo "********************************************************"
- echo
- fi
-
- # if chpax is on the target system, set the appropriate PaX flags
- # this will not hurt the binary, it modifies only unused ELF bits
- # but may confuse things like AV scanners and automatic tripwire
- if has_version "sys-apps/chpax"
- then
- einfo "setting up conservative PaX flags for jar, javac and java"
-
- for paxkills in "java"
- do
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
- done
-
- # /opt/sun-jdk-1.4.2.03/bin/java_vm
- chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/java_vm
-
- einfo "you should have seen lots of chpax output above now"
- ewarn "make sure the grsec ACL contains those entries also"
- ewarn "because enabling it will override the chpax setting"
- ewarn "on the physical files - help for PaX and grsecurity"
- ewarn "can be given by #gentoo-hardened + pappy@gentoo.org"
- fi
-
- #Thanks to Douglas Pollock <douglas.pollock@magma.ca> for this
- #comment found on the sun-jre 1.2.2 ebuild that he sent.
- einfo "*********************************************************"
- eerror "Some parts of Sun's JDK require XFree86 to be installed."
- eerror "Be careful which Java libraries you attempt to use."
- einfo "*********************************************************"
- echo
-
- # Set as default VM if none exists
- if [ ! -f "${JAVAC}" ] ; then
- java_pkg_postinst
-
- einfo "******************************************************"
- einfo " After installing ${P} this"
- einfo " was set as the default JVM to run."
- einfo " When finished please run the following so your"
- einfo " enviroment gets updated."
- eerror " /usr/sbin/env-update && source /etc/profile"
- einfo " Or use java-config program to set your preferred VM"
- einfo "******************************************************"
- fi
-
- ebeep 5
- epause 8
-}
-
-pkg_prerm() {
- if [ ! -z "$(java-config -J | grep ${P})" ] ; then
- java-config -J
- ewarn "It appears you are removing your default system VM!"
- ewarn "Please run java-config -L then java-config-S to set a new system VM!"
- fi
-}