diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-25 15:50:30 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-25 20:13:55 +0200 |
commit | 72705b7559ef413770c48a61bf577757f21f811b (patch) | |
tree | 50aa4242a0a337ffb2b6651c998481f59d0f792c /dev-ml/cryptokit | |
parent | net-libs/webkit-gtk: bump to 2.16.6 for security fixes (diff) | |
download | gentoo-72705b7559ef413770c48a61bf577757f21f811b.tar.gz gentoo-72705b7559ef413770c48a61bf577757f21f811b.tar.bz2 gentoo-72705b7559ef413770c48a61bf577757f21f811b.zip |
dev-ml/cryptokit: bump to 1.12 and switch to github
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/cryptokit')
-rw-r--r-- | dev-ml/cryptokit/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/cryptokit/cryptokit-1.12.ebuild | 52 | ||||
-rw-r--r-- | dev-ml/cryptokit/metadata.xml | 3 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest index ef302f25515b..044057c77be1 100644 --- a/dev-ml/cryptokit/Manifest +++ b/dev-ml/cryptokit/Manifest @@ -1,2 +1,3 @@ DIST cryptokit-1.10.tar.gz 152525 SHA256 db6639646e1d35cdd9d8c3779a260d073f8c5385e1d3647f7e9ac9537b144ecc SHA512 22564e0151c492963d75fb81780b3a884a0bf613ad09380d9b5365740fd9c4bbdaa1c21fed50a1a4934dce920d90f5c86dc014f90e52677544789311f7bded4f WHIRLPOOL 6fe80bf742a68784aac4d9fcdf389b5e9ddd7acf606b7f2c40328756ea56bc631b3af6bcaaaec526528a12a897c69ebc6b4d7228e2ee55b06dbbf95fd731f0e3 DIST cryptokit-1.11.tar.gz 156905 SHA256 489ac4192e78be66e706d8380b48f18baf537b5e620be52c526509474bb03bb0 SHA512 cc641a05a67cd3d2e5ec481e8d426796db625ab60e89f79bde2e360730892c62f30ea2e37c4b028df16471220847e6d7ce4984deb9528fec6647a17fc4ae1b0d WHIRLPOOL a1dc86bd45578c36bd96a15b2073d3ba06960e31e0c76f37e69d6a0954e46606aaf73fdfc5a6ef856548dc7fcc4e87d72f4445033054bfb0eff00740833d7d2d +DIST cryptokit-1.12.tar.gz 157920 SHA256 2d0cc9b7dba7a85ea9ca40eb3530e3d659a93e5d0c07d379c894b0aab6c436f8 SHA512 f99c50578360c7671029a0c4603b355912899596ea7baf55cb2f94e039658646396f1307417a24b3d87a535d272bed90e79d5e027af034c2c742140c44ec61ff WHIRLPOOL 3510b7283207bd75d58c29c655c36dbfb292cb7e4ed06b9bd5b1649266a888f9c59c1e4d26bbd60e384e9c464b96d95085940f290e5735387faf029d9e4d5742 diff --git a/dev-ml/cryptokit/cryptokit-1.12.ebuild b/dev-ml/cryptokit/cryptokit-1.12.ebuild new file mode 100644 index 000000000000..b871c219dcdd --- /dev/null +++ b/dev-ml/cryptokit/cryptokit-1.12.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +OASIS_BUILD_DOCS=1 +OASIS_BUILD_TESTS=1 + +inherit oasis versionator + +DESCRIPTION="Cryptographic primitives library for Objective Caml" +HOMEPAGE="https://github.com/xavierleroy/cryptokit" +SRC_URI="https://github.com/xavierleroy/cryptokit/archive/release$(replace_all_version_separators '').tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86-fbsd" +IUSE="zlib" + +DEPEND="zlib? ( >=sys-libs/zlib-1.1 ) + dev-ml/zarith:=" +RDEPEND="${DEPEND}" + +DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) +REQUIRED_USE="test? ( ocamlopt )" + +S="${WORKDIR}/${PN}-release$(replace_all_version_separators '')" + +src_configure() { + oasis_configure_opts="$(use_enable zlib)" \ + oasis_src_configure +} + +pkg_postinst() { + elog "" + elog "This library uses the /dev/random device to generate " + elog "random data and RSA keys. The device should either be" + elog "built into the kernel or provided as a module. An" + elog "alternative is to use the Entropy Gathering Daemon" + elog "(http://egd.sourceforge.net). Please note that the" + elog "remainder of the library will still work even in the" + elog "absence of a one of these sources of randomness." + elog "" +} + +src_test() { + echo "" + einfo "You must have either /dev/random or the Entropy Gathering" + einfo "Daemon (EGD) for this test to succeed!" + echo "" + + oasis_src_test +} diff --git a/dev-ml/cryptokit/metadata.xml b/dev-ml/cryptokit/metadata.xml index ffac4d7ebc01..592d5adbb1ef 100644 --- a/dev-ml/cryptokit/metadata.xml +++ b/dev-ml/cryptokit/metadata.xml @@ -5,4 +5,7 @@ <email>ml@gentoo.org</email> <name>Gentoo ML Project</name> </maintainer> + <upstream> + <remote-id type="github">xavierleroy/cryptokit</remote-id> + </upstream> </pkgmetadata> |