2006-12-15 09:19:23 +01:00
|
|
|
# Description: An RFC2131-compliant DHCP client daemon
|
2020-07-16 18:52:30 +02:00
|
|
|
# URL: https://roy.marples.name/projects/dhcpcd/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2014-02-25 04:34:17 +01:00
|
|
|
# Depends on: eudev
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=dhcpcd
|
2020-07-04 11:38:53 +02:00
|
|
|
version=9.1.4
|
2020-07-04 14:55:03 +02:00
|
|
|
release=2
|
|
|
|
source=(https://roy.marples.name/downloads/dhcpcd/$name-$version.tar.xz
|
|
|
|
rc.dhcpcd)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-09-17 10:46:40 +02:00
|
|
|
|
2009-09-11 12:42:25 +02:00
|
|
|
./configure --prefix= \
|
|
|
|
--libexecdir=/lib/dhcpcd \
|
|
|
|
--dbdir=/var/lib/dhcpcd \
|
2009-09-23 10:30:57 +02:00
|
|
|
--sysconfdir=/etc/dhcpcd \
|
2020-07-04 11:38:53 +02:00
|
|
|
--enable-privsep \
|
|
|
|
--privsepuser=dhcpcd
|
2008-09-17 10:46:40 +02:00
|
|
|
|
2016-05-18 16:49:11 +02:00
|
|
|
make
|
2008-09-17 10:46:40 +02:00
|
|
|
make DESTDIR=$PKG install
|
2020-07-04 11:38:53 +02:00
|
|
|
|
|
|
|
install -d -o dhcpcd -g dhcpcd $PKG/var/lib/dhcpcd
|
2020-07-04 14:55:03 +02:00
|
|
|
install -D -m 0755 $SRC/rc.dhcpcd $PKG/etc/rc.d/dhcpcd
|
2020-07-04 11:38:53 +02:00
|
|
|
|
2009-09-11 12:42:25 +02:00
|
|
|
chmod -R u+w $PKG
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|