diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-25 23:59:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-25 23:59:45 +0100 |
commit | 6243676c91946098c06d42bc87b5eb99aac40bf0 (patch) | |
tree | e6de308ba22148b4898b67b049c7f017ece8fea2 /dev-java/commons-vfs | |
parent | b987a550f067c3da93b0664cf1fdc8a624c0aa38 (diff) |
gentoo auto-resync : 25:04:2024 - 23:59:45
Diffstat (limited to 'dev-java/commons-vfs')
-rw-r--r-- | dev-java/commons-vfs/Manifest | 2 | ||||
-rw-r--r-- | dev-java/commons-vfs/commons-vfs-2.0-r4.ebuild | 56 | ||||
-rw-r--r-- | dev-java/commons-vfs/files/commons-vfs-2.0-utf8.patch | 13 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-java/commons-vfs/Manifest b/dev-java/commons-vfs/Manifest index 23bd6aa6ac87..c99173fce3b4 100644 --- a/dev-java/commons-vfs/Manifest +++ b/dev-java/commons-vfs/Manifest @@ -1,5 +1,7 @@ AUX commons-vfs-2.0-build.xml 14505 BLAKE2B adcdc22f6d65d5c98676bde1598d0cfe48c903aa919f0426a699051e6b2a3060a46f87ee33f26579de7b3cdf822f749712234dd1b6482130d3f195b77d606a1e SHA512 a8ec511906b80562ac3f8a8c791703ce06f6fd0861ea5a29684e60716a2dff67ec5f497e11959a3f989fcc538f6c3f6dfebfa0fdaeb316965a2c30ee50001eab AUX commons-vfs-2.0-incompatibility.patch 2323 BLAKE2B d14a91d06c0b831026260f348c17c82b2725ffcbe00125146f0268d0ec5a95e87175ed23e35143c73654cfa5b14a34930adf01a48f9fc8c280cb3233308f9a77 SHA512 46287b86d2ba9b6d1a9aa3fb90fc0a64724e3862cbb534bdea39c384d4733f037ebf764ea3e6a8ffaccabe343af99097cbe9ba5eb115fef5029757b78cd4e98d +AUX commons-vfs-2.0-utf8.patch 728 BLAKE2B 67d754b298b7613c0107e8e6c597660c31019679f251b58f67df12f872a619c01afb958fec04d144b230e1151a4437f3c2d7b92db9d94fa2f7cb45b1babf404a SHA512 e269c4d30c51107ddd183c2955be6da537b5b6d8efac763c39b13a4b1cf7b3018a3e8409358b09e3de0117ad6c79d533054337b9b92971c4d9bcb451d8d005c0 DIST commons-vfs-2.0-src.tar.gz 335255 BLAKE2B 01c8bba3340487672682af5c6b341ab1e8335070a9b711b5c85cca659854d05881a0ff10c4b168497e3a75867a7225740edc6e56019e55c499256401fb0a53c5 SHA512 433828b9eba73df14dbedaa4037e3da1c69bf1892553c1ae4d213ba864e4ee579e0c7799f39e3cb4ec087d7c9223f54442be46de9c4916d7b7ff8a51214d6346 EBUILD commons-vfs-2.0-r3.ebuild 1645 BLAKE2B 98a54b5e6859257fc5d1bf0535af224b593c6f0efb80b69eed54ccc38ae17c995e94841a8851547ec7e631750741c989091bf22393f97a7672f85aef96290c94 SHA512 24d0218f8548661663f96474a3a529d2c1978add24306ce3cd114900b769c815c8dc15226a7548ccbec2603a306036d82f22cef600a3114c66a54e6c8222f43f +EBUILD commons-vfs-2.0-r4.ebuild 1477 BLAKE2B 237bfd2d874204acb357b0623defb408f170d28fe91e40b5a6382d05c5f56e2dc8985cae8daca18a30f23c7c6af140981858fb0381f831b76826c049bf0f4bce SHA512 ca2329227d2b7b353cf0faaf6ceb233517c0994f899514b8afd3639f0be3a3d27deec548c14e83445a2020dd6a4def602a7d2ea96c19c706550bd89b4d1183fb MISC metadata.xml 523 BLAKE2B c4cba3c890c33ac78a1266a0127d5ff394be884b99d243bcd2eff5516abdb2aefe861f244ffa741b30211c3527be774b3c15ae86c93aee6caf9bc60fe2e7b2de SHA512 c647d90719e4581dfefbf7dfb215136ab94e0b25a069e222dbfe50e90c5ad06ac7052a0ccfc41d82ad423c3d0fe2e410b1473ffd396e833d5581e44176e2b233 diff --git a/dev-java/commons-vfs/commons-vfs-2.0-r4.ebuild b/dev-java/commons-vfs/commons-vfs-2.0-r4.ebuild new file mode 100644 index 000000000000..f2cbfd6d3ba5 --- /dev/null +++ b/dev-java/commons-vfs/commons-vfs-2.0-r4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A single API for accessing various different file systems" +HOMEPAGE="https://commons.apache.org/vfs/" +SRC_URI="https://archive.apache.org/dist/commons/vfs/source/${P}-src.tar.gz" +S="${WORKDIR}/${P}/core" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +CP_DEPEND=" + >=dev-java/ant-1.10.14-r3:0 + dev-java/commons-collections:0 + dev-java/commons-logging:0 + dev-java/commons-net:0 + dev-java/commons-httpclient:3 + dev-java/jackrabbit-webdav:0 + dev-java/jsch:0" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +PATCHES=( + "${FILESDIR}"/${P}-incompatibility.patch + "${FILESDIR}"/commons-vfs-2.0-utf8.patch +) + +JAVA_RESOURCE_DIRS="resources/src/main/java" +JAVA_SRC_DIR="src/main/java" + +# The build.xml is generated from maven and can't run the tests properly +# Use maven test to execute these manually but that means downloading deps from +# the internet. Also the tests need to login to some ftp servers and samba +# shares so I doubt they work for everyone. +#src_test() { +# ANT_TASKS="ant-junit" eant test +#} + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + mkdir resources || die + find src/main/java -type f ! -name '*.java' ! -name 'package.html' \ + | xargs cp --parent -t resources || die +} diff --git a/dev-java/commons-vfs/files/commons-vfs-2.0-utf8.patch b/dev-java/commons-vfs/files/commons-vfs-2.0-utf8.patch new file mode 100644 index 000000000000..199fb380c3cb --- /dev/null +++ b/dev-java/commons-vfs/files/commons-vfs-2.0-utf8.patch @@ -0,0 +1,13 @@ +diff --git a/src/main/java/org/apache/commons/vfs2/FileSystemManager.java b/src/main/java/org/apache/commons/vfs2/FileSystemManager.java +index bb8cc2a..1e26559 100644 +--- a/src/main/java/org/apache/commons/vfs2/FileSystemManager.java ++++ b/src/main/java/org/apache/commons/vfs2/FileSystemManager.java +@@ -98,7 +98,7 @@ public interface FileSystemManager + FileObject resolveFile(String name, FileSystemOptions fileSystemOptions) + throws FileSystemException; + +- /** § ++ /** + * Locates a file by name. The name is resolved as described + * <a href="#naming">above</a>. That is, the name can be either + * an absolute URI, an absolute file name, or a relative path to |