dhcpcd: update to 5.0.0. Provide a rc.d script.
--HG-- extra : convert_revision : 7a0e0a0b2243d5b4d310b3c731fa94f3ec5e0d61
This commit is contained in:
parent
fdd7e0e5d7
commit
bd815eaeed
16
templates/dhcpcd/files/dhcpcd
Executable file
16
templates/dhcpcd/files/dhcpcd
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: dhcpcd
|
||||
# REQUIRE: network
|
||||
# BEFORE: NETWORKING
|
||||
# KEYWORD: shutdown
|
||||
|
||||
$_rc_subr_loaded . /etc/rc.subr
|
||||
|
||||
name=dhcpcd
|
||||
rcvar=$name
|
||||
command=/sbin/$name
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'dhcpcd'
|
||||
pkgname=dhcpcd
|
||||
version=4.0.13
|
||||
distfiles="http://roy.marples.name/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
||||
version=5.0.0
|
||||
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
||||
build_style=gnu_makefile
|
||||
short_desc="RFC2131 compliant DHCP client"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=8a55b9a0cc1cdfcbf670eb516d229e8f687f0086a610f8e071d700a837750c47
|
||||
checksum=dcd3e1e07b9ccbb7682562345cc2656c13a41892d44f4cd631c3541aab3ad407
|
||||
long_desc="
|
||||
dhcpcd is a RFC 2131 compliant DHCP client. It's also a RFC 3927 compliant
|
||||
IPv4LL (aka ZeroConf) client.
|
||||
|
@ -24,3 +24,9 @@ pre_configure()
|
|||
sed -i 's/\/libexec/\/lib\/dhcpcd/' Makefile
|
||||
sed -i 's/\/libexec/\/lib\/dhcpcd/' dhcpcd-hooks/Makefile
|
||||
}
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Install the rc.d script
|
||||
install -D -m755 ${FILESDIR}/dhcpcd ${DESTDIR}/etc/rc.d/dhcpcd
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user