diff --git a/dev-ml/x509/Manifest b/dev-ml/x509/Manifest new file mode 100644 index 0000000000..9de5accc46 --- /dev/null +++ b/dev-ml/x509/Manifest @@ -0,0 +1 @@ +DIST x509-v0.13.0.tbz 143302 BLAKE2B d4079a5cce87617ea611ed5624697577b97cf69a1df830fe2b4775ffa47ab557a72cb01bf24b6b56478f6fb22afb87e971ab260ae6acd7e75ef6ad0ff4052c24 SHA512 ab6d4df7e6b6796b962d4ec3d949723c2a039fc9d534a196d8ebd71499dce310716aba3be7bd9600428b534f5eadf7b8b106f77633a63f46c16eceb447e946cc diff --git a/dev-ml/x509/metadata.xml b/dev-ml/x509/metadata.xml new file mode 100644 index 0000000000..973e19557b --- /dev/null +++ b/dev-ml/x509/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirleft/ocaml-x509 + + diff --git a/dev-ml/x509/x509-0.13.0.ebuild b/dev-ml/x509/x509-0.13.0.ebuild new file mode 100644 index 0000000000..ff84020ed1 --- /dev/null +++ b/dev-ml/x509/x509-0.13.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Public Key Infrastructure purely in OCaml" +HOMEPAGE="https://github.com/mirleft/ocaml-x509" +SRC_URI="https://github.com/mirleft/ocaml-x509/releases/download/v${PV}/${MY_P}.tbz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/asn1-combinators + dev-ml/cstruct + dev-ml/domain-name + dev-ml/fmt + dev-ml/gmap + dev-ml/ipaddr + dev-ml/logs + dev-ml/mirage-crypto[ec,pk,rng] + dev-ml/ocaml-base64 + dev-ml/pbkdf + dev-ml/ptime +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/alcotest + dev-ml/cstruct[unix] + ) +" + +RESTRICT="!test? ( test )"