Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
---
.../2022-05-14-apache-nginx-glep-81.en.txt | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
diff --git a/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt
new file mode 100644
index 0000000..34b2e63
--- /dev/null
+++ b/2022-05-14-apache-nginx-glep-81/2022-05-14-apache-nginx-glep-81.en.txt @@ -0,0 +1,36 @@
+Title: Migration to GLEP-81 enabled webservers
+Author: Conrad Kostecki <conikost@gentoo.org>
+Posted: 2022-05-14
+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 created user and group
+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.
+
+** Package www-servers/apache will use username/group 'apache'.
ACCT_USER_APACHE_GROUPS=".."+
ACCT_USER_APACHE_GROUPS_ADD=".."
+** Package www-servers/nginx will use username/group 'nginx'.
ACCT_USER_NGINX_GROUPS=".."+
ACCT_USER_NGINX_GROUPS_ADD=".."
+Please update configuration parameters before emerging
+both GLEP-81 enabled ebuilds, as otherwise configuration
+will be overwritten to default.
--
2.35.1
Le sam. 14 mai 2022 à 01:43, Conrad Kostecki <conikost@gentoo.org> a écrit :
Could you add a paragraph telling that other configuration values can
be kept ?
You could also point to the eclass documentation [1] for details. I'm
not sure it's the best solution because it's intended for Gentoo devs,
not users, but if someone runs a web server, he should be able to
handle that.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:19:44 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,615 |
Messages: | 6,121,086 |