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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4768615800A for ; Sat, 19 Aug 2023 20:58:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D09A2BC016; Sat, 19 Aug 2023 20:58:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5E99E2BC016 for ; Sat, 19 Aug 2023 20:58:42 +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 679083411BE for ; Sat, 19 Aug 2023 20:58:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCDC0FD0 for ; Sat, 19 Aug 2023 20:58:39 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1692478693.b0deafa90af353e022cf48c5d6353ddd1468ba82.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/wireless-regdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild X-VCS-Directories: net-wireless/wireless-regdb/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: b0deafa90af353e022cf48c5d6353ddd1468ba82 X-VCS-Branch: master Date: Sat, 19 Aug 2023 20:58:39 +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: c7c64574-9e2d-4aa3-9cbe-d45d619a4cd3 X-Archives-Hash: 04066fd02c79d5329df93da60c3cf7dc commit: b0deafa90af353e022cf48c5d6353ddd1468ba82 Author: Rick Farina gentoo org> AuthorDate: Sat Aug 19 20:55:52 2023 +0000 Commit: Rick Farina gentoo org> CommitDate: Sat Aug 19 20:58:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0deafa9 net-wireless/wireless-regdb: fix check bug Thanks to help from negril as these check logics hurt my head. Closes: https://bugs.gentoo.org/912647 Signed-off-by: Rick Farina gentoo.org> net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild index cf490e5d7dd3..d2b51aad6229 100644 --- a/net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild +++ b/net-wireless/wireless-regdb/wireless-regdb-20230503-r1.ebuild @@ -35,6 +35,9 @@ pkg_pretend() { ewarn " With CONFIG_CFG80211 unset, the driver(s) won't be able to load the regulatory.db from" ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m." fi + if linux_chkconfig_present EXPERT && linux_chkconfig_present CFG80211_CRDA_SUPPORT; then + ewarn "You can safely disable CFG80211_CRDA_SUPPORT" + fi fi if has_version net-wireless/crda || use crda; then @@ -42,8 +45,6 @@ pkg_pretend() { ewarn "The crda USE flag will be removed on or after Feb 01, 2024" fi - CONFIG_CHECK="EXPERT ~!CFG80211_CRDA_SUPPORT" - WARNING_CFG80211_CRDA_SUPPORT="You can safely disable CFG80211_CRDA_SUPPORT" else CONFIG_CHECK="~CFG80211_CRDA_SUPPORT" WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: \