1 |
commit: 4e95f88699b07e768974f9e5bb30bfe6735e8fcc |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 13 15:03:57 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 13 15:14:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e95f886 |
7 |
|
8 |
www-servers/apache: add mod_auth_form support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/438084 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
profiles/desc/apache2_modules.desc | 5 +++++ |
15 |
www-servers/apache/apache-2.4.41.ebuild | 19 ++++++++++++++----- |
16 |
2 files changed, 19 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/profiles/desc/apache2_modules.desc b/profiles/desc/apache2_modules.desc |
19 |
index a414540a3cf..8f6258033d4 100644 |
20 |
--- a/profiles/desc/apache2_modules.desc |
21 |
+++ b/profiles/desc/apache2_modules.desc |
22 |
@@ -10,6 +10,7 @@ alias - Provides for mapping different parts of the host filesystem in the docum |
23 |
asis - Sends files that contain their own HTTP headers |
24 |
auth_basic - Basic authentication |
25 |
auth_digest - User authentication using MD5 Digest Authentication |
26 |
+auth_form - Allows the use of an HTML login form to restrict access by looking up users in the given providers |
27 |
authn_alias - Provides the ability to create extended authentication providers based on actual providers |
28 |
authn_anon - Allows "anonymous" user access to authenticated areas |
29 |
authn_core - Provides core authentication capabilities common to all authentication providers (functionality provided by authn_alias in previous versions) |
30 |
@@ -81,6 +82,10 @@ ratelimit - Bandwidth Rate Limiting for Clients |
31 |
remoteip - Replaces the original client IP address for the connection with the useragent IP address list presented by a proxies or a load balancer via the request headers |
32 |
reqtimeout - Set timeout and minimum data rate for receiving requests |
33 |
rewrite - Provides a rule-based rewriting engine to rewrite requested URLs on the fly |
34 |
+session - Provides support for a server wide per user session interface |
35 |
+session_crypto - Provides support for the encryption of user sessions before being written to a local database, or written to a remote browser via an HTTP cookie |
36 |
+session_cookie - Provides support for the storage of user sessions on the remote browser within HTTP cookies |
37 |
+session_dbd - Provides support for the storage of user sessions within a SQL database using the mod_dbd module |
38 |
setenvif - Allows the setting of environment variables based on characteristics of the request |
39 |
slotmem_shm - Slot-based shared memory provider |
40 |
socache_shmcb - A shared object cache provider using a high-performance cyclic buffer inside a shared memory segment |
41 |
|
42 |
diff --git a/www-servers/apache/apache-2.4.41.ebuild b/www-servers/apache/apache-2.4.41.ebuild |
43 |
index f7bdde5774e..a74cf4c81e1 100644 |
44 |
--- a/www-servers/apache/apache-2.4.41.ebuild |
45 |
+++ b/www-servers/apache/apache-2.4.41.ebuild |
46 |
@@ -30,7 +30,7 @@ IUSE_MPMS_THREAD="event worker" |
47 |
# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests). |
48 |
# socache_shmcb: shared object cache provider. Default config with ssl needs it |
49 |
# unixd: fixes startup error: Invalid command 'User' |
50 |
-IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest |
51 |
+IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest auth_form |
52 |
authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core |
53 |
authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex |
54 |
brotli cache cache_disk cache_socache cern_meta charset_lite cgi cgid dav dav_fs dav_lock |
55 |
@@ -38,9 +38,10 @@ dbd deflate dir dumpio env expires ext_filter file_cache filter headers http2 |
56 |
ident imagemap include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness |
57 |
lbmethod_heartbeat log_config log_forensic logio macro md mime mime_magic negotiation |
58 |
proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_html proxy_http proxy_scgi |
59 |
-proxy_http2 proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout setenvif |
60 |
-slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack |
61 |
-unixd version vhost_alias watchdog xml2enc" |
62 |
+proxy_http2 proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout |
63 |
+session session_cookie session_crypto session_dbd setenvif slotmem_shm speling |
64 |
+socache_shmcb status substitute unique_id userdir usertrack unixd version vhost_alias |
65 |
+watchdog xml2enc" |
66 |
# The following are also in the source as of this version, but are not available |
67 |
# for user selection: |
68 |
# bucketeer case_filter case_filter_in echo http isapi optional_fn_export |
69 |
@@ -49,6 +50,7 @@ unixd version vhost_alias watchdog xml2enc" |
70 |
# inter-module dependencies |
71 |
# TODO: this may still be incomplete |
72 |
MODULE_DEPENDS=" |
73 |
+ auth_form:session |
74 |
brotli:filter |
75 |
dav_fs:dav |
76 |
dav_lock:dav |
77 |
@@ -79,6 +81,9 @@ MODULE_DEPENDS=" |
78 |
proxy_scgi:proxy |
79 |
proxy_fcgi:proxy |
80 |
proxy_wstunnel:proxy |
81 |
+ session_cookie:session |
82 |
+ session_dbd:dbd |
83 |
+ session_dbd:session |
84 |
substitute:filter |
85 |
" |
86 |
|
87 |
@@ -142,7 +147,11 @@ IUSE="${IUSE} +suexec-caps suexec-syslog" |
88 |
CDEPEND="apache2_modules_brotli? ( >=app-arch/brotli-0.6.0:= ) |
89 |
apache2_modules_http2? ( >=net-libs/nghttp2-1.2.1 ) |
90 |
apache2_modules_proxy_http2? ( >=net-libs/nghttp2-1.2.1 ) |
91 |
- apache2_modules_md? ( >=dev-libs/jansson-2.10 )" |
92 |
+ apache2_modules_md? ( >=dev-libs/jansson-2.10 ) |
93 |
+ apache2_modules_session_crypto? ( |
94 |
+ libressl? ( dev-libs/apr-util[libressl] ) |
95 |
+ !libressl? ( dev-libs/apr-util[openssl] ) |
96 |
+ )" |
97 |
|
98 |
DEPEND+="${CDEPEND} |
99 |
suexec? ( suexec-caps? ( sys-libs/libcap ) )" |