2009-03-06 07:18:38 +00:00
|
|
|
# Template file for 'dhcpcd'
|
|
|
|
pkgname=dhcpcd
|
2010-06-04 11:41:08 +00:00
|
|
|
version=5.2.4
|
2009-04-30 00:00:16 +00:00
|
|
|
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
2009-09-03 08:20:39 +00:00
|
|
|
build_style=configure
|
|
|
|
configure_args="--libexecdir=/lib/dhcpcd"
|
2009-03-06 07:18:38 +00:00
|
|
|
short_desc="RFC2131 compliant DHCP client"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-06-04 11:41:08 +00:00
|
|
|
checksum=73fb32fad2fbdf901e94a2de7475345efe49053e64a94656152d759d3982b650
|
2009-03-06 07:18:38 +00:00
|
|
|
long_desc="
|
|
|
|
dhcpcd is a RFC 2131 compliant DHCP client. It's also a RFC 3927 compliant
|
|
|
|
IPv4LL (aka ZeroConf) client.
|
|
|
|
|
|
|
|
In layman's terms, dhcpcd runs on your machine and silently configures your
|
|
|
|
computer to work on the attached networks without trouble and mostly without
|
|
|
|
configuration."
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2009-12-23 17:01:53 +00:00
|
|
|
Add_dependency build ntp
|
2009-03-06 07:18:38 +00:00
|
|
|
|
|
|
|
conf_files="/etc/dhcpcd.conf"
|
2010-04-16 20:09:33 +00:00
|
|
|
openrc_services="dhcpcd default false"
|
2009-03-06 07:18:38 +00:00
|
|
|
|
2009-04-30 00:00:16 +00:00
|
|
|
post_install()
|
|
|
|
{
|
2010-04-22 11:48:56 +00:00
|
|
|
chmod 755 ${DESTDIR}/sbin/dhcpcd
|
2009-05-04 20:16:54 +00:00
|
|
|
# Install the OpenRC service
|
|
|
|
install -D -m755 ${FILESDIR}/dhcpcd.rc ${DESTDIR}/etc/init.d/dhcpcd
|
2009-04-30 00:00:16 +00:00
|
|
|
}
|