diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-07-05 10:39:45 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-07-05 10:39:45 +0000 |
commit | 54795998f9c3a7879572a4978e2a49570958c928 (patch) | |
tree | 080e06da34aa24dd149858e5c70e32abad45c5b0 /dev-java/bcpg | |
parent | version bump, drop old (diff) | |
download | historical-54795998f9c3a7879572a4978e2a49570958c928.tar.gz historical-54795998f9c3a7879572a4978e2a49570958c928.tar.bz2 historical-54795998f9c3a7879572a4978e2a49570958c928.zip |
Added new ebuild for dev-java/bcpg, a dependency of =dev-java/ant-ivy-2.3.0.
Package-Manager: portage-2.1.12.11/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java/bcpg')
-rw-r--r-- | dev-java/bcpg/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/bcpg/Manifest | 18 | ||||
-rw-r--r-- | dev-java/bcpg/bcpg-1.49.ebuild | 87 | ||||
-rw-r--r-- | dev-java/bcpg/metadata.xml | 5 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-java/bcpg/ChangeLog b/dev-java/bcpg/ChangeLog new file mode 100644 index 000000000000..9624d642bc94 --- /dev/null +++ b/dev-java/bcpg/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/bcpg +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpg/ChangeLog,v 1.1 2013/07/05 10:39:36 tomwij Exp $ + +*bcpg-1.49 (05 Jul 2013) + + 05 Jul 2013; Tom Wijsman <TomWij@gentoo.org> +bcpg-1.49.ebuild, +metadata.xml: + Added new ebuild for dev-java/bcpg, a dependency of =dev-java/ant-ivy-2.3.0. diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest new file mode 100644 index 000000000000..56b5d13e89a0 --- /dev/null +++ b/dev-java/bcpg/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST bcpg-jdk15on-149.tar.gz 652057 SHA256 938c3cb6ae11b43616d08e08af5e4311a1bf291c6cbfd0b5d6a769b8cf82227c SHA512 059fc7a229f2478059a69c28256aa4fdfb214d70204c38ecd1e60cdecda4525868254542b26282ca461b3f41968e2069ebc9d64d7faa299b87e1def292ca865a WHIRLPOOL 25ca6a90e277f0e38b5116c565c189acca057a14dbd6c762eb1e3f57eb8f41dae848412e3cdf3492ad6290dc211ed70b8ab1282326f7500c138f71e663d44f64 +EBUILD bcpg-1.49.ebuild 2004 SHA256 d2fc73c5c41985eccced4049f40240cf9a406480ecf69e6152afc5288bf84a1d SHA512 eb0c680ccb8228f633f94d9bcf9bb9ee502a5f5b40db7d47a87375a77b11aaa95f24248b2d79f97e581d5c80063e579c84a3fa73e1c8cbb74e633a4e76343290 WHIRLPOOL d64c542e8eb6e1bca3d1c9509d61bf2412810f5eec62e1d646f290d164ddb1097ff608ead919e7fb1dac9b95ab0e3e5bbaf02bfb67b7951366972152b53c24d8 +MISC ChangeLog 385 SHA256 07c3135a3f80994b4f1d904d1223a60da16742bfd07a8e41261186cc54ccdd3b SHA512 1a2f6fd0569c004699b63ebbea362f4da95f5cbecc8f15fcbf2cc7404209805997b7dea8536301b8250d4236bbdcdef1b8c5b3932bba82971d8af3e3d4bd67c6 WHIRLPOOL 4ba46d111a99fd7607eac5fcc2ca5ccc67bdd85aa4ba4a87d7695b2349e223c80a17da208fa532f809f8649a115c3996fed036db9d1a0b961b65abf04959f8d4 +MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJR1qG4AAoJEJWyH81tNOV9S2YIALes6MQ0jY76zyvmYfKqbOIO +xDvVgPDtnB3xgXgvnRnH/OLMVvdJRsOa3XENbxu6zvVU4WBCfFa6plIcND+LOzu1 +3T/UvdLlMngXotIyKqE7/E7XcgM3a8xH6t3ae1v5o68AnImFETFhj28yjn60nbm3 +vs5JNEqjxYGgV9vEw5J6uIbOJ5yCxrJwF8U51UoX5+6VTrm+9j4IhGjQSfKLU6aT +x/vK4K5tV9zS9Tp/iAmUmq3pfkAjnjDfqZixJSzsXdTGdveFQQkkMk3pZx5xiwJe +uzo6MK3Mo2AybRYUqKBlExlmBw4FZfLo2Kh4Ynwrp2CIDsNXXkw02wX3C8P7AzU= +=wZxn +-----END PGP SIGNATURE----- diff --git a/dev-java/bcpg/bcpg-1.49.ebuild b/dev-java/bcpg/bcpg-1.49.ebuild new file mode 100644 index 000000000000..ee7d6a7cde17 --- /dev/null +++ b/dev-java/bcpg/bcpg-1.49.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpg/bcpg-1.49.ebuild,v 1.1 2013/07/05 10:39:36 tomwij Exp $ + +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. 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" + +COMMON_DEPEND=" + ~dev-java/bcmail-${PV}:0[test?] + ~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 bcmail + java-pkg_jar-from bcprov +} + +src_compile() { + find org -name "*.java" > "${T}"/src.list + + local cp="bcmail.jar: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:bcmail.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_dojar "${S}"/${PN}.jar + + use source && java-pkg_dosrc org + use doc && java-pkg_dojavadoc docs +} diff --git a/dev-java/bcpg/metadata.xml b/dev-java/bcpg/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/bcpg/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |