aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-05-14 01:29:09 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-05-26 16:56:35 +0200
commit1ed1d66b4ccebfbceaa6309ed8ef64747352af3a (patch)
treed0c32783fb57144e9ecc65673d4b4f361666c8ee /2022-05-26-apache-nginx-glep-81
parent2022-05-23-borgmatic-config-changes: new item (diff)
downloadgentoo-news-1ed1d66b4ccebfbceaa6309ed8ef64747352af3a.tar.gz
gentoo-news-1ed1d66b4ccebfbceaa6309ed8ef64747352af3a.tar.bz2
gentoo-news-1ed1d66b4ccebfbceaa6309ed8ef64747352af3a.zip
2022-05-26-apache-nginx-glep-81: add news
Bug: https://bugs.gentoo.org/701254 Bug: https://bugs.gentoo.org/802495 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to '2022-05-26-apache-nginx-glep-81')
-rw-r--r--2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt66
1 files changed, 66 insertions, 0 deletions
diff --git a/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt b/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt
new file mode 100644
index 0000000..d0afab2
--- /dev/null
+++ b/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt
@@ -0,0 +1,66 @@
+Title: Migration to GLEP-81 enabled webservers
+Author: Conrad Kostecki <conikost@gentoo.org>
+Posted: 2022-05-20
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: www-servers/apache
+Display-If-Installed: www-servers/nginx
+
+In future, in order to complete the whole GLEP-81 migration,
+the packages www-servers/apache and www-servers/nginx
+will be migrated to GLEP-81.
+
+If changes have been made to the default user and group created
+by one of the both packages, the configuration needs to be updated,
+as otherwise it will be overwritten.
+
+The following configuration settings can be set
+in make.conf or per package in package.env:
+
+1. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS
+ for overriding all default groups.
+
+2. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS_ADD
+ for adding additional groups to default groups.
+
+3. ACCT_USER_<UPPERCASE_USERNAME>_HOME
+ for overriding default home directory.
+
+4. ACCT_USER_<UPPERCASE_USERNAME>_HOME_OWNER
+ for overriding default owner of home directory.
+
+5. ACCT_USER_<UPPERCASE_USERNAME>_HOME_PERMS
+ for overriding default permissions of home directory.
+
+6. ACCT_USER_<UPPERCASE_USERNAME>_SHELL
+ for overriding default assigned shell.
+
+If being set per package in package.env, it needs to
+be set for acct-user/apache or aact-user/nginx,
+depending on which user should be modified.
+
+See [1] for more details on those variables.
+
+** Package acct-user/apache will use username/group 'apache'.
+-> ACCT_USER_APACHE_GROUPS=".."
+-> ACCT_USER_APACHE_GROUPS_ADD=".."
+-> ACCT_USER_APACHE_HOME=".."
+-> ACCT_USER_APACHE_HOME_OWNER=".."
+-> ACCT_USER_APACHE_HOME_PERMS=".."
+-> ACCT_USER_APACHE_SHELL=".."
+
+** Package acct-user/nginx will use username/group 'nginx'.
+-> ACCT_USER_NGINX_GROUPS=".."
+-> ACCT_USER_NGINX_GROUPS_ADD=".."
+-> ACCT_USER_NGINX_HOME=".."
+-> ACCT_USER_NGINX_HOME_OWNER=".."
+-> ACCT_USER_NGINX_HOME_PERMS=".."
+-> ACCT_USER_NGINX_SHELL=".."
+
+Please update configuration parameters before emerging
+both GLEP-81 enabled ebuilds, as otherwise configuration
+will be overwritten to default.
+
+Migration to GLEP-81 will start after 2022-07-01.
+
+[1] https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html