summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kurakin <kuraga333@mail.ru>2023-01-27 18:17:27 +0300
committerConrad Kostecki <conikost@gentoo.org>2023-02-01 02:08:24 +0100
commitb5153ffa5ea7fe2fd116ab191c558b5eb4226906 (patch)
tree162da40e4a3f10cd4c4f5d8840be3df3649362de
parentdev-lua/luaposix: drop 36.0 (diff)
downloadgentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.tar.gz
gentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.tar.bz2
gentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.zip
acct-user/*: remove ACCT_USER_HOME_OWNER if it is equal to default
`acct-user.eclass`'s documentation [says](https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html): ``` ACCT_USER_HOME_OWNER The ownership to use for the home directory, in chown ([user][:group]) syntax. Defaults to the newly created user, and its primary group. ``` ``` ACCT_USER_GROUPS (REQUIRED) List of groups the user should belong to. This must be a bash array. The first group specified is the user's primary group, while the remaining groups (if any) become supplementary groups. ``` So we can remove in `acct-user/user/user-0.ebuild`: ``` ACCT_USER_HOME_OWNER="user" ``` Moreover if we have: ``` ACCT_USER_GROUPS=( primary_group group2 ) ``` , we can remove ``` ACCT_USER_HOME_OWNER="user:primary_group" ``` Signed-off-by: Alexander Kurakin <kuraga333@mail.ru> Closes: https://github.com/gentoo/gentoo/pull/29214 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--acct-user/automatic/automatic-0.ebuild3
-rw-r--r--acct-user/ceph/ceph-0-r1.ebuild3
-rw-r--r--acct-user/git/git-0-r2.ebuild3
-rw-r--r--acct-user/goaccess/goaccess-0.ebuild3
-rw-r--r--acct-user/headscale/headscale-0.ebuild3
-rw-r--r--acct-user/munin-async/munin-async-0-r1.ebuild3
-rw-r--r--acct-user/munin/munin-0-r1.ebuild3
-rw-r--r--acct-user/named/named-0-r1.ebuild3
-rw-r--r--acct-user/snapserver/snapserver-0.ebuild3
-rw-r--r--acct-user/unifi/unifi-0-r1.ebuild3
10 files changed, 10 insertions, 20 deletions
diff --git a/acct-user/automatic/automatic-0.ebuild b/acct-user/automatic/automatic-0.ebuild
index 4b8f27357849..8972c4583c61 100644
--- a/acct-user/automatic/automatic-0.ebuild
+++ b/acct-user/automatic/automatic-0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,6 +8,5 @@ inherit acct-user
ACCT_USER_ID=338
ACCT_USER_GROUPS=( automatic )
ACCT_USER_HOME="/var/lib/automatic"
-ACCT_USER_HOME_OWNER="automatic:automatic"
acct-user_add_deps
diff --git a/acct-user/ceph/ceph-0-r1.ebuild b/acct-user/ceph/ceph-0-r1.ebuild
index 7d26493d0bb5..56098366e894 100644
--- a/acct-user/ceph/ceph-0-r1.ebuild
+++ b/acct-user/ceph/ceph-0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,6 @@ DESCRIPTION="User for ceph"
ACCT_USER_ID=267
ACCT_USER_HOME=/var/lib/ceph
-ACCT_USER_HOME_OWNER=ceph:ceph
ACCT_USER_GROUPS=( ceph )
acct-user_add_deps
diff --git a/acct-user/git/git-0-r2.ebuild b/acct-user/git/git-0-r2.ebuild
index 18e2d5f67173..d6388db32836 100644
--- a/acct-user/git/git-0-r2.ebuild
+++ b/acct-user/git/git-0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,6 @@ IUSE="git gitea gitolite"
REQUIRED_USE="^^ ( git gitea gitolite )"
ACCT_USER_ID=196
-ACCT_USER_HOME_OWNER=git:git
ACCT_USER_HOME_PERMS=750
ACCT_USER_SHELL=/bin/sh
ACCT_USER_GROUPS=( git )
diff --git a/acct-user/goaccess/goaccess-0.ebuild b/acct-user/goaccess/goaccess-0.ebuild
index 8b93cdfe3a5d..bc260252062a 100644
--- a/acct-user/goaccess/goaccess-0.ebuild
+++ b/acct-user/goaccess/goaccess-0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,6 @@ inherit acct-user
ACCT_USER_ID=523
ACCT_USER_GROUPS=( goaccess )
ACCT_USER_HOME="/var/lib/goaccess"
-ACCT_USER_HOME_OWNER="goaccess:goaccess"
ACCT_USER_HOME_PERMS=0770
acct-user_add_deps
diff --git a/acct-user/headscale/headscale-0.ebuild b/acct-user/headscale/headscale-0.ebuild
index e30127cddfdb..23080db987f7 100644
--- a/acct-user/headscale/headscale-0.ebuild
+++ b/acct-user/headscale/headscale-0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,6 @@ inherit acct-user
DESCRIPTION="Headscale Server hosting user"
ACCT_USER_ID=514
-ACCT_USER_HOME_OWNER=headscale:headscale
ACCT_USER_HOME_PERMS=750
ACCT_USER_GROUPS=( headscale )
ACCT_USER_HOME=/var/lib/headscale
diff --git a/acct-user/munin-async/munin-async-0-r1.ebuild b/acct-user/munin-async/munin-async-0-r1.ebuild
index 813b903cb181..a11cabd62269 100644
--- a/acct-user/munin-async/munin-async-0-r1.ebuild
+++ b/acct-user/munin-async/munin-async-0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,6 @@ DESCRIPTION="user for munin async proxy node"
ACCT_USER_GROUPS=( munin )
ACCT_USER_HOME="/var/spool/munin-async"
-ACCT_USER_HOME_OWNER="munin-async:munin"
ACCT_USER_ID=178
ACCT_USER_SHELL=/bin/sh
diff --git a/acct-user/munin/munin-0-r1.ebuild b/acct-user/munin/munin-0-r1.ebuild
index 67505d6ce354..08f9f00552be 100644
--- a/acct-user/munin/munin-0-r1.ebuild
+++ b/acct-user/munin/munin-0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,6 @@ DESCRIPTION="user for munin"
ACCT_USER_GROUPS=( munin )
ACCT_USER_HOME="/var/lib/munin"
-ACCT_USER_HOME_OWNER="munin:munin"
ACCT_USER_ID=177
acct-user_add_deps
diff --git a/acct-user/named/named-0-r1.ebuild b/acct-user/named/named-0-r1.ebuild
index 103b3149f63d..4ca236119be0 100644
--- a/acct-user/named/named-0-r1.ebuild
+++ b/acct-user/named/named-0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,6 @@ DESCRIPTION="User for net-dns/bind"
ACCT_USER_ID=40
ACCT_USER_HOME=/etc/bind
-ACCT_USER_HOME_OWNER=named:named
ACCT_USER_GROUPS=( named )
acct-user_add_deps
diff --git a/acct-user/snapserver/snapserver-0.ebuild b/acct-user/snapserver/snapserver-0.ebuild
index daa84b06e5a0..b4b8bbda6968 100644
--- a/acct-user/snapserver/snapserver-0.ebuild
+++ b/acct-user/snapserver/snapserver-0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,6 @@ inherit acct-user
DESCRIPTION="Server user for media-sound/snapcast"
ACCT_USER_GROUPS=( "snapserver" )
-ACCT_USER_HOME_OWNER="snapserver"
ACCT_USER_HOME_PERMS=0770
ACCT_USER_ID=374
diff --git a/acct-user/unifi/unifi-0-r1.ebuild b/acct-user/unifi/unifi-0-r1.ebuild
index b5370b3f510d..6e7e3dae218f 100644
--- a/acct-user/unifi/unifi-0-r1.ebuild
+++ b/acct-user/unifi/unifi-0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,6 @@ DESCRIPTION="A user for the UniFi Controller"
ACCT_USER_GROUPS=( "unifi" )
ACCT_USER_HOME="/var/lib/unifi"
-ACCT_USER_HOME_OWNER="unifi:unifi"
ACCT_USER_ID="113"
acct-user_add_deps