28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# Derived from dhcpcd at VOID_PACKAGES_COMMIT; native s6 services live in FDS.
|
|
pkgname=fds-dhcpcd
|
|
version=10.3.2
|
|
revision=1
|
|
wrksrc="dhcpcd-${version}"
|
|
build_style=configure
|
|
make_check_target=test
|
|
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
|
|
--rundir=/run/dhcpcd --dbdir=/run/dhcpcd/db --enable-privsep --privsepuser=_dhcpcd"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="FDS on-demand DHCP client with volatile leases and privilege separation"
|
|
maintainer="FDS/OS maintainers"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/NetworkConfiguration/dhcpcd"
|
|
distfiles="https://github.com/NetworkConfiguration/dhcpcd/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=fa9aa4867e2cd5d1551bf93e34fb8ed6891702448df8a71afffab067ceb66a4f
|
|
lib32disabled=yes
|
|
conf_files=/etc/dhcpcd.conf
|
|
conflicts="dhcpcd>=0"
|
|
provides="dhcpcd-${version}_${revision}"
|
|
system_accounts="_dhcpcd"
|
|
_dhcpcd_homedir="/var/empty"
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vinstall "${FILESDIR}/dhcpcd.conf" 644 etc
|
|
}
|