diff options
Diffstat (limited to 'dev-java/bcpg')
-rw-r--r-- | dev-java/bcpg/Manifest | 7 | ||||
-rw-r--r-- | dev-java/bcpg/bcpg-1.50-r1.ebuild | 70 | ||||
-rw-r--r-- | dev-java/bcpg/bcpg-1.52-r1.ebuild | 70 | ||||
-rw-r--r-- | dev-java/bcpg/metadata.xml | 8 |
4 files changed, 155 insertions, 0 deletions
diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest new file mode 100644 index 000000000000..a18125f827fa --- /dev/null +++ b/dev-java/bcpg/Manifest @@ -0,0 +1,7 @@ +DIST bcpg-jdk15on-150.tar.gz 691012 SHA256 7a5097f02db626c2dd2b8c05fdb90c09b1c14a9aaec341fa7c94b0d956790b0c SHA512 763d253b9bb45b7e7fab75d557daa784c3d4a503ced979adc986e5688c3939db248853c864a2f4bec6d5b1dd9ed668d5f278c91b5607774fc703971d0b330fe6 WHIRLPOOL b14e374c3750f2a717dbfee3644bb1b69fa626bf04ccb00ef1762cdac81043422d92c4759c63d0dbb0e2d467701214885e064fc3e79a8d72d9111f7323284ba4 +DIST bcpg-jdk15on-152.tar.gz 748424 SHA256 1b46377c860ee519642f2bb2df285cb5ce5f1d2cb83f2a44d5887b693b6a5405 SHA512 1619a8cd4024129876266415406882ac5df3dd84fd3e01d7593304874ad641fe72ae95150d0e4414b294e2e5ca8eb39e41a25658f9502b4cd9622fbf0f3d45a0 WHIRLPOOL f203c55a62ee7274a39fcfb94e756f43bbf0cee0da14fc4981af6fab8c7615c7337eb1fda12d159dc464dff6af982fe9464dbebd7b091399a2ce5e956e501f7a +EBUILD bcpg-1.50-r1.ebuild 1537 SHA256 0f71f7eeda6fd828efecd22d6c6ee8ee654186ec6650407ff6870c17bbd4a4cf SHA512 cd517a2b295436ab520a1c9e67c880e9bd5bfb73328f98bb0a25bf7a8caf3eb7d21cda75700b7fe633123f815eaad7238e147f0c2196f3c74ae7d4f0d916aa56 WHIRLPOOL df530739df05fb2a2bedaa4fd40888e5a110fe5816c7c43b61b41cbb63add5852afe7b54b5739ddeb8512b9272185548bd266060802911eb71d942d27e4d413a +EBUILD bcpg-1.52-r1.ebuild 1537 SHA256 39d98059448520a3e78234a54fd21b35fc5ff859d30212109550ca55ce12a38d SHA512 a658c4093e5622b2d70ace863b1a30823d553a383c2422503db60c8e0d22177c06b6fc72b547263ca9b4f3219b5ffef1b113d01eae48cd42c64ac42991ae09c2 WHIRLPOOL f21c265d97797fe4c0e6cd6cf1c6c1ca08fc1e034f51a2b54339f0b44c28785fadd00f72bb7a0de1171cd5b13f9e553a260033cea28b4f0182d396ff36a0f6fa +MISC ChangeLog 4108 SHA256 7b23ede7c9071b8fafdde358d65c3be3ac239408a7cf9b87b179583fc0888449 SHA512 ec11cae9cf6b3c43119ef7e91faf691413cf85c73637b746b3e4a97b0618181fd3a00739f199769d1c54fa4c0667f3981aa4610645e3dca7aa4146e4b3109a73 WHIRLPOOL 0808d6eea2408451e2b79086d7a3f30c5a2e84776a774401d1b4e83053a218e1a23ed76621b3d1462005b4bc0f9455159729efebaee977585a16f0f88e42426c +MISC ChangeLog-2015 796 SHA256 2ec7b85f5cbac526a71ea90c8742d45c888a999689a86d087d48c02f754258df SHA512 edf23b7b917a04078a484d047973a38e827caa8f984fb8982967449c4fe91d65e08371c44cedbf0927893ebcf1bf34b588c68ea6bc439a864dd46a605e691ade WHIRLPOOL 72ed915dc640d64f1057dbc97a92f0aff346b4b9924f0f353a3d3fbebee3231d124acef32f69a68333556206e0c7c6270ee1e1ff26728d7b02718f64fe833b29 +MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild b/dev-java/bcpg/bcpg-1.50-r1.ebuild new file mode 100644 index 000000000000..07ea7c547e7b --- /dev/null +++ b/dev-java/bcpg/bcpg-1.50-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" + +# Tests are currently broken. Appears to need older version of bcprov; but since bcprov is not slotted, this can cause conflicts. +# Needs further investigation; though, only a small part has tests and there are no tests for bcpg itself. +RESTRICT="test" + +CDEPEND="dev-java/bcprov:${SLOT}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + test? ( + dev-java/ant-junit:0 + ) + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}" + +src_unpack() { + default + cd "${S}" + unpack ./src.zip +} + +java_prepare() { + if ! use test; then + local RM_TEST_FILES=( + org/bouncycastle/openpgp/test + org/bouncycastle/openpgp/examples/test + ) + rm -rf "${RM_TEST_FILES[@]}" || die + fi +} + +src_compile() { + java-pkg-simple_src_compile +} + +src_test() { + local cp="${PN}.jar:bcprov.jar:junit.jar" + local pkg="org.bouncycastle" + java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests + grep -q FAILURES *.tests && die "Tests failed." +} + +src_install() { + java-pkg-simple_src_install + use source && java-pkg_dosrc org +} diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild b/dev-java/bcpg/bcpg-1.52-r1.ebuild new file mode 100644 index 000000000000..b6d307d74531 --- /dev/null +++ b/dev-java/bcpg/bcpg-1.52-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.52" +KEYWORDS="amd64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" + +# Tests are currently broken. Appears to need older version of bcprov; but since bcprov is not slotted, this can cause conflicts. +# Needs further investigation; though, only a small part has tests and there are no tests for bcpg itself. +RESTRICT="test" + +CDEPEND="dev-java/bcprov:${SLOT}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + test? ( + dev-java/ant-junit:0 + ) + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}" + +src_unpack() { + default + cd "${S}" + unpack ./src.zip +} + +java_prepare() { + if ! use test; then + local RM_TEST_FILES=( + org/bouncycastle/openpgp/test + org/bouncycastle/openpgp/examples/test + ) + rm -rf "${RM_TEST_FILES[@]}" || die + fi +} + +src_compile() { + java-pkg-simple_src_compile +} + +src_test() { + local cp="${PN}.jar:bcprov.jar:junit.jar" + local pkg="org.bouncycastle" + java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests + grep -q FAILURES *.tests && die "Tests failed." +} + +src_install() { + java-pkg-simple_src_install + use source && java-pkg_dosrc org +} diff --git a/dev-java/bcpg/metadata.xml b/dev-java/bcpg/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/bcpg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |