diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-java/freemarker | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/freemarker')
-rw-r--r-- | dev-java/freemarker/Manifest | 8 | ||||
-rw-r--r-- | dev-java/freemarker/files/build.xml.patch | 60 | ||||
-rw-r--r-- | dev-java/freemarker/files/freemarker-2.3.13-PyJavaInstance.patch | 22 | ||||
-rw-r--r-- | dev-java/freemarker/files/freemarker-2.3.13-gentoo.patch | 126 | ||||
-rw-r--r-- | dev-java/freemarker/freemarker-2.3.13-r2.ebuild | 84 | ||||
-rw-r--r-- | dev-java/freemarker/freemarker-2.3.25.ebuild | 69 | ||||
-rw-r--r-- | dev-java/freemarker/metadata.xml | 12 |
7 files changed, 0 insertions, 381 deletions
diff --git a/dev-java/freemarker/Manifest b/dev-java/freemarker/Manifest deleted file mode 100644 index 5535caf07f36..000000000000 --- a/dev-java/freemarker/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX build.xml.patch 2160 BLAKE2B 15221b65f00871e3e01b30b735d9ac3498644eb5570e4d8ac5e75ad4dc995719f40832fe9a58fa367aee8a8a2a0d854ea99370cd1def119c30371c3f503b2a69 SHA512 ae01462ed0a8fc61fc6e34b99b536bf7d36da73744a070ad63f555af07de5dec3a0926b97fc984ab481db7b7c8807db53998f83e17a5717e805c87a49047731a -AUX freemarker-2.3.13-PyJavaInstance.patch 1064 BLAKE2B 32940a4d64336e1a81a86f5190082c451acd96ef6e24f70cc5adcf59de1ee09c5c62293825fb29a36ae7ee697cb9f355198d426bccd702fe0fe6ea833c629499 SHA512 f53d2ab9818b9851200feaa2b346a877e893b90685926a451eadaaa6fef40de571a67b7b167e56facde077ff295db9ef9adafcd3409663216d27730a61e212df -AUX freemarker-2.3.13-gentoo.patch 5228 BLAKE2B dc1b63c39247f0c289be0a12c20623feedd424925d2aa6b29fdac133c9e7bc5fd450b24133a9585a3f4b9a45344937ea3a184ba7cef13a4e6b4ca71ded3bd661 SHA512 857762085428fc094522d03a39b57a2fc74c1f7d57afe260383d04caeceea9fc30a5ab45d3a1039a30d8b18597c6b0500a0b998bbacfe746bdfb0902e96c8fbd -DIST freemarker-2.3.13.tar.gz 2136791 BLAKE2B 6947d99fdca76ad9d38d57f5b982ba63b2b831c026dd5e65af5ea7c9aa816d01d0b477cc46cb6be6a8204953d73464dfc639d134191a72afc43cd4c7e936eaff SHA512 9216bc97e74779617ec91916842185472c3cfd4c5625168ddd2f4404237767df44c62d8308af8bed0ab10d72c8835c97daab7fbc1efa80c3e01c861dd334ec3b -DIST freemarker-2.3.25.tar.gz 1873971 BLAKE2B 52c64938c67ac0303b07f4aa74c3fc7ccc0be68bd37a7c6c663ac0849acc9f2236d1028abb377efa6fdb518840b1961e71c1a02a37388864f9be14b3b443f28a SHA512 32a41a73a2f71a4e0ae8829da2c09e07204aa2b4a6899e2c7a3db0bde5d3e129ec7b44b7299a20165d7eb88f4f7d1bd9f0b7a1fd116dc11493134bec2306d1ac -EBUILD freemarker-2.3.13-r2.ebuild 1894 BLAKE2B 4c407e0a16470917d47299cc8ead8ee50d2399a8d6b29256fe3682c560f324e17dac62a28aa90fc682c4e5867eb1b97fa6079f11d6b1badf0cb69aca821f2233 SHA512 a50758e63ea0a2a6a4c2968b56c485cbcd02885176afd6871355579346cefa569a59821e65594dfdf756ff5a1db3e289cba3cb713760f128cc34db99f68c8530 -EBUILD freemarker-2.3.25.ebuild 1526 BLAKE2B 59605716f6bf090c64a9a3431a21e1d2673cee88a768cac0f8980e74343242b1762baf13e50cd4efe6cc1ff5b430f6b1077a3a27a80382bd69841002015ff635 SHA512 43e7d9debfcd4096823b6e2076997b55a3b9a644578e52c0a30c0581dd34f1eb7b333740663165cad5f25d2ae6912c0cf1f85bd0d46437956bc1394125bb619e -MISC metadata.xml 383 BLAKE2B 37aff0d8a54a89b0cc78ccc0b9f09b86c1cd91f6759511711124cb805bcc61b682111a6664c8ea03d701ad92a0eb72a4108e09bad1a33a4c5dde3d7ed4f1b646 SHA512 2b6f5f22ae11f25aac3cbf3a2c3f3161ab391b932740d964b41bb84d24f54d12a8fa60f11502571b30d5100bd7fc578d82939de0ae7d1bef0d22df910edfed2c diff --git a/dev-java/freemarker/files/build.xml.patch b/dev-java/freemarker/files/build.xml.patch deleted file mode 100644 index 33701f89175d..000000000000 --- a/dev-java/freemarker/files/build.xml.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Naur a/build.xml b/build.xml ---- a/build.xml 2016-06-14 19:48:01.000000000 +0100 -+++ b/build.xml 2016-12-22 22:41:41.988262564 +0000 -@@ -27,6 +27,10 @@ - xmlns:u="http://freemarker.org/util" - > - -+ <path id="gentoo.classpath"> -+ <pathelement path="${gentoo.classpath}/"/> -+ </path> -+ - <!-- ================================================================== --> - <!-- Properties --> - <!-- ================================================================== --> -@@ -143,13 +147,11 @@ - /> - - <mkdir dir="${_javaccOutputDir}" /> -- <ivy:retrieve conf="parser" pattern="build/javacc-home.tmp/[artifact].[ext]" /> - <javacc:generate - target="src/main/javacc/FTL.jj" - outputdirectory="${_javaccOutputDir}" - javacchome="build/javacc-home.tmp" - /> -- <delete dir="build/javacc-home.tmp" /> - - <replace - file="${_javaccOutputDir}/FMParser.java" -@@ -271,6 +273,7 @@ - verify="yes" stubversion="1.2" - /> - -+<!-- - <ivy:cachepath conf="build.jsp2.0" pathid="ivy.dep.jsp2.0" /> - <javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off" - debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8" -@@ -286,6 +289,7 @@ - freemarker/ext/jsp/FreeMarkerJspFactory21.java, - freemarker/ext/jsp/FreeMarkerJspApplicationContext.java" - /> -+!--> - - <!-- There's no build.jsp2.0, as those classes are part of the common build subset. --> - -@@ -301,6 +305,7 @@ - freemarker/ext/jsp/FreeMarkerJspApplicationContext.java" - /> - -+<!-- - <ivy:cachepath conf="build.jython2.0" pathid="ivy.dep.jython2.0" /> - <javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off" - debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8" -@@ -325,6 +330,7 @@ - includes=" - freemarker/ext/jython/_Jython22VersionAdapter.java" - /> -+!--> - - <ivy:cachepath conf="build.jython2.5" pathid="ivy.dep.jython2.5" /> - <javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off" diff --git a/dev-java/freemarker/files/freemarker-2.3.13-PyJavaInstance.patch b/dev-java/freemarker/files/freemarker-2.3.13-PyJavaInstance.patch deleted file mode 100644 index b0544d170b15..000000000000 --- a/dev-java/freemarker/files/freemarker-2.3.13-PyJavaInstance.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/freemarker/ext/jython/JythonModelCache.java.orig 2015-07-05 08:47:07.035000000 +0000 -+++ src/freemarker/ext/jython/JythonModelCache.java 2015-07-05 08:49:31.157000000 +0000 -@@ -10,7 +10,7 @@ - import org.python.core.PyDictionary;
- import org.python.core.PyFloat;
- import org.python.core.PyInteger;
--import org.python.core.PyJavaInstance;
-+import org.python.core.PyJavaType;
- import org.python.core.PyLong;
- import org.python.core.PyNone;
- import org.python.core.PyObject;
-@@ -37,8 +37,8 @@ - protected TemplateModel create(Object obj) {
- boolean asHash = false;
- boolean asSequence = false;
-- if(obj instanceof PyJavaInstance) {
-- Object jobj = ((PyJavaInstance)obj).__tojava__(java.lang.Object.class);
-+ if(obj instanceof PyJavaType) {
-+ Object jobj = PyJavaType.wrapJavaObject(obj).__tojava__(Object.class);
- // FreeMarker-aware, Jython-wrapped Java objects are left intact
- if(jobj instanceof TemplateModel) {
- return (TemplateModel)jobj;
diff --git a/dev-java/freemarker/files/freemarker-2.3.13-gentoo.patch b/dev-java/freemarker/files/freemarker-2.3.13-gentoo.patch deleted file mode 100644 index 9eca29a827ad..000000000000 --- a/dev-java/freemarker/files/freemarker-2.3.13-gentoo.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -Nru freemarker-2.3.13.vanilla/build.xml freemarker-2.3.13/build.xml ---- freemarker-2.3.13.vanilla/build.xml 2008-06-21 00:46:08.000000000 +0200 -+++ freemarker-2.3.13/build.xml 2008-06-21 00:46:48.000000000 +0200 -@@ -69,21 +69,28 @@ - <pathelement path="${lib.log4j}"/> - <pathelement path="${lib.rhino}"/> - <pathelement path="${java.class.path}"/> -+ <fileset dir="lib" includes="*.jar"/> - </path> - - <path id="compile.classpath"> - <path refid="compile.nojsp.classpath"/> - <pathelement path="${lib.jsp21}"/> -+ <fileset dir="lib" includes="*.jar"/> -+ <fileset dir="lib/jsp-2.1" includes="*.jar"/> - </path> - - <path id="compile.jsp1.classpath"> - <path refid="compile.nojsp.classpath"/> - <pathelement path="${lib.jsp12}"/> -+ <fileset dir="lib" includes="*.jar"/> -+ <fileset dir="lib/jsp-1.2" includes="*.jar"/> - </path> - - <path id="compile.jsp2.classpath"> - <path refid="compile.nojsp.classpath"/> - <pathelement path="${lib.jsp20}"/> -+ <fileset dir="lib" includes="*.jar"/> -+ <fileset dir="lib/jsp-2.0" includes="*.jar"/> - </path> - - <path id="compile.classpath.testcases"> -@@ -92,6 +99,7 @@ - <pathelement path="${lib.jdom}"/> - <pathelement path="${lib.servlet}"/> - <pathelement path="${lib.jsp20}"/> -+ <fileset dir="lib" includes="*.jar"/> - </path> - - <path id="compile.classpath.javadoc"> -@@ -110,12 +118,14 @@ - <pathelement path="${src.dir}"/> - <pathelement path="${build.javacc.dir}"/> - <pathelement path="${java.class.path}"/> -+ <fileset dir="lib" includes="*.jar"/> - </path> - - <path id="compile.classpath.examples"> - <pathelement path="${lib.servlet}"/> - <pathelement path="${lib.dir}/freemarker.jar"/> - <pathelement path="${lib.struts}"/> -+ <fileset dir="lib" includes="*.jar"/> - </path> - - <path id="full.classpath"> -@@ -131,6 +141,7 @@ - <pathelement path="${lib.logkit}"/> - <pathelement path="${lib.log4j}"/> - <pathelement path="${java.class.path}"/> -+ <fileset dir="lib" includes="*.jar"/> - </path> - - -@@ -180,7 +191,6 @@ - - <patternset id="freemarker.compile.jdk15"> - <include name="freemarker/ext/beans/EnumModels.java"/> -- <include name="freemarker/ext/dom/SunInternalXalanXPathSupport.java"/>
- </patternset> - - <patternset id="freemarker.compile.xalan"> -@@ -311,7 +321,6 @@ - <available file="lib/xalan.jar"/>
- </and> - </condition> -- <antcall target="fetchlibs"/> - <available - property="log4j.available" - classname="org.apache.log4j.Logger" -diff -Nru freemarker-2.3.13.vanilla/src/freemarker/ext/jsp/FreeMarkerPageContext21.java freemarker-2.3.13/src/freemarker/ext/jsp/FreeMarkerPageContext21.java ---- freemarker-2.3.13.vanilla/src/freemarker/ext/jsp/FreeMarkerPageContext21.java 2008-06-21 00:46:08.000000000 +0200 -+++ freemarker-2.3.13/src/freemarker/ext/jsp/FreeMarkerPageContext21.java 2008-06-21 00:46:12.000000000 +0200 -@@ -2,11 +2,13 @@ - - import java.security.AccessController; - import java.security.PrivilegedAction; -+import java.util.Enumeration; - - import javax.el.ELContext; - import javax.servlet.jsp.JspApplicationContext; - import javax.servlet.jsp.JspContext; - import javax.servlet.jsp.JspFactory; -+import javax.servlet.jsp.ErrorData; - import javax.servlet.jsp.PageContext; - import javax.servlet.jsp.el.ELException; - import javax.servlet.jsp.el.ExpressionEvaluator; -@@ -24,6 +26,9 @@ - class FreeMarkerPageContext21 extends FreeMarkerPageContext { - private static final Logger logger = Logger.getLogger("freemarker.jsp"); - -+ public ErrorData getErrorData() { return null; } -+ public Enumeration getAttributeNames() { return getServletContext().getAttributeNames(); } -+ - static { - if(JspFactory.getDefaultFactory() == null) { - JspFactory.setDefaultFactory(new FreeMarkerJspFactory21()); -diff -Nru freemarker-2.3.13.vanilla/src/freemarker/ext/jython/JythonHashModel.java freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java ---- freemarker-2.3.13.vanilla/src/freemarker/ext/jython/JythonHashModel.java 2008-06-21 00:46:08.000000000 +0200 -+++ freemarker-2.3.13/src/freemarker/ext/jython/JythonHashModel.java 2008-06-21 00:46:12.000000000 +0200 -@@ -137,7 +137,7 @@ - { - throw new TemplateModelException(e); - } -- throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.__class__.__name__); -+ throw new TemplateModelException("'?keys' is not supported as there is no 'keys' nor 'keySet' attribute on an instance of " + object.getType()); - } - - /** -@@ -157,6 +157,6 @@ - { - throw new TemplateModelException(e); - } -- throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.__class__.__name__); -+ throw new TemplateModelException("'?values' is not supported as there is no 'values' attribute on an instance of " + object.getType()); - } - } diff --git a/dev-java/freemarker/freemarker-2.3.13-r2.ebuild b/dev-java/freemarker/freemarker-2.3.13-r2.ebuild deleted file mode 100644 index 857f5d7c8520..000000000000 --- a/dev-java/freemarker/freemarker-2.3.13-r2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" -WANT_ANT_TASKS="ant-nodeps" - -inherit java-pkg-2 java-ant-2 eutils - -DESCRIPTION="FreeMarker is a tool to generate text output based on templates" -HOMEPAGE="http://freemarker.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="freemarker" -SLOT="2.3" -KEYWORDS="amd64 x86" -IUSE="" - -CDEPEND="dev-java/jython:2.7 - java-virtuals/servlet-api:2.3 - java-virtuals/servlet-api:2.4 - java-virtuals/servlet-api:2.5 - dev-java/jaxen:1.1 - dev-java/juel:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - dev-java/javacc:0" - -# [0]: Patch so that we can compile the package -# against Jython-2.7. -# [1]: Gentoo specific stuff. -PATCHES=( - "${FILESDIR}"/${P}-PyJavaInstance.patch - "${FILESDIR}"/${P}-gentoo.patch -) - -java_prepare() { - # Do away with bundled jar files. - java-pkg_clean - - # Apply patches. - epatch "${PATCHES[@]}" - - # Weed out comments (some contain UTF-8 chars javac cannnot deal with). - sed -i -e '/*/d;' \ - src/freemarker/template/LocalizedString.java - - # For ecj-3.5. - java-ant_rewrite-bootclasspath auto -} - -src_compile() { - # BIG FAT WARNING: - # clean target removes lib/ directory!! - eant clean - - mkdir -p lib/jsp-{1.2,2.0,2.1} || die - pushd lib >/dev/null || die - java-pkg_jar-from --virtual --into jsp-1.2 servlet-api-2.3 - java-pkg_jar-from --virtual --into jsp-2.0 servlet-api-2.4 - java-pkg_jar-from --virtual --into jsp-2.1 servlet-api-2.5 - java-pkg_jar-from jaxen-1.1 - java-pkg_jar-from jython-2.7 - java-pkg_jar-from --build-only javacc - java-pkg_jar-from juel - popd >/dev/null - - eant jar $(use_doc) -Djavacc.home=/usr/share/javacc/lib -} - -src_install() { - java-pkg_dojar "lib/${PN}.jar" - dodoc README.txt - - use doc && java-pkg_dojavadoc build/api - use source && java-pkg_dosrc src/* -} diff --git a/dev-java/freemarker/freemarker-2.3.25.ebuild b/dev-java/freemarker/freemarker-2.3.25.ebuild deleted file mode 100644 index cb9e781667ba..000000000000 --- a/dev-java/freemarker/freemarker-2.3.25.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="incubator-${PN}" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="A Java tool to generate text output based on templates" -HOMEPAGE="http://freemarker.org/" -SRC_URI="https://github.com/apache/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="2.3" -KEYWORDS="~amd64 ~x86" - -CP_DEPEND="dev-java/avalon-logkit:2.0 - dev-java/commons-logging:0 - dev-java/dom4j:1 - dev-java/jaxen:1.1 - dev-java/jython:2.7 - dev-java/log4j:0 - dev-java/rhino:1.6 - dev-java/slf4j-api:0 - dev-java/xalan:0 - java-virtuals/servlet-api:2.5" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.7" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.7 - dev-java/javacc:0" - -S="${WORKDIR}/${MY_PN}-${PV}" - -PATCHES=( - "${FILESDIR}"/build.xml.patch -) - -EANT_BUILD_TARGET="compile" -EANT_EXTRA_ARGS="-Ddeps.available=true" -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_prepare() { - default - - rm -rv \ - src/main/java/freemarker/ext/jdom \ - src/main/java/freemarker/ext/xml/_JdomNavigator.java \ - src/main/java/freemarker/ext/beans/JRebelClassChangeNotifier.java || die - - sed -i \ - -e '/<ivy:cachepath/d' \ - -e 's/"ivy\.dep[^"]*"/"gentoo.classpath"/g' \ - -e "s:javacchome=\"[^\"]*\":javacchome=\"${EROOT}usr/share/javacc/lib\":g" \ - build.xml || die - - java-pkg-2_src_prepare -} - -src_install() { - jar cf ${PN}.jar -C build/classes . || die - java-pkg_dojar ${PN}.jar - - dodoc README - use doc && java-pkg_dojavadoc build/api -} diff --git a/dev-java/freemarker/metadata.xml b/dev-java/freemarker/metadata.xml deleted file mode 100644 index 62aedeea4e53..000000000000 --- a/dev-java/freemarker/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> - <upstream> - <remote-id type="sourceforge">freemarker</remote-id> - <remote-id type="github">apache/incubator-freemarker</remote-id> - </upstream> -</pkgmetadata> |