2009-03-06 07:18:38 +00:00
|
|
|
# Template file for 'dhcpcd'
|
|
|
|
pkgname=dhcpcd
|
2015-07-10 04:58:49 +00:00
|
|
|
version=6.9.1
|
|
|
|
revision=1
|
2014-03-29 14:32:57 +00:00
|
|
|
lib32disabled=yes
|
2015-03-04 18:44:01 +00:00
|
|
|
build_pie=yes
|
2009-09-03 08:20:39 +00:00
|
|
|
build_style=configure
|
2015-06-02 06:10:28 +00:00
|
|
|
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run"
|
2014-10-18 07:02:15 +00:00
|
|
|
hostmakedepends="ntp pkg-config"
|
2014-09-06 10:42:09 +00:00
|
|
|
makedepends="libudev-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/dhcpcd.conf"
|
2009-03-06 07:18:38 +00:00
|
|
|
short_desc="RFC2131 compliant DHCP client"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-10-29 09:26:08 +00:00
|
|
|
license="2-clause-BSD"
|
2012-07-09 10:26:14 +00:00
|
|
|
homepage="http://roy.marples.name/projects/dhcpcd"
|
2015-07-10 04:58:49 +00:00
|
|
|
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-${version}.tar.xz"
|
|
|
|
checksum=c03b750e1fe2890b62ac0e7d7092a1698b598adb6f88b67916586a619f7c066f
|
2014-08-20 09:48:03 +00:00
|
|
|
|
2014-11-06 16:35:19 +00:00
|
|
|
pre_install() {
|
|
|
|
# make wpa_supplicant log to syslog rather than stdout
|
|
|
|
sed -i 's,-B,& -s,' dhcpcd-hooks/10-wpa_supplicant
|
|
|
|
}
|
2012-01-30 11:45:51 +00:00
|
|
|
post_install() {
|
2014-10-13 09:52:12 +00:00
|
|
|
vsv dhcpcd
|
|
|
|
vsv dhcpcd-eth0
|
2014-12-18 08:05:17 +00:00
|
|
|
# Enable controlgroup by default, to make dhcpcd-ui work.
|
|
|
|
sed -i 's,^#\(controlgroup.*\),\1,' ${DESTDIR}/etc/dhcpcd.conf
|
2009-04-30 00:00:16 +00:00
|
|
|
}
|