1 |
commit: 1ed1d66b4ccebfbceaa6309ed8ef64747352af3a |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 13 23:29:09 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 14:56:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=1ed1d66b |
7 |
|
8 |
2022-05-26-apache-nginx-glep-81: add news |
9 |
|
10 |
Bug: https://bugs.gentoo.org/701254 |
11 |
Bug: https://bugs.gentoo.org/802495 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
.../2022-05-26-apache-nginx-glep-81.en.txt | 66 ++++++++++++++++++++++ |
15 |
1 file changed, 66 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 0000000..d0afab2 |
20 |
--- /dev/null |
21 |
+++ b/2022-05-26-apache-nginx-glep-81/2022-05-26-apache-nginx-glep-81.en.txt |
22 |
@@ -0,0 +1,66 @@ |
23 |
+Title: Migration to GLEP-81 enabled webservers |
24 |
+Author: Conrad Kostecki <conikost@g.o> |
25 |
+Posted: 2022-05-20 |
26 |
+Revision: 1 |
27 |
+News-Item-Format: 2.0 |
28 |
+Display-If-Installed: www-servers/apache |
29 |
+Display-If-Installed: www-servers/nginx |
30 |
+ |
31 |
+In future, in order to complete the whole GLEP-81 migration, |
32 |
+the packages www-servers/apache and www-servers/nginx |
33 |
+will be migrated to GLEP-81. |
34 |
+ |
35 |
+If changes have been made to the default user and group created |
36 |
+by one of the both packages, the configuration needs to be updated, |
37 |
+as otherwise it will be overwritten. |
38 |
+ |
39 |
+The following configuration settings can be set |
40 |
+in make.conf or per package in package.env: |
41 |
+ |
42 |
+1. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS |
43 |
+ for overriding all default groups. |
44 |
+ |
45 |
+2. ACCT_USER_<UPPERCASE_USERNAME>_GROUPS_ADD |
46 |
+ for adding additional groups to default groups. |
47 |
+ |
48 |
+3. ACCT_USER_<UPPERCASE_USERNAME>_HOME |
49 |
+ for overriding default home directory. |
50 |
+ |
51 |
+4. ACCT_USER_<UPPERCASE_USERNAME>_HOME_OWNER |
52 |
+ for overriding default owner of home directory. |
53 |
+ |
54 |
+5. ACCT_USER_<UPPERCASE_USERNAME>_HOME_PERMS |
55 |
+ for overriding default permissions of home directory. |
56 |
+ |
57 |
+6. ACCT_USER_<UPPERCASE_USERNAME>_SHELL |
58 |
+ for overriding default assigned shell. |
59 |
+ |
60 |
+If being set per package in package.env, it needs to |
61 |
+be set for acct-user/apache or aact-user/nginx, |
62 |
+depending on which user should be modified. |
63 |
+ |
64 |
+See [1] for more details on those variables. |
65 |
+ |
66 |
+** Package acct-user/apache will use username/group 'apache'. |
67 |
+-> ACCT_USER_APACHE_GROUPS=".." |
68 |
+-> ACCT_USER_APACHE_GROUPS_ADD=".." |
69 |
+-> ACCT_USER_APACHE_HOME=".." |
70 |
+-> ACCT_USER_APACHE_HOME_OWNER=".." |
71 |
+-> ACCT_USER_APACHE_HOME_PERMS=".." |
72 |
+-> ACCT_USER_APACHE_SHELL=".." |
73 |
+ |
74 |
+** Package acct-user/nginx will use username/group 'nginx'. |
75 |
+-> ACCT_USER_NGINX_GROUPS=".." |
76 |
+-> ACCT_USER_NGINX_GROUPS_ADD=".." |
77 |
+-> ACCT_USER_NGINX_HOME=".." |
78 |
+-> ACCT_USER_NGINX_HOME_OWNER=".." |
79 |
+-> ACCT_USER_NGINX_HOME_PERMS=".." |
80 |
+-> ACCT_USER_NGINX_SHELL=".." |
81 |
+ |
82 |
+Please update configuration parameters before emerging |
83 |
+both GLEP-81 enabled ebuilds, as otherwise configuration |
84 |
+will be overwritten to default. |
85 |
+ |
86 |
+Migration to GLEP-81 will start after 2022-07-01. |
87 |
+ |
88 |
+[1] https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html |