From 603eba45d3186aebf8dfeb1ee53a6062bdf65ae3 Mon Sep 17 00:00:00 2001 From: UsernameRandomlyGenerated Date: Sun, 24 Jan 2021 13:25:24 +0100 Subject: [PATCH] iputils: update to 20200821. --- .../iputils/patches/fix-arping-exitcode.patch | 17 ----------------- srcpkgs/iputils/template | 6 +++--- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/iputils/patches/fix-arping-exitcode.patch diff --git a/srcpkgs/iputils/patches/fix-arping-exitcode.patch b/srcpkgs/iputils/patches/fix-arping-exitcode.patch deleted file mode 100644 index 1bebcd02c3f..00000000000 --- a/srcpkgs/iputils/patches/fix-arping-exitcode.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git arping.c arping.c -index 77c9c56..2c87c15 100644 ---- arping.c -+++ arping.c -@@ -792,7 +792,11 @@ static int event_loop(struct run_state *ctl) - close(tfd); - freeifaddrs(ctl->ifa0); - rc |= finish(ctl); -- rc |= (ctl->sent != ctl->received); -+ if (ctl->dad && ctl->quit_on_reply) -+ /* Duplicate address detection mode return value */ -+ rc |= !(ctl->brd_sent != ctl->received); -+ else -+ rc |= (ctl->sent != ctl->received); - return rc; - } - diff --git a/srcpkgs/iputils/template b/srcpkgs/iputils/template index 97215e5d421..d7701c5080e 100644 --- a/srcpkgs/iputils/template +++ b/srcpkgs/iputils/template @@ -1,7 +1,7 @@ # Template file for 'iputils' pkgname=iputils -version=20190709 -revision=3 +version=20200821 +revision=1 wrksrc="${pkgname}-s${version}" build_style=meson configure_args="-DNO_SETCAP_OR_SUID=true -DUSE_IDN=false @@ -14,7 +14,7 @@ maintainer="Enno Boland " license="BSD-3-Clause, GPL-2.0-or-later" homepage="https://github.com/iputils/iputils" distfiles="https://github.com/iputils/iputils/archive/s${version}.tar.gz" -checksum=a15720dd741d7538dd2645f9f516d193636ae4300ff7dbc8bfca757bf166490a +checksum=f265da0d02dd2259efd8c57a9c2e0c8bb3361abb14639fcffb26707be5783a5b alternatives=" ping:ping:/usr/bin/${pkgname}-ping