dev-ml/eqaf: add 0.8

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-16 02:22:46 +02:00
parent 7a34dbf2a1
commit 9d58ec2e17
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST eqaf-v0.7.tbz 19149 BLAKE2B bd73571d7118b7007a89c07b65eeaaadc34722b2e3923ef045d7a39c5e6d92292f38c6507934bad27af744a9a5eac5be16a9446d0353d998bc727dd86fc2d0bd SHA512 38a2687bafb5cd1d1deb51ceceba94fcff9ce88515fd2c61ec1182808c50c0e3373a4d71fe51a17a23c74616c5ab350a4cf7914de656886981538abf2b57ff61
DIST eqaf-v0.8.tbz 29219 BLAKE2B 04f4e31fa7ebe7eb4777ee77cdc08495500562e61767bdc064c3cf2f90df64cf47f8160cbc2fb0c633ae32893566fed41aec6c329f6086439c9ad30a3bbff435 SHA512 303749bdbaae8fc27f57ebaa5cf9b16ed5b8cbaee35f0a35d69f91a437b1a3411a613d145d3aff7ff74a587509d877cc0a569fdae4d00cec65bf50d705361e25

View File

@@ -0,0 +1,36 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Constant time equal function to avoid timing attacks in OCaml"
HOMEPAGE="
https://github.com/mirage/eqaf
https://opam.ocaml.org/packages/eqaf/
"
SRC_URI="https://github.com/mirage/eqaf/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
>=dev-lang/ocaml-4.07.0:=[ocamlopt?]
>=dev-ml/cstruct-1.1.0:=
"
DEPEND="
${RDEPEND}
test? (
dev-ml/ocaml-base64
dev-ml/alcotest
dev-ml/crowbar
)
"
RESTRICT="!test? ( test )"