dev-ml/cryptokit: bump to 1.12 and switch to github
authorAlexis Ballier <aballier@gentoo.org>
Tue, 25 Jul 2017 13:50:30 +0000 (15:50 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 25 Jul 2017 18:13:55 +0000 (20:13 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-ml/cryptokit/Manifest
dev-ml/cryptokit/cryptokit-1.12.ebuild [new file with mode: 0644]
dev-ml/cryptokit/metadata.xml

index ef302f25515bda4789d00218e13013272d397447..044057c77be1dc7383b8757ee41ba286373bf6a1 100644 (file)
@@ -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 (file)
index 0000000..b871c21
--- /dev/null
@@ -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
+}
index ffac4d7ebc0169266bc4466a92a17000a4b69db8..592d5adbb1ef2bbf8aee2790b61ae6293ca1043c 100644 (file)
@@ -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>