1 |
commit: e4312db3c5774e796eb5160813745f72a3c7b7b8 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 13:40:00 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 11 13:49:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4312db3 |
7 |
|
8 |
dev-ml/cryptokit: bump to 1.11 |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
dev-ml/cryptokit/Manifest | 1 + |
13 |
dev-ml/cryptokit/cryptokit-1.11.ebuild | 50 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest |
17 |
index e097a6e..ef302f2 100644 |
18 |
--- a/dev-ml/cryptokit/Manifest |
19 |
+++ b/dev-ml/cryptokit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cryptokit-1.10.tar.gz 152525 SHA256 db6639646e1d35cdd9d8c3779a260d073f8c5385e1d3647f7e9ac9537b144ecc SHA512 22564e0151c492963d75fb81780b3a884a0bf613ad09380d9b5365740fd9c4bbdaa1c21fed50a1a4934dce920d90f5c86dc014f90e52677544789311f7bded4f WHIRLPOOL 6fe80bf742a68784aac4d9fcdf389b5e9ddd7acf606b7f2c40328756ea56bc631b3af6bcaaaec526528a12a897c69ebc6b4d7228e2ee55b06dbbf95fd731f0e3 |
22 |
+DIST cryptokit-1.11.tar.gz 156905 SHA256 489ac4192e78be66e706d8380b48f18baf537b5e620be52c526509474bb03bb0 SHA512 cc641a05a67cd3d2e5ec481e8d426796db625ab60e89f79bde2e360730892c62f30ea2e37c4b028df16471220847e6d7ce4984deb9528fec6647a17fc4ae1b0d WHIRLPOOL a1dc86bd45578c36bd96a15b2073d3ba06960e31e0c76f37e69d6a0954e46606aaf73fdfc5a6ef856548dc7fcc4e87d72f4445033054bfb0eff00740833d7d2d |
23 |
|
24 |
diff --git a/dev-ml/cryptokit/cryptokit-1.11.ebuild b/dev-ml/cryptokit/cryptokit-1.11.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..7f11ea3 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/cryptokit/cryptokit-1.11.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="5" |
35 |
+ |
36 |
+OASIS_BUILD_DOCS=1 |
37 |
+OASIS_BUILD_TESTS=1 |
38 |
+ |
39 |
+inherit oasis |
40 |
+ |
41 |
+DESCRIPTION="Cryptographic primitives library for Objective Caml" |
42 |
+HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/" |
43 |
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1618/${P}.tar.gz" |
44 |
+LICENSE="LGPL-2" |
45 |
+SLOT="0/${PV}" |
46 |
+KEYWORDS="~amd64 ~x86-fbsd" |
47 |
+IUSE="zlib" |
48 |
+ |
49 |
+DEPEND="zlib? ( >=sys-libs/zlib-1.1 ) |
50 |
+ dev-ml/zarith:=" |
51 |
+RDEPEND="${DEPEND}" |
52 |
+ |
53 |
+DOCS=( "Changes" "README.txt" "AUTHORS.txt" ) |
54 |
+ |
55 |
+src_configure() { |
56 |
+ oasis_configure_opts="$(use_enable zlib)" \ |
57 |
+ oasis_src_configure |
58 |
+} |
59 |
+ |
60 |
+pkg_postinst() { |
61 |
+ elog "" |
62 |
+ elog "This library uses the /dev/random device to generate " |
63 |
+ elog "random data and RSA keys. The device should either be" |
64 |
+ elog "built into the kernel or provided as a module. An" |
65 |
+ elog "alternative is to use the Entropy Gathering Daemon" |
66 |
+ elog "(http://egd.sourceforge.net). Please note that the" |
67 |
+ elog "remainder of the library will still work even in the" |
68 |
+ elog "absence of a one of these sources of randomness." |
69 |
+ elog "" |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ echo "" |
74 |
+ einfo "You must have either /dev/random or the Entropy Gathering" |
75 |
+ einfo "Daemon (EGD) for this test to succeed!" |
76 |
+ echo "" |
77 |
+ |
78 |
+ oasis_src_test |
79 |
+} |