1 |
tomwij 13/06/01 14:09:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bcprov-1.49.ebuild |
5 |
Log: |
6 |
Version bump to 1.49, reported by maksbotan; fixed running of tests but restrict them because they are broken, see bug #471998. Dropped ~amd64-fbsd keyword since dev-java/junit:4 has no ~amd64-fbsd keyword, see bug #472010. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.45 dev-java/bcprov/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?rev=1.45&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?rev=1.45&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/ChangeLog?r1=1.44&r2=1.45 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v |
20 |
retrieving revision 1.44 |
21 |
retrieving revision 1.45 |
22 |
diff -u -r1.44 -r1.45 |
23 |
--- ChangeLog 21 May 2013 16:12:54 -0000 1.44 |
24 |
+++ ChangeLog 1 Jun 2013 14:09:07 -0000 1.45 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-java/bcprov |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.44 2013/05/21 16:12:54 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.45 2013/06/01 14:09:07 tomwij Exp $ |
30 |
+ |
31 |
+*bcprov-1.49 (01 Jun 2013) |
32 |
+ |
33 |
+ 01 Jun 2013; Tom Wijsman <TomWij@g.o> +bcprov-1.49.ebuild: |
34 |
+ Version bump to 1.49, reported by maksbotan; fixed running of tests but |
35 |
+ restrict them because they are broken, see bug #471998. Dropped ~amd64-fbsd |
36 |
+ keyword since dev-java/junit:4 has no ~amd64-fbsd keyword, see bug #472010. |
37 |
|
38 |
*bcprov-1.48 (21 May 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-java/bcprov/bcprov-1.49.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/bcprov-1.49.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/bcprov/bcprov-1.49.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bcprov-1.49.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.49.ebuild,v 1.1 2013/06/01 14:09:07 tomwij Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
|
56 |
JAVA_PKG_IUSE="doc source test" |
57 |
|
58 |
inherit java-pkg-2 java-ant-2 |
59 |
|
60 |
MY_P="${PN}-jdk15on-${PV/./}" |
61 |
DESCRIPTION="Java cryptography APIs" |
62 |
HOMEPAGE="http://www.bouncycastle.org/java.html" |
63 |
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" |
68 |
|
69 |
# Tests are currently broken. Needs further investigation. |
70 |
# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 |
71 |
RESTRICT="test" |
72 |
|
73 |
# The src_unpack find needs a new find |
74 |
# https://bugs.gentoo.org/show_bug.cgi?id=182276 |
75 |
DEPEND=">=virtual/jdk-1.5 |
76 |
userland_GNU? ( >=sys-apps/findutils-4.3 ) |
77 |
app-arch/unzip |
78 |
test? ( dev-java/junit:4 )" |
79 |
RDEPEND=">=virtual/jre-1.5" |
80 |
|
81 |
IUSE="userland_GNU" |
82 |
|
83 |
S="${WORKDIR}/${MY_P}" |
84 |
|
85 |
src_unpack() { |
86 |
default |
87 |
|
88 |
cd "${S}" || die |
89 |
unpack ./src.zip |
90 |
} |
91 |
|
92 |
java_prepare() { |
93 |
mkdir "${S}"/classes || die |
94 |
|
95 |
java-pkg_jar-from --build-only junit-4 |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
local cp |
100 |
if use test ; then |
101 |
cp="-cp junit.jar" |
102 |
find . -name "*.java" > "${T}"/src.list |
103 |
else |
104 |
find . -name "*.java" ! -path "*/test/*" > "${T}"/src.list |
105 |
fi |
106 |
|
107 |
ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list |
108 |
|
109 |
cd "${S}"/classes || die |
110 |
|
111 |
if use test ; then |
112 |
jar -cf "${S}"/${PN}-tests.jar * || die "Failed to create tests jar." |
113 |
find . -path '*/test/*' -delete || die "Failed to remove tests files" |
114 |
fi |
115 |
|
116 |
jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." |
117 |
} |
118 |
|
119 |
src_test() { |
120 |
java -cp ${PN}-tests.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests |
121 |
java -cp ${PN}-tests.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests |
122 |
java -cp ${PN}-tests.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests |
123 |
|
124 |
grep -q FAILURES *.tests && die "Tests failed." |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
java-pkg_dojar ${PN}.jar |
129 |
|
130 |
use source && java-pkg_dosrc org |
131 |
use doc && java-pkg_dojavadoc docs |
132 |
} |