commit: b521d467ff331341162586bc96d5f969d630ad2f
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun May 26 21:36:45 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 26 22:42:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b521d467
net-misc/dhcp: fix variable reordering leading to undefined variable in RDEPEND
BDEPEND is expanded in RDEPEND, so it has to come first. Fixes failure
to depend on acct-*/ packages at runtime, i.e. no guarantee when
installing with binpkgs / depcleaning that accounts will be usable
anymore.
Fixes: 0762acb5ac0a3f951d4c7d96c1608aa98ef6cae2
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../dhcp/{dhcp-4.4.3_p1-r5.ebuild => dhcp-4.4.3_p1-r6.ebuild} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild
b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild
similarity index 100%
rename from net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild
rename to net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild
index f7cc414209db..82f6478828a7 100644
--- a/net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild
@@ -25,6 +25,10 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64
~riscv ~s390 sparc x86"
IUSE="+client ipv6 ldap selinux +server ssl vim-syntax"
+BDEPEND="
+ acct-group/dhcp
+ acct-user/dhcp
+"
DEPEND="
sys-libs/zlib:=
client? (
@@ -43,10 +47,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-dhcp )
vim-syntax? ( app-vim/dhcpd-syntax )
"
-BDEPEND="
- acct-group/dhcp
- acct-user/dhcp
-"
PATCHES=(
# Gentoo patches - these will probably never be accepted upstream