summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-14 02:07:12 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-14 02:07:21 +0200
commite3bd72e8a4c33582860aa2ebcb578af80c5fcbb2 (patch)
treeb056ff0c743fec41317fb790ef2165535b8b3b29 /www-servers
parentnet-fs/samba: Bump to version 4.12.6 (diff)
downloadgentoo-e3bd72e8a4c33582860aa2ebcb578af80c5fcbb2.tar.gz
gentoo-e3bd72e8a4c33582860aa2ebcb578af80c5fcbb2.tar.bz2
gentoo-e3bd72e8a4c33582860aa2ebcb578af80c5fcbb2.zip
www-servers/nginx: drop http_auth_pam patch
...now included in upstream release. Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/nginx/files/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch22
-rw-r--r--www-servers/nginx/files/http_brotli-detect-brotli-r2.patch30
-rw-r--r--www-servers/nginx/nginx-1.18.0-r2.ebuild6
-rw-r--r--www-servers/nginx/nginx-1.19.2-r1.ebuild6
4 files changed, 0 insertions, 64 deletions
diff --git a/www-servers/nginx/files/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch b/www-servers/nginx/files/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch
deleted file mode 100644
index 632dcdee50e2..000000000000
--- a/www-servers/nginx/files/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://github.com/sto/ngx_http_auth_pam_module/pull/18
-
---- a/ngx_http_auth_pam_module.c
-+++ b/ngx_http_auth_pam_module.c
-@@ -348,7 +348,7 @@ ngx_http_auth_pam_authenticate(ngx_http_request_t *r,
- /* try to authenticate user, log error on failure */
- if ((rc = pam_authenticate(pamh,
- PAM_DISALLOW_NULL_AUTHTOK)) != PAM_SUCCESS) {
-- ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-+ ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
- "PAM: user '%s' - not authenticated: %s",
- ainfo.username.data, pam_strerror(pamh, rc));
- pam_end(pamh, PAM_SUCCESS);
-@@ -357,7 +357,7 @@ ngx_http_auth_pam_authenticate(ngx_http_request_t *r,
-
- /* check that the account is healthy */
- if ((rc = pam_acct_mgmt(pamh, PAM_DISALLOW_NULL_AUTHTOK)) != PAM_SUCCESS) {
-- ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-+ ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
- "PAM: user '%s' - invalid account: %s",
- ainfo.username.data, pam_strerror(pamh, rc));
- pam_end(pamh, PAM_SUCCESS);
diff --git a/www-servers/nginx/files/http_brotli-detect-brotli-r2.patch b/www-servers/nginx/files/http_brotli-detect-brotli-r2.patch
deleted file mode 100644
index 8774fa60d1cf..000000000000
--- a/www-servers/nginx/files/http_brotli-detect-brotli-r2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/config
-+++ b/config
-@@ -59,13 +59,7 @@ have=NGX_HTTP_BROTLI_STATIC_MODULE . auto/have # deprecated
- ngx_module_type=HTTP_FILTER
- ngx_module_name=ngx_http_brotli_filter_module
-
--brotli="/usr/local"
--
--if [ -f "/usr/include/brotli/encode.h" ]; then
--
--brotli="/usr"
--
--fi
-+brotli=$(pkg-config --variable=prefix libbrotlienc)
-
- if [ ! -f "$brotli/include/brotli/encode.h" ]; then
-
-@@ -75,11 +69,7 @@ if [ ! -f "$brotli/include/brotli/encode.h" ]; then
- cat << END
-
- $0: error: \
--Brotli library is missing from the $brotli directory.
--
--Please make sure that the git submodule has been checked out:
--
-- cd $ngx_addon_dir && git submodule update --init && cd $PWD
-+Brotli library not found. Don't you have app-arch/brotli installed?
-
- END
- exit 1
diff --git a/www-servers/nginx/nginx-1.18.0-r2.ebuild b/www-servers/nginx/nginx-1.18.0-r2.ebuild
index e69e9dc9c5d3..c4aa1254fc98 100644
--- a/www-servers/nginx/nginx-1.18.0-r2.ebuild
+++ b/www-servers/nginx/nginx-1.18.0-r2.ebuild
@@ -385,12 +385,6 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-1.4.1-fix-perl-install-path.patch"
eapply "${FILESDIR}/${PN}-httpoxy-mitigation-r1.patch"
- if use nginx_modules_http_auth_pam; then
- cd "${HTTP_AUTH_PAM_MODULE_WD}" || die
- eapply "${FILESDIR}"/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch
- cd "${S}" || die
- fi
-
if use nginx_modules_http_brotli; then
cd "${HTTP_BROTLI_MODULE_WD}" || die
eapply "${FILESDIR}"/http_brotli-detect-brotli-r3.patch
diff --git a/www-servers/nginx/nginx-1.19.2-r1.ebuild b/www-servers/nginx/nginx-1.19.2-r1.ebuild
index 541a05f9b06c..a23f3375b041 100644
--- a/www-servers/nginx/nginx-1.19.2-r1.ebuild
+++ b/www-servers/nginx/nginx-1.19.2-r1.ebuild
@@ -385,12 +385,6 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-1.4.1-fix-perl-install-path.patch"
eapply "${FILESDIR}/${PN}-httpoxy-mitigation-r1.patch"
- if use nginx_modules_http_auth_pam; then
- cd "${HTTP_AUTH_PAM_MODULE_WD}" || die
- eapply "${FILESDIR}"/http_auth_pam-1.5.1-adjust-loglevel-for-authentication-failures.patch
- cd "${S}" || die
- fi
-
if use nginx_modules_http_brotli; then
cd "${HTTP_BROTLI_MODULE_WD}" || die
eapply "${FILESDIR}"/http_brotli-detect-brotli-r3.patch