summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-16 09:17:35 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-16 09:17:35 +0000
commit2406a9c61c89ebd2d75c6532d0af8f39b9dceced (patch)
tree5ce22ba9278529cf6eaadb7fbf7f44d30efb75e0 /dev-java
parentapp-shells/fish: Keyword for ppc64. (diff)
parentdev-java/bcpkix: Remove RESTRICT=test. (diff)
downloadgentoo-2406a9c61c89ebd2d75c6532d0af8f39b9dceced.tar.gz
gentoo-2406a9c61c89ebd2d75c6532d0af8f39b9dceced.tar.bz2
gentoo-2406a9c61c89ebd2d75c6532d0af8f39b9dceced.zip
Merge remote-tracking branch 'remotes/github/pr/177'.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/bcmail/bcmail-1.50-r1.ebuild2
-rw-r--r--dev-java/bcmail/bcmail-1.52-r1.ebuild2
-rw-r--r--dev-java/bcpkix/Manifest4
-rw-r--r--dev-java/bcpkix/bcpkix-1.50-r1.ebuild34
-rw-r--r--dev-java/bcpkix/bcpkix-1.50.ebuild99
-rw-r--r--dev-java/bcpkix/bcpkix-1.52-r1.ebuild34
-rw-r--r--dev-java/bcpkix/bcpkix-1.52.ebuild101
7 files changed, 72 insertions, 204 deletions
diff --git a/dev-java/bcmail/bcmail-1.50-r1.ebuild b/dev-java/bcmail/bcmail-1.50-r1.ebuild
index e4fa2be0e5be..9cb590554b34 100644
--- a/dev-java/bcmail/bcmail-1.50-r1.ebuild
+++ b/dev-java/bcmail/bcmail-1.50-r1.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
CDEPEND="dev-java/bcprov:0[test?]
- dev-java/bcpkix:0[test?]
+ dev-java/bcpkix:0
dev-java/sun-jaf:0
dev-java/junit:0
dev-java/oracle-javamail:0"
diff --git a/dev-java/bcmail/bcmail-1.52-r1.ebuild b/dev-java/bcmail/bcmail-1.52-r1.ebuild
index e4fa2be0e5be..9cb590554b34 100644
--- a/dev-java/bcmail/bcmail-1.52-r1.ebuild
+++ b/dev-java/bcmail/bcmail-1.52-r1.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
CDEPEND="dev-java/bcprov:0[test?]
- dev-java/bcpkix:0[test?]
+ dev-java/bcpkix:0
dev-java/sun-jaf:0
dev-java/junit:0
dev-java/oracle-javamail:0"
diff --git a/dev-java/bcpkix/Manifest b/dev-java/bcpkix/Manifest
index 2350c07b18d2..96790d72153e 100644
--- a/dev-java/bcpkix/Manifest
+++ b/dev-java/bcpkix/Manifest
@@ -1,2 +1,2 @@
-DIST bcpkix-jdk15on-150.tar.gz 1149901 SHA256 0be5bb948ec481b3d1f30ee80ef593b298b3782697f9eeee5c74cf270689b520 SHA512 17c5a9aa8c04defab46987063f847ee5fdedfc42d51e29ecad5053e3df5895c2c01899edb9222c3dab3ecf204eac9744249163dc2c1572fa2becaaf0924d2eb3 WHIRLPOOL 07197f1271ffc965479badcfd6b75450e5b0744f93031dd3721406dcac04c3f360b0d537cde3efa0f44f9ac06b4427a60f00743bfacd8dc7cf0a3d70193d5b32
-DIST bcpkix-jdk15on-152.tar.gz 1214022 SHA256 518205ea86f215a79267b7a64ea7ce29261f4983be1d3c2f6b6aa533092ce400 SHA512 a30f08aa6ae646219012b6e4763e57bd9021358ddc7d5ea588deb808a5555f67cc212a7d8cdc2a552922f550989d88965ba204521dd5bd9b17cfdb9ed09c3b5f WHIRLPOOL e9f855dc2571643fafaaa2167ba9afb5c34691966d86e6e712a5411467d47bcdac5fa15f5a3f736eb05092c25190e42c2fb40bbbce42d7dadd6fdce63fc8451a
+DIST bcpkix-jdk15on-1.50-sources.jar 401716 SHA256 6ec7b485da90c07a45d71905a4ef9c3c5a50aa94904a66209d928efebce83105 SHA512 6dc6d63db649a94f54c7739144b4120db4255e0a0a713389d54fcd427b95a3ff5ec326ae066cb5aa8a6cf19ccb959cbb22f9f898d39bfe5bf8e20c4d9de6931c WHIRLPOOL 8523b5ba41ba9fba1988a9e8707921f46cea448acfb9fa277b85a454ed3072527b9fc992769b8d802b9cb821b63f4c7cbcdd8e18838d49a02b7305a0b4583e14
+DIST bcpkix-jdk15on-1.52-sources.jar 422301 SHA256 46dee0a923aac4e60432974685d585edc64274ae303818177e4778685e5adf4b SHA512 55f33846e16f7367a25df0933c904b435933e96d0e881bb949c3e3812618fc0d0b5a2901efa779e02a6f48157231da197e2bf5d8037b22169330fa374b07a988 WHIRLPOOL 95746d31ca1daac2ef0348a6f60d2d1122aeb5d945338d4f2398bee6e51e58040175063444cdb294e8c25c697115ddbb39b7508e563e09afe65b7813abddb221
diff --git a/dev-java/bcpkix/bcpkix-1.50-r1.ebuild b/dev-java/bcpkix/bcpkix-1.50-r1.ebuild
new file mode 100644
index 000000000000..8d70775f3a89
--- /dev/null
+++ b/dev-java/bcpkix/bcpkix-1.50-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN}-jdk15on"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html"
+SRC_URI="http://central.maven.org/maven2/org/bouncycastle/${MY_PN}/${PV}/${MY_P}-sources.jar"
+
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+
+LICENSE="BSD"
+SLOT="0"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="org"
diff --git a/dev-java/bcpkix/bcpkix-1.50.ebuild b/dev-java/bcpkix/bcpkix-1.50.ebuild
deleted file mode 100644
index 8a49e4edcb80..000000000000
--- a/dev-java/bcpkix/bcpkix-1.50.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html"
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Needs further investigation.
-#
-# - java.lang.RuntimeException: java.security.NoSuchProviderException:
-# JCE cannot authenticate the provider BC
-#
-# - error: package org.bouncycastle.util.test does not exist
-RESTRICT="test"
-
-COMMON_DEPEND="
- >=dev-java/bcprov-${PV}:0[test?]"
-
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- test? ( dev-java/junit:0 )
- ${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- default
- cd "${S}"
- unpack ./src.zip
-}
-
-java_prepare() {
- mkdir "${S}"/classes
-
- if use test ; then
- java-pkg_jar-from --build-only junit
- fi
-
- java-pkg_jar-from bcprov
-}
-
-src_compile() {
- find org -name "*.java" > "${T}"/src.list
-
- local cp="bcprov.jar"
- if use test ; then
- cp="${cp}:junit.jar"
- else
- sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
- fi
-
- ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
-
- cd "${S}"/classes || die
-
- jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
-}
-
-src_test() {
- local cp="${PN}.jar:bcprov.jar:junit.jar"
- local pkg="org.bouncycastle"
-
- java -cp ${cp} ${pkg}.tsp.test.AllTests | tee tsp.tests
- java -cp ${cp} ${pkg}.pkcs.test.AllTests | tee pkcs.tests
- java -cp ${cp} ${pkg}.openssl.test.AllTests | tee openssl.tests
- java -cp ${cp} ${pkg}.mozilla.test.AllTests | tee mozilla.tests
- java -cp ${cp} ${pkg}.eac.test.AllTests | tee eac.tests
- java -cp ${cp} ${pkg}.dvcs.test.AllTests | tee dvcs.tests
- java -cp ${cp} ${pkg}.cms.test.AllTests | tee cms.tests
- java -cp ${cp} ${pkg}.cert.test.AllTests | tee cert.tests
- java -cp ${cp} ${pkg}.cert.ocsp.test.AllTests | tee cert.ocsp.tests
- java -cp ${cp} ${pkg}.cert.crmf.test.AllTests | tee cert.crmf.tests
- java -cp ${cp} ${pkg}.cert.cmp.test.AllTests | tee cert.cmp.tests
-
- grep -q FAILURES *.tests && die "Tests failed."
-}
-
-src_install() {
- java-pkg_dojar "${S}"/${PN}.jar
-
- use source && java-pkg_dosrc org
- use doc && java-pkg_dojavadoc docs
-}
diff --git a/dev-java/bcpkix/bcpkix-1.52-r1.ebuild b/dev-java/bcpkix/bcpkix-1.52-r1.ebuild
new file mode 100644
index 000000000000..be37ad7f371f
--- /dev/null
+++ b/dev-java/bcpkix/bcpkix-1.52-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN}-jdk15on"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html"
+SRC_URI="http://central.maven.org/maven2/org/bouncycastle/${MY_PN}/${PV}/${MY_P}-sources.jar"
+
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+
+LICENSE="BSD"
+SLOT="1.52"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="org"
diff --git a/dev-java/bcpkix/bcpkix-1.52.ebuild b/dev-java/bcpkix/bcpkix-1.52.ebuild
deleted file mode 100644
index 29e07b8c8749..000000000000
--- a/dev-java/bcpkix/bcpkix-1.52.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html"
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Needs further investigation.
-#
-# - java.lang.RuntimeException: java.security.NoSuchProviderException:
-# JCE cannot authenticate the provider BC
-#
-# - error: package org.bouncycastle.util.test does not exist
-RESTRICT="test"
-
-CDEPEND="
- >=dev-java/bcprov-${PV}:0[test?]"
-
-DEPEND=">=virtual/jdk-1.6
- app-arch/unzip
- test? (
- dev-java/junit:0
- )
- ${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- default
- cd "${S}"
- unpack ./src.zip
-}
-
-java_prepare() {
- mkdir "${S}"/classes
-
- if use test ; then
- java-pkg_jar-from --build-only junit
- fi
-
- java-pkg_jar-from bcprov
-}
-
-src_compile() {
- find org -name "*.java" > "${T}"/src.list
-
- local cp="bcprov.jar"
- if use test ; then
- cp="${cp}:junit.jar"
- else
- sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
- fi
-
- ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
-
- cd "${S}"/classes || die
-
- jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
-}
-
-src_test() {
- local cp="${PN}.jar:bcprov.jar:junit.jar"
- local pkg="org.bouncycastle"
-
- java -cp ${cp} ${pkg}.tsp.test.AllTests | tee tsp.tests
- java -cp ${cp} ${pkg}.pkcs.test.AllTests | tee pkcs.tests
- java -cp ${cp} ${pkg}.openssl.test.AllTests | tee openssl.tests
- java -cp ${cp} ${pkg}.mozilla.test.AllTests | tee mozilla.tests
- java -cp ${cp} ${pkg}.eac.test.AllTests | tee eac.tests
- java -cp ${cp} ${pkg}.dvcs.test.AllTests | tee dvcs.tests
- java -cp ${cp} ${pkg}.cms.test.AllTests | tee cms.tests
- java -cp ${cp} ${pkg}.cert.test.AllTests | tee cert.tests
- java -cp ${cp} ${pkg}.cert.ocsp.test.AllTests | tee cert.ocsp.tests
- java -cp ${cp} ${pkg}.cert.crmf.test.AllTests | tee cert.crmf.tests
- java -cp ${cp} ${pkg}.cert.cmp.test.AllTests | tee cert.cmp.tests
-
- grep -q FAILURES *.tests && die "Tests failed."
-}
-
-src_install() {
- java-pkg_dojar "${S}"/${PN}.jar
-
- use source && java-pkg_dosrc org
- use doc && java-pkg_dojavadoc docs
-}