dhcp: update to 4.3.6P1, add patch iproute2

This commit is contained in:
cr6git 2018-03-02 03:03:22 +01:00 committed by Leаh Neukirchen
parent 1cf41d815d
commit 12b1eadd7f
2 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,13 @@
diff --git a/client/scripts/linux b/client/scripts/linux
index 5fb16121..c4cef632 100755
--- client/scripts/linux
+++ client/scripts/linux
@@ -362,7 +362,7 @@ case "$reason" in
interface_up_wait_time=5
for i in $(seq 0 ${interface_up_wait_time})
do
- ifconfig ${interface} | grep RUNNING >/dev/null 2>&1
+ ${ip} link show dev ${interface} | grep -q LOWER_UP 2>&1
if [ $? -eq 0 ]; then
break;
fi

View file

@ -1,7 +1,8 @@
# Template file for 'dhcp'
pkgname=dhcp
version=4.3.6
version=4.3.6P1
revision=1
wrksrc="dhcp-${version/P/-P}"
build_style=gnu-configure
disable_parallel_build=yes
hostmakedepends="perl"
@ -10,8 +11,8 @@ short_desc="Server from the Internet Software Consortium's implementation of DHC
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="ISC"
homepage="https://www.isc.org/software/dhcp"
distfiles="http://ftp.isc.org/isc/dhcp/${version}/dhcp-${version}.tar.gz"
checksum=a41eaf6364f1377fe065d35671d9cf82bbbc8f21207819b2b9f33f652aec6f1b
distfiles="http://ftp.isc.org/isc/dhcp/${version/P/-P}/dhcp-${version/P/-P}.tar.gz"
checksum=2fd177bef02856f05fe17713ced9bfcc7d94f14c933c15f2f2fbedc9cc57a3c3
pre_configure() {
local _args=" --sbindir=/usr/bin --enable-paranoia