dhcp: update to 4.3.6P1, add patch iproute2
This commit is contained in:
parent
1cf41d815d
commit
12b1eadd7f
2 changed files with 17 additions and 3 deletions
13
srcpkgs/dhcp/patches/0002-iproute2.patch
Normal file
13
srcpkgs/dhcp/patches/0002-iproute2.patch
Normal 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
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'dhcp'
|
# Template file for 'dhcp'
|
||||||
pkgname=dhcp
|
pkgname=dhcp
|
||||||
version=4.3.6
|
version=4.3.6P1
|
||||||
revision=1
|
revision=1
|
||||||
|
wrksrc="dhcp-${version/P/-P}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -10,8 +11,8 @@ short_desc="Server from the Internet Software Consortium's implementation of DHC
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://www.isc.org/software/dhcp"
|
homepage="https://www.isc.org/software/dhcp"
|
||||||
distfiles="http://ftp.isc.org/isc/dhcp/${version}/dhcp-${version}.tar.gz"
|
distfiles="http://ftp.isc.org/isc/dhcp/${version/P/-P}/dhcp-${version/P/-P}.tar.gz"
|
||||||
checksum=a41eaf6364f1377fe065d35671d9cf82bbbc8f21207819b2b9f33f652aec6f1b
|
checksum=2fd177bef02856f05fe17713ced9bfcc7d94f14c933c15f2f2fbedc9cc57a3c3
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local _args=" --sbindir=/usr/bin --enable-paranoia
|
local _args=" --sbindir=/usr/bin --enable-paranoia
|
||||||
|
|
Loading…
Reference in a new issue