dhcp: move to usr/bin.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'dhcp'
|
# Template file for 'dhcp'
|
||||||
pkgname=dhcp
|
pkgname=dhcp
|
||||||
version=4.3.2
|
version=4.3.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
conf_files="/etc/dhcpd.conf"
|
conf_files="/etc/dhcpd.conf"
|
||||||
@@ -13,7 +13,7 @@ distfiles="http://ftp.isc.org/isc/dhcp/${version}/dhcp-${version}.tar.gz"
|
|||||||
checksum=6246c9b358759f6cdcc45104caaf76e732a211dbbbbf64a21f499c8db1298165
|
checksum=6246c9b358759f6cdcc45104caaf76e732a211dbbbbf64a21f499c8db1298165
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local _args=" --enable-paranoia
|
local _args=" --sbindir=/usr/bin --enable-paranoia
|
||||||
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases
|
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases
|
||||||
--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases
|
--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases
|
||||||
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases
|
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases
|
||||||
@@ -42,10 +42,10 @@ dhclient_package() {
|
|||||||
make_dirs="/var/lib/dhclient 0755 root root"
|
make_dirs="/var/lib/dhclient 0755 root root"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc/dhclient.conf
|
vmove etc/dhclient.conf
|
||||||
vmove usr/sbin/dhclient
|
vmove usr/bin/dhclient
|
||||||
vmove usr/share/man/man5/dhclient*
|
vmove usr/share/man/man5/dhclient*
|
||||||
vmove usr/share/man/man8/dhclient*
|
vmove usr/share/man/man8/dhclient*
|
||||||
vinstall client/scripts/linux 755 usr/sbin dhclient-script
|
vbin client/scripts/linux dhclient-script
|
||||||
vsv dhclient
|
vsv dhclient
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user