From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/commons-net/Manifest | 6 + dev-java/commons-net/commons-net-3.2.ebuild | 40 +++ .../commons-net/files/commons-net-3.2-build.xml | 285 +++++++++++++++++++++ dev-java/commons-net/metadata.xml | 8 + 4 files changed, 339 insertions(+) create mode 100644 dev-java/commons-net/Manifest create mode 100644 dev-java/commons-net/commons-net-3.2.ebuild create mode 100644 dev-java/commons-net/files/commons-net-3.2-build.xml create mode 100644 dev-java/commons-net/metadata.xml (limited to 'dev-java/commons-net') diff --git a/dev-java/commons-net/Manifest b/dev-java/commons-net/Manifest new file mode 100644 index 000000000000..2e51f90a90dd --- /dev/null +++ b/dev-java/commons-net/Manifest @@ -0,0 +1,6 @@ +AUX commons-net-3.2-build.xml 12390 SHA256 e4633c2bda2bfbe65780e261644eef8410cdc1edd2a7373cb78344a21796acda SHA512 e4784b083ce86b5a22d5bfba0b0d71d811abf55f8375b9982f5ac1b11bb93f4be15ec0ff4bcb8cac58681a68a03cd6b598c998251097e9bf634674712887bdbe WHIRLPOOL 77c848804f0cb1ab1b76358fb82fcc5dd3e3595e64c7773798015aeb814e2487b0260cc02dfdd9efc877050f443c66d498600d99d11fbe98a98751898ebf3302 +DIST commons-net-3.2-src.tar.gz 378351 SHA256 f9fd207a28dc357a6a515c69fb83009836b7426d6c25095d70148a6cea7d1df1 SHA512 2152b0c524320702c336b21308bb8166e00487938430b83e08d65b836ab775c372c9251957c674e0bccff6815fc3ed3bdb7113a0d2a140c53f64c2f557eef2ba WHIRLPOOL 45b80205a519795652dc6708c85b1ebe52172e9c8ffe7e01a581cd6e9ebfb4a57cdb43bba30a6b25720c72c4bbce6eda8892fe272baad6b120d6231a05c41bf2 +EBUILD commons-net-3.2.ebuild 1270 SHA256 bb881e6cfc33d9134cda04c5e22777f98f2079bdac93a3790966378264cde474 SHA512 86cb4cbc2c57a8280af40b66a3037206d31100cb48f5c9cf4b1889dfa6de2d624007f2a4581e3a266cbab878e7cf83ca0585a338267690e3206279c732fa75a6 WHIRLPOOL a5a5b84bf9af091a488699a00d91aa26517701c4ff093f8e337529a368dea77a88d4a7345d35d000c05a96493167d463f5fd379a17abd7b79dda3b770043796b +MISC ChangeLog 3085 SHA256 9339114cc47e295abb289a5bada182291dec4a7ce5c8f6c64f5c9468fbbe4122 SHA512 58f4507113b3a25acc0240e5478687e49c767140dde1f9786f495a92be5ec79aca17a1e0daa86a18f545ffe16ffdb18f1316c3547aaf9974333c06961f57478b WHIRLPOOL e91895b0660554ee454726f60cd99b6c368225393d19f4ef8d24446db20bce076a48fc4785f2c92c32f406edf20a07889efdf2cfc8803c22817033011807ff24 +MISC ChangeLog-2015 7083 SHA256 458630c9d89f63a83c2619275528608e2f42f0038712ea31d8584b78c251e526 SHA512 c2ac2c0c4e313645c69f90b319374dae40c33cf829d5c650fb3dae42b4f140669873fd3c1681dd334e733b23f2e22ceaddd4a4dd97faa1e93d8e6c8548995ebc WHIRLPOOL 3b27acfe7db1847a1ccce25593b812a212df7b6535e8d133da970f29a2e5fbf009d617871a9f972a5916a8ab93f982f70a2692745a70adc490ef535db02aeab8 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/commons-net/commons-net-3.2.ebuild b/dev-java/commons-net/commons-net-3.2.ebuild new file mode 100644 index 000000000000..31c7dfd4180f --- /dev/null +++ b/dev-java/commons-net/commons-net-3.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +# http://issues.apache.org/bugzilla/show_bug.cgi?id=37985 +RESTRICT="test" +JAVA_PKG_IUSE="doc examples source" # test + +inherit eutils java-pkg-2 java-ant-2 java-osgi + +MY_P="${P}-src" + +DESCRIPTION="Java library emulating the client side of many basic Internet protocols" +HOMEPAGE="http://commons.apache.org/net/" +SRC_URI="mirror://apache/commons/net/source/${MY_P}.tar.gz" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/depends="compile,test"/depends="compile"/' build.xml || die "Failed to disable junit" + sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die + sed -i '/name="Main-Class"/d' build.xml || die +} + +src_install() { + java-osgi_newjar target/${P}.jar ${P} ${P} "Export-Package: ${P}" + + use doc && java-pkg_dojavadoc target/site/apidocs + use examples && java-pkg_doexamples src/main/java/examples + use source && java-pkg_dosrc src/main/java/org +} diff --git a/dev-java/commons-net/files/commons-net-3.2-build.xml b/dev-java/commons-net/files/commons-net-3.2-build.xml new file mode 100644 index 000000000000..72cdd404df11 --- /dev/null +++ b/dev-java/commons-net/files/commons-net-3.2-build.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/commons-net/metadata.xml b/dev-java/commons-net/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/commons-net/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3