From 414cf293d6f3e12d0ac432aa43ef6bd8c0d7bb49 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 26 May 2015 13:31:08 +0200 Subject: [PATCH] dhcp: fix missing dhclient-script --- srcpkgs/dhcp/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index aefb1d25a05..32ba5fdba35 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -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 } }