diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-21 09:04:27 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-21 09:11:05 +0100 |
commit | 733165a90d2d466512dbefd17a69eba9c3b61516 (patch) | |
tree | 6bbc2366ca45c459d0029be24d8a634e071cf0d4 /dev-java/gnu-crypto | |
parent | dev-java/gnu-hylafax: treeclean (diff) | |
download | gentoo-733165a90d2d466512dbefd17a69eba9c3b61516.tar.gz gentoo-733165a90d2d466512dbefd17a69eba9c3b61516.tar.bz2 gentoo-733165a90d2d466512dbefd17a69eba9c3b61516.zip |
dev-java/gnu-crypto: treeclean
Closes: https://bugs.gentoo.org/102646
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java/gnu-crypto')
-rw-r--r-- | dev-java/gnu-crypto/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch | 30 | ||||
-rw-r--r-- | dev-java/gnu-crypto/gnu-crypto-2.0.1-r3.ebuild | 66 | ||||
-rw-r--r-- | dev-java/gnu-crypto/metadata.xml | 15 |
4 files changed, 0 insertions, 112 deletions
diff --git a/dev-java/gnu-crypto/Manifest b/dev-java/gnu-crypto/Manifest deleted file mode 100644 index 3ecf36c11bdc..000000000000 --- a/dev-java/gnu-crypto/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gnu-crypto-2.0.1.tar.bz2 3895714 BLAKE2B 4838f7aa58cbd34d97afb7f503a29b7393ae3085f1b83c8ae65110f20ff7143928351f0aaf2a61a2abb363f764dc67dbd12955fbd0f86dd685dafda550e0e7f1 SHA512 c14aa73fb23663559195e8fc7f85a220b25078fa8ab4e7cf43b84febe96599d990ccf52fcf1f6f66f2b547d9b644bbc99b3d44dc4a777dcb72530e58c8509015 diff --git a/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch b/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch deleted file mode 100644 index 47957cc5ec5f..000000000000 --- a/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java ---- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java 2003-11-21 10:22:10.000000000 +0100 -+++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java 2005-05-24 16:16:37.493727834 +0200 -@@ -140,9 +140,9 @@ - return mechanism;
- }
-
-- public Object getNegotiatedProperty(final String propName) throws SaslException {
-+ public Object getNegotiatedProperty(final String propName) {
- if (!isComplete()) {
-- throw new IllegalMechanismStateException();
-+ throw new IllegalStateException();
- }
- if (Sasl.QOP.equals(propName)) {
- return getNegotiatedQOP();
-diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java ---- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java 2003-11-21 10:26:14.000000000 +0100 -+++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java 2005-05-24 16:16:55.503085024 +0200 -@@ -147,9 +147,9 @@ - return this.authorizationID;
- }
-
-- public Object getNegotiatedProperty(final String propName) throws SaslException {
-+ public Object getNegotiatedProperty(final String propName) {
- if (!isComplete()) {
-- throw new IllegalMechanismStateException();
-+ throw new IllegalStateException();
- }
- if (Sasl.QOP.equals(propName)) {
- return getNegotiatedQOP();
diff --git a/dev-java/gnu-crypto/gnu-crypto-2.0.1-r3.ebuild b/dev-java/gnu-crypto/gnu-crypto-2.0.1-r3.ebuild deleted file mode 100644 index 89c2e86670c5..000000000000 --- a/dev-java/gnu-crypto/gnu-crypto-2.0.1-r3.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# 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="GNU Crypto cryptographic primitives for Java" -HOMEPAGE="https://www.gnu.org/software/gnu-crypto/" -SRC_URI="ftp://ftp.gnupg.org/GnuPG/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -DEPEND=">=virtual/jdk-1.6" -RDEPEND=">=virtual/jre-1.6" - -EANT_BUILD_XML="${S}/build.xml" -EANT_BUILD_TARGET="jar" - -EANT_DOC_TARGET="javadoc" - -java_prepare() { - epatch "${FILESDIR}/${P}-jdk15.patch" -} - -src_compile() { - java-pkg-2_src_compile -} - -src_test() { - local TEST_TARGETS=( - check - ent - ) - - for target in ${TEST_TARGETS[@]}; do - EANT_TEST_TARGET=${target} \ - java-pkg-2_src_test - done -} - -src_install() { - local GNU_CRYPTO_JARS=( - "${PN}" - javax-crypto - javax-security - ) - - if use test; then - GNU_CRYPTO_JARS=(${GNU_CRYPTO_JARS[@]} "${PN}-test") - fi - - for jar in ${GNU_CRYPTO_JARS[@]}; do - java-pkg_dojar "lib/${jar}.jar" - done - - use doc && java-pkg_dojavadoc docs/api - use source && java-pkg_dosrc source/* jce/* security/* - - dodoc AUTHORS ChangeLog NEWS README THANKS -} diff --git a/dev-java/gnu-crypto/metadata.xml b/dev-java/gnu-crypto/metadata.xml deleted file mode 100644 index de8ab699b43e..000000000000 --- a/dev-java/gnu-crypto/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> - -<longdescription> -GNU Crypto, part of the GNU project, released under the aegis of GNU, -aims at providing free, versatile, high-quality, and provably correct -implementations of cryptographic primitives and tools in the Java -programming language for use by programmers and end-users. -</longdescription> -</pkgmetadata> |