Merge pull request #1652 from thypon/dhclientfix
dhcp: fix missing dhclient-script
This commit is contained in:
commit
fa4b3edad5
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dhcp'
|
||||
pkgname=dhcp
|
||||
version=4.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="perl"
|
||||
conf_files="/etc/dhcpd.conf"
|
||||
|
@ -18,9 +18,10 @@ pre_configure() {
|
|||
--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases
|
||||
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases
|
||||
--with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases"
|
||||
local cargs="$(echo $configure_args | tr '\n' ' ')"
|
||||
|
||||
# patching bind Makefile to patch with a cross fix while building (WTF?!)
|
||||
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/urandom $configure_args#" bind/Makefile
|
||||
sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ./configure --with-randomdev=/dev/urandom $cargs#" bind/Makefile
|
||||
|
||||
# set real configure_args
|
||||
export configure_args+="${_args}"
|
||||
|
@ -43,6 +44,7 @@ dhclient_package() {
|
|||
vmove usr/sbin/dhclient
|
||||
vmove usr/share/man/man5/dhclient*
|
||||
vmove usr/share/man/man8/dhclient*
|
||||
vinstall client/scripts/linux 755 usr/sbin dhclient-script
|
||||
vsv dhclient
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user