dhcp: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 11:00:24 +02:00
parent d4f1b28fd3
commit e226ca20d7

View file

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