summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2024-05-08 17:19:32 -0400
committerMichael Orlitzky <mjo@gentoo.org>2024-05-13 09:13:26 -0400
commitd5eb382b49a78b0ad0283480f8eef68cd97c4739 (patch)
tree65abcdf17859b5909a44d5346d3345d2e0d2f782 /eclass
parentacct-user.eclass: make ACCT_USER_NAME writable (diff)
downloadgentoo-d5eb382b49a78b0ad0283480f8eef68cd97c4739.tar.gz
gentoo-d5eb382b49a78b0ad0283480f8eef68cd97c4739.tar.bz2
gentoo-d5eb382b49a78b0ad0283480f8eef68cd97c4739.zip
acct-group.eclass: make ACCT_GROUP_NAME writable
The ACCT_GROUP_NAME variable is set to $PN by Gentoo policy. Prior to this commit, it was also marked "readonly", preventing it from being changed in an ebuild. In an overlay, and combined with the package naming restrictions in the PMS, this has the unfortunate side effect of prohibiting some otherwise-valid group names. We drop the "readonly" to allow those groups to be managed (in overlays) using GLEP81 packages. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/acct-group.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index a0ad86066309..6dd6dc06a07e 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: acct-group.eclass
@@ -50,12 +50,12 @@ inherit user-info
# << Eclass variables >>
# @ECLASS_VARIABLE: ACCT_GROUP_NAME
-# @INTERNAL
# @DESCRIPTION:
# The name of the group. This is forced to ${PN} and the policy
-# prohibits it from being changed.
+# prohibits it from being changed. The variable is left writable for
+# use in overlays; package naming restrictions would prohibit some
+# otherwise-valid group names.
ACCT_GROUP_NAME=${PN}
-readonly ACCT_GROUP_NAME
# @ECLASS_VARIABLE: ACCT_GROUP_ID
# @REQUIRED