From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 806BD13824A for ; Sat, 7 May 2016 22:32:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEA4221C08A; Sat, 7 May 2016 22:32:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71B9421C08A for ; Sat, 7 May 2016 22:32:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BA383406AD for ; Sat, 7 May 2016 22:32:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F582188 for ; Sat, 7 May 2016 22:32:45 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1462660308.87fb055e1198f9f343c3f2991154f323d7187e60.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/boinc/boinc-7.2.42-r1.ebuild sci-misc/boinc/boinc-7.2.42-r2.ebuild X-VCS-Directories: sci-misc/boinc/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 87fb055e1198f9f343c3f2991154f323d7187e60 X-VCS-Branch: master Date: Sat, 7 May 2016 22:32:45 +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: 9b595d9b-3092-4572-a46f-762686152274 X-Archives-Hash: 7a4a7422b194a31cfddc15dcbd1fd7a7 commit: 87fb055e1198f9f343c3f2991154f323d7187e60 Author: Sven Eden gmx net> AuthorDate: Fri May 6 15:40:09 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Sat May 7 22:31:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87fb055e sci-misc/boinc: Fix VSYSCALL check for boinc-7.2.42 Gentoo-Bug: 578750 The configuration options were misunderstood. - CONFIG_X86_VSYSCALL_EMULATION only enables a dmesg message if any legacy application tries to use any vsyscall. If disabled, these applications simply segfault with no output in dmesg. - To make the old calls available, either CONFIG_LEGACY_VSYSCALL_NATIVE or CONFIG_LEGACY_VSYSCALL_EMULATE must be used. Therefore the ebuild was reverted to check against the CONFIG_LEGACY_VSYSCALL_NONE option, and warns the user if this is set. Package-Manager: portage-2.2.28 ...inc-7.2.42-r1.ebuild => boinc-7.2.42-r2.ebuild} | 34 +++++++++------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/sci-misc/boinc/boinc-7.2.42-r1.ebuild b/sci-misc/boinc/boinc-7.2.42-r2.ebuild similarity index 78% rename from sci-misc/boinc/boinc-7.2.42-r1.ebuild rename to sci-misc/boinc/boinc-7.2.42-r2.ebuild index ae58b2d..a7c9d06 100644 --- a/sci-misc/boinc/boinc-7.2.42-r1.ebuild +++ b/sci-misc/boinc/boinc-7.2.42-r2.ebuild @@ -50,32 +50,24 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}" pkg_setup() { + # Bug 578750 if use kernel_linux; then linux-info_pkg_setup if ! linux_config_exists; then ewarn "Can't check the linux kernel configuration." ewarn "You might be missing vsyscall support." - else - if kernel_is -ge 4 4 \ - && linux_chkconfig_present LEGACY_VSYSCALL_NONE \ - && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; then - ewarn "You do have neither x86 vsyscall emulation" - ewarn "nor legacy vsyscall support enabled." - ewarn "This will prevent some boinc projects from running." - ewarn "Please enable vsyscall emulation:" - ewarn " CONFIG_X86_VSYSCALL_EMULATION=y" - ewarn "in /usr/src/linux/.config, to be found at" - ewarn " Processor type and features --->" - ewarn " [*] Enable vsyscall emulation" - ewarn "or set" - ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y" - ewarn "in /usr/src/linux/.config, to be found at" - ewarn " Processor type and features --->" - ewarn " vsyscall table for legacy applications (None) --->" - ewarn " (X) Emulate" - ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE." - ewarn "However, this has security implications and is not recommended." - fi + elif kernel_is -ge 4 4 \ + && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then + ewarn "You do not have vsyscall emulation enabled." + ewarn "This will prevent some boinc projects from running." + ewarn "Please enable vsyscall emulation:" + ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y" + ewarn "in /usr/src/linux/.config, to be found at" + ewarn " Processor type and features --->" + ewarn " vsyscall table for legacy applications (None) --->" + ewarn " (X) Emulate" + ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE." + ewarn "However, this has security implications and is not recommended." fi fi }