diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/mojarra |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/mojarra')
-rw-r--r-- | dev-java/mojarra/Manifest | 6 | ||||
-rw-r--r-- | dev-java/mojarra/files/mojarra-2.2.12-Util.java.patch | 25 | ||||
-rw-r--r-- | dev-java/mojarra/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/mojarra/mojarra-2.2.12-r1.ebuild | 54 |
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-java/mojarra/Manifest b/dev-java/mojarra/Manifest new file mode 100644 index 000000000000..58bfcddb01eb --- /dev/null +++ b/dev-java/mojarra/Manifest @@ -0,0 +1,6 @@ +AUX mojarra-2.2.12-Util.java.patch 1196 SHA256 d047c7c7f788d3898265e2824cad1b53d32d55b130d08e00338e6b45b5986b43 SHA512 b3f2f1fb0f7541eb5fae494d3a0f254553aaed7de2016f5bf8f4433e88ce9cfb59cae6d6e3e169040b77ba1ae9038beaaae2591610a71f0fc194ac6fba295732 WHIRLPOOL c3d68e52c8bd61766985130dfc5a6dcd2c2327b0a2b0abb0bae334d56102ad639ff53349303577cf91890da8c2455085b7e37645eb0bc9ba54dbfb4a05274275 +DIST javax.faces-2.2.12-sources.jar 3105808 SHA256 503c0a1c6a270429798a6507d477ee2114f0de5204c64d5660a11796c498ab61 SHA512 b2bc2ce38d72af38a4b2fdb5aec790600ca41a5d7f6340bf6be671a901c9fe664d50d9d13f021694e85e0e145a2031e2d8b61dd6d6ccebb544f2512a91ff670a WHIRLPOOL 98a5473c8c7841cf5baae4b879d2b0a9e1b64d3666b820aa7c1aeece43d3689fc8b93766c280906f19dd23d3e13436c6514b533a3d810bdb96e88d4d78666a87 +EBUILD mojarra-2.2.12-r1.ebuild 1238 SHA256 cacbb655a343b2eda07b986e30a8df32e7f2048362568bf478a7b1978a715009 SHA512 4453e29687ecd426d1df64e8e010ed4629d7ff9e6faeadbcb6daac24dfc578cd93192ab1e45443a83dfa94e5f144c2cb1fa6602be17bb3ccefbad8140526724f WHIRLPOOL 43eb78f5f8d26ff8676e614ae4f52d9da1ede2df1e22e8d4f246dfa393dbdd238ae414e6f450b3ce2713f9bfa6faff755b360a73c707dd7a033011cfa4bf8bc1 +MISC ChangeLog 4277 SHA256 1091317ab048643267bdefd5893651fa72e7b6ffacf7afcdcfeacf1bd7b22d33 SHA512 db47e22e8e24c7bacc2a74ecec4a88ebc5fd68936fe30cd9f993e2d1a303e250e59a5017472cca137a0a2bebccbe9f9e224a5cca4cc1b4ce75e07a279c245d05 WHIRLPOOL 8ec7e91d651c4ee3108e47cd9a2af0735845d4c6117803409ef3c3f30bbdac2cf2812b03841c606758e07f72d5b26bfa5fc60612682467cde9c7cf14c641d27d +MISC ChangeLog-2015 2077 SHA256 a5dee37b84fe8fe444278d3a27fe7ed3c51f963c4aff46614debe5174b977e81 SHA512 8a04f76dd36500b6d58e3206f4245f7ec973527f6333d65f3aaf00e2404c7cbdd25ca178158733c83f27c0ecffb38ff184379da899530afcd46938dbefd48565 WHIRLPOOL 697f1605fd4e1689fafeeecd857bad157048514ab5940ec566b9db7e19bf32b5e53b504d652b60d1202f38609e4cbb6fed18e2df82cab73e533215b94d420890 +MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705 diff --git a/dev-java/mojarra/files/mojarra-2.2.12-Util.java.patch b/dev-java/mojarra/files/mojarra-2.2.12-Util.java.patch new file mode 100644 index 000000000000..23033f652969 --- /dev/null +++ b/dev-java/mojarra/files/mojarra-2.2.12-Util.java.patch @@ -0,0 +1,25 @@ +--- src/com/sun/faces/util/Util.java.orig 2015-09-03 14:43:30.953486000 +0000 ++++ src/com/sun/faces/util/Util.java 2015-09-03 14:43:57.692486000 +0000 +@@ -354,13 +354,15 @@ + // as the same adapter in a standalone program works as one might expect. + // So, for now, if the classname starts with '[', then use Class.forName() + // to avoid CR 643419 and for all other cases, use ClassLoader.loadClass(). +- if (loader.getClass() == com.sun.faces.scripting.groovy.GroovyHelperImpl.MojarraGroovyClassLoader.class) { +- if (name.charAt(0) == '[') { +- return Class.forName(name, true, loader); +- } else { +- return loader.loadClass(name); +- } +- } ++ // ++ // Disable Groovy support. ++ // if (loader.getClass() == com.sun.faces.scripting.groovy.GroovyHelperImpl.MojarraGroovyClassLoader.class) { ++ // if (name.charAt(0) == '[') { ++ // return Class.forName(name, true, loader); ++ // } else { ++ // return loader.loadClass(name); ++ // } ++ // } + return Class.forName(name, true, loader); + } + diff --git a/dev-java/mojarra/metadata.xml b/dev-java/mojarra/metadata.xml new file mode 100644 index 000000000000..37998bf40746 --- /dev/null +++ b/dev-java/mojarra/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/mojarra/mojarra-2.2.12-r1.ebuild b/dev-java/mojarra/mojarra-2.2.12-r1.ebuild new file mode 100644 index 000000000000..735e0e7b91bc --- /dev/null +++ b/dev-java/mojarra/mojarra-2.2.12-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Project Mojarra - GlassFish's Implementation for JavaServer Faces API" +HOMEPAGE="https://javaserverfaces.dev.java.net/" +SRC_URI="https://maven.java.net/content/repositories/releases/org/glassfish/javax.faces/${PV}/javax.faces-${PV}-sources.jar" + +LICENSE="CDDL" +SLOT="2.2" +KEYWORDS="amd64 x86" + +IUSE="" + +CDEPEND="dev-java/glassfish-persistence:0 + dev-java/glassfish-ejb-api:0 + java-virtuals/servlet-api:3.0 + dev-java/tomcat-jstl-spec:0 + dev-java/tomcat-jstl-impl:0 + dev-java/validation-api:1.0 + dev-java/javax-inject:0 + dev-java/cdi-api:1.2" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${CDEPEND}" + +JAVA_SRC_DIR="src" + +JAVA_GENTOO_CLASSPATH=" + glassfish-persistence + glassfish-ejb-api + tomcat-jstl-spec + tomcat-jstl-impl + validation-api-1.0 + cdi-api-1.2 + servlet-api-3.0 + javax-inject +" + +java_prepare() { + mkdir src || die + mv * src + + # We *MUST* bump Groovy to 2.4 at some point + # to make this stuff work correctly. + rm -v src/com/sun/faces/scripting/groovy/GroovyHelperImpl.java || die + epatch "${FILESDIR}"/${P}-Util.java.patch +} |