mirror of
https://git.freebsd.org/src.git
synced 2026-01-12 06:54:03 +00:00
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 days Reviewed by: des Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53115
This commit is contained in:
parent
82f96b2bc9
commit
bf28c98f14
2 changed files with 34 additions and 0 deletions
26
release/packages/ucl/dhclient.ucl
Normal file
26
release/packages/ucl/dhclient.ucl
Normal file
|
|
@ -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}"
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -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 forward.conf.
|
||||
"resolvconf" {
|
||||
version = "${VERSION}"
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue