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 05490158064 for ; Thu, 9 May 2024 20:42:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 449A4E2A64; Thu, 9 May 2024 20:42:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E9F5EE2A61 for ; Thu, 9 May 2024 20:42:06 +0000 (UTC) From: Michael Orlitzky To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH v2 0/4] acct-{user,group}.eclass: make user/group names writable Date: Thu, 9 May 2024 16:41:55 -0400 Message-ID: <20240509204159.18123-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: 6fc0d9fa-ede4-496e-8443-14f449f12384 X-Archives-Hash: 9d3ae17b09f6ac98295ad7172dec2608 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 use PN instead of ACCT_{USER,GROUP}_NAME to construct the make.conf overrides. Changes in v2: - Two spaces after a period. - Use PN directly for override names Michael Orlitzky (4): acct-user.eclass: make ACCT_USER_NAME writable acct-group.eclass: make ACCT_GROUP_NAME writable eclass/acct-user.eclass: use $PN to construct make.conf override vars eclass/acct-group.eclass: use $PN to construct make.conf override vars eclass/acct-group.eclass | 18 ++++++++++-------- eclass/acct-user.eclass | 22 ++++++++++++---------- 2 files changed, 22 insertions(+), 18 deletions(-) -- 2.43.2