diff options
Diffstat (limited to 'dev-java/xmldb')
-rw-r--r-- | dev-java/xmldb/Manifest | 7 | ||||
-rw-r--r-- | dev-java/xmldb/files/xmldb-20011111-enum.patch | 15 | ||||
-rw-r--r-- | dev-java/xmldb/files/xmldb-20011111-unreachable.patch | 11 | ||||
-rw-r--r-- | dev-java/xmldb/metadata.xml | 17 | ||||
-rw-r--r-- | dev-java/xmldb/xmldb-20011111-r2.ebuild | 52 |
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-java/xmldb/Manifest b/dev-java/xmldb/Manifest new file mode 100644 index 000000000000..905ad3c067fe --- /dev/null +++ b/dev-java/xmldb/Manifest @@ -0,0 +1,7 @@ +AUX xmldb-20011111-enum.patch 618 SHA256 69afc365d37ab93e66419d12cd4b4cb41458c041f96ddfba48530232133d0b9a SHA512 5c9649f72dfdcdc054f11fdfd055b46e1b0d84949cedb1c29a8beafd05056c3a0206a38e3f022dfa83262f9a4a85b0cded7e3c899e207f51b31dc47cd2f0246f WHIRLPOOL 3d7379f58c2ddbfa4c6156db81e545071bddf3029c4db809c422f3447a696c841cadbc48d4ce97cadb45b5c05a248925b10a0e6e398f710dc71611dee695a2ed +AUX xmldb-20011111-unreachable.patch 301 SHA256 799a6caa3fa8288fd9360c678d30d0015a51815ea32353918ea92367366b4f32 SHA512 5cb8ee4323596b427fd15a1c0764ebdf377c7acc5a2111c17dc24b826965d61f4e576885dcceca600eb5dd850cee9a98c48f4b3fe5272f7f9d4558834e451786 WHIRLPOOL dd4b204b491841e2927f409c3f97b9ba06eba9df038f9caf1df6e7f15b9982eb2baac96582f9f8e5f4e61b9fc33c1c56241ca1a13fd059f07d3b29497e8c4c58 +DIST xmldb-api-11112001.tar.gz 36553 SHA256 9bf195503b6ce45d17e1953041c125602bc69e3f6812a031055d26ca558d1006 SHA512 20123801a57b5350ade4dc82aba5ba2492cfbbe2e0389aaba4b73cdd3a8d07981a895ec2318885358102e48644cdaa30a18996ab9315891e506506fbc25658a2 WHIRLPOOL b96742f2da55b3330c5554c103b9998a69138a71050e9b48b71926df2b41dc92c3449b9f75843e9ba03b16cd480d23b6d2db1d56b29ae39b55a062836047e014 +EBUILD xmldb-20011111-r2.ebuild 980 SHA256 cf1e4e69ede934eb2647f722e93468d9c91a3c157c26361e88ecf59f22d27029 SHA512 58eb339a42cd6e5ec413e4ffd826444862a54be859cd02fd5da816a8bfcfb85d93934a297ac25b7b5cb2fd3860912055ad17fbdd0fb49f855f23eaa69018cc42 WHIRLPOOL bda630dba4533e50a5cb0538ae0c412705f3d6b6d01695601c893b8f647f5450cc582376c605bb303e14a969c2a2eb3e6727468a079176a9f17abc756fae010d +MISC ChangeLog 2761 SHA256 09f71611e994517f281185644b6442842b15cd5889080eef8932a7f788229e99 SHA512 0cf67060aa84aba538c46860d09a78de7a57d29c1d682c0a49683088507d369b9f316a2d96a78fed35c6ae0cd19f2169275e545349d7cc0f04d9d68c024a21e5 WHIRLPOOL e8b2a1acf7fcec8a255b6582d9cb4b7660c4f563945f1d19787c8f9f2eb6bf491dee33ca3f5e13baa63105058f7bb038d5db551fcb32ab0ad75e4a2d4707a85c +MISC ChangeLog-2015 4569 SHA256 5c83d5a41f595cc3bff6541f67db486c15a5ecd36a7be249e3d07f29f09c8c08 SHA512 8771864adf1fe9461558c70d328bca70c25b333b8ac5d65b38c29318c3d11f29ff9effbdf4bf5a2f81a0c334d411363ba1f5b9a2c6b65e61057fb1e2e9670177 WHIRLPOOL 0da4610b4c14771f1d7fd76c24f7089db1370f33c00e284a2852ea2b6d6a073e2dff2fb609e0b0c34391fb01f8bbabb89678ed59f416cd847b4fdf1ff147fd16 +MISC metadata.xml 594 SHA256 6ba193f01c14e7bbdb6ca4edb67c2ddaa6b99a3d5482e70092080e2994a2e683 SHA512 7ef7cbbdfb0678d0cb201cf9d941ef1c539b7141b7378e9e3dbb80caddbfe27b04ec63c0e1b775760f1a46a6c66c606183d0c83eb9d6d5f086017c9ff9cd7bab WHIRLPOOL 8d92ee4581032c78269e8167b33d71b330c40af9318315b42b80d7e3d18f957ea9b3c037bb67bd1e2b3fb710a004a8b1ff2f1cc9cc821c44b7a5c967b12a4de0 diff --git a/dev-java/xmldb/files/xmldb-20011111-enum.patch b/dev-java/xmldb/files/xmldb-20011111-enum.patch new file mode 100644 index 000000000000..33a4b22b179f --- /dev/null +++ b/dev-java/xmldb/files/xmldb-20011111-enum.patch @@ -0,0 +1,15 @@ +--- a/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:05.540172602 +0000 ++++ b/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:22.860172942 +0000 +@@ -168,9 +168,9 @@ + } + } + +- Enumeration enum = namespaces.keys(); +- while ( enum.hasMoreElements() ) { +- String key = (String) enum.nextElement(); ++ Enumeration myEnum = namespaces.keys(); ++ while ( myEnum.hasMoreElements() ) { ++ String key = (String) myEnum.nextElement(); + newContent.append(" xmlns"); + if (key.length() > 0) { + newContent.append(":"); diff --git a/dev-java/xmldb/files/xmldb-20011111-unreachable.patch b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch new file mode 100644 index 000000000000..a0476158c550 --- /dev/null +++ b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch @@ -0,0 +1,11 @@ +--- a/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2002-01-30 04:46:43.000000000 -0500 ++++ b/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2005-06-26 21:37:59.000000000 -0400 +@@ -133,7 +133,7 @@ + } + } + +- return result;; ++ return result; + } + } + diff --git a/dev-java/xmldb/metadata.xml b/dev-java/xmldb/metadata.xml new file mode 100644 index 000000000000..eacb98ec28e9 --- /dev/null +++ b/dev-java/xmldb/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <longdescription> +XML:DB provides a community for collaborative development of specifications +for XML databases and data manipulation technologies. Along with each +specification an open source reference implementation will be developed to +validate the ideas. +</longdescription> + <upstream> + <remote-id type="sourceforge">xmldb-org</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/xmldb/xmldb-20011111-r2.ebuild b/dev-java/xmldb/xmldb-20011111-r2.ebuild new file mode 100644 index 000000000000..23f0175616e3 --- /dev/null +++ b/dev-java/xmldb/xmldb-20011111-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="${PN}-api" +MY_PV="11112001" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="XML:DB Java library" +HOMEPAGE="https://sourceforge.net/projects/xmldb-org/" +SRC_URI="mirror://sourceforge/xmldb-org/${MY_P}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +CDEPEND=" + dev-java/xalan:0 + dev-java/xerces:2" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${PN}" + +JAVA_GENTOO_CLASSPATH=" + xalan + xerces-2 +" + +PATCHES=( + "${FILESDIR}/${P}-enum.patch" + "${FILESDIR}/${P}-unreachable.patch" +) + +src_prepare() { + default + java-pkg_clean + + # Must hard-depend on dev-java/junit otherwise. + rm -rv org/xmldb/api/tests || die +} |