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 D3C4115808B for ; Tue, 15 Feb 2022 14:40:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD46EE0827; Tue, 15 Feb 2022 14:40:05 +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 BDE59E0827 for ; Tue, 15 Feb 2022 14:40:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADEB033E690 for ; Tue, 15 Feb 2022 14:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 539031F1 for ; Tue, 15 Feb 2022 14:40:01 +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: <1644935991.5c9af4eb4146932401aa9307f5129e9fb5d3c031.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild net-fs/cifs-utils/metadata.xml X-VCS-Directories: net-fs/cifs-utils/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 5c9af4eb4146932401aa9307f5129e9fb5d3c031 X-VCS-Branch: master Date: Tue, 15 Feb 2022 14:40:01 +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: 0f002c89-d7cb-4987-a5a2-16f4aa01bf63 X-Archives-Hash: 65b03bed35372d8058a06a7ed29aadf2 commit: 5c9af4eb4146932401aa9307f5129e9fb5d3c031 Author: Dongsu Park linux microsoft com> AuthorDate: Tue Feb 15 14:39:51 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Feb 15 14:39:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9af4eb net-fs/cifs-utils: introduce python USE flag To prevent cifs-utils from pulling in unnecessary python libs, we need to introduce a new USE flag `python`. Doing that, `--enable-pythontools` will be enabled only if the python flag is turned on. So we can disable pythontools when the flag is turned off. Closes: https://github.com/gentoo/gentoo/pull/24196 Signed-off-by: Dongsu Park linux.microsoft.com> Signed-off-by: David Seifert gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 7 ++++--- net-fs/cifs-utils/metadata.xml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 89c9623e16ce..dd617aa95bdf 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -16,10 +16,9 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam systemd" +IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND=" - ${PYTHON_DEPS} !net-fs/mount-cifs sys-apps/keyutils:= ads? ( @@ -28,6 +27,7 @@ RDEPEND=" ) caps? ( sys-libs/libcap-ng ) pam? ( sys-libs/pam ) + python? ( ${PYTHON_DEPS} ) " DEPEND="${RDEPEND}" BDEPEND="dev-python/docutils" @@ -37,7 +37,7 @@ PDEPEND=" REQUIRED_USE=" acl? ( ads ) - ${PYTHON_REQUIRED_USE} + python? ( ${PYTHON_REQUIRED_USE} ) " DOCS="doc/linux-cifs-client-guide.odt" @@ -85,6 +85,7 @@ src_configure() { $(use_enable creds cifscreds) $(use_enable pam) $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) # mount.cifs can get passwords from systemd $(use_enable systemd) ) diff --git a/net-fs/cifs-utils/metadata.xml b/net-fs/cifs-utils/metadata.xml index ee0a0863fcf7..1f04d52ef8c9 100644 --- a/net-fs/cifs-utils/metadata.xml +++ b/net-fs/cifs-utils/metadata.xml @@ -17,5 +17,6 @@ Enable Active Directory support and create cifs.idmap binary - idmap support Enable sys-libs/libcap-ng support cifs credentials support + Enable support for python and install python tools