1 |
commit: d5889c07cf8fcdf0f46fec406b8334553e8e355c |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Mon Jun 6 06:54:30 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 6 07:42:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5889c07 |
7 |
|
8 |
dev-java/bcpkix: drop 1.71 |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25766 |
12 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
13 |
|
14 |
dev-java/bcpkix/bcpkix-1.71.ebuild | 115 ------------------------------------- |
15 |
1 file changed, 115 deletions(-) |
16 |
|
17 |
diff --git a/dev-java/bcpkix/bcpkix-1.71.ebuild b/dev-java/bcpkix/bcpkix-1.71.ebuild |
18 |
deleted file mode 100644 |
19 |
index 3e0980f66f7f..000000000000 |
20 |
--- a/dev-java/bcpkix/bcpkix-1.71.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,115 +0,0 @@ |
23 |
-# Copyright 1999-2022 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=8 |
27 |
- |
28 |
-JAVA_PKG_IUSE="doc source test" |
29 |
-MAVEN_ID="org.bouncycastle:bcpkix-jdk18on:1.71" |
30 |
-JAVA_TESTING_FRAMEWORKS="junit-4" |
31 |
- |
32 |
-inherit java-pkg-2 java-pkg-simple check-reqs |
33 |
- |
34 |
-DESCRIPTION="Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation" |
35 |
-HOMEPAGE="https://www.bouncycastle.org/java.html" |
36 |
-SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-r${PV/./rv}.tar.gz" |
37 |
- |
38 |
-LICENSE="BSD" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
41 |
- |
42 |
-# 1) testSANMismatchIP(org.bouncycastle.est.test.TestHostNameAuthorizer) |
43 |
-# org.bouncycastle.est.ESTException: localhost.me: Temporary failure in name resolution HTTP Status Code: 0 |
44 |
-PROPERTIES="test_network" |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-CDEPEND=" |
48 |
- ~dev-java/bcprov-${PV}:0 |
49 |
- ~dev-java/bcutil-${PV}:0 |
50 |
- " |
51 |
-DEPEND="${CDEPEND} |
52 |
- >=virtual/jdk-11:*" |
53 |
-RDEPEND="${CDEPEND} |
54 |
- >=virtual/jre-1.8:*" |
55 |
- |
56 |
-DOCS=( ../{README,SECURITY}.md ) |
57 |
-HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) |
58 |
- |
59 |
-S="${WORKDIR}/bc-java-r${PV/./rv}/pkix" |
60 |
- |
61 |
-JAVA_GENTOO_CLASSPATH="bcprov,bcutil" |
62 |
-JAVA_SRC_DIR=( |
63 |
- "src/main/java" |
64 |
- "src/main/jdk1.9" # https://bugs.gentoo.org/797634 |
65 |
-) |
66 |
- |
67 |
-JAVA_TEST_GENTOO_CLASSPATH="junit-4" |
68 |
-JAVA_TEST_SRC_DIR="src/test/java" |
69 |
-JAVA_TEST_RESOURCE_DIRS="src/test/resources" |
70 |
- |
71 |
-JAVA_TEST_EXTRA_ARGS="-Dbc.test.data.home=${S}/../core/src/test/data" |
72 |
- |
73 |
-# There was 1 failure: |
74 |
-# 1) testSimpleTests(org.bouncycastle.cert.test.AllTests) |
75 |
-# junit.framework.AssertionFailedError: CertTest: |
76 |
-# CertTest: 9 failed - exception java.security.InvalidKeyException: cannot identify EdDSA public key |
77 |
-# at junit.framework.Assert.fail(Assert.java:57) |
78 |
-# at junit.framework.TestCase.fail(TestCase.java:223) |
79 |
-# at org.bouncycastle.cert.test.AllTests.testSimpleTests(AllTests.java:30) |
80 |
-# |
81 |
-# FAILURES!!! |
82 |
-# Tests run: 474, Failures: 1 |
83 |
-JAVA_TEST_RUN_ONLY=( |
84 |
- "org.bouncycastle.cert.cmp.test.AllTests" |
85 |
- "org.bouncycastle.cert.crmf.test.AllTests" |
86 |
- "org.bouncycastle.cert.ocsp.test.AllTests" |
87 |
- "org.bouncycastle.cert.path.test.AllTests" |
88 |
-# "org.bouncycastle.cert.test.AllTests" |
89 |
- "org.bouncycastle.cms.test.AllTests" |
90 |
- "org.bouncycastle.dvcs.test.AllTests" |
91 |
- "org.bouncycastle.eac.test.AllTests" |
92 |
- "org.bouncycastle.est.test.AllTests" |
93 |
- "org.bouncycastle.mime.test.AllTests" |
94 |
- "org.bouncycastle.mozilla.test.AllTests" |
95 |
- "org.bouncycastle.openssl.test.AllTests" |
96 |
- "org.bouncycastle.operator.test.AllTests" |
97 |
- "org.bouncycastle.pkcs.test.AllTests" |
98 |
- "org.bouncycastle.tsp.test.AllTests" |
99 |
-) |
100 |
- |
101 |
-# https://bugs.gentoo.org/823347 |
102 |
-check_env() { |
103 |
- if use test; then |
104 |
- # this is needed only for tests |
105 |
- CHECKREQS_MEMORY="2048M" |
106 |
- check-reqs_pkg_pretend |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
-# https://bugs.gentoo.org/823347 |
111 |
-pkg_pretend() { |
112 |
- check_env |
113 |
-} |
114 |
- |
115 |
-# https://bugs.gentoo.org/823347 |
116 |
-pkg_setup() { |
117 |
- check_env |
118 |
-} |
119 |
- |
120 |
-src_prepare() { |
121 |
- default |
122 |
- java-pkg_clean .. |
123 |
-} |
124 |
- |
125 |
-# https://bugs.gentoo.org/823347 |
126 |
-src_test() { |
127 |
- JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" |
128 |
- java-pkg-simple_src_test |
129 |
-} |
130 |
- |
131 |
-src_install() { |
132 |
- default |
133 |
- einstalldocs |
134 |
- docinto html |
135 |
- dodoc -r ../docs |
136 |
- java-pkg-simple_src_install |
137 |
-} |