diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-10-08 22:02:48 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-10-08 22:06:19 +0000 |
commit | 82be4dfc08bacbac9814583a8cccc40bb1d2fd59 (patch) | |
tree | c0413fc25dca5e39fbfd4f711b247a2e03c55fc5 /dev-java | |
parent | dev-java/bcprov: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCH... (diff) | |
download | gentoo-82be4dfc08bacbac9814583a8cccc40bb1d2fd59.tar.gz gentoo-82be4dfc08bacbac9814583a8cccc40bb1d2fd59.tar.bz2 gentoo-82be4dfc08bacbac9814583a8cccc40bb1d2fd59.zip |
dev-java/bcprov: Clean up old.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/bcprov/Manifest | 3 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.38-r2.ebuild | 57 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.38-r3.ebuild | 57 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.40-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.45-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.45.ebuild | 59 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.48-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.49-r2.ebuild | 81 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.49-r3.ebuild | 81 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.50-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.50.ebuild | 81 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.52.ebuild | 84 |
12 files changed, 0 insertions, 743 deletions
diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest index 7e5401b5cdc8..32e4da05c513 100644 --- a/dev-java/bcprov/Manifest +++ b/dev-java/bcprov/Manifest @@ -1,6 +1,3 @@ -DIST bcprov-jdk14-138.tar.gz 3374082 SHA256 15a8099fca68fde937cdfc87ae486498a7c12c7d1ebaca9f26aa31b7ad11d413 SHA512 a320a49ca775a5d0dfb8aa7c7fd900384e4e789df2e11be2bfd84cd3ce0ba1d755a680f1d09d3030b178c7d7c52a469601f40b023ac402e6523731d8098793e1 WHIRLPOOL d08c4401003b1b217594f4ebe4bb55a0ff03df72dff45c84e05b605341aaf3af3b6f5824e179547df3c6777cade20891cdcdd79d52df8e20cbfdb6186fd871f8 -DIST bcprov-jdk15-140.tar.gz 3494846 SHA256 4284e5b4eef0ae410aa1e65868058230a86c5cc591a47b391c87d4a18e913bbf SHA512 22cbbaa81709c8dcf28ceb0e984ca6181b835fb20f4381a2123291b638d07b987572ddf58d33ae07f7cb7dca9f1a67e3b6a1c0467cb2e0dca7625b622517ddb6 WHIRLPOOL 76c7973f3b4668ac438a0fed38b893b5eee8810aa91c0e43309063f064021e637190a1238d0e8f03c5d8303f91c50cb6beba22fd6dc712985c8b114ba2b75cea -DIST bcprov-jdk15-145.tar.gz 3427337 SHA256 7751a677d2cf7f8f9494a9b80c884e88de63be3be6fd9fccecee854196c611e2 SHA512 789ae99942e7d565ee58b2411f1ac089a999c4b947d81d640850190ff80d8aa27448d401deff5f44d9ebb4b75f492cf58a6d1d7bcab78198872bea6e98c9f7c3 WHIRLPOOL bb30f3c4192aef793d1193ce4a85f7aa801dca5ae5c0e17807e8c0d549bf883424985025b157266fc5b504a8892e37494295f780c736903d484c5cee70b5bc33 DIST bcprov-jdk15on-148.tar.gz 4070349 SHA256 e3fc3dab563e52939c7fa22f93a051a819729a03dbeabfb6e1998ed41943b56b SHA512 5216f6511c2ab280dc5a06a94017c2045befaa23c4ba71e67f20375f498ac2e1706b772440b5f5615cc18a52ce79fd61f7f95d2663202b50f29196dff33cde46 WHIRLPOOL 9020e24c3f7a63a555760f07ee93ffd0f58350558bf2bf02a5229468867d747e29521b48784ca9f8aeaa832059fe62f02f622ab141c8608d71692ca8c68d9b89 DIST bcprov-jdk15on-149.tar.gz 4329897 SHA256 a22ca93539a34bdbce793a0093dd3f7f8c313e318368772806fa5db3f0603ac6 SHA512 123b2c7063b8a1fe068571d8227269fd77b6d07163aec35dca2219b5a2e0ad970995a74027cc515ecaa6112ccb395fcc4db6fa323f9eadab2c4d6e62991c9143 WHIRLPOOL 9c4057cbf11254a7d99d492840b7921dbe296bc5675a5527b917a1b4496c027fbf5db60a555e4abe05f03d528836c6512d4241d4a1a7425750957c3a43680103 DIST bcprov-jdk15on-150.tar.gz 4629743 SHA256 468259c9166fbcf87ad284ae46fae45408cb7cfc9c406862ea75d5b8696f4f2a SHA512 95400c338a65cbb7d1e80c776de41d3d372b4237aee91526a06774c3d4beb735dcfb4c1ed182a12f2ccac8204b9c546863d79eb99723394d48c415fa32b6ee0e WHIRLPOOL 4f0db66b6e7cc4faf7fbd09a9c4ba7618123657d86e4552157d998e5ae8bb21843fe5ebfa8a9e622b1d9697a0e6e9637a55501fefda238c91a0bbd5be7010c38 diff --git a/dev-java/bcprov/bcprov-1.38-r2.ebuild b/dev-java/bcprov/bcprov-1.38-r2.ebuild deleted file mode 100644 index 38f288d55309..000000000000 --- a/dev-java/bcprov/bcprov-1.38-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}-jdk14-${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 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.4 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.4" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - unpack ./src.zip - - # so that we don't need junit - echo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." -} - -src_compile() { - mkdir "${S}/classes" - - find . -name "*.java" > "${T}/src.list" - ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list" - - cd "${S}/classes" - jar -cf "${S}/${PN}.jar" * || die "failed to create jar" -} - -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/bcprov/bcprov-1.38-r3.ebuild b/dev-java/bcprov/bcprov-1.38-r3.ebuild deleted file mode 100644 index 887278148fc1..000000000000 --- a/dev-java/bcprov/bcprov-1.38-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}-jdk14-${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="1.38" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.4 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.4" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - unpack ./src.zip - - # so that we don't need junit - echo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." -} - -src_compile() { - mkdir "${S}/classes" - - find . -name "*.java" > "${T}/src.list" - ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list" - - cd "${S}/classes" - jar -cf "${S}/${PN}.jar" * || die "failed to create jar" -} - -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/bcprov/bcprov-1.40-r1.ebuild b/dev-java/bcprov/bcprov-1.40-r1.ebuild deleted file mode 100644 index ac913873e99a..000000000000 --- a/dev-java/bcprov/bcprov-1.40-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}-jdk15-${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="1.40" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - cd "${S}" - unpack ./src.zip - - # so that we don't need junit - echo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." -} - -src_compile() { - mkdir "${S}/classes" - - find . -name "*.java" > "${T}/src.list" - ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list" - - cd "${S}/classes" - jar -cf "${S}/${PN}.jar" * || die "failed to create jar" -} - -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/bcprov/bcprov-1.45-r1.ebuild b/dev-java/bcprov/bcprov-1.45-r1.ebuild deleted file mode 100644 index 0cea3e9359f7..000000000000 --- a/dev-java/bcprov/bcprov-1.45-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}-jdk15-${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="1.45" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - cd "${S}" - unpack ./src.zip - - # so that we don't need junit - echo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." -} - -src_compile() { - mkdir "${S}/classes" - - find . -name "*.java" > "${T}/src.list" - ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list" - - cd "${S}/classes" - jar -cf "${S}/${PN}.jar" * || die "failed to create jar" -} - -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/bcprov/bcprov-1.45.ebuild b/dev-java/bcprov/bcprov-1.45.ebuild deleted file mode 100644 index 4dd1d5ec6d04..000000000000 --- a/dev-java/bcprov/bcprov-1.45.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}-jdk15-${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 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - cd "${S}" - unpack ./src.zip - - # so that we don't need junit - echo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." -} - -src_compile() { - mkdir "${S}/classes" - - find . -name "*.java" > "${T}/src.list" - ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list" - - cd "${S}/classes" - jar -cf "${S}/${PN}.jar" * || die "failed to create jar" -} - -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/bcprov/bcprov-1.48-r1.ebuild b/dev-java/bcprov/bcprov-1.48-r1.ebuild deleted file mode 100644 index 0948f5b7f768..000000000000 --- a/dev-java/bcprov/bcprov-1.48-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2013 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-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="1.48" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - - cd "${S}" || die - unpack ./src.zip -} - -java_prepare() { - # This should eventually split the tests - # and call them separately, it's not clean - # to just throw the tests away. - einfo "Removing testcases' sources:" - find . -path '*test/*.java' -print -delete \ - || die "Failed to delete testcases." - find . -name '*Test*.java' -print -delete \ - || die "Failed to delete testcases." - - mkdir "${S}"/classes || die -} - -src_compile() { - find . -name "*.java" > "${T}"/src.list - ejavac -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list - - cd "${S}"/classes || die - jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." -} - -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/bcprov/bcprov-1.49-r2.ebuild b/dev-java/bcprov/bcprov-1.49-r2.ebuild deleted file mode 100644 index fa1a02fc3166..000000000000 --- a/dev-java/bcprov/bcprov-1.49-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2013 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 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# Tests are currently broken. Needs further investigation. -# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 -RESTRICT="test" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip - test? ( dev-java/junit:4 )" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - - cd "${S}" || die - unpack ./src.zip -} - -java_prepare() { - mkdir "${S}"/classes || die - - if use test ; then - java-pkg_jar-from --build-only junit-4 - fi -} - -src_compile() { - find . -name "*.java" > "${T}"/src.list - - local cp - if use test ; then - cp="-cp junit.jar" - else - sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" - fi - - ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list - - cd "${S}"/classes || die - - jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." -} - -src_test() { - java -cp ${PN}.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests - - grep -q FAILURES *.tests && die "Tests failed." -} - -src_install() { - java-pkg_dojar ${PN}.jar - - use source && java-pkg_dosrc org - use doc && java-pkg_dojavadoc docs -} diff --git a/dev-java/bcprov/bcprov-1.49-r3.ebuild b/dev-java/bcprov/bcprov-1.49-r3.ebuild deleted file mode 100644 index 3e23923799af..000000000000 --- a/dev-java/bcprov/bcprov-1.49-r3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2014 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="1.49" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# Tests are currently broken. Needs further investigation. -# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 -RESTRICT="test" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip - test? ( dev-java/junit:4 )" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - - cd "${S}" || die - unpack ./src.zip -} - -java_prepare() { - mkdir "${S}"/classes || die - - if use test ; then - java-pkg_jar-from --build-only junit-4 - fi -} - -src_compile() { - find . -name "*.java" > "${T}"/src.list - - local cp - if use test ; then - cp="-cp junit.jar" - else - sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" - fi - - ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list - - cd "${S}"/classes || die - - jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." -} - -src_test() { - java -cp ${PN}.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests - - grep -q FAILURES *.tests && die "Tests failed." -} - -src_install() { - java-pkg_dojar ${PN}.jar - - use source && java-pkg_dosrc org - use doc && java-pkg_dojavadoc docs -} diff --git a/dev-java/bcprov/bcprov-1.50-r1.ebuild b/dev-java/bcprov/bcprov-1.50-r1.ebuild deleted file mode 100644 index 99e56563e8d1..000000000000 --- a/dev-java/bcprov/bcprov-1.50-r1.ebuild +++ /dev/null @@ -1,58 +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-pkg-simple - -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="1.50" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" - -CDEPEND="" - -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - ${CDEPEND}" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -JAVA_ENCODING="ISO-8859-1" - -# Package can't be build with test as bcprov and bcpkix can't be built with test. -RESTRICT="test" - -src_unpack() { - default - cd "${S}" - unpack ./src.zip -} - -java_prepare() { - if ! test; then - for test_file in $(find . -type f -name '*Test*'.java); do - JAVA_RM_FILES+=("${test_file}") - done - fi -} - -src_compile() { - java-pkg-simple_src_compile -} - -src_install() { - java-pkg-simple_src_install - use source && java-pkg_dosrc org -} diff --git a/dev-java/bcprov/bcprov-1.50.ebuild b/dev-java/bcprov/bcprov-1.50.ebuild deleted file mode 100644 index 6a541955b7de..000000000000 --- a/dev-java/bcprov/bcprov-1.50.ebuild +++ /dev/null @@ -1,81 +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 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# Tests are currently broken. Needs further investigation. -# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 -RESTRICT="test" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.5 - userland_GNU? ( >=sys-apps/findutils-4.3 ) - app-arch/unzip - test? ( dev-java/junit:4 )" -RDEPEND=">=virtual/jre-1.5" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - - cd "${S}" || die - unpack ./src.zip -} - -java_prepare() { - mkdir "${S}"/classes || die - - if use test ; then - java-pkg_jar-from --build-only junit-4 - fi -} - -src_compile() { - find . -name "*.java" > "${T}"/src.list - - local cp - if use test ; then - cp="-cp junit.jar" - else - sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" - fi - - ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list - - cd "${S}"/classes || die - - jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." -} - -src_test() { - java -cp ${PN}.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests - - grep -q FAILURES *.tests && die "Tests failed." -} - -src_install() { - java-pkg_dojar ${PN}.jar - - use source && java-pkg_dosrc org - use doc && java-pkg_dojavadoc docs -} diff --git a/dev-java/bcprov/bcprov-1.52.ebuild b/dev-java/bcprov/bcprov-1.52.ebuild deleted file mode 100644 index c2e5a3c31a5c..000000000000 --- a/dev-java/bcprov/bcprov-1.52.ebuild +++ /dev/null @@ -1,84 +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 ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos" - -# Tests are currently broken. Needs further investigation. -# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 -RESTRICT="test" - -# The src_unpack find needs a new find -# https://bugs.gentoo.org/show_bug.cgi?id=182276 -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - userland_GNU? ( - sys-apps/findutils - ) - test? ( - dev-java/junit:4 - )" -RDEPEND=">=virtual/jre-1.6" - -IUSE="userland_GNU" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - default - cd "${S}" || die - unpack ./src.zip -} - -java_prepare() { - mkdir "${S}"/classes || die - - if use test; then - java-pkg_jar-from --build-only junit-4 - fi -} - -src_compile() { - find . -name "*.java" > "${T}"/src.list - - local cp - if use test ; then - cp="-cp junit.jar" - else - sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes" - fi - - ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list - - cd "${S}"/classes || die - - jar -cf "${S}"/${PN}.jar * || die "Failed to create jar." -} - -src_test() { - java -cp ${PN}.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests - java -cp ${PN}.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests - - grep -q FAILURES *.tests && die "Tests failed." -} - -src_install() { - java-pkg_dojar ${PN}.jar - - use source && java-pkg_dosrc org - use doc && java-pkg_dojavadoc docs -} |