Merge updates from master

This commit is contained in:
Repository mirror & CI
2022-04-15 21:04:41 +00:00
293 changed files with 5821 additions and 934 deletions

View File

@@ -120,6 +120,7 @@ python_compile_all() {
}
python_prepare_all() {
rm glance/tests/test_hacking.py || die
sed -i '/pysendfile/d' test-requirements.txt || die
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
@@ -154,3 +155,7 @@ python_install_all() {
distutils-r1_python_install_all
rm -r "${ED}"/usr/etc
}
pkg_postinst() {
tmpfiles_process glance.conf
}

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2021 Gentoo Authors
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,17 +8,16 @@ HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz"
S="${WORKDIR}/${PN}-${P}"
LICENSE="LGPL-3" # maybe other licenses
LICENSE="LGPL-3 MIT"
SLOT="0"
KEYWORDS="~amd64"
# no compiling
src_compile() {
true
sed -e "s/VERSION/$(PV)/" < package.json.in > package.json || die
}
src_install() {
dodoc README
dodoc README TODO apache.conf.sample
insinto /usr/share/spice-html5
doins -r src apache.conf.sample spice.css spice.html spice_auto.html
doins -r src *.html *.json *.css
}

View File

@@ -14,7 +14,7 @@ LICENSE='GPL-2+'
DEPEND="
>=dev-lang/R-3.3.0
dev-R/Rcpp
=sci-libs/ensmallen-${MY_PV}*
=sci-libs/ensmallen-${MY_PV}*:=
"
RDEPEND="${DEPEND}
>=dev-R/RcppArmadillo-0.8.400.0.0
@@ -38,9 +38,7 @@ src_install() {
R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp"
dodir /usr/include/ensmallen_bits
for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
filename=$(basename "${file}")
dosym8 -r /usr/include/ensmallen_bits/${filename} "${R_includedir}/ensmallen_bits/${filename}"
done
# portage doesn't like symlinks to folders, symlink all the files then
rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die
cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die
}

View File

@@ -0,0 +1 @@
DIST afl-persistent-1.3.tar.gz 4310 BLAKE2B fa8a5bb5c86216d36ad59e01ff362c08bdbf112ac2f91f0ad2fcce4861b514f46871dd17771903e8b3e9f8db86fd0dda0b66a96372acf4e0fac4c25731356e63 SHA512 31f940be1c3e79856a001e2af687bb60f1a1bd6e04c6e730dc8f859db22bfccdc38eddb50baef423473cae9d1d3c2b86427a8257df0005328027b0fa2735100a

View File

@@ -0,0 +1,22 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit opam
DESCRIPTION="Persistent-mode afl-fuzz for ocaml"
HOMEPAGE="https://github.com/stedolan/ocaml-afl-persistent"
SRC_URI="https://github.com/stedolan/ocaml-afl-persistent/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-${P}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="dev-ml/base-unix"
DEPEND="${RDEPEND}"
src_compile() {
./build.sh || die
}

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">stedolan/ocaml-afl-persistent</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST alcotest-1.4.0.tar.gz 279675 BLAKE2B 3cc50ab37a16948ceca9b5e6aa885fa50bbe0722c6132ed4991fb64c568253d9913287d1b9e5547f59a210d6803e2a83565f02950fb12cb91ed9f8e24d7864c1 SHA512 adb73c8b2be6f47cb406bbc49dba7dc86e990a60e2e68302592a24dcc24e11e76e2aa6fc2f003c1e4fdbb79744df6ab601daff9540cd7b0096ac9f9bff18098c

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
DESCRIPTION="Lwt-based helpers for Alcotest"
HOMEPAGE="https://github.com/mirage/alcotest"
SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> alcotest-${PV}.tar.gz"
S="${WORKDIR}/alcotest-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/fmt:=
dev-ml/alcotest:=
dev-ml/lwt:=
dev-ml/logs:=
"
DEPEND="
${RDEPEND}
test? (
<dev-ml/cmdliner-1.1.0:=
dev-ml/re:=
)
"
RESTRICT="!test? ( test )"
src_compile() {
dune build --only-packages alcotest-lwt -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install alcotest-lwt
}

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">mirage/alcotest</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit dune
inherit dune multiprocessing
DESCRIPTION="Parser combinators built for speed and memory efficiency"
HOMEPAGE="https://github.com/inhabitedtype/angstrom"
@@ -12,19 +12,31 @@ SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> ${P}.
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="async lwt-unix ocamlopt unix"
RDEPEND="
dev-ml/async
dev-ml/base
async? ( dev-ml/async )
lwt-unix? (
dev-ml/base
dev-ml/lwt
)
unix? ( dev-ml/base )
dev-ml/bigstringaf
dev-ml/lwt
"
DEPEND="${RDEPEND}"
src_install() {
dune_src_install angstrom-async
dune_src_install angstrom-lwt-unix
dune_src_install angstrom-unix
dune_src_install angstrom
src_compile() {
local pkgs="angstrom"
use async && pkgs="${pkgs},angstrom-async"
use unix && pkgs="${pkgs},angstrom-unix"
use lwt-unix && pkgs="${pkgs},angstrom-lwt-unix"
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install angstrom
use async && dune_src_install angstrom-async
use lwt-unix && dune_src_install angstrom-lwt-unix
use unix && dune_src_install angstrom-unix
}

View File

@@ -9,4 +9,9 @@
<upstream>
<remote-id type="github">inhabitedtype/angstrom</remote-id>
</upstream>
<use>
<flag name="async">Async support for Angstrom</flag>
<flag name="lwt-unix">Lwt_unix support for Angstrom</flag>
<flag name="unix">Unix support for Angstrom</flag>
</use>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST arp-v3.0.0.tbz 19557 BLAKE2B ec424b3d74732a3e01eb9875bd6d5b05e79a1df5449a47120b6942023b0ebcb8597915874b2dde5d9e413410e41e8783c5ec8f7f49743a08fa877e3e94129efe SHA512 52eb9fdb00729a5b6c1d7dd9d14fca213aecddc6e2893c0e670dea3b31576e6765061f557b6521a065ed15a931f4cbbf432b4db8fe53df40dc801695acd242d4

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Address resolution protocol (ARP) implementation in OCaml"
HOMEPAGE="https://github.com/mirage/arp"
SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/cstruct
dev-ml/ipaddr
dev-ml/logs
dev-ml/mirage-time
dev-ml/lwt
dev-ml/duration
dev-ml/mirage-profile
dev-ml/ethernet
"
DEPEND="
${RDEPEND}
test? (
dev-ml/mirage-random
dev-ml/mirage-random-test
dev-ml/alcotest
dev-ml/fmt
dev-ml/mirage-vnetif
dev-ml/mirage-clock
dev-ml/mirage-time[unix]
dev-ml/mirage-flow
)
"
RESTRICT="!test? ( test )"

11
dev-ml/arp/metadata.xml Normal file
View File

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

View File

@@ -0,0 +1 @@
DIST asn1-combinators-v0.2.5.tbz 28306 BLAKE2B 0a49a1b3b9340c6992f176ef58c4d19bd7fe73450b9146fb69f6ad5704403be9b9638fb9a8989ba34f04a5bb20b3b1ce31eb58aec60ca759a92db779198855fd SHA512 49767d04129bb842215e57e4efeb79f6fba025ddd67e474d9a3f51625c5101e583208cc0ff6dd69bcbcd4ab415c83b410125c1b9eb66c8cde60132b243b06158

View File

@@ -0,0 +1,30 @@
# 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="Embed typed ASN.1 grammars in OCaml"
HOMEPAGE="https://github.com/mirleft/ocaml-asn1-combinators"
SRC_URI="https://github.com/mirleft/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/cstruct
dev-ml/ptime
dev-ml/zarith
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"

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-asn1-combinators</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST async_find-0.15.0.tar.gz 5785 BLAKE2B 4186658bb411fe16e27da64aeefa7cfe00c73572241663de82142484da2b88d673097b1248a3eeaf783d5d0550f6bb50a3cf9ee62f4746ea63484e55fb0e028b SHA512 37d46686fd7e4809b859474a10600fb9926d9d573fcdcac1a1f62b3a5eda6503d2d0af400e5fafa3b1698710e2be6b7a0cbba4e988307f36c104eb2aff1e091e

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Directory traversal with Async"
HOMEPAGE="https://github.com/janestreet/async_find"
SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
DEPEND="
dev-ml/async
dev-ml/core
dev-ml/ppx_jane
"
RDEPEND="${DEPEND}"

View File

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

View File

@@ -0,0 +1 @@
DIST async_inotify-0.15.0.tar.gz 8182 BLAKE2B f1c42be4b2206f7cb330af3fb333ff54a9923350711137d3eeca97231b3babdf73ea296084c213028cbd108071be00f8aaadcfa9b174cedc4ad8f940ea9103c8 SHA512 d3f0d5886ee113ae9e5f9d2440a9fb497eb19c41afb64f8427bcb9c0a5c6b45e176b4570cd3f196ad0f752de1188ed632f89270f57498ab89963df93efa79c02

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Async wrapper for inotify"
HOMEPAGE="https://github.com/janestreet/async_inotify"
SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
DEPEND="
dev-ml/core_unix
dev-ml/async
dev-ml/async_find
dev-ml/core
dev-ml/ppx_jane
dev-ml/inotify
"
RDEPEND="${DEPEND}"

View File

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

View File

@@ -0,0 +1 @@
DIST async_ssl-0.14.0.tar.gz 40338 BLAKE2B eb673f30d7374b539b37c84ba88e0daf8eeeacc93b278a44177a433cb8b336a843cc05e6033ec8ee831ec1c28fc243c8019a82bd495e96a1e54dfd47a3d10b13 SHA512 89397d0066444cbfdd3d4d27942ff04b3adbe2a9cf11427795fcf59127908c94f88c1575f395aa74eee49abb5be2e86940a88945dda6435fb81165bd58b789a7

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="An Async-pipe-based interface with OpenSSL"
HOMEPAGE="https://github.com/janestreet/async_ssl"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-libs/openssl:0=
dev-ml/async
dev-ml/base
dev-ml/core
dev-ml/ppx_jane
dev-ml/stdio
dev-ml/ocaml-ctypes
dev-ml/dune-configurator
"
DEPEND="${RDEPEND}"

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">janestreet/async_ssl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Bytes library distributed with the OCaml compiler"
HOMEPAGE="https://opam.ocaml.org/packages/base-bytes/"
LICENSE="QPL-1.0 LGPL-2"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="dev-lang/ocaml"

View File

@@ -0,0 +1,9 @@
<?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>
</pkgmetadata>

View File

@@ -0,0 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Threads library distributed with the OCaml compiler"
HOMEPAGE="https://opam.ocaml.org/packages/base-threads/"
LICENSE="QPL-1.0 LGPL-2"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="dev-lang/ocaml"

View File

@@ -0,0 +1,9 @@
<?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>
</pkgmetadata>

View File

@@ -0,0 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Unix library distributed with the OCaml compiler"
HOMEPAGE="https://opam.ocaml.org/packages/base-unix/"
LICENSE="QPL-1.0 LGPL-2"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="dev-lang/ocaml"

View File

@@ -0,0 +1,9 @@
<?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>
</pkgmetadata>

View File

@@ -12,7 +12,12 @@ SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="ocamlopt test"
DEPEND=""
RDEPEND="${DEPEND}"
RDEPEND=""
DEPEND="
${RDEPEND}
test? ( dev-ml/stdlib-shims )
"
RESTRICT="!test? ( test )"

View File

@@ -1 +1,2 @@
DIST bigstringaf-0.7.0.tar.gz 11896 BLAKE2B 4bc94264865cc7d90def66930dc76264169b14f907094cdc9e25222f308163df3384a2c1a4d9a5b278fe4f9a433bf96b75fbf791d1255ce7dec582decbfd7951 SHA512 ea0827eaa37b053c1a1756ed38f059209e85fbf7d3e19ed97de587416a9717e77c5b1017afa307e9eee938c18b4ef7cb6ff4adea683d5a9b8430358b4096b960
DIST bigstringaf-0.9.0.tar.gz 12431 BLAKE2B 12024a32d5ae9f3a5bdda223218abb8957519ebc70998ba34ebe841ef560d44d27f5b60413c88ca873fdf1a2a35ea08a3fafba00073c6cba26fe32237b3a56cf SHA512 c5148d967beef15bba21a706009cb8443fe6afd76b949d6a6bcf4fc6c6d410bd0ca4c86b4ef6897cad73c51449e5387ee0173347b8d43c49f1a62024a8aa4db5

View File

@@ -12,9 +12,12 @@ SRC_URI="https://github.com/inhabitedtype/bigstringaf/archive/${PV}.tar.gz -> ${
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="ocamlopt test"
RDEPEND="dev-ml/bigarray-compat"
DEPEND="
dev-ml/bigarray-compat
${RDEPEND}
test? ( dev-ml/alcotest )
"
RDEPEND="${DEPEND}"
RESTRICT="!test? ( test )"

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Bigstring intrinsics and fast blits based on memcpy/memmove"
HOMEPAGE="https://github.com/inhabitedtype/bigstringaf"
SRC_URI="https://github.com/inhabitedtype/bigstringaf/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND=">=dev-lang/ocaml-4.08.0"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"

View File

@@ -0,0 +1 @@
DIST ca-certs-nss-3.74.tbz 228309 BLAKE2B f90ba922b08c2fd22a527ef96f145b6e7ff108fe7d5cdfe877a962ad272fafb7761c9ed9e2364251d4f3e2f81d281bb2909551b95d69943eb57f121b4be6b2ad SHA512 42ae429ae32047959adc6d107e37e5608b4bca7484efc2b71ee9e319e639639f3f663f1d8528538aecf10584b1839f002e0e6c7602900b600a129ff56cf30fa5

View File

@@ -0,0 +1,32 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="X.509 trust anchors extracted from Mozilla's NSS"
HOMEPAGE="https://github.com/mirage/ca-certs-nss"
SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${P}.tbz"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/mirage-crypto
dev-ml/mirage-clock
dev-ml/x509
"
DEPEND="
${RDEPEND}
dev-ml/logs
dev-ml/fmt
dev-ml/bos
dev-ml/astring
dev-ml/cmdliner
dev-ml/alcotest
"
RESTRICT="!test? ( test )"

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ca-certs-nss</remote-id>
</upstream>
</pkgmetadata>

1
dev-ml/ca-certs/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ca-certs-v0.2.1.tbz 26566 BLAKE2B e48c5230501ba790acb5abf078c0a3e3eb26da7a7ba946c001d2c37b8d45952ebc1e8fa7f4ee033e944e18cb9dbe1598be336d29b41e4f04d74006b6d790f319 SHA512 5b337812047e75b97218d0fc28d13dd37c8aebe2672954679884d3eb3ddda59c9678aea2a66dd66def4b2eb0a6b9e25812a95a5e8cae47c074759b2e9ff7a3c9

View File

@@ -0,0 +1,37 @@
# 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="Detect root CA certificates from the operating system"
HOMEPAGE="https://github.com/mirage/ca-certs"
SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/astring
dev-ml/bos
dev-ml/fpath
dev-ml/ptime
dev-ml/logs
dev-ml/mirage-crypto
dev-ml/x509
"
DEPEND="
${RDEPEND}
test? (
dev-ml/alcotest
dev-ml/fmt
)
"
RESTRICT="!test? ( test )"

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">mirage/ca-certs</remote-id>
</upstream>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST cdrom-0.9.4.tar.gz 13081 BLAKE2B 7021464d9a3b8009cb915b2481364975f5446ff1b0ca62a44758db1804bc9a166ee52f50b93098ead3dbb7cf5fd413570dc985e8ae78574ba6a223c056bf3e66 SHA512 7b641062dbe7b0407348fec1f8d595a41bddeb7e566c93ea569a64349e08d13cb824edd7c8a63e68680897aca4811df696b131aba56701da547497743a601f68

View File

@@ -0,0 +1,18 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Query the state and contents of CDROM devices under Linux"
HOMEPAGE="https://github.com/xapi-project/cdrom"
SRC_URI="https://github.com/xapi-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
DEPEND=""
RDEPEND="${DEPEND}"

11
dev-ml/cdrom/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">xapi-project/cdrom</remote-id>
</upstream>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST ocaml-cohttp-5.0.0.tar.gz 134016 BLAKE2B 0377bf6e9e355eb8bd27156ba95b3174aee2e9e0e2f66622bfcb9fbf15c7c2ae3fa2ac279134307260b07419887f30935e5d28c4750463eb7720ad022acbc5f2 SHA512 32f9c4cd3e3eda65a74ef01cfd1336f6a7fac30d8dde6b97b6452b887002b26ed54cb92e8abefb236486447742857f9eb712388fbd1ffd69d06d0a7698049458

View File

@@ -0,0 +1,151 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
DESCRIPTION="Very lightweight HTTP server using Lwt or Async"
HOMEPAGE="https://github.com/mirage/ocaml-cohttp"
SRC_URI="https://github.com/mirage/ocaml-cohttp/archive/v${PV}.tar.gz -> ocaml-cohttp-${PV}.tar.gz"
S="${WORKDIR}/ocaml-cohttp-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="async bench curl curl-async curl-lwt lwt lwt-jsoo lwt-unix mirage ocamlopt server-lwt-unix test top"
RDEPEND="
async? (
dev-ml/async
dev-ml/async_kernel
dev-ml/async_unix
dev-ml/base
dev-ml/core_unix
dev-ml/conduit[async]
dev-ml/fmt
dev-ml/ipaddr
dev-ml/logs
dev-ml/magic-mime
dev-ml/mirage-crypto
)
bench? (
dev-ml/core
dev-ml/core_bench
)
curl-async? (
dev-ml/async_kernel
dev-ml/async_unix
dev-ml/core_kernel
dev-ml/ocurl
)
curl? ( dev-ml/ocurl )
curl-lwt? (
dev-ml/lwt
dev-ml/ocurl
)
lwt? (
dev-ml/logs
dev-ml/lwt
dev-ml/ppx_sexp_conv
)
lwt-jsoo? (
dev-ml/js_of_ocaml[lwt,ppx]
dev-ml/logs
dev-ml/lwt
)
lwt-unix? (
dev-ml/base-unix
dev-ml/cmdliner
dev-ml/conduit[lwt,lwt-unix]
dev-ml/fmt
dev-ml/logs
dev-ml/lwt
dev-ml/magic-mime
dev-ml/ppx_sexp_conv
)
mirage? (
dev-ml/astring
dev-ml/conduit[mirage]
dev-ml/fmt
dev-ml/lwt
dev-ml/magic-mime
dev-ml/mirage-channel
dev-ml/mirage-flow
dev-ml/mirage-kv
dev-ml/ppx_sexp_conv
)
server-lwt-unix? (
dev-ml/lwt
)
dev-ml/ocaml-base64
dev-ml/re
dev-ml/sexplib0
dev-ml/stringext
dev-ml/uri[sexp]
"
DEPEND="
${RDEPEND}
test? (
dev-ml/alcotest
dev-ml/base_quickcheck
dev-ml/ppx_assert
dev-ml/ppx_sexp_conv
dev-ml/ppx_compare
dev-ml/ppx_here
dev-ml/core
dev-ml/core_bench
dev-ml/crowbar
dev-ml/fmt
dev-ml/conduit[lwt,lwt-unix]
dev-ml/ounit
dev-ml/lwt
net-libs/nodejs[npm]
dev-ml/mirage-crypto
)
"
RESTRICT="!test? ( test )"
REQUIRED_USE="
bench? ( async lwt-unix server-lwt-unix )
curl-lwt? ( curl )
lwt-jsoo? ( lwt )
lwt-unix? ( lwt )
mirage? ( lwt )
server-lwt-unix? ( lwt )
test? ( async curl-async curl-lwt lwt-jsoo lwt-unix lwt )
"
src_compile() {
# local pkgs="http,cohttp"
local pkgs="cohttp"
use async && pkgs="${pkgs},cohttp-async"
use bench && pkgs="${pkgs},cohttp-bench"
use curl-async && pkgs="${pkgs},cohttp-curl-async"
use curl-lwt && pkgs="${pkgs},cohttp-curl-lwt"
use curl && pkgs="${pkgs},cohttp-curl"
use lwt-jsoo && pkgs="${pkgs},cohttp-lwt-jsoo"
use lwt-unix && pkgs="${pkgs},cohttp-lwt-unix"
use lwt && pkgs="${pkgs},cohttp-lwt"
use mirage && pkgs="${pkgs},cohttp-mirage"
use server-lwt-unix && pkgs="${pkgs},cohttp-server-lwt-unix"
use top && pkgs="${pkgs},cohttp-top"
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
# dune_src_install http
dune_src_install cohttp
use async && dune_src_install cohttp-async
use bench && dune_src_install cohttp-bench
use curl-async && dune_src_install cohttp-curl-async
use curl-lwt && dune_src_install cohttp-curl-lwt
use curl && dune_src_install cohttp-curl
use lwt-jsoo && dune_src_install cohttp-lwt-jsoo
use lwt-unix && dune_src_install cohttp-lwt-unix
use lwt && dune_src_install cohttp-lwt
use mirage && dune_src_install cohttp-mirage
use server-lwt-unix && dune_src_install cohttp-server-lwt-unix
use top && dune_src_install cohttp-top
}

View File

@@ -0,0 +1,25 @@
<?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">mirage/ocaml-cohttp</remote-id>
</upstream>
<use>
<flag name="async">CoHTTP implementation for the Async concurrency library</flag>
<flag name="bench">Benchmarks binaries for Cohttp</flag>
<flag name="curl-async">Cohttp client using Curl and Async as the backend</flag>
<flag name="curl-lwt">Cohttp client using Curl and Lwt as the backend</flag>
<flag name="curl">Shared code between the individual cohttp-curl clients</flag>
<flag name="lwt-jsoo">CoHTTP implementation for the Js_of_ocaml JavaScript compiler</flag>
<flag name="lwt-unix">CoHTTP implementation for Unix and Windows using Lwt</flag>
<flag name="lwt">CoHTTP implementation using the Lwt concurrency library</flag>
<flag name="mirage">CoHTTP implementation for the MirageOS unikernel</flag>
<flag name="server-lwt-unix">Lightweight Cohttp plus Lwt based HTTP server</flag>
<flag name="top">CoHTTP toplevel pretty printers for HTTP types</flag>
</use>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST conduit-5.1.0.tar.gz 41320 BLAKE2B 224201539d7947128c7eeb4d25b95324b8b3ec176ad13593841edd4f131aa6b4f089547d054d1280285d3554cd54c36c0654111204d7443b1f0e66d8de7a50d2 SHA512 5308803f4653d30399b1549cd4f27d0132b2f0202cc626cd1344620684bd8a7e08b8de1887cad73a0eba4c677946192aa05199bce8c0844fecf3695338156b09

View File

@@ -0,0 +1,84 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
MYPN="ocaml-${PN}"
DESCRIPTION="Dereference URIs into communication channels for Async or Lwt"
HOMEPAGE="https://github.com/mirage/ocaml-conduit"
SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="async lwt lwt-unix mirage ocamlopt"
# lwt-unix? tls lwt_ssl launchd
RDEPEND="
dev-ml/astring
dev-ml/ipaddr[sexp]
dev-ml/logs
dev-ml/ppx_sexp_conv
dev-ml/sexplib
dev-ml/uri
async? (
dev-ml/async
dev-ml/async_ssl
dev-ml/core
dev-ml/ppx_here
)
lwt? (
dev-ml/base-unix
dev-ml/lwt
)
lwt-unix? (
dev-ml/base-unix
dev-ml/ca-certs
dev-ml/lwt
)
mirage? (
dev-ml/base
dev-ml/ca-certs-nss
dev-ml/cstruct
dev-ml/dns[client]
dev-ml/fmt
dev-ml/mirage-clock
dev-ml/mirage-flow[combinators]
dev-ml/mirage-random
dev-ml/mirage-time
dev-ml/tcpip
dev-ml/tls[mirage]
dev-ml/vchan
dev-ml/xenstore
)
"
DEPEND="${RDEPEND}"
REQUIRED_USE="
lwt-unix? ( lwt )
mirage? ( lwt )
"
src_compile() {
local pkgs="conduit"
for u in async lwt lwt-unix mirage ; do
if use ${u} ; then
pkgs="${pkgs},conduit-${u}"
fi
done
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install conduit
for u in async lwt lwt-unix mirage ; do
if use ${u} ; then
dune_src_install "conduit-${u}"
fi
done
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ocaml-conduit</remote-id>
</upstream>
<use>
<flag name="async">A network connection establishment library for Async</flag>
<flag name="lwt">A portable network connection establishment library using Lwt</flag>
<flag name="lwt-unix">A network connection establishment library for Lwt_unix</flag>
<flag name="mirage">A network connection establishment library for MirageOS</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST configurator-0.11.0.tar.gz 10567 BLAKE2B 52d529233baa95ce00347d7e43a85127faefcaa2731c61d0c4b2e3e6314c7aa4a6ac6367ca57f6b846223af3d555309420f11c1e8240a93bbadce37157cfc52f SHA512 0163b8af41fb3b3b6f395bc507077c9a1043432e809c5a76dff929c51cbf9ab7df5de6f9c275ce2cda06314bc93bc58b0cad0a58512ce71a9e7722c5bd617102

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
DESCRIPTION="Helper library for gathering system configuration"
HOMEPAGE="https://github.com/janestreet/configurator"
SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/stdio
dev-ml/base
"
DEPEND="${RDEPEND}"
src_compile() {
dune upgrade || die
dune build -p configurator -j $(makeopts_jobs) @install || die
}
src_install() {
dune_src_install configurator
}

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">janestreet/configurator</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST core_unix-0.14.0.tar.gz 6694 BLAKE2B 6ee13ca55de516962590066b81d5f8bfc058a05d18b26a014decaec92ace7ba699c12a203c0ca4b1381d69f218f3c428eed08df00e25e5b1615e748b30c4d841 SHA512 d020db759cde35c0e9d9919dee2c0ea5bb5b7a5ee75515be922d816f28eb9f74dba37e6e424a636e362eab5120b2c1e672f4e5ba798f2dac7974c0e135f80faf

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Unix-specific extensions to some of the modules defined in [core] and [core_kernel]"
HOMEPAGE="https://github.com/janestreet/core_unix"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/core_kernel
dev-ml/expect_test_helpers_core
dev-ml/core
dev-ml/ppx_jane
dev-ml/jane-street-headers
dev-ml/jst-config
dev-ml/ocaml_intrinsics
dev-ml/sexplib
dev-ml/timezone
dev-ml/base-threads
dev-ml/spawn
"
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
"

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">janestreet/core_unix</remote-id>
</upstream>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST crc-2.1.0.tar.gz 6889 BLAKE2B 10ef45c0c66bea7fcc13d177d23efa28862b79650529791f95867dc203e671cdc60f8b138d74bdd1f02c96ebf4bb67c02ab7cfd39197b9bc387652af76b75bab SHA512 136370780a6ae020d596aa5f16133a7038beaa41bf770153e789ab4a1aa678d36b646b8c9ba81a642d1e6c067e3999dd84d81bccc3245ba9798c75b7ff7396a8

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="Library for finding the CRC of parts of various kinds of data in-place"
HOMEPAGE="https://github.com/xapi-project/ocaml-crc"
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/cstruct
dev-ml/rpc
dev-ml/ppx_sexp_conv
"
RDEPEND="
${DEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"

11
dev-ml/crc/metadata.xml Normal file
View File

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

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

@@ -0,0 +1 @@
DIST crowbar-0.2.1.tar.gz 16921 BLAKE2B 374980856366dcee94b61705057e475709e7c939655831ea62d0bfaec885875ec329c1c9a2b629123fe452efb2b3bb1324e0e05e3926d641beef44029713dc1c SHA512 7c148143412766f8a65d001f833d859235acb008c4f0403753fdc6ef6d5f5933b6213ecca326bf1edc3a43405c755975d8ab4e4459f90ee5088678592eae3e43

View File

@@ -0,0 +1,34 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Write tests, let a fuzzer find failing cases"
HOMEPAGE="https://github.com/stedolan/crowbar"
SRC_URI="https://github.com/stedolan/crowbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/afl-persistent:=
>=dev-ml/cmdliner-1.1.0:=
dev-ml/ocplib-endian:=
"
DEPEND="
${DEPEND}
test? (
dev-ml/calendar
dev-ml/fpath
dev-ml/pprint
dev-ml/uucp
dev-ml/uunf
dev-ml/uutf
)
"
RESTRICT="!test? ( test )"

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">stedolan/crowbar</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +1 @@
DIST ocaml-ctruct-6.0.1.tar.gz 243082 BLAKE2B 874ba34583bbc8b53c5b50ba038e2aa423fd704711194dcf99899239015d5fb383242b1d4654c1be2705fd80465e6da7e8eaa5265eceebca7b09dc036d4ebf40 SHA512 2f696b9dca1426d57f60fd4e997ee0c89b1af1a49e186e08c16911ceb03e9f89518a63faf4407b4a7e3c5f391d51979019e47a77f33961624d767a9e36146ca4
DIST cstruct-6.0.1.tar.gz 243082 BLAKE2B 874ba34583bbc8b53c5b50ba038e2aa423fd704711194dcf99899239015d5fb383242b1d4654c1be2705fd80465e6da7e8eaa5265eceebca7b09dc036d4ebf40 SHA512 2f696b9dca1426d57f60fd4e997ee0c89b1af1a49e186e08c16911ceb03e9f89518a63faf4407b4a7e3c5f391d51979019e47a77f33961624d767a9e36146ca4

View File

@@ -3,35 +3,73 @@
EAPI=8
inherit dune
inherit dune multiprocessing
DESCRIPTION="Map OCaml arrays onto C-like structs"
HOMEPAGE="https://github.com/mirage/ocaml-cstruct"
SRC_URI="https://github.com/mirage/ocaml-cstruct/archive/v${PV}.tar.gz -> ocaml-ctruct-${PV}.tar.gz"
S="${WORKDIR}/ocaml-cstruct-${PV}"
SRC_URI="https://github.com/mirage/ocaml-cstruct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-${P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="async lwt ocamlopt ppx sexp test unix"
RDEPEND="
>=dev-lang/ocaml-4.08.0
>=dev-ml/fmt-0.8.9
dev-ml/async
dev-ml/async_unix
dev-ml/core
dev-ml/lwt
dev-ml/sexplib
dev-ml/ppxlib
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
>=dev-ml/fmt-0.8.9:=
async? (
dev-ml/async:=
dev-ml/async_unix:=
dev-ml/core:=
)
lwt? (
dev-ml/base-unix:=
dev-ml/lwt:=
)
ppx? (
dev-ml/ppxlib:=
dev-ml/stdlib-shims:=
)
sexp? ( dev-ml/sexplib:= )
unix? ( dev-ml/base-unix:= )
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
test? (
dev-ml/alcotest
dev-ml/crowbar
dev-ml/ocaml-migrate-parsetree
dev-ml/ounit
dev-ml/ppx_sexp_conv
dev-ml/cppo
dev-ml/lwt
)
"
RESTRICT="!test? ( test )"
REQUIRED_USE="
ppx? ( sexp )
test? ( sexp ppx )
"
src_compile() {
local pkgs="cstruct"
use ppx && pkgs="${pkgs},ppx_cstruct"
for u in async lwt sexp unix ; do
if use ${u} ; then
pkgs="${pkgs},cstruct-${u}"
fi
done
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install cstruct-async
dune_src_install cstruct-lwt
dune_src_install cstruct-sexp
dune_src_install cstruct-unix
dune_src_install cstruct
dune_src_install ppx_cstruct
use async && dune_src_install cstruct-async
use lwt && dune_src_install cstruct-lwt
use sexp && dune_src_install cstruct-sexp
use unix && dune_src_install cstruct-unix
use ppx && dune_src_install ppx_cstruct
}

View File

@@ -2,11 +2,18 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-mainteiners welcome</description>
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ocaml-cstruct</remote-id>
</upstream>
<use>
<flag name="async">provide Async Pipe and Bigstring support</flag>
<flag name="lwt">provide Lwt variants of read/write functions</flag>
<flag name="ppx">a PPX syntax extension</flag>
<flag name="sexp">serialisers into s-expression format of Cstructs</flag>
<flag name="unix">provide Unix variations of the read/write functions using file descriptors</flag>
</use>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST diet-0.4.tar.gz 10139 BLAKE2B df7e3a06f90ced220a2fecff71c0c0c1d61a3bf6bd27cff80712a41e81bd6db4f7afc385cb0ce20d0077831975dd8c7d3d0888fcb9dd9809bdf9478c08ad2d7d SHA512 a8e122ddd343f6d9130169e1b066578f555d7eb2f0795a4603ba6ee6a31ad1ed2a1cc0a3149ac90d3995a7d8f5e770c56d9002160fa01b35bc16d10b9536ce97

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="A simple implementation of Discrete Interval Encoding Trees"
HOMEPAGE="https://github.com/mirage/ocaml-diet"
SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="dev-ml/stdlib-shims"
DEPEND="
${RDEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"

11
dev-ml/diet/metadata.xml Normal file
View File

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

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

@@ -0,0 +1 @@
DIST ocaml-dns-5.0.1.tar.gz 175810 BLAKE2B 0c442b9bc60f05c0cd73c811aced7b33afad7f9462572891ce88e0d67bbd57cace2123ed4ca7ebb3468d23b7b3fe419f06fa19ebaa0182f3d4d5036100ef7a9d SHA512 f66eeeaa7e3f8f2122ac82132d042493f5b63659d3626bd84cb38dc75c141def38303adbea9f748417de9cb355262bed3838ccf40f530eb6fcce58068f99c2e4

133
dev-ml/dns/dns-5.0.1.ebuild Normal file
View File

@@ -0,0 +1,133 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
DESCRIPTION="A pure OCaml implementation of the DNS protocol"
HOMEPAGE="https://github.com/mirage/ocaml-dns"
SRC_URI="https://github.com/mirage/ocaml-${PN}/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz"
S="${WORKDIR}/ocaml-${P}"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="certify cli client dnssec mirage ocamlopt resolver server stub test tsig"
RDEPEND="
dev-ml/logs:=
dev-ml/ptime:=
dev-ml/domain-name:=
dev-ml/gmap:=
dev-ml/cstruct:=
dev-ml/ipaddr:=
dev-ml/lru:=
dev-ml/duration:=
dev-ml/metrics:=
dev-ml/ocaml-base64:=
dnssec? ( dev-ml/mirage-crypto:=[ec,pk] )
certify? (
dev-ml/randomconv:=
dev-ml/mirage-time:=
dev-ml/mirage-clock:=
dev-ml/tcpip:=
dev-ml/mirage-crypto:=[ec,pk,rng]
dev-ml/x509:=
dev-ml/lwt:=
)
cli? (
dev-ml/bos:=
dev-ml/cmdliner:=
dev-ml/fpath:=
dev-ml/x509:=
dev-ml/mirage-crypto:=[ec,pk]
dev-ml/hex:=
dev-ml/mtime:=
dev-ml/fmt:=
dev-ml/lwt:=
dev-ml/randomconv:=
)
client? (
dev-ml/fmt:=
dev-ml/lwt:=
dev-ml/tcpip:=
dev-ml/mirage-random:=
dev-ml/mirage-time:=
dev-ml/mirage-clock:=
dev-ml/mirage-crypto:=[rng]
dev-ml/happy-eyeballs:=
dev-ml/tls:=[mirage]
dev-ml/x509:=
dev-ml/ca-certs:=
dev-ml/ca-certs-nss:=
)
mirage? (
dev-ml/lwt:=
dev-ml/tcpip:=
)
resolver? (
dev-ml/randomconv:=
dev-ml/lwt:=
dev-ml/mirage-time:=
dev-ml/mirage-clock:=
dev-ml/mirage-random:=
dev-ml/tcpip:=
dev-ml/tls:=[mirage]
dev-ml/duration:=
)
server? (
dev-ml/randomconv:=
dev-ml/duration:=
dev-ml/lwt:=
dev-ml/mirage-time:=
dev-ml/mirage-clock:=
dev-ml/tcpip:=
dev-ml/mirage-crypto:=[rng]
)
stub? (
dev-ml/randomconv:=
dev-ml/lwt:=
dev-ml/mirage-time:=
dev-ml/mirage-clock:=
dev-ml/mirage-random:=
dev-ml/tcpip:=
)
tsig? ( dev-ml/mirage-crypto:= )
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"
REQUIRED_USE="
certify? ( mirage tsig )
cli? ( certify client dnssec server tsig )
resolver? ( dnssec mirage server )
server? ( mirage )
stub? ( client mirage resolver tsig server )
test? ( cli dnssec resolver server tsig )
"
src_compile() {
local pkgs="dns"
use dnssec && pkgs="${pkgs},dnssec"
for u in certify cli client mirage resolver server stub tsig ; do
if use ${u} ; then
pkgs="${pkgs},dns-${u}"
fi
done
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install dns
use dnssec && dune_src_install dnssec
for u in certify cli client mirage resolver server stub tsig ; do
if use ${u} ; then
dune_src_install "dns-${u}"
fi
done
}

23
dev-ml/dns/metadata.xml Normal file
View File

@@ -0,0 +1,23 @@
<?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">mirage/ocaml-dns</remote-id>
</upstream>
<use>
<flag name="certify">MirageOS let's encrypt certificate retrieval</flag>
<flag name="cli">Unix command line utilities using uDNS</flag>
<flag name="client">DNS resolver API</flag>
<flag name="dnssec">DNSSec support for OCaml-DNS</flag>
<flag name="mirage">An opinionated Domain Name System (DNS) library</flag>
<flag name="resolver">DNS resolver business logic</flag>
<flag name="server">DNS server, primary and secondary</flag>
<flag name="stub">DNS stub resolver</flag>
<flag name="tsig">TSIG support for DNS</flag>
</use>
</pkgmetadata>

View File

@@ -12,4 +12,12 @@ SRC_URI="https://github.com/hannesm/domain-name/releases/download/v${PV}/${P}.tb
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"

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

@@ -0,0 +1 @@
DIST eqaf-v0.7.tbz 19149 BLAKE2B bd73571d7118b7007a89c07b65eeaaadc34722b2e3923ef045d7a39c5e6d92292f38c6507934bad27af744a9a5eac5be16a9446d0353d998bc727dd86fc2d0bd SHA512 38a2687bafb5cd1d1deb51ceceba94fcff9ce88515fd2c61ec1182808c50c0e3373a4d71fe51a17a23c74616c5ab350a4cf7914de656886981538abf2b57ff61

View File

@@ -0,0 +1,21 @@
# 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"
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"
RDEPEND="dev-ml/cstruct"
DEPEND="${RDEPEND}"

12
dev-ml/eqaf/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">mirage/eqaf</remote-id>
</upstream>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST ethernet-v3.0.0.tbz 6116 BLAKE2B 09f57cd4b58dff67f5b6ab2e68c8c29f6b527ed07b14664f8dd6da64dc05a17773f3ccb242ac37702ad9c43dc8fc1c6cfe9f04c219fdfae382c7d26a9d9724e8 SHA512 171d061b16f2e00b9caa3dfc1cd9b5b358d380e892281ac5c137dc2a3119c3fa288ea927dcb4e9efbcf4850f6857ed0d4b754f56dbb248c1c6150779e57d24e4

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="OCaml Ethernet (IEEE 802.3) layer"
HOMEPAGE="https://github.com/mirage/ethernet"
SRC_URI="https://github.com/mirage/${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/mirage-net
dev-ml/ipaddr
dev-ml/mirage-profile
dev-ml/lwt
dev-ml/logs
>=dev-ml/cstruct-6.0.0[ppx]
"
DEPEND="${RDEPEND}"

View File

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

View File

@@ -0,0 +1 @@
DIST expect_test_helpers-0.13.0.tar.gz 6153 BLAKE2B f125841b585b3c01865de7153e1f7150cde9be15e763f2b6f8658cc230d323ec594e962a77cd7ba5da05ecfb569e8ef64b65f26566099bd6a726967a80c65c3f SHA512 eeb7a447f7c6f1d2ea5dd338fe34fa8f609a0c19e9535d379f04a485624e993f48c323a3f4aab9c24a11609d4d60e159723cb836169231a8c6b71087d1a0d70a

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Async helpers for writing expectation tests"
HOMEPAGE="https://github.com/janestreet/expect_test_helpers"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/async
dev-ml/core
dev-ml/expect_test_helpers_kernel
dev-ml/ppx_jane
dev-ml/sexp_pretty
"
DEPEND="${RDEPEND}"

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">janestreet/expect_test_helpers</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST expect_test_helpers_core-0.14.0.tar.gz 16378 BLAKE2B f64dbd02802456535d19fdc9f991a56331be728ac34f10c618de22264a0425248cc6b6ff653198081fae779acba32ed48b4792d3902e9feef3b38fa5f95367c0 SHA512 ff4525324972875381ab5b2ec6705fabe8cac2d9a7a84d457b4f4b913da7d22956d363d8d7f61104f244980ed910ba242629d1005d7a7dec6cce9a0750e088b9

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Helpers for writing expectation tests"
HOMEPAGE="https://github.com/janestreet/expect_test_helpers_core"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
# <dev-lang/ocaml-4.14
RDEPEND="
>=dev-lang/ocaml-4.08.0
=dev-ml/base-0.14*
=dev-ml/base_quickcheck-0.14*
=dev-ml/core-0.14*
=dev-ml/ppx_jane-0.14*
=dev-ml/sexp_pretty-0.14*
=dev-ml/stdio-0.14*
>=dev-ml/re-1.8.0
"
DEPEND="${RDEPEND}"

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">janestreet/expect_test_helpers_core</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST expect_test_helpers_kernel-0.13.0.tar.gz 15700 BLAKE2B 1ef0b4cfafd590a9ac742d113884857b4eacc234d93d57a137c962d111241c917f2e2322f6a98c37989e2d20eb4d256e93c1ac118620de8df6950bface8c7f3f SHA512 5bd75a0f6eaeee4f44d8b873323ff672ad064923c40e3f514153fbdf71214ec0a384eb84a451eb9f4caf22af4dd2895520be2d84875a51cb3c39de8811565f30

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Helpers for writing expectation tests"
HOMEPAGE="https://github.com/janestreet/expect_test_helpers_kernel"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND="
dev-ml/base
dev-ml/base_quickcheck
dev-ml/core_kernel
dev-ml/ppx_jane
dev-ml/sexp_pretty
dev-ml/stdio
dev-ml/re
"
DEPEND="${RDEPEND}"

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">janestreet/expect_test_helpers_kernel</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit dune
inherit dune multiprocessing
DESCRIPTION="An easy interface on top of the Jsonm library"
HOMEPAGE="https://github.com/mirage/ezjsonm"
@@ -13,18 +13,38 @@ S="${WORKDIR}/${PN}-v${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
IUSE="lwt ocamlopt test"
DEPEND="
dev-ml/hex
>=dev-ml/jsonm-1.0.0
dev-ml/lwt
dev-ml/sexplib0
dev-ml/uutf
lwt? ( dev-ml/lwt )
"
RDEPEND="${DEPEND}"
RDEPEND="
${DEPEND}
test? (
dev-ml/alcotest
dev-ml/js_of_ocaml
net-libs/nodejs[npm]
dev-ml/ppx_sexp_conv
)
"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( lwt )"
src_compile() {
local pkgs="ezjsonm"
if use lwt ; then
pkgs="${pkgs},ezjsonm-lwt"
fi
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install ezjsonm
dune_src_install ezjsonm-lwt
use lwt && dune_src_install ezjsonm-lwt
}

View File

@@ -9,4 +9,7 @@
<upstream>
<remote-id type="github">mirage/ezjsonm</remote-id>
</upstream>
<use>
<flag name="lwt">Simple Lwt-based interface to the Jsonm JSON library</flag>
</use>
</pkgmetadata>

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

@@ -0,0 +1 @@
DIST gmap-0.3.0.tbz 7553 BLAKE2B a6efc09fbfc6b448ea07466e1ee0f9beecbac3d30b5f996294b06e24bede082c96cba17885dd3a45942c6de49f0d500b8a3c6a4ca4a180abc1970589705a409f SHA512 71616981f5a15d6b2a47e18702083e52e81f6547076085b1489f676f50b0cc47c7c2c4fa19cb581e2878dc3d4f7133d0c50d8b51a8390be0e6e30318907d81d3

View File

@@ -0,0 +1,18 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Heterogenous Map over a GADT"
HOMEPAGE="https://github.com/hannesm/gmap"
SRC_URI="https://github.com/hannesm/gmap/releases/download/${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RDEPEND=""
DEPEND="${RDEPEND}"

12
dev-ml/gmap/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">hannesm/gmap</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST happy-eyeballs-0.3.0.tar.gz 11378 BLAKE2B 186e3f448ee8f04de79dc48c2f1c6d31218a2d48a5d18377265972a8b2269ba85563ad06d0cf2595812ecacf5f5a7baadaccad6e3f12a9b67ba8e4547e74d271 SHA512 a2c38dd618df585e3de446674e0675668da85fa17c0e285bb174b3d23b38bdedae45e0c740f261d0f4e091a14cd32eb2f2b209a7f8c7f9a957fce18e1dcbf63f

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune multiprocessing
DESCRIPTION="An implementation of happy eyeballs (RFC 8305) in OCaml with lwt"
HOMEPAGE="https://github.com/roburio/happy-eyeballs"
SRC_URI="https://github.com/roburio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="lwt mirage ocamlopt"
RDEPEND="
dev-ml/domain-name
dev-ml/ipaddr
dev-ml/logs
dev-ml/fmt
lwt? (
dev-ml/cmdliner
dev-ml/mtime
dev-ml/lwt
dev-ml/dns[client]
dev-ml/duration
)
mirage? (
dev-ml/mirage-clock
dev-ml/dns[client]
dev-ml/lwt
dev-ml/tcpip
dev-ml/mirage-random
dev-ml/mirage-time
dev-ml/duration
)
"
DEPEND="${RDEPEND}"
src_compile() {
local pkgs="happy-eyeballs"
for u in lwt mirage ; do
if use ${u} ; then
pkgs="${pkgs},happy-eyeballs-${u}"
fi
done
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
}
src_install() {
dune_src_install happy-eyeballs
for u in lwt mirage ; do
if use ${u} ; then
dune_src_install "happy-eyeballs-${u}"
fi
done
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">roburio/happy-eyeballs</remote-id>
</upstream>
<use>
<flag name="lwt">Connecting to a remote host via IP version 4 or 6 using Lwt_unix</flag>
<flag name="mirage">Connecting to a remote host via IP version 4 or 6 using Mirage</flag>
</use>
</pkgmetadata>

View File

@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-mainteiners welcome</description>
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>

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

@@ -0,0 +1 @@
DIST hkdf-v1.0.4.tbz 11592 BLAKE2B 5c777f92ac8ad52bbe5c9e2383fa2cb705b793a3fcdedee16c37b69c6c0848b89682e168a9be56d020ab51a7d0195a379d23c23a420874c7fc6772540388c670 SHA512 d08e50857f7761572adc4d382975fde5808898c1d92d9e6e943a496cba8780ffabe1edf67844063b70d9727c0fe10b24391e001a3f65c978a5326ac82199cc88

View File

@@ -0,0 +1,29 @@
# 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="HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)"
HOMEPAGE="https://github.com/hannesm/ocaml-hkdf"
SRC_URI="https://github.com/hannesm/ocaml-${PN}/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/cstruct
dev-ml/mirage-crypto
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"

12
dev-ml/hkdf/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">hannesm/ocaml-hkdf</remote-id>
</upstream>
</pkgmetadata>

Some files were not shown because too many files have changed in this diff Show More