diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/dnsjava | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/dnsjava')
-rw-r--r-- | dev-java/dnsjava/Manifest | 8 | ||||
-rw-r--r-- | dev-java/dnsjava/dnsjava-2.1.6.ebuild | 49 | ||||
-rw-r--r-- | dev-java/dnsjava/dnsjava-2.1.7.ebuild | 49 | ||||
-rw-r--r-- | dev-java/dnsjava/dnsjava-2.1.8.ebuild | 50 | ||||
-rw-r--r-- | dev-java/dnsjava/files/2.1.6-no-network-tests.patch | 44 | ||||
-rw-r--r-- | dev-java/dnsjava/metadata.xml | 18 |
6 files changed, 218 insertions, 0 deletions
diff --git a/dev-java/dnsjava/Manifest b/dev-java/dnsjava/Manifest new file mode 100644 index 000000000000..d14154474da0 --- /dev/null +++ b/dev-java/dnsjava/Manifest @@ -0,0 +1,8 @@ +AUX 2.1.6-no-network-tests.patch 1354 BLAKE2B 3990543ea76ae8c2a485b6444e75ceff4abcb7eebb400eabb04b9ccd21560649478a54586c65bd97a4372c2d861d2f2064f2de6e2b3cb48dbdfde0864dd76d58 SHA512 3170ab2f64fdddff5fba26d32b0ce43f08fbef333e14ad1e1b7490e0227cd549febac4506ac5536d96f7f9316ea92d333fb5aee2f82131f90a922e52571ec1d0 +DIST dnsjava-2.1.6.tar.gz 1087908 BLAKE2B af9edda95d8cdd9c02b39c5a86646efc85cef576361d4ab765ce65d8b6e20621bcbdc9e32327f8ae1a3e2cbb83e60d61736ce9d71ae3bd091b0fca306727e158 SHA512 0d30504190aabbb176cc914834eb26a2f5522741c4473dbbf32f16e1d62fe39cf244a3ddd543b88d3a1e595afa9c6509e42d1418205677aa6523c6d11c49f497 +DIST dnsjava-2.1.7.tar.gz 1078980 BLAKE2B 16fd027c6f46463d6b4322bcf88943a3f06186d853a7e5615b8829d93aee897dca489dec00d61af857d58df566905c559e1c8d9922f5592ef2146bc715dc9b0b SHA512 07b11b94833f4a6f5d9bd8e0265444f15704eeba6420b2fa2c4efef46823c2768e8e691d6b101bb6d1ed9ebda1e55dbf518f447d62eb686fdd583c281313afdd +DIST dnsjava-2.1.8.tar.gz 460532 BLAKE2B 761e99643710aca3aebc50972504284c388685dee12b3fc1fcbe6e4a8698762833dab725ff61395aee2b0292d0f71004eb2247c899c87d01dcc938e4283d31c1 SHA512 d38be6d52b275906b66468cd375ebd46c0d669de2fd06a50253631589a7dd6fbf4e92d4b20778dacd9f19cd489df013e4d42bc16c935581dcaa370ac9ce3c55b +EBUILD dnsjava-2.1.6.ebuild 969 BLAKE2B af4539556594c58b087a0ac80b72ab06bd385a4964693458e9fa96d4e51e186a758b936d60c3bb79c7a6481f749f79a0a368742cab5cac111df63b6c989b6849 SHA512 e870857f8efd9d839c7ed23d3361b8b7106a309fddd1c25229249044f90e5d1258531788a9b64b33ea28c3405fc239d5273afed4c2cc636b5a91897f03edd43d +EBUILD dnsjava-2.1.7.ebuild 947 BLAKE2B 2efeb06a288649571c3169350188d44e4017b267ac58ba4980408512152b1cee3f8722c3a3c9373695bb8933b6e52062776554a7564f69b92b45798c85740aad SHA512 c397ce0f0562fc2a9a6e7bded5976a1e670ebbb752e3f1f892a90bd5669d17732e1016b9ae1dde3c4e6430f1f283096c5951ab462494d65e1e8bf6c0de66267a +EBUILD dnsjava-2.1.8.ebuild 946 BLAKE2B 5d495bbdb2d6479cb3dc581708f1e164403a9aa72a7658aed803876dff462c37a2d065726d559bee02bb9b75a1defde04c9bc27a8b4b2c3600283f4d452fe4d4 SHA512 cb50f8513144de9bba8ac760b637edff739775c75b25de0a0daa1d94d4dd24c7286e17c3932577bf5e8ac14a2e2825d50057a035c69c333a41ec92848dfcfe42 +MISC metadata.xml 765 BLAKE2B 106c05f7c8b1f594e668610ed2e244c395868461cb3cb9908c3956861388a5f37c62363b008c9c1e626b0b191914fe2fa0a03fa8d99dacc4bb7253f9a12b6a74 SHA512 800c2681a0c1fcdfa661d1c1ad996367f88f725e32dac8994b24b3ebd51dad3544c70ddfb009561f7987780cb4237809de3fd58bb642fdd8e1bcd20e239cfdda diff --git a/dev-java/dnsjava/dnsjava-2.1.6.ebuild b/dev-java/dnsjava/dnsjava-2.1.6.ebuild new file mode 100644 index 000000000000..b40db04e30e0 --- /dev/null +++ b/dev-java/dnsjava/dnsjava-2.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="An implementation of DNS in Java" +HOMEPAGE="http://www.dnsjava.org/" +SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="docs" +EANT_TEST_TARGET="run_tests" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_TEST_GENTOO_CLASSPATH="junit" +EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar" + +java_prepare() { + find -name "*.jar" -delete || die + epatch "${FILESDIR}"/${PV}-*.patch +} + +src_install() { + java-pkg_newjar "${P}.jar" + + dodoc README USAGE || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc org/ +} + +src_test() { + EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test +} diff --git a/dev-java/dnsjava/dnsjava-2.1.7.ebuild b/dev-java/dnsjava/dnsjava-2.1.7.ebuild new file mode 100644 index 000000000000..b2e98f812f19 --- /dev/null +++ b/dev-java/dnsjava/dnsjava-2.1.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="An implementation of DNS in Java" +HOMEPAGE="http://www.dnsjava.org/" +SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="docs" +EANT_TEST_TARGET="run_tests" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_TEST_GENTOO_CLASSPATH="junit" +EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar" + +java_prepare() { + java-pkg_clean + #epatch "${FILESDIR}"/*.patch +} + +src_install() { + java-pkg_newjar "${P}.jar" + + dodoc README USAGE || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc org/ +} + +src_test() { + EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test +} diff --git a/dev-java/dnsjava/dnsjava-2.1.8.ebuild b/dev-java/dnsjava/dnsjava-2.1.8.ebuild new file mode 100644 index 000000000000..9cb312e010d2 --- /dev/null +++ b/dev-java/dnsjava/dnsjava-2.1.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="An implementation of DNS in Java" +HOMEPAGE="http://www.dnsjava.org/" +SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="docs" +EANT_TEST_TARGET="run_tests" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_TEST_GENTOO_CLASSPATH="junit" +EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar" + +src_prepare() { + default + java-pkg_clean + #epatch "${FILESDIR}"/*.patch +} + +src_install() { + java-pkg_newjar "${P}.jar" + + einstalldocs + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc org/ +} + +src_test() { + EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test +} diff --git a/dev-java/dnsjava/files/2.1.6-no-network-tests.patch b/dev-java/dnsjava/files/2.1.6-no-network-tests.patch new file mode 100644 index 000000000000..1ea9d3929db0 --- /dev/null +++ b/dev-java/dnsjava/files/2.1.6-no-network-tests.patch @@ -0,0 +1,44 @@ +diff --git a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java +index 451b262..7ce8029 100644 +--- a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java ++++ b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java +@@ -272,16 +272,19 @@ public class AddressTest extends TestCase + + public void test_getByName() throws UnknownHostException + { ++/* + InetAddress out = Address.getByName("128.145.198.231"); + assertEquals("128.145.198.231", out.getHostAddress()); + + out = Address.getByName("serl.cs.colorado.edu"); + assertEquals("epic.cs.colorado.edu", out.getCanonicalHostName()); + assertEquals("128.138.201.71", out.getHostAddress()); ++*/ + } + + public void test_getByName_invalid() throws UnknownHostException + { ++/* + try { + Address.getByName("example.invalid"); + fail("UnknownHostException not thrown"); +@@ -294,10 +297,12 @@ public class AddressTest extends TestCase + } + catch( UnknownHostException e ){ + } ++*/ + } + + public void test_getAllByName() throws UnknownHostException + { ++/* + InetAddress[] out = Address.getAllByName("128.145.198.231"); + assertEquals(1, out.length); + assertEquals("128.145.198.231", out[0].getHostAddress()); +@@ -353,5 +358,6 @@ public class AddressTest extends TestCase + } + catch( UnknownHostException e ){ + } ++*/ + } + } diff --git a/dev-java/dnsjava/metadata.xml b/dev-java/dnsjava/metadata.xml new file mode 100644 index 000000000000..748cb0beb3ab --- /dev/null +++ b/dev-java/dnsjava/metadata.xml @@ -0,0 +1,18 @@ +<?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> + dnsjava is an implementation of DNS in Java. It supports all defined record + ypes (including the DNSSEC types), and unknown types. It can be used for queries, + zone transfers, and dynamic updates. It includes a cache which can be used by + clients, and a minimal implementation of a server. It supports TSIG authenticated + messages, partial DNSSEC verification, and EDNS0. + </longdescription> + <upstream> + <remote-id type="sourceforge">https://sourceforge.net/projects/dnsjava/</remote-id> + </upstream> +</pkgmetadata> |