Install this version:
emerge -a =dev-php/amphp-dns-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/amphp-dns-9999
Or alternatively:
emerge --autounmask-write -a =dev-php/amphp-dns-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 9 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
COMPOSER_INSTALL_PATH="Amp/Dns"
PHP_REQ_USE="filter,ipv6?"
inherit composer git-r3
DESCRIPTION="Async DNS resolution for PHP"
HOMEPAGE="https://github.com/amphp/dns"
EGIT_REPO_URI="https://github.com/amphp/dns.git"
LICENSE="MIT"
SLOT="0"
IUSE="ipv6"
RDEPEND="dev-php/amphp-amp
dev-php/amphp-byte-stream
dev-php/amphp-cache
dev-php/amphp-parser
dev-php/amphp-windows-registry
dev-php/daverandom-libdns
dev-php/revolt-event-loop"
PATCHES=( "${FILESDIR}/${PN}"-2.4.0-tests-DnsCacheTrainer.patch
"${FILESDIR}/${PN}"-2.4.0-tests-DnsConfigTest.patch
"${FILESDIR}/${PN}"-2.4.0-tests-IntegrationTest.patch
"${FILESDIR}/${PN}"-2.4.0-tests-Rfc1035StubResolverTest.patch
"${FILESDIR}/${PN}"-2.4.0-tests-phpunit.xml.patch )
composer_enable_tests phpunit
src_prepare() {
composer_src_prepare
use ipv6 || eapply "${FILESDIR}/${PN}"-2.4.0-tests-no-ipv6.patch
}
Manage flags for this package:
euse -i <flag> -p dev-php/amphp-dns |
euse -E <flag> -p dev-php/amphp-dns |
euse -D <flag> -p dev-php/amphp-dns
dev-php/amphp-amp dev-php/amphp-byte-stream dev-php/amphp-cache dev-php/amphp-parser dev-php/amphp-windows-registry dev-php/daverandom-libdns dev-php/revolt-event-loop