From fd74432246a2cb0655239b1f58bfb5c1320aee90 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 15 Apr 2024 10:17:59 +0200 Subject: dev-java/jamvm: treeclean Signed-off-by: Florian Schmaus --- dev-java/jamvm/ChangeLog | 238 ---------------------------- dev-java/jamvm/Manifest | 1 - dev-java/jamvm/files/classes-location.patch | 27 ---- dev-java/jamvm/files/jamvm.env | 16 -- dev-java/jamvm/files/javac.in | 57 ------- dev-java/jamvm/files/noexecstack.patch | 48 ------ dev-java/jamvm/jamvm-2.0.0-r1.ebuild | 127 --------------- dev-java/jamvm/metadata.xml | 8 - 8 files changed, 522 deletions(-) delete mode 100644 dev-java/jamvm/ChangeLog delete mode 100644 dev-java/jamvm/Manifest delete mode 100644 dev-java/jamvm/files/classes-location.patch delete mode 100644 dev-java/jamvm/files/jamvm.env delete mode 100644 dev-java/jamvm/files/javac.in delete mode 100644 dev-java/jamvm/files/noexecstack.patch delete mode 100644 dev-java/jamvm/jamvm-2.0.0-r1.ebuild delete mode 100644 dev-java/jamvm/metadata.xml diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog deleted file mode 100644 index 089058fd..00000000 --- a/dev-java/jamvm/ChangeLog +++ /dev/null @@ -1,238 +0,0 @@ -# ChangeLog for dev-java/jamvm -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.53 2014/08/10 20:16:11 slyfox Exp $ - - 08 Jul 2015; Andrew John Hughes - jamvm-2.0.0-r1.ebuild: - According to the JamVM homepage, it's now ppc64 & sparc that need libffi. - - 08 Jul 2015; Andrew John Hughes - +files/noexecstack.patch, jamvm-2.0.0-r1.ebuild: - Fix executable stack on JamVM. - -*jamvm-2.0.0-r1 (08 Jul 2015) - - 08 Jul 2015; Andrew John Hughes +files/javac.in, - +jamvm-2.0.0-r1.ebuild, -jamvm-2.0.0.ebuild, files/jamvm.env: - Sync JamVM build with changes to GNU Classpath and CACAO ebuilds. - - 10 Aug 2014; Sergei Trofimovich jamvm-1.5.4-r2.ebuild: - QA: drop trailing '.' from DESCRIPTION - - 17 Jun 2014; Manuel Rüger -files/jamvm-1.5.4-r1.env, - -jamvm-1.5.4-r1.ebuild: - NM: Cleanup superseeded ebuilds. - - 07 Dec 2012; Agostino Sarubbo jamvm-1.5.4-r2.ebuild: - Stable for ppc, wrt bug #425624 - - 12 Jul 2012; Agostino Sarubbo jamvm-1.5.4-r2.ebuild: - Stable for amd64, wrt bug #425624 - - 12 Jul 2012; Jeff Horelick jamvm-1.5.4-r2.ebuild: - marked x86 per bug 425624 - -*jamvm-1.5.4-r2 (14 May 2012) - - 14 May 2012; Ralph Sennhauser +jamvm-1.5.4-r2.ebuild, - +files/jamvm-1.5.4-r2.env: - Only provide JRE. #371461 - - 28 Sep 2011; Samuli Suominen metadata.xml: - USE="libffi" is now global USE flag. - - 08 Jul 2010; Diego E. Pettenò - +files/classes-location.patch: - Restore patch that is still needed. - - 06 Jul 2010; Vlastimil Babka -jamvm-1.4.2.ebuild, - -jamvm-1.5.0-r3.ebuild, -files/jamvm-1.5.0.env, -jamvm-1.5.4.ebuild, - -files/classes-location.patch, -files/jamvm.env: - Cleanup. - - 05 Jul 2010; Samuli Suominen jamvm-1.4.2.ebuild: - Drop ppc64 wrt #168736, Comment #17 - - 24 May 2010; Pacho Ramos jamvm-1.5.4-r1.ebuild: - stable amd64, bug 317411 - - 12 May 2010; Joseph Jezak jamvm-1.5.4-r1.ebuild: - Marked ppc stable for bug #317411. - - 10 May 2010; Pawel Hajdan jr - jamvm-1.5.4-r1.ebuild: - x86 stable wrt bug #317411 - -*jamvm-1.5.4-r1 (27 Mar 2010) - - 27 Mar 2010; Vlastimil Babka +jamvm-1.5.4-r1.ebuild, - +files/jamvm-1.5.4-r1.env: - Revbump to switch to gnu-classpath-0.98, move the install to - /usr/lib/jamvm, apply stuff (compatibility symlinks) from java-overlay. - -*jamvm-1.5.4 (27 Mar 2010) - - 27 Mar 2010; Alistair Bush +jamvm-1.5.4.ebuild: - Version Bump. - - 19 Jul 2009; nixnut jamvm-1.5.0-r3.ebuild: - ppc stable #272674 - - 11 Jun 2009; Markus Meier jamvm-1.5.0-r3.ebuild: - amd64 stable, bug #272674 - - 10 Jun 2009; Christian Faulhammer - jamvm-1.5.0-r3.ebuild: - stable x86, bug 272674 - -*jamvm-1.5.0-r3 (04 Jun 2009) - - 04 Jun 2009; Samuli Suominen - +jamvm-1.5.0-r3.ebuild: - Convert to virtual/libffi wrt #272051 - - 07 Mar 2009; Petteri Räty jamvm-1.5.0-r2.ebuild: - Migrate to EAPI 2. - - 17 May 2008; nixnut jamvm-1.5.0-r2.ebuild: - Stable on ppc wrt bug 216689 - - 13 Apr 2008; Petteri Räty -jamvm-1.4.5.ebuild, - -jamvm-1.5.0.ebuild, -jamvm-1.5.0-r1.ebuild: - Remove old versions/revisions. - - 09 Apr 2008; Markus Meier jamvm-1.5.0-r2.ebuild: - amd64/x86 stable, bug #216689 - - 20 Mar 2008; Petteri Räty jamvm-1.5.0-r2.ebuild: - Always needs libffi support on amd64. Fixes bug #213882. - -*jamvm-1.5.0-r2 (04 Mar 2008) - - 04 Mar 2008; Petteri Räty +jamvm-1.5.0-r2.ebuild: - Revision bump to wrap all the tools provided by gnu-classpath. - -*jamvm-1.5.0-r1 (03 Mar 2008) - - 03 Mar 2008; Petteri Räty files/jamvm-1.5.0.env, - +jamvm-1.5.0-r1.ebuild: - Add vm file changes required to integrate with our eclasses. PDEPEND on - dev-java/ant-eclipse-ecj so that eant works. - - 03 Mar 2008; Petteri Räty -jamvm-1.4.4-r1.ebuild: - Delete old version. - -*jamvm-1.5.0 (03 Mar 2008) - - 03 Mar 2008; Petteri Räty +files/jamvm-1.5.0.env, - +files/classes-location.patch, +jamvm-1.5.0.ebuild: - Version bump. Fixes bug #181896 and part of fixing bug #163724. - -*jamvm-1.4.5 (28 Feb 2007) - - 28 Feb 2007; Petteri Räty +jamvm-1.4.5.ebuild: - Version bump. This version makes using dev-util/libffi optional via the ffi - use flag. Fixes bug #158754. - - 01 Dec 2006; Petteri Räty files/jamvm.env: - Changed PROVIDES_TYPE from "JDK" to "JDK JRE" - - 19 Nov 2006; Petteri Räty jamvm-1.4.4.ebuild: - Fixed gnu-classpath dependency atom to only match the 0.92 slot. - - 19 Nov 2006; Joshua Nichols jamvm-1.4.4.ebuild: - Added PDEPEND to make sure javac (ecj) and javadoc (gjdoc) work properly. - -*jamvm-1.4.4 (19 Nov 2006) - - 19 Nov 2006; Joshua Nichols +files/jamvm.env, - +jamvm-1.4.4.ebuild: - Version bump, bug #134909. It is now recognized by java-config for using as - a VM. Removed ppc64 keyword until dev-libs/libffi can be keyworded. - - 11 Jun 2006; Markus Rothe jamvm-1.4.2.ebuild: - Stable on ppc64; bug #105973 - - 12 May 2006; Petteri Räty -jamvm-1.3.0.ebuild, - -jamvm-1.4.1.ebuild: - Removed old versions. - - 12 May 2006; Petteri Räty jamvm-1.4.2.ebuild: - Marked stable on x86. - - 01 May 2006; Markus Rothe jamvm-1.4.2.ebuild: - Added ~ppc64 - - 02 Apr 2006; Petteri Räty metadata.xml: - Added java as the herd. - -*jamvm-1.4.2 (02 Apr 2006) - - 02 Apr 2006; Petteri Räty +jamvm-1.4.2.ebuild: - Version bump. Fixes bug #124959. - - 02 Apr 2006; Petteri Räty -jamvm-1.3.1.ebuild, - -jamvm-1.3.3.ebuild: - Removed old versions. - - 04 Feb 2006; Stephanie Lockwood-Childs - jamvm-1.3.3.ebuild: - mark -ppc since it can't build (see bug #111523) - - 04 Feb 2006; Stephanie Lockwood-Childs - jamvm-1.4.1.ebuild: - mark ~ppc (Bug #116297) - -*jamvm-1.4.1 (21 Dec 2005) - - 21 Dec 2005; Petteri Räty +jamvm-1.4.1.ebuild: - Version bump. Fixes bug #105893. - -*jamvm-1.3.3 (02 Nov 2005) - - 02 Nov 2005; Thomas Matthijs +jamvm-1.3.3.ebuild: - version bump - -*jamvm-1.3.1 (17 Jun 2005) - - 17 Jun 2005; Jan Brinkmann - -files/1.2.2-classpath-fix.diff, -jamvm-1.2.3.ebuild, -jamvm-1.2.4.ebuild, - -jamvm-1.2.5.ebuild, jamvm-1.3.0.ebuild, +jamvm-1.3.1.ebuild: - New upstream version, some generall cleanup. Fixes #96333. Marked 1.3.0 - stable on x86. - - 04 Jun 2005; Joseph Jezak jamvm-1.3.0.ebuild: - Marked ~ppc for bug #95007. - - 09 Apr 2005; Karl Trygve Kalleberg jamvm-1.2.4.ebuild, - jamvm-1.2.5.ebuild, jamvm-1.3.0.ebuild: - Added filter on -fomit-frame-pointer, which, apart from being a totally - useless 'speed optimization', also makes jamvm crash. Fixes #85313. - -*jamvm-1.3.0 (01 Apr 2005) - - 01 Apr 2005; Jan Brinkmann +jamvm-1.3.0.ebuild: - new upstream version, fixes #87529 - -*jamvm-1.2.5 (02 Mar 2005) - - 02 Mar 2005; Jan Brinkmann +jamvm-1.2.5.ebuild: - new upstream release, fixes #83855 - -*jamvm-1.2.4 (24 Jan 2005) - - 24 Jan 2005; Jan Brinkmann -jamvm-1.2.2.ebuild, - jamvm-1.2.3.ebuild, +jamvm-1.2.4.ebuild: - marked 1.2.3 stable on x86, removed old version. added new version, 1.2.4 - which fixes #79310. - -*jamvm-1.2.3 (07 Jan 2005) - - 07 Jan 2005; Jan Brinkmann +jamvm-1.2.3.ebuild: - new version released. fixes bug #77035. - -*jamvm-1.2.2 (23 Dec 2004) - - 23 Dec 2004; Karl Trygve Kalleberg jamvm-1.2.2.ebuild: - Initial import. Ebuild submitted by Robert Schuster . - Fixes #56571. diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest deleted file mode 100644 index 7aa2e6bb..00000000 --- a/dev-java/jamvm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jamvm-2.0.0.tar.gz 741459 SHA256 76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da SHA512 8ac27787ee94fa8fde962635d3c08d1dc1e5244c9d56bb693e73f3fd9b58e944ad3f7a0127afeed727d7c00d904a775d2c483157f5ac87e7eab6ecade1aad21d WHIRLPOOL 7e80be683fafb444cd417502b96089ce4f6879a049ca49e33691b4d5d6755814654ab4ed7626b666dd48f9d6101567b2a12de43b916055ea1d067c5d4df06443 diff --git a/dev-java/jamvm/files/classes-location.patch b/dev-java/jamvm/files/classes-location.patch deleted file mode 100644 index 6cf7611f..00000000 --- a/dev-java/jamvm/files/classes-location.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Nru jamvm-2.0.0.old/configure.ac jamvm-2.0.0/configure.ac ---- jamvm-2.0.0.old/configure.ac 2014-06-10 21:33:37.000000000 +0100 -+++ jamvm-2.0.0/configure.ac 2014-11-28 19:22:12.183091414 +0000 -@@ -236,6 +236,7 @@ - install_dir=$prefix - fi - AC_DEFINE_UNQUOTED(INSTALL_DIR, "$install_dir", [Installation directory (prefix)]) -+AC_DEFINE_UNQUOTED(PKGDATADIR, "$datadir/$PACKAGE", [Package data directory (pkgdatadir)]) - - AC_ARG_ENABLE(zip, - [AS_HELP_STRING(--disable-zip,turn-off zip support in the bootstrap loader)],,) -diff -Nru jamvm-2.0.0.old/src/classlib/gnuclasspath/class.c jamvm-2.0.0/src/classlib/gnuclasspath/class.c ---- jamvm-2.0.0.old/src/classlib/gnuclasspath/class.c 2012-05-17 22:01:47.000000000 +0100 -+++ jamvm-2.0.0/src/classlib/gnuclasspath/class.c 2014-11-28 19:23:27.312108240 +0000 -@@ -110,10 +110,10 @@ - separate class files in a directory structure */ - - #ifdef USE_ZIP --#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes.zip" -+#define JAMVM_CLASSES PKGDATADIR"/classes.zip" - #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath/glibj.zip" - #else --#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes" -+#define JAMVM_CLASSES PKGDATADIR"/classes" - #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath" - #endif - diff --git a/dev-java/jamvm/files/jamvm.env b/dev-java/jamvm/files/jamvm.env deleted file mode 100644 index 5eee6a9e..00000000 --- a/dev-java/jamvm/files/jamvm.env +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -VERSION="JamVM JDK @PV@" -JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/@PN@-jdk" -JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/@PN@-jdk" -BOOTCLASSPATH="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/@PN@/classes.zip:${JAVA_HOME}/lib/rt.jar" -JAVAC="${JAVA_HOME}/bin/javac" -PATH="${JAVA_HOME}/bin" -ROOTPATH="${JAVA_HOME}/bin" -PROVIDES_TYPE="JRE" -PROVIDES_VERSION="1.5" -GENERATION="2" -ENV_VARS="JAVA_HOME JAVAC PATH" -LDPATH="${JAVA_HOME}/lib" diff --git a/dev-java/jamvm/files/javac.in b/dev-java/jamvm/files/javac.in deleted file mode 100644 index 8eeda68c..00000000 --- a/dev-java/jamvm/files/javac.in +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/perl -w -use strict; -use constant NO_DUP_ARGS => qw(-source -target -d -encoding); -use constant STRIP_ARGS => qw(-Werror -implicit:none -J-Xbootclasspath/p:); - -my $ECJ_WARNINGS="-nowarn"; - -my ( @bcoption, @source15, @target15, @cp ); -push @bcoption, '-bootclasspath', '@RT_JAR@:@TOOLS_JAR@' - unless grep {$_ eq '-bootclasspath'} @ARGV; -push @source15, '-source', '1.5' - unless grep {$_ eq '-source'} @ARGV; -push @target15, '-target', '1.5' - unless grep {$_ eq '-target'} @ARGV; -push @cp, '-cp', '.' - unless grep {$_ =~ '\-c(p|lasspath)'} @ARGV or $ENV{CLASSPATH}; -my @ecj_parms = ($ECJ_WARNINGS, @bcoption, @source15, @target15, @cp); - -# Work around ecj's inability to handle duplicate command-line -# options and unknown javac options. -sub gen_ecj_opts -{ - my @new_args = @{$_[0]}; - - for my $opt (NO_DUP_ARGS) - { - my @indices = reverse grep {$new_args[$_] eq $opt} 0..$#new_args; - if (@indices > 1) { - shift @indices; # keep last instance only - splice @new_args, $_, 2 for @indices; - } - } - - for my $opt (STRIP_ARGS) - { - my @indices = reverse grep {$new_args[$_] eq $opt} 0..$#new_args; - splice @new_args, $_, 1 for @indices; - } - - return \@new_args; -} - -sub split_vm_args -{ - my @new_args = @{$_[0]}; - - my @vm_args = map { substr $_, 2 } grep $_ =~ /^-J/, @new_args; - my @javac_args = grep $_ !~ /^-J/, @new_args; - - return (\@vm_args, \@javac_args); -} - -my ($vm_args, $javac_args) = split_vm_args (gen_ecj_opts( \@ARGV )); -my @CLASSPATH = ('@ECJ_JAR@'); -push @CLASSPATH, split /:/, $ENV{"CLASSPATH"} if exists $ENV{"CLASSPATH"}; -$ENV{"CLASSPATH"} = join ':', @CLASSPATH; -exec '@JAVA@', @$vm_args, 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @$javac_args; diff --git a/dev-java/jamvm/files/noexecstack.patch b/dev-java/jamvm/files/noexecstack.patch deleted file mode 100644 index 2a0f14c7..00000000 --- a/dev-java/jamvm/files/noexecstack.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/src/os/linux/arm/callNative.S b/src/os/linux/arm/callNative.S -index 245afd1..1583023 100644 ---- a/src/os/linux/arm/callNative.S -+++ b/src/os/linux/arm/callNative.S -@@ -36,3 +36,7 @@ - #include "callNativeOABI.S" - #endif - #endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff --git a/src/os/linux/mips/callNative.S b/src/os/linux/mips/callNative.S -index cede343..90d9163 100644 ---- a/src/os/linux/mips/callNative.S -+++ b/src/os/linux/mips/callNative.S -@@ -184,3 +184,7 @@ return: - j $31 - .end callJNIMethod - #endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff --git a/src/os/linux/powerpc/callNative.S b/src/os/linux/powerpc/callNative.S -index aa47f6a..763dc0a 100644 ---- a/src/os/linux/powerpc/callNative.S -+++ b/src/os/linux/powerpc/callNative.S -@@ -281,3 +281,7 @@ return: - mr 1,11 - blr - #endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff --git a/src/os/linux/x86_64/callNative.S b/src/os/linux/x86_64/callNative.S -index 26404e6..9fb5cdf 100644 ---- a/src/os/linux/x86_64/callNative.S -+++ b/src/os/linux/x86_64/callNative.S -@@ -267,3 +267,7 @@ float_ret: - addq $8, %rcx - jmp return - #endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif diff --git a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild b/dev-java/jamvm/jamvm-2.0.0-r1.ebuild deleted file mode 100644 index 2e431766..00000000 --- a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils flag-o-matic multilib java-vm-2 autotools - -DESCRIPTION="An extremely small and specification-compliant virtual machine" -HOMEPAGE="http://jamvm.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="debug libffi" - -DEPEND="dev-java/gnu-classpath:0 - || ( dev-java/eclipse-ecj:* dev-java/ecj-gcj:* ) - libffi? ( virtual/libffi ) - ppc64? ( virtual/libffi ) - sparc? ( virtual/libffi )" -RDEPEND="${DEPEND}" - -PATCHES=( - # without this patch, classes.zip is not found at runtime - "${FILESDIR}/classes-location.patch" - "${FILESDIR}/noexecstack.patch" -) - -src_prepare() { - eapply_user - eautoreconf - - # These come precompiled. - # configure script uses detects the compiler - # from PATH. I guess we should compile this from source. - # Then just make sure not to hit - # https://bugs.gentoo.org/show_bug.cgi?id=163801 - # - #rm -v lib/classes.zip || die -} - -src_configure() { - filter-flags "-fomit-frame-pointer" - - if use ppc64 || use sparc || use libffi; then - append-cflags "$(pkg-config --cflags-only-I libffi)" - fi - - local fficonf="--enable-ffi" - if { ! use ppc64 && ! use sparc; }; then - fficonf="$(use_enable libffi ffi)" - fi - - econf ${fficonf} \ - --disable-dependency-tracking \ - $(use_enable debug trace) \ - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ - --includedir="${EPREFIX}"/usr/include/${PN} \ - --with-classpath-install-dir=/usr -} - -create_launcher() { - local script="${D}/${INSTALL_DIR}/bin/${1}" - cat > "${script}" <<-EOF - #!/bin/sh - exec /usr/bin/jamvm \ - -Xbootclasspath/p:/usr/share/classpath/tools.zip" \ - gnu.classpath.tools.${1}.Main "\$@" - EOF - chmod +x "${script}" -} - -src_install() { - local libdir=$(get_libdir) - local CLASSPATH_DIR=/usr/libexec/gnu-classpath - local JDK_DIR=/usr/${libdir}/${PN}-jdk - - emake DESTDIR="${D}" install - - dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README - - set_java_env "${FILESDIR}/${PN}.env" - - dodir ${JDK_DIR}/bin - dosym /usr/bin/jamvm ${JDK_DIR}/bin/java - for files in ${CLASSPATH_DIR}/g*; do - if [ $files = "${CLASSPATH_DIR}/bin/gjdoc" ] ; then - dosym $files ${JDK_DIR}/bin/javadoc || die - else - dosym $files \ - ${JDK_DIR}/bin/$(echo $files|sed "s#$(dirname $files)/g##") || die - fi - done - - dodir ${JDK_DIR}/jre/lib - dosym /usr/share/classpath/glibj.zip ${JDK_DIR}/jre/lib/rt.jar - dodir ${JDK_DIR}/lib - dosym /usr/share/classpath/tools.zip ${JDK_DIR}/lib/tools.jar - - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)" - exeinto ${JDK_DIR}/bin - cat "${FILESDIR}"/javac.in | sed -e "s#@JAVA@#/usr/bin/jamvm#" \ - -e "s#@ECJ_JAR@#${ecj_jar}#" \ - -e "s#@RT_JAR@#/usr/share/classpath/glibj.zip#" \ - -e "s#@TOOLS_JAR@#/usr/share/classpath/tools.zip#" \ - | newexe - javac - - local libarch="${ARCH}" - [ ${ARCH} == x86 ] && libarch="i386" - [ ${ARCH} == x86_64 ] && libarch="amd64" - dodir ${JDK_DIR}/jre/lib/${libarch}/client - dodir ${JDK_DIR}/jre/lib/${libarch}/server - dosym /usr/${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/client/libjvm.so - dosym /usr/${libdir}/${PN}/libjvm.so ${JDK_DIR}/jre/lib/${libarch}/server/libjvm.so - dosym /usr/${libdir}/classpath/libjawt.so ${JDK_DIR}/jre/lib/${libarch}/libjawt.so - - # Can't use java-vm_set-pax-markings as doesn't work with symbolic links - # Ensure a PaX header is created. - local pax_markings="C" - # Usally disabeling MPROTECT is sufficent. - local pax_markings+="m" - # On x86 for heap sizes over 700MB disable SEGMEXEC and PAGEEXEC as well. - use x86 && pax_markings+="sp" - - pax-mark ${pax_markings} "${ED}"/usr/bin/jamvm -} diff --git a/dev-java/jamvm/metadata.xml b/dev-java/jamvm/metadata.xml deleted file mode 100644 index 37998bf4..00000000 --- a/dev-java/jamvm/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - java@gentoo.org - Java - - -- cgit v1.2.3-65-gdbad