Both of these packages use resolvconf for various things. Add a
dependency to make this work.
MFC after: 3 seconds
Differential D53115
packages: dhclient, local-unbound require resolvconf Authored by ivy on Oct 15 2025, 1:33 PM. Tags None Referenced Files
Details Both of these packages use resolvconf for various things. Add a MFC after: 3 seconds
Diff Detail
Event TimelineComment Actions phabricator is confused because it thinks files were renamed (because of the copyright header, probably), the actual diff is correct. Comment Actions Ah, I see.
Comment Actions here is the actual diff of this revision, as you can see no messages are removed: commit 16a89bec7b6900c20dbdebaf94061db552e16565 (HEAD -> lf/dev/pkgbase-resolvconf) Author: Lexi Winter <ivy@FreeBSD.org> Date: Wed Oct 15 14:11:45 2025 +0100 packages: dhclient, local-unbound require resolvconf Both of these packages use resolvconf for various things. Add a dependency to make this work. MFC after: 3 seconds diff --git a/release/packages/ucl/dhclient.ucl b/release/packages/ucl/dhclient.ucl new file mode 100644 index 000000000000..f15ca8703edf --- /dev/null +++ b/release/packages/ucl/dhclient.ucl @@ -0,0 +1,26 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +deps { + # dhclient uses resolvconf to update /etc/resolv.conf in case the + # DHCP server returns nameserver addresses. + "resolvconf" { + version = "${VERSION}" + }, +} + diff --git a/release/packages/ucl/local-unbound.ucl b/release/packages/ucl/local-unbound.ucl index 0f1c77a0d0ee..031055322755 100644 --- a/release/packages/ucl/local-unbound.ucl +++ b/release/packages/ucl/local-unbound.ucl @@ -25,3 +25,11 @@ by running "service local_unbound setup" before restarting the service. EOM } ] + +deps { + # local-unbound uses resolvconf to update resolv.conf and to generate + # its forwarders.conf. + "resolvconf" { + version = "${VERSION}" + }, +}
Comment Actions Thank you!
| ||||||||||||||||||||||||||||||||||||||||||||||