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 53C64158064 for ; Thu, 9 May 2024 11:57:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DA5CE2AB5; Thu, 9 May 2024 11:57:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CCFC6E2AB2 for ; Thu, 9 May 2024 11:57:51 +0000 (UTC) From: Michael Orlitzky To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 0/4] acct-{user,group}.eclass: make user/group names writable Date: Thu, 9 May 2024 07:57:41 -0400 Message-ID: <20240509115745.5182-1-mjo@gentoo.org> X-Mailer: git-send-email 2.43.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 418b80b0-6b13-46ca-8b83-ab126da2c755 X-Archives-Hash: d1adfac89a5cf3401b6b9b7fa43efcc7 Support changing the user/group name of GLEP81 packages. This is sometimes required in overlays because package naming restrictions prohibit valid user/group names from being package names. We drop "readonly" from the eclasses, and move the computation of the make.conf override variable names to global scope so that the eclasses won't try to use weird user/group names as bash variables names. Michael Orlitzky (4): acct-user.eclass: make ACCT_USER_NAME writable acct-group.eclass: make ACCT_GROUP_NAME writable acct-user.eclass: use an eclass variable for the override variable name acct-group.eclass: use an eclass variable for the override variable name eclass/acct-group.eclass | 31 +++++++++++++++++++++++-------- eclass/acct-user.eclass | 39 +++++++++++++++++++++++++-------------- 2 files changed, 48 insertions(+), 22 deletions(-) -- 2.43.2