Bug 297479 - net/dhcpcd - won't compile with option PRIVSEP=off
Summary: net/dhcpcd - won't compile with option PRIVSEP=off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dries Michiels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-12 17:22 UTC by Curtis Villamizar
Modified: 2026-08-17 14:24 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (driesm)


Attachments
patch to src/control.c (253 bytes, text/plain)
2026-08-12 17:22 UTC, Curtis Villamizar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Villamizar 2026-08-12 17:22:31 UTC
Created attachment 273686 [details]
patch to src/control.c

To reproduce do make config and set PRIVSEP=off and then compile.  Attached patch, moving one line outside of ifdef, fixes it.
Comment 1 Dries Michiels freebsd_committer freebsd_triage 2026-08-13 09:48:29 UTC
Hi,

As this is a patch for the upstream project and not the port, could you also initiate an issue there?
You can put the URL of the issue ticket / PR ticket in the URL field of the bug.

Thanks in advance!
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-08-17 14:23:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=749275b84791c61ff67762f5c33b330e73908bfd

commit 749275b84791c61ff67762f5c33b330e73908bfd
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2026-08-17 14:18:39 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2026-08-17 14:19:56 +0000

    net/dhcpcd: update to 10.5.2

    Changes:        https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.5.1
    Changes:        https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.5.2

    PR:     297479

 net/dhcpcd/Makefile | 2 +-
 net/dhcpcd/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Dries Michiels freebsd_committer freebsd_triage 2026-08-17 14:24:00 UTC
Should be fixed with new version from upstream!