From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1601643-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6F19F15808B
	for <garchives@archives.gentoo.org>; Sun, 18 Feb 2024 10:48:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B6167E2C11;
	Sun, 18 Feb 2024 10:48:55 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 99BACE2C11
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 10:48:55 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 96262343132
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 10:48:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F07B014D2
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 10:48:50 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1708253307.cd21eeb283011f6dd23735a67741a2443bdaf641.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind-tools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-dns/bind-tools/bind-tools-9.16.48.ebuild
X-VCS-Directories: net-dns/bind-tools/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: cd21eeb283011f6dd23735a67741a2443bdaf641
X-VCS-Branch: master
Date: Sun, 18 Feb 2024 10:48:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: aca51472-155f-4d6d-a01d-f39a513fa38a
X-Archives-Hash: 2c169310c30a1a70a29ffbe12c1fae0a

commit:     cd21eeb283011f6dd23735a67741a2443bdaf641
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 10:47:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 10:48:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd21eeb2

net-dns/bind-tools: apply consistency tweaks for net-dns/bind

See b1d4d952897b2c1151e9d8580015f674b21afb0a.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind-tools/bind-tools-9.16.48.ebuild | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-dns/bind-tools/bind-tools-9.16.48.ebuild b/net-dns/bind-tools/bind-tools-9.16.48.ebuild
index d33e0ffa5e87..53c0494bb5a5 100644
--- a/net-dns/bind-tools/bind-tools-9.16.48.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.16.48.ebuild
@@ -13,8 +13,11 @@ 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 )"
+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="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
 SLOT="0"
@@ -24,9 +27,9 @@ IUSE="+caps doc gssapi idn libedit readline test xml"
 RESTRICT="!test? ( test )"
 
 # libuv lower bound should be the highest value seen at
-# https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_16/lib/isc/netmgr/netmgr.c#L244
+# https://gitlab.isc.org/isc-projects/bind9/-/blob/bind-9.16/lib/isc/netmgr/netmgr.c?ref_type=heads#L244
 # to avoid issues with matching stable/testing, etc
-COMMON_DEPEND="
+RDEPEND="
 	>=dev-libs/libuv-1.42.0:=
 	dev-libs/openssl:=
 	caps? ( sys-libs/libcap )
@@ -38,9 +41,7 @@ COMMON_DEPEND="
 		readline? ( sys-libs/readline:= )
 	)
 "
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
+DEPEND="${RDEPEND}"
 # sphinx required for man-page and html creation
 BDEPEND="
 	virtual/pkgconfig
@@ -52,13 +53,9 @@ BDEPEND="
 	verify-sig? ( sec-keys/openpgp-keys-isc )
 "
 
-S="${WORKDIR}/${MY_P}"
-
 src_prepare() {
 	default
 
-	append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)"
-
 	# Do not disable thread local storage on Solaris, it works with our
 	# toolchain, and it breaks further configure checks
 	sed -i -e '/LDFLAGS=/s/-zrelax=transtls//' configure.ac configure || die
@@ -79,6 +76,7 @@ src_prepare() {
 
 src_configure() {
 	local myeconfargs=(
+		# localstatedir for nsupdate -l, bug #395785
 		--localstatedir="${EPREFIX}"/var
 		--without-python
 		--without-libjson
@@ -95,7 +93,7 @@ src_configure() {
 		AR="$(type -P $(tc-getAR))"
 	)
 
-	# bug 607400
+	# bug #607400
 	if use libedit ; then
 		myeconfargs+=( --with-readline=-ledit )
 	elif use readline ; then
@@ -107,10 +105,11 @@ src_configure() {
 	# bug #344029
 	append-cflags "-DDIG_SIGCHASE"
 
+	append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)"
+
 	# to expose CMSG_* macros from sys/sockets.h
 	[[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600"
 
-	# localstatedir for nsupdate -l, bug #395785
 	tc-export BUILD_CC
 	econf "${myeconfargs[@]}"
 
@@ -132,7 +131,7 @@ src_compile() {
 src_test() {
 	# system tests ('emake test') require network configuration for IPs etc
 	# so we run the unit tests instead.
-	TEST_PARALLEL_JOBS="$(makeopts_jobs)" emake unit
+	TEST_PARALLEL_JOBS="$(makeopts_jobs)" emake -Onone unit
 }
 
 src_install() {
@@ -158,6 +157,7 @@ src_install() {
 	fi
 
 	cd "${S}"/bin/dnssec || die
+	local tool
 	for tool in dsfromkey importkey keyfromlabel keygen \
 		revoke settime signzone verify; do
 		dobin dnssec-"${tool}"