<pre style='margin:0'>
Landon Fuller (landonf) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4017aa431685fce0d95774bb7c767125263e3b18">https://github.com/macports/macports-ports/commit/4017aa431685fce0d95774bb7c767125263e3b18</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4017aa431685fce0d95774bb7c767125263e3b18
</span>Author: Landon Fuller <landonf@macports.org>
AuthorDate: Mon Oct 21 11:56:45 2019 -0600
<span style='display:block; white-space:pre;color:#404040;'> ocaml-cryptokit: resurrect and assume maintainership
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/commit/c74829ff2833272dee4f0481bbd1b36a1a8725d0
</span>---
ocaml/ocaml-cryptokit/Portfile | 35 +++++++++++++++++++++++++++++++
ocaml/ocaml-cryptokit/files/setup-ml.diff | 17 +++++++++++++++
2 files changed, 52 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ocaml/ocaml-cryptokit/Portfile b/ocaml/ocaml-cryptokit/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..def3d07
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ocaml/ocaml-cryptokit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup ocaml 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ocaml-cryptokit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup xavierleroy cryptokit [string map {. ""} $version] release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories ocaml devel security
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {landonf @landonf} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description OCaml interface to cryptographic functions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The Cryptokit library for OCaml provides a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variety of cryptographic primitives that can be used to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implement cryptographic protocols in security-sensitive \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applications.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 882ea0cc12086fb4aee50003c78b09d99fce450d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8d43d072a3986af7464a6b23e2da12cb1e192eb68e0c387530afac50f6c5889e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 165774
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles setup-ml.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:ocaml-ocamlbuild
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ocaml-zarith \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ocaml.build_type oasis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+oasis.build_docs yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#configure.args-append "--destdir ${destroot}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ocaml/ocaml-cryptokit/files/setup-ml.diff b/ocaml/ocaml-cryptokit/files/setup-ml.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b6bbdbf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ocaml/ocaml-cryptokit/files/setup-ml.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.ml.ORIG 2017-07-30 12:47:19.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.ml 2018-04-26 20:46:18.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6060,12 +6060,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fun () -> dn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- let () =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (* let () =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if not (OASISFileUtil.file_exists_case (findlib_dir ())) then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ failwithf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (f_ "Directory '%s' doesn't exist for findlib library %s")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (findlib_dir ()) findlib_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ in *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ let f dir file =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ let basename = Filename.basename file in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ let tgt_fn = Filename.concat dir basename in
</span></pre><pre style='margin:0'>
</pre>