Update to release 1.6.5

Properly fixes BZ 2121952

Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2022-08-29 06:37:56 -04:00
parent e518ba1bd3
commit 98a3dd26fd
4 changed files with 3 additions and 34 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/mod_auth_gssapi-1.6.2.tar.gz /mod_auth_gssapi-1.6.2.tar.gz
/mod_auth_gssapi-1.6.3.tar.gz /mod_auth_gssapi-1.6.3.tar.gz
/mod_auth_gssapi-1.6.4.tar.gz /mod_auth_gssapi-1.6.4.tar.gz
/mod_auth_gssapi-1.6.5.tar.gz

View File

@ -1,30 +0,0 @@
From 5937938ca5122660860000e23c1c1275fb66c59b Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Sat, 27 Aug 2022 11:45:06 -0700
Subject: [PATCH] DO NOT MERGE: disable the mag_verify_config check
This is for downstream, a quick fix for
https://bugzilla.redhat.com/show_bug.cgi?id=2121952 . Proper fix
would be to fix the crash.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
src/mod_auth_gssapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c
index 99de884..32970b4 100644
--- a/src/mod_auth_gssapi.c
+++ b/src/mod_auth_gssapi.c
@@ -763,7 +763,7 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req)
req_cfg->req = req;
req_cfg->cfg = ap_get_module_config(req->per_dir_config,
&auth_gssapi_module);
- mag_verify_config(req, req_cfg->cfg);
+// mag_verify_config(req, req_cfg->cfg);
scfg = ap_get_module_config(req->server->module_config,
&auth_gssapi_module);
--
2.37.2

View File

@ -1,13 +1,11 @@
Name: mod_auth_gssapi Name: mod_auth_gssapi
Version: 1.6.4 Version: 1.6.5
Release: %autorelease Release: %autorelease
Summary: A GSSAPI Authentication module for Apache Summary: A GSSAPI Authentication module for Apache
License: MIT License: MIT
URL: https://github.com/gssapi/mod_auth_gssapi URL: https://github.com/gssapi/mod_auth_gssapi
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
# Disable a check added in 1.6.4 which causes crashes
Patch0: 0001-DO-NOT-MERGE-disable-the-mag_verify_config-check.patch
BuildRequires: httpd-devel, krb5-devel, openssl-devel BuildRequires: httpd-devel, krb5-devel, openssl-devel
BuildRequires: autoconf, automake, libtool, bison, flex, make BuildRequires: autoconf, automake, libtool, bison, flex, make

View File

@ -1 +1 @@
SHA512 (mod_auth_gssapi-1.6.4.tar.gz) = 9e608319daf8303112615781cec6ad897586b0c03c264e70f3bfd44083902d0cdbfe19ff063559f4b3680b81d77e8f9d01cd340ca672ca20057dde510712485d SHA512 (mod_auth_gssapi-1.6.5.tar.gz) = 97eb6dff90e686cd5d25c2925987bf51dbdf627720e74105204ec4625455255548414a03599cfd5a85734f5496f6a7b1f09760771a8278e8348e6ca35b6c48d0