[net-dns/bind-tools] unsplit
This commit is contained in:
parent
ade75f86ff
commit
6d4b7f8bba
@ -1,2 +0,0 @@
|
||||
DIST bind-9.18.27.tar.xz 5524000 BLAKE2B 720b1677606c27768af7799f4a36cebcbebea2f4ddf42421bc9cba29d48b8f3bc9616c691c1b7e1897635984d01099ea40c1c7346908aa3652b1347794139e25 SHA512 d0c89821fef38e531d65b465adeb5946589775e6a4d5e2068e969f1106c961d3b202af19247b9e20f9fbde645be10d610478edf89ed0d83b39d38fb4353c693a
|
||||
DIST bind-9.18.27.tar.xz.asc 833 BLAKE2B 8621991724e19b0b987cf82c8d6bbf31ef2440c9e133d06925c982f60d69587770dc4560c34050243da0bbe59d8180bdc910ca661cec9a0cd11d525ef4110fa2 SHA512 0da73d14dd8db8e55fcfe47e597fe242f7889b64e3cb383e24f90bed95b13cf38771cf7513bf621e308e5a6d10d83ae333ddd09f266fa7b1bd031192ec698404
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/isc.asc
|
||||
inherit flag-o-matic verify-sig
|
||||
|
||||
MY_PN=${PN//-tools}
|
||||
MY_PV=${PV/_p/-P}
|
||||
MY_PV=${MY_PV/_rc/rc}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
|
||||
HOMEPAGE="https://www.isc.org/software/bind https://gitlab.isc.org/isc-projects/bind9"
|
||||
SRC_URI="
|
||||
https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.xz
|
||||
verify-sig? ( https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.xz.asc )
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+caps doc gssapi idn libedit lmdb readline test"
|
||||
|
||||
# libuv lower bound should be the highest value seen at
|
||||
# https://gitlab.isc.org/isc-projects/bind9/-/blob/bind-9.18/lib/isc/netmgr/netmgr.c?ref_type=heads#L203
|
||||
# to avoid issues with matching stable/testing, etc
|
||||
RDEPEND="
|
||||
>=dev-libs/libuv-1.42.0:=
|
||||
dev-libs/jemalloc
|
||||
dev-libs/openssl:=
|
||||
caps? ( sys-libs/libcap )
|
||||
gssapi? ( virtual/krb5 )
|
||||
idn? ( net-dns/libidn2:= )
|
||||
libedit? ( dev-libs/libedit )
|
||||
!libedit? (
|
||||
readline? ( sys-libs/readline:= )
|
||||
)
|
||||
lmdb? ( dev-db/lmdb )
|
||||
!net-dns/bind
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
# sphinx required for man-page and html creation
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
dev-util/cmocka
|
||||
dev-util/kyua
|
||||
)
|
||||
verify-sig? ( sec-keys/openpgp-keys-isc )
|
||||
"
|
||||
|
||||
# bug 479092, requires networking
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
--with-jemalloc
|
||||
--with-zlib
|
||||
--without-json-c
|
||||
--without-libxml2
|
||||
--without-maxminddb
|
||||
--disable-geoip
|
||||
--with-openssl="${ESYSROOT}"/usr
|
||||
$(use_enable caps linux-caps)
|
||||
$(use_with gssapi)
|
||||
$(use_with idn libidn2 "${ESYSROOT}"/usr)
|
||||
$(use_with lmdb)
|
||||
)
|
||||
|
||||
# bug 607400
|
||||
if use libedit ; then
|
||||
myeconfargs+=( --with-readline=libedit )
|
||||
elif use readline ; then
|
||||
myeconfargs+=( --with-readline )
|
||||
else
|
||||
myeconfargs+=( --without-readline )
|
||||
fi
|
||||
|
||||
# to expose CMSG_* macros from sys/sockets.h
|
||||
[[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600"
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake bind.keys.h
|
||||
emake -C lib/
|
||||
emake -C bin/delv/
|
||||
emake -C bin/dig/
|
||||
emake -C bin/nsupdate/
|
||||
emake -C bin/dnssec/
|
||||
emake -C bin/tools/
|
||||
emake -C doc/man/ man
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local man_dir="${S}/doc/man"
|
||||
|
||||
dodoc README.md CHANGES
|
||||
|
||||
emake DESTDIR="${D}" -C lib/ install
|
||||
|
||||
emake DESTDIR="${D}" -C bin/delv/ install
|
||||
doman ${man_dir}/delv.1
|
||||
|
||||
emake DESTDIR="${D}" -C bin/dig/ install
|
||||
doman ${man_dir}/{dig,host,nslookup}.1
|
||||
|
||||
emake DESTDIR="${D}" -C bin/nsupdate/ install
|
||||
doman ${man_dir}/nsupdate.1
|
||||
|
||||
emake DESTDIR="${D}" -C bin/dnssec/ install
|
||||
local tool
|
||||
for tool in cds dsfromkey importkey keyfromlabel keygen \
|
||||
revoke settime signzone verify; do
|
||||
doman ${man_dir}/dnssec-"${tool}".1
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" -C bin/tools/ install
|
||||
doman ${man_dir}/{arpaname,mdig,named-journalprint,named-rrchecker,nsec3hash}.1
|
||||
|
||||
# just leave tools to be installed
|
||||
rm -rf "${D}"/usr/include/
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gssapi">Enable gssapi support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:isc:bind</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user