net-dns/ldns-tools: initial commit

Partial replacement for bind-tools package based on ldns instead.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2025-05-29 15:19:37 +02:00
parent 3898019be0
commit 68419465e0
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ldns-tools-0.1.tar.bz2 10133 BLAKE2B 5a51c62d99057d29851a5db0ef99f62c3d8a1b87524342462337c0011893a1eb9eb97b4ec02ae8e74496fa332b8c9df1e310bc0982a917abb35aef156b88ac2d SHA512 595998075dc986908951e746643ba71c96462bdb7cb2192848b174e54e62b5e841b3c994b83ed41ee519569f8eba42124346c15a179b2626f4d7b1ead4a6b0e5

View File

@@ -0,0 +1,30 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="ldns tools: host, nslookup"
HOMEPAGE="https://gitlab.com/grobian/ldns-tools"
SRC_URI="https://gitlab.com/grobian/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64-macos ~x64-macos ~x64-solaris"
DEPEND="
net-libs/ldns
sys-libs/readline
"
RDEPEND="${DEPEND}"
src_compile() {
tc-export CC
default
}
src_install() {
exeinto /usr/bin
doexe host nslookup
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>grobian@gentoo.org</email>
<name>Fabian Groffen</name>
</maintainer>
<upstream>
<remote-id type="gitlab">grobian/ldns-tools</remote-id>
</upstream>
</pkgmetadata>