dev-ml/x509: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-04 22:30:01 +02:00
parent 316d90e032
commit 3b18b6e264
3 changed files with 54 additions and 0 deletions

1
dev-ml/x509/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST x509-v0.13.0.tbz 143302 BLAKE2B d4079a5cce87617ea611ed5624697577b97cf69a1df830fe2b4775ffa47ab557a72cb01bf24b6b56478f6fb22afb87e971ab260ae6acd7e75ef6ad0ff4052c24 SHA512 ab6d4df7e6b6796b962d4ec3d949723c2a039fc9d534a196d8ebd71499dce310716aba3be7bd9600428b534f5eadf7b8b106f77633a63f46c16eceb447e946cc

12
dev-ml/x509/metadata.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirleft/ocaml-x509</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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 )"