repo/gentoo:master commit in: net-misc/dhcpcd/, net-misc/dhcpcd/files/

"Sam James" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785967722.9df2941e01b463293c6ba75a31ba34e4c50b5b85.sam@gentoo>
commit:     9df2941e01b463293c6ba75a31ba34e4c50b5b85
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 22:08:42 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 22:08:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df2941e

net-misc/dhcpcd: add 10.5.0

Bug: https://bugs.gentoo.org/966588
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/dhcpcd/Manifest                           |  2 ++
 .../{dhcpcd-9999.ebuild => dhcpcd-10.5.0.ebuild}   |  4 ++++
 net-misc/dhcpcd/dhcpcd-9999.ebuild                 |  3 +++
 .../dhcpcd/files/dhcpcd-10.5.0-no-privsep.patch    | 25 ++++++++++++++++++++++
 4 files changed, 34 insertions(+)

diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index e1e21492727c..2e8af7fa399e 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -4,3 +4,5 @@ DIST dhcpcd-10.3.1.tar.xz 279320 BLAKE2B 5abed98813c129add43d91e83974e05bb1a8be3
 DIST dhcpcd-10.3.1.tar.xz.asc 488 BLAKE2B 5b00f138ec33efa39de87891308ddda7e18594cd4f01bec6627815c9e92acb45ccf896b7a438c825cbef020c479ade638749a8c6a5e2a7aee0079d2954fb8e0b SHA512 21131c5cf29802ab958ae0d08346099b0e409a70a3d2ecb952f17fa64801de6c0a58d16627414232b308213e8f4172286779d08fe2319e0c7ae54feb506019f6
 DIST dhcpcd-10.3.2.tar.xz 279368 BLAKE2B 55a88fe29bbe1a99f8d521ab6b35765afd912a9fcf8f3bcca26a9afef418b179ed73dbbcb440f5625813890ed74b28fc11ae7d62aba94680d7c5c1c07f46fbc8 SHA512 5944fa141bd40c8aabb2c3c46748d736f69f6fd0a773386508cbff868d8f69d88305a0fd97dff4da21c5662918016b36d8327498e5b0509804dbec80603f6d6d
 DIST dhcpcd-10.3.2.tar.xz.asc 488 BLAKE2B 20ad844a553c0d795591db349d44c1fb7b48c368366a1290e9f3312b07d8e1963b59e11163e92f2c2fe036dad7796e14d46ecb0d50722f588ee72a62327c3c5a SHA512 ab9bb23a3a2fa4042a37655ef38aa875c834a9731640d8d7be360296a8e88fedbbc0a1b4598fe9ee302c05e6d7a04f76de5801dba8e37b5dc1cf538bc8fd986d
+DIST dhcpcd-10.5.0.tar.xz 288760 BLAKE2B 0b685acc78243b94f045fad33f10142e65c7883010e61a0f62f19c6ba080418dbf3ea939d7a22dd432ae6e9af8da90bd70da89d5e802ca481c797b03e1f41417 SHA512 c662b7a81a83560add7bc6aee80f9dacdd2871d02e0b42a289b3e7f049cd7d656a1c03621d3fd24e1f1af5e65e7a7764bcdf6c6511a43eb9a20172ebdbc4b0ff
+DIST dhcpcd-10.5.0.tar.xz.asc 525 BLAKE2B f3c3be9768f60484714805cc74655f7cb2b3c9b6e3cb82fce5ebf55d4a657bd757c9fd941ba08d648abc487e5b1ceafb01303465ceefa459c498bc808aa50804 SHA512 fe8db8ced6892a9d2b73c2ed5d97817fd6a539aba0e78ef71dee13fbd1926ad357e951c1d184c5dcae8577c7f02924da2332511d33538a9e01f9619c8a5e3cab

diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-10.5.0.ebuild
similarity index 97%
copy from net-misc/dhcpcd/dhcpcd-9999.ebuild
copy to net-misc/dhcpcd/dhcpcd-10.5.0.ebuild
index 84fe8c2b0bf8..6af69536b6cf 100644
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-10.5.0.ebuild
@@ -62,6 +62,7 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-10.0.6-fix-lib-check.patch
+	"${FILESDIR}"/${PN}-10.5.0-no-privsep.patch
 )
 
 src_configure() {
@@ -79,6 +80,9 @@ src_configure() {
 		--rundir=$(usex kernel_linux "${EPREFIX}/run/dhcpcd" "${EPREFIX}/var/run/dhcpcd")
 		$(usex privsep '--privsepuser=dhcpcd' '')
 		$(usex udev '' '--without-dev --without-udev')
+		# Only needed for some odd platforms, can wire up if someone
+		# identifies which.
+		--without-libpcap
 		CC="$(tc-getCC)"
 	)
 	econf "${myeconfargs[@]}"

diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-9999.ebuild
index 84fe8c2b0bf8..db79d535fe0f 100644
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild
@@ -79,6 +79,9 @@ src_configure() {
 		--rundir=$(usex kernel_linux "${EPREFIX}/run/dhcpcd" "${EPREFIX}/var/run/dhcpcd")
 		$(usex privsep '--privsepuser=dhcpcd' '')
 		$(usex udev '' '--without-dev --without-udev')
+		# Only needed for some odd platforms, can wire up if someone
+		# identifies which.
+		--without-libpcap
 		CC="$(tc-getCC)"
 	)
 	econf "${myeconfargs[@]}"

diff --git a/net-misc/dhcpcd/files/dhcpcd-10.5.0-no-privsep.patch b/net-misc/dhcpcd/files/dhcpcd-10.5.0-no-privsep.patch
new file mode 100644
index 000000000000..4ad9b613c1ba
--- /dev/null
+++ b/net-misc/dhcpcd/files/dhcpcd-10.5.0-no-privsep.patch
@@ -0,0 +1,25 @@
+https://github.com/NetworkConfiguration/dhcpcd/commit/eb9fd7dfb162f4c2ebec5338f0d07f9158e371bb
+
+From eb9fd7dfb162f4c2ebec5338f0d07f9158e371bb Mon Sep 17 00:00:00 2001
+From: Roy Marples <roy-DwD/[email protected]>
+Date: Wed, 5 Aug 2026 13:20:46 +0100
+Subject: [PATCH] control: Fix non privsep builds
+
+---
+ src/control.c               | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/control.c b/src/control.c
+index 6ed7dd16..114435e3 100644
+--- a/src/control.c
++++ b/src/control.c
+@@ -381,8 +381,8 @@ control_new(struct dhcpcd_ctx *ctx, int fd, unsigned int flags)
+ {
+ 	struct fd_list *l;
+ 	size_t cnt;
+-#ifdef PRIVSEP
+ 	struct fd_list *n;
++#ifdef PRIVSEP
+ 	unsigned int id;
+ #endif
+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.