summaryrefslogtreecommitdiff
path: root/packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2019-10-17 16:00:03 +0000
committerAvatar Timo Gurr <tgurr@exherbo.org> 2019-10-17 16:00:03 +0000
commit4485f580350b68aac019ad547aa5a9ae3a1a6ab4 (patch)
tree31987a5bb23ac120b1ce30dde01ea5667c88f351 /packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0
parentda2a3ef52a5cc66d909c94be70f7d37ad5d93695 (diff)
downloadarbor-4485f580350b68aac019ad547aa5a9ae3a1a6ab4.tar.gz
arbor-4485f580350b68aac019ad547aa5a9ae3a1a6ab4.tar.xz
dhcpcd: version bump to 8.1.1
Diffstat (limited to 'packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0')
-rw-r--r--packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-064
1 files changed, 64 insertions, 0 deletions
diff --git a/packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0 b/packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0
new file mode 100644
index 000000000..e636ecd5b
--- /dev/null
+++ b/packages/net-misc/dhcpcd/dhcpcd-8.1.1.exheres-0
@@ -0,0 +1,64 @@
+# Copyright 2007 Bryan Ƙstergaard <kloeri@exherbo.org>
+# Copyright 2010-2015 Wulf C. Krueger <philantrop@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require s6-rc-service
+require systemd-service
+require openrc-service
+
+SUMMARY="RFC2131 compliant DHCP client"
+DESCRIPTION="
+dhcpcd is an RFC2131 compliant DHCP client. It is fully featured and yet lightweight:
+the binary is 60k as reported by size(1) on Linux i386. It has support for duplicate
+address detection, IPv4LL, carrier detection, and a merged resolv.conf and ntp.conf
+for which other DHCP clients require third party tools.
+"
+BASE_URI="https://roy.marples.name"
+HOMEPAGE="${BASE_URI}/projects/${PN}"
+DOWNLOADS="${BASE_URI}/downloads/${PN}/${PNV}.tar.xz"
+
+LICENCES="BSD-2"
+SLOT="0"
+PLATFORMS="~amd64 ~arm ~armv7 ~armv8 ~x86"
+MYOPTIONS="
+ ( providers: eudev systemd ) [[ number-selected = exactly-one ]]
+"
+
+DEPENDENCIES="
+ build+run:
+ providers:eudev? ( sys-apps/eudev )
+ providers:systemd? ( sys-apps/systemd )
+"
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --dbdir=/var/lib/dhcpcd
+ --libexecdir=/usr/$(exhost --target)/lib/dhcpcd
+ --rundir=/run
+ --enable-arp
+ --enable-arping
+ --enable-auth
+ --enable-dhcp6
+ --enable-inet
+ --enable-inet6
+ --enable-ipv4
+ --enable-ipv6
+ --disable-embedded
+ --with-hooks="yp ntp"
+ --with-udev
+)
+
+src_install() {
+ default
+
+ install_s6-rc_files
+ install_systemd_files
+
+ install_openrc_files
+
+ edo sed \
+ -e "s:/usr/bin:/usr/$(exhost --target)/bin:" \
+ -i "${IMAGE}"/"${SYSTEMDSYSTEMUNITDIR}"/${PN}.service
+
+ keepdir /var/lib/dhcpcd
+}
+