Install this version:
emerge -a =net-dns/dnslookup-1.12.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-dns/dnslookup-1.12.0
Or alternatively:
emerge --autounmask-write -a =net-dns/dnslookup-1.12.0
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Simple command line utility to make DNS lookups to the specified server "
HOMEPAGE="https://github.com/ameshkov/dnslookup"
SRC_URI="
https://github.com/ameshkov/dnslookup/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/gentoo-zh-drafts/dnslookup/releases/download/v${PV}/${P}-vendor.tar.xz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND=">=dev-lang/go-1.26.3"
src_compile() {
ego build -o ${P} -ldflags "-X main.VersionString=${PV}"
}
src_install() {
newbin ${P} dnslookup
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | dnslookup-1.12.0-vendor.tar.xz | 1710020 bytes | https://github.com/gentoo-zh-drafts/dnslookup/releases/download/v1.12.0/dnslookup-1.12.0-vendor.tar.xz |
| DIST | dnslookup-1.12.0.tar.gz | 9688 bytes | https://github.com/ameshkov/dnslookup/archive/refs/tags/v1.12.0.tar.gz |