Commit dd87a7c1 authored by tcely's avatar tcely Committed by Leonardo Arena

main/dhcp: dhclient-script needs coreutils, iproute2, and run-parts

coreutils:
    chmod/chown --reference
iproute2: /sbin/ip
run-parts:
    run-parts --list
parent 04450f01
......@@ -8,9 +8,12 @@ url="https://www.isc.org/"
arch="all"
license="ISC"
depends=
# busybox utils are not sufficient for dhclient
depends_dhclient="coreutils iproute2 run-parts $depends_dhclient_optional"
#depends_dhclient_optional="bash iputils net-tools sed util-linux"
pkgusers="dhcp"
pkggroups="dhcp"
makedepends="perl linux-headers file"
makedepends="perl linux-headers file $depends_dhclient $depends_dhclient_optional"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev $pkgname-dbg dhclient dhcrelay"
source="http://ftp.isc.org/isc/$pkgname/${_realver}/$pkgname-$_realver.tar.gz
......@@ -67,6 +70,7 @@ package() {
dhclient() {
pkgdesc="ISC dhcp client"
depends="$depends_dhclient"
install -d -o dhcp -g dhcp "$subpkgdir"/var/lib/dhcp
install -d -o dhcp -g dhcp "$subpkgdir"/var/run/dhcp
install -d "$subpkgdir"/usr/sbin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment