commit:     8753de7a2413c60609ca0b99616a8e19da29d4f6
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  2 01:47:51 2018 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Sun Dec  2 02:46:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8753de7a

dev-util/tup: warn if important kernel options are not enabled

No revbump for 0.7.7 as the change doesn't affect successful
installations.

Bug: https://bugs.gentoo.org/664768
Package-Manager: Portage-2.3.49, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 dev-util/tup/tup-0.7.7.ebuild | 8 ++++++--
 dev-util/tup/tup-9999.ebuild  | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-util/tup/tup-0.7.7.ebuild b/dev-util/tup/tup-0.7.7.ebuild
index 104dd83a9db..e248bb29dc6 100644
--- a/dev-util/tup/tup-0.7.7.ebuild
+++ b/dev-util/tup/tup-0.7.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit linux-info toolchain-funcs
 
 DESCRIPTION="A file-based build system"
 HOMEPAGE="http://gittup.org/tup";
@@ -30,6 +30,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+CONFIG_CHECK="~FUSE_FS ~NAMESPACES"
+WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work"
+WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended 
(workaround: set TUP_NO_NAMESPACING env var when running tup)"
+
 src_prepare() {
        # Use our toolchain
        sed -i Tuprules.tup \

diff --git a/dev-util/tup/tup-9999.ebuild b/dev-util/tup/tup-9999.ebuild
index 104dd83a9db..e248bb29dc6 100644
--- a/dev-util/tup/tup-9999.ebuild
+++ b/dev-util/tup/tup-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit linux-info toolchain-funcs
 
 DESCRIPTION="A file-based build system"
 HOMEPAGE="http://gittup.org/tup";
@@ -30,6 +30,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+CONFIG_CHECK="~FUSE_FS ~NAMESPACES"
+WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work"
+WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended 
(workaround: set TUP_NO_NAMESPACING env var when running tup)"
+
 src_prepare() {
        # Use our toolchain
        sed -i Tuprules.tup \

Reply via email to