1 |
tomwij 14/02/06 13:59:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bcpkix-1.50.ebuild bcpkix-1.49-r2.ebuild |
5 |
Removed: bcpkix-1.49-r1.ebuild |
6 |
Log: |
7 |
Version bump to 1.50. |
8 |
|
9 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 dev-java/bcpkix/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/bcpkix/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 23 Jan 2014 20:26:47 -0000 1.4 |
25 |
+++ ChangeLog 6 Feb 2014 13:59:03 -0000 1.5 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-java/bcpkix |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpkix/ChangeLog,v 1.4 2014/01/23 20:26:47 radhermit Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpkix/ChangeLog,v 1.5 2014/02/06 13:59:03 tomwij Exp $ |
31 |
+ |
32 |
+*bcpkix-1.49-r2 (06 Feb 2014) |
33 |
+*bcpkix-1.50 (06 Feb 2014) |
34 |
+ |
35 |
+ 06 Feb 2014; Tom Wijsman <TomWij@g.o> +bcpkix-1.49-r2.ebuild, |
36 |
+ +bcpkix-1.50.ebuild, -bcpkix-1.49-r1.ebuild: |
37 |
+ Version bump to 1.50. |
38 |
|
39 |
23 Jan 2014; Tim Harder <radhermit@g.o> bcpkix-1.49-r1.ebuild: |
40 |
Fix bcprov dep atom. |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-java/bcpkix/bcpkix-1.50.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/bcpkix-1.50.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/bcpkix-1.50.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: bcpkix-1.50.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpkix/bcpkix-1.50.ebuild,v 1.1 2014/02/06 13:59:03 tomwij Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
|
57 |
JAVA_PKG_IUSE="doc source test" |
58 |
|
59 |
inherit java-pkg-2 java-ant-2 |
60 |
|
61 |
MY_P="${PN}-jdk15on-${PV/./}" |
62 |
|
63 |
DESCRIPTION="Java cryptography APIs" |
64 |
HOMEPAGE="http://www.bouncycastle.org/java.html" |
65 |
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="BSD" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
70 |
|
71 |
# Tests are currently broken. Needs further investigation. |
72 |
# |
73 |
# - java.lang.RuntimeException: java.security.NoSuchProviderException: |
74 |
# JCE cannot authenticate the provider BC |
75 |
# |
76 |
# - error: package org.bouncycastle.util.test does not exist |
77 |
RESTRICT="test" |
78 |
|
79 |
COMMON_DEPEND=" |
80 |
>=dev-java/bcprov-${PV}:0[test?]" |
81 |
|
82 |
DEPEND=">=virtual/jdk-1.5 |
83 |
app-arch/unzip |
84 |
test? ( dev-java/junit:0 ) |
85 |
${COMMON_DEPEND}" |
86 |
|
87 |
RDEPEND=">=virtual/jre-1.5 |
88 |
${COMMON_DEPEND}" |
89 |
|
90 |
S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
src_unpack() { |
93 |
default |
94 |
cd "${S}" |
95 |
unpack ./src.zip |
96 |
} |
97 |
|
98 |
java_prepare() { |
99 |
mkdir "${S}"/classes |
100 |
|
101 |
if use test ; then |
102 |
java-pkg_jar-from --build-only junit |
103 |
fi |
104 |
|
105 |
java-pkg_jar-from bcprov |
106 |
} |
107 |
|
108 |
src_compile() { |
109 |
find org -name "*.java" > "${T}"/src.list |
110 |
|
111 |
local cp="bcprov.jar" |
112 |
if use test ; then |
113 |
cp="${cp}:junit.jar" |
114 |
else |
115 |
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" |
116 |
fi |
117 |
|
118 |
ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list |
119 |
|
120 |
cd "${S}"/classes || die |
121 |
|
122 |
jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." |
123 |
} |
124 |
|
125 |
src_test() { |
126 |
local cp="${PN}.jar:bcprov.jar:junit.jar" |
127 |
local pkg="org.bouncycastle" |
128 |
|
129 |
java -cp ${cp} ${pkg}.tsp.test.AllTests | tee tsp.tests |
130 |
java -cp ${cp} ${pkg}.pkcs.test.AllTests | tee pkcs.tests |
131 |
java -cp ${cp} ${pkg}.openssl.test.AllTests | tee openssl.tests |
132 |
java -cp ${cp} ${pkg}.mozilla.test.AllTests | tee mozilla.tests |
133 |
java -cp ${cp} ${pkg}.eac.test.AllTests | tee eac.tests |
134 |
java -cp ${cp} ${pkg}.dvcs.test.AllTests | tee dvcs.tests |
135 |
java -cp ${cp} ${pkg}.cms.test.AllTests | tee cms.tests |
136 |
java -cp ${cp} ${pkg}.cert.test.AllTests | tee cert.tests |
137 |
java -cp ${cp} ${pkg}.cert.ocsp.test.AllTests | tee cert.ocsp.tests |
138 |
java -cp ${cp} ${pkg}.cert.crmf.test.AllTests | tee cert.crmf.tests |
139 |
java -cp ${cp} ${pkg}.cert.cmp.test.AllTests | tee cert.cmp.tests |
140 |
|
141 |
grep -q FAILURES *.tests && die "Tests failed." |
142 |
} |
143 |
|
144 |
src_install() { |
145 |
java-pkg_dojar "${S}"/${PN}.jar |
146 |
|
147 |
use source && java-pkg_dosrc org |
148 |
use doc && java-pkg_dojavadoc docs |
149 |
} |
150 |
|
151 |
|
152 |
|
153 |
1.1 dev-java/bcpkix/bcpkix-1.49-r2.ebuild |
154 |
|
155 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/bcpkix-1.49-r2.ebuild?rev=1.1&view=markup |
156 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcpkix/bcpkix-1.49-r2.ebuild?rev=1.1&content-type=text/plain |
157 |
|
158 |
Index: bcpkix-1.49-r2.ebuild |
159 |
=================================================================== |
160 |
# Copyright 1999-2014 Gentoo Foundation |
161 |
# Distributed under the terms of the GNU General Public License v2 |
162 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpkix/bcpkix-1.49-r2.ebuild,v 1.1 2014/02/06 13:59:03 tomwij Exp $ |
163 |
|
164 |
EAPI="5" |
165 |
|
166 |
JAVA_PKG_IUSE="doc source test" |
167 |
|
168 |
inherit java-pkg-2 java-ant-2 |
169 |
|
170 |
MY_P="${PN}-jdk15on-${PV/./}" |
171 |
|
172 |
DESCRIPTION="Java cryptography APIs" |
173 |
HOMEPAGE="http://www.bouncycastle.org/java.html" |
174 |
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz" |
175 |
|
176 |
LICENSE="BSD" |
177 |
SLOT="0" |
178 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
179 |
|
180 |
# Tests are currently broken. Needs further investigation. |
181 |
# java.lang.RuntimeException: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC |
182 |
RESTRICT="test" |
183 |
|
184 |
COMMON_DEPEND=" |
185 |
>=dev-java/bcprov-${PV}:0[test?]" |
186 |
|
187 |
DEPEND=">=virtual/jdk-1.5 |
188 |
app-arch/unzip |
189 |
test? ( dev-java/junit:0 ) |
190 |
${COMMON_DEPEND}" |
191 |
|
192 |
RDEPEND=">=virtual/jre-1.5 |
193 |
${COMMON_DEPEND}" |
194 |
|
195 |
S="${WORKDIR}/${MY_P}" |
196 |
|
197 |
src_unpack() { |
198 |
default |
199 |
cd "${S}" |
200 |
unpack ./src.zip |
201 |
} |
202 |
|
203 |
java_prepare() { |
204 |
mkdir "${S}"/classes |
205 |
|
206 |
if use test ; then |
207 |
java-pkg_jar-from --build-only junit |
208 |
fi |
209 |
|
210 |
java-pkg_jar-from bcprov |
211 |
} |
212 |
|
213 |
src_compile() { |
214 |
find org -name "*.java" > "${T}"/src.list |
215 |
|
216 |
local cp="bcprov.jar" |
217 |
if use test ; then |
218 |
cp="${cp}:junit.jar" |
219 |
else |
220 |
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" |
221 |
fi |
222 |
|
223 |
ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list |
224 |
|
225 |
cd "${S}"/classes || die |
226 |
|
227 |
jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." |
228 |
} |
229 |
|
230 |
src_test() { |
231 |
local cp="${PN}.jar:bcprov.jar:junit.jar" |
232 |
local pkg="org.bouncycastle" |
233 |
|
234 |
java -cp ${cp} ${pkg}.tsp.test.AllTests | tee tsp.tests |
235 |
java -cp ${cp} ${pkg}.pkcs.test.AllTests | tee pkcs.tests |
236 |
java -cp ${cp} ${pkg}.openssl.test.AllTests | tee openssl.tests |
237 |
java -cp ${cp} ${pkg}.mozilla.test.AllTests | tee mozilla.tests |
238 |
java -cp ${cp} ${pkg}.eac.test.AllTests | tee eac.tests |
239 |
java -cp ${cp} ${pkg}.dvcs.test.AllTests | tee dvcs.tests |
240 |
java -cp ${cp} ${pkg}.cms.test.AllTests | tee cms.tests |
241 |
java -cp ${cp} ${pkg}.cert.test.AllTests | tee cert.tests |
242 |
java -cp ${cp} ${pkg}.cert.ocsp.test.AllTests | tee cert.ocsp.tests |
243 |
java -cp ${cp} ${pkg}.cert.crmf.test.AllTests | tee cert.crmf.tests |
244 |
java -cp ${cp} ${pkg}.cert.cmp.test.AllTests | tee cert.cmp.tests |
245 |
|
246 |
grep -q FAILURES *.tests && die "Tests failed." |
247 |
} |
248 |
|
249 |
src_install() { |
250 |
java-pkg_dojar "${S}"/${PN}.jar |
251 |
|
252 |
use source && java-pkg_dosrc org |
253 |
use doc && java-pkg_dojavadoc docs |
254 |
} |