| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0/9999 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# dns-client-lwt needs happy-eyeballs, which needs dns
# dns-clie needs dns-client-lwt
DUNE_PKG_NAME="dns dns-certify dns-client dns-client-miou-unix
dns-client-mirage dns-mirage dns-resolver dns-server
dns-stub dns-tsig dnssec"
inherit dune git-r3
DESCRIPTION="OCaml implementation of the DNS protocol"
HOMEPAGE="https://github.com/mirage/dns"
EGIT_REPO_URI="https://github.com/mirage/${PN}.git"
LICENSE="BSD-2"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/bos:0=
dev-ml/ca-certs:0=[ocamlopt?]
dev-ml/ca-certs-nss:0=[ocamlopt?]
dev-ml/cmdliner:0=[ocamlopt?]
dev-ml/cstruct:0=[ocamlopt?]
dev-ml/digestif:0=[ocamlopt?]
dev-ml/domain-name:0=[ocamlopt?]
dev-ml/duration:0=[ocamlopt?]
dev-ml/fmt:0=[ocamlopt?]
dev-ml/fpath:0=
dev-ml/gmap:0=[ocamlopt?]
dev-ml/happy-eyeballs:0=[ocamlopt?]
dev-ml/ipaddr:0=[ocamlopt?]
dev-ml/logs:0=[ocamlopt?]
dev-ml/lru:0=[ocamlopt?]
dev-ml/lwt:0=[ocamlopt?]
dev-ml/metrics:0=[ocamlopt?]
dev-ml/miou:0=[ocamlopt?]
dev-ml/mirage-crypto:0=[ocamlopt?]
dev-ml/mirage-mtime:0=[ocamlopt?]
dev-ml/mirage-ptime:0=[ocamlopt?]
dev-ml/mirage-sleep:0=[ocamlopt?]
dev-ml/mtime:0=
dev-ml/ocaml-base64:0=[ocamlopt?]
dev-ml/ohex:0=[ocamlopt?]
dev-ml/ptime:0=[ocamlopt?]
dev-ml/randomconv:0=[ocamlopt?]
dev-ml/tcpip:0=[ocamlopt?]
dev-ml/tls:0=[ocamlopt?]
dev-ml/x509:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest )"
src_compile() {
dune-compile ${DUNE_PKG_NAME}
}
dev-ml/bos:0= dev-ml/ca-certs:0=[ocamlopt?] dev-ml/ca-certs-nss:0=[ocamlopt?] dev-ml/cmdliner:0=[ocamlopt?] dev-ml/cstruct:0=[ocamlopt?] dev-ml/digestif:0=[ocamlopt?] dev-ml/domain-name:0=[ocamlopt?] dev-ml/duration:0=[ocamlopt?] dev-ml/fmt:0=[ocamlopt?] dev-ml/fpath:0= dev-ml/gmap:0=[ocamlopt?] dev-ml/happy-eyeballs:0=[ocamlopt?] dev-ml/ipaddr:0=[ocamlopt?] dev-ml/logs:0=[ocamlopt?] dev-ml/lru:0=[ocamlopt?] dev-ml/lwt:0=[ocamlopt?] dev-ml/metrics:0=[ocamlopt?] dev-ml/miou:0=[ocamlopt?] dev-ml/mirage-crypto:0=[ocamlopt?] dev-ml/mirage-mtime:0=[ocamlopt?] dev-ml/mirage-ptime:0=[ocamlopt?] dev-ml/mirage-sleep:0=[ocamlopt?] dev-ml/mtime:0= dev-ml/ocaml-base64:0=[ocamlopt?] dev-ml/ohex:0=[ocamlopt?] dev-ml/ptime:0=[ocamlopt?] dev-ml/randomconv:0=[ocamlopt?] dev-ml/tcpip:0=[ocamlopt?] dev-ml/tls:0=[ocamlopt?] dev-ml/x509:0=[ocamlopt?]
test? ( dev-ml/alcotest )