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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C84E1382C5 for ; Sun, 11 Mar 2018 06:24:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7861E0884; Sun, 11 Mar 2018 06:24:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1E0CE0884 for ; Sun, 11 Mar 2018 06:24:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAA7A335C83 for ; Sun, 11 Mar 2018 06:24:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CC59238 for ; Sun, 11 Mar 2018 06:24:32 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1520749446.5ba206c24738022e96693a5591fb3a6227f51a6a.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/keyutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/keyutils/keyutils-1.5.10.ebuild sys-apps/keyutils/keyutils-1.5.9-r4.ebuild X-VCS-Directories: sys-apps/keyutils/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 5ba206c24738022e96693a5591fb3a6227f51a6a X-VCS-Branch: master Date: Sun, 11 Mar 2018 06:24:32 +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-Archives-Salt: f13582d1-87b6-41d7-a0bf-9840fbd2c1b9 X-Archives-Hash: e7abe1c14c7edcf3838cc1d77e3b51b9 commit: 5ba206c24738022e96693a5591fb3a6227f51a6a Author: Matt Turner gentoo org> AuthorDate: Sun Mar 11 06:24:06 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Mar 11 06:24:06 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba206c2 sys-apps/keyutils: Don't check for KEYS_DEBUG_PROC_KEYS after Linux 4.0 Closes: https://bugs.gentoo.org/552512 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-apps/keyutils/keyutils-1.5.10.ebuild | 9 ++++++--- sys-apps/keyutils/keyutils-1.5.9-r4.ebuild | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/sys-apps/keyutils/keyutils-1.5.10.ebuild b/sys-apps/keyutils/keyutils-1.5.10.ebuild index 658882242f2..298b6bed808 100644 --- a/sys-apps/keyutils/keyutils-1.5.10.ebuild +++ b/sys-apps/keyutils/keyutils-1.5.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -25,9 +25,12 @@ PATCHES=( pkg_setup() { CONFIG_CHECK="~KEYS" - use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS" ERROR_KEYS="You must have CONFIG_KEYS to use this package!" - ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!" + + if use test && kernel_is lt 4 0 0; then + CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS" + ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!" + fi linux-info_pkg_setup } diff --git a/sys-apps/keyutils/keyutils-1.5.9-r4.ebuild b/sys-apps/keyutils/keyutils-1.5.9-r4.ebuild index d032a53dabd..2526784ea7b 100644 --- a/sys-apps/keyutils/keyutils-1.5.9-r4.ebuild +++ b/sys-apps/keyutils/keyutils-1.5.9-r4.ebuild @@ -19,9 +19,12 @@ DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )" pkg_setup() { CONFIG_CHECK="~KEYS" - use test && CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS" ERROR_KEYS="You must have CONFIG_KEYS to use this package!" - ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!" + + if use test && kernel_is lt 4 0 0; then + CONFIG_CHECK="${CONFIG_CHECK} ~KEYS_DEBUG_PROC_KEYS" + ERROR_KEYS_DEBUG_PROC_KEYS="You must have CONFIG_KEYS_DEBUG_PROC_KEYS to run the package testsuite!" + fi linux-info_pkg_setup }