From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0A99158003 for ; Sat, 13 Aug 2022 13:59:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1AA9E0769; Sat, 13 Aug 2022 13:59:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8A41E0769 for ; Sat, 13 Aug 2022 13:59:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88F22341349 for ; Sat, 13 Aug 2022 13:59:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1F5AD4 for ; Sat, 13 Aug 2022 13:59:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660398804.7be86a097533f3ec489851a31aa6cb749afca66f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/, sys-apps/iproute2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/iproute2/files/iproute2-5.19.0-setns-check.patch sys-apps/iproute2/iproute2-5.19.0-r1.ebuild sys-apps/iproute2/iproute2-5.19.0-r2.ebuild X-VCS-Directories: sys-apps/iproute2/files/ sys-apps/iproute2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7be86a097533f3ec489851a31aa6cb749afca66f X-VCS-Branch: master Date: Sat, 13 Aug 2022 13:59:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aeb8f769-2e13-418c-88cd-527f4f918ba0 X-Archives-Hash: 08696ce7ebd2535b2186e929baef451b commit: 7be86a097533f3ec489851a31aa6cb749afca66f Author: Sam James gentoo org> AuthorDate: Sat Aug 13 13:53:24 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 13 13:53:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be86a09 sys-apps/iproute2: backport setns check fix Could have led to a build w/o setns support. Signed-off-by: Sam James gentoo.org> .../files/iproute2-5.19.0-setns-check.patch | 22 ++++++++++++++++++++++ ...-5.19.0-r1.ebuild => iproute2-5.19.0-r2.ebuild} | 1 + 2 files changed, 23 insertions(+) diff --git a/sys-apps/iproute2/files/iproute2-5.19.0-setns-check.patch b/sys-apps/iproute2/files/iproute2-5.19.0-setns-check.patch new file mode 100644 index 000000000000..ff97d12195e2 --- /dev/null +++ b/sys-apps/iproute2/files/iproute2-5.19.0-setns-check.patch @@ -0,0 +1,22 @@ +https://github.com/shemminger/iproute2/commit/d5fe96ab70928508f072a47449e9b641e46de323 + +From d5fe96ab70928508f072a47449e9b641e46de323 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 10 Aug 2022 22:34:40 -0700 +Subject: [PATCH] configure: Define _GNU_SOURCE when checking for setns + +glibc defines this function only as gnu extention + +Signed-off-by: Khem Raj +Signed-off-by: Stephen Hemminger +--- a/configure ++++ b/configure +@@ -191,6 +191,7 @@ check_ipt_lib_dir() + check_setns() + { + cat >$TMPDIR/setnstest.c < + int main(int argc, char **argv) + { + diff --git a/sys-apps/iproute2/iproute2-5.19.0-r1.ebuild b/sys-apps/iproute2/iproute2-5.19.0-r2.ebuild similarity index 99% rename from sys-apps/iproute2/iproute2-5.19.0-r1.ebuild rename to sys-apps/iproute2/iproute2-5.19.0-r2.ebuild index 2ff11fd9105b..f0a6ca796fa7 100644 --- a/sys-apps/iproute2/iproute2-5.19.0-r1.ebuild +++ b/sys-apps/iproute2/iproute2-5.19.0-r2.ebuild @@ -52,6 +52,7 @@ PATCHES=( #"${FILESDIR}"/${PN}-5.1.0-portability.patch "${FILESDIR}"/${PN}-5.7.0-mix-signal.h-include.patch "${FILESDIR}"/${P}-musl.patch + "${FILESDIR}"/${P}-setns-check.patch "${FILESDIR}"/${PN}-default-color-auto.patch )