2014-08-15 12:44:19 +00:00
|
|
|
Name: mod_auth_gssapi
|
2022-08-29 10:37:56 +00:00
|
|
|
Version: 1.6.5
|
2022-08-26 06:54:24 +00:00
|
|
|
Release: %autorelease
|
2014-08-15 12:44:19 +00:00
|
|
|
Summary: A GSSAPI Authentication module for Apache
|
|
|
|
|
|
|
|
License: MIT
|
2020-04-27 18:48:20 +00:00
|
|
|
URL: https://github.com/gssapi/mod_auth_gssapi
|
|
|
|
Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%name-%{version}.tar.gz
|
2014-08-15 12:44:19 +00:00
|
|
|
|
2021-03-16 17:59:31 +00:00
|
|
|
BuildRequires: httpd-devel, krb5-devel, openssl-devel
|
2020-12-01 19:30:21 +00:00
|
|
|
BuildRequires: autoconf, automake, libtool, bison, flex, make
|
2017-10-02 20:55:13 +00:00
|
|
|
BuildRequires: git
|
2014-08-15 12:44:19 +00:00
|
|
|
Requires: httpd-mmn = %{_httpd_mmn}
|
|
|
|
Requires: krb5-libs >= 1.11.5
|
|
|
|
|
2021-03-16 17:59:31 +00:00
|
|
|
# If you're reading this: NTLM is insecure. Migrate off it.
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%else
|
|
|
|
BuildRequires: gssntlmssp-devel
|
|
|
|
%endif
|
|
|
|
|
2014-08-15 12:44:19 +00:00
|
|
|
%description
|
|
|
|
The mod_auth_gssapi module is an authentication service that implements the
|
|
|
|
SPNEGO based HTTP Authentication protocol defined in RFC4559.
|
|
|
|
|
|
|
|
%prep
|
2021-08-24 20:52:36 +00:00
|
|
|
%autosetup -S git_am
|
2014-08-15 12:44:19 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
export APXS=%{_httpd_apxs}
|
2014-11-08 19:58:51 +00:00
|
|
|
autoreconf -fi
|
2014-08-15 12:44:19 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_httpd_moddir}
|
|
|
|
install -m 755 src/.libs/%{name}.so %{buildroot}%{_httpd_moddir}
|
|
|
|
|
|
|
|
# Apache configuration for the module
|
|
|
|
echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" > 10-auth_gssapi.conf
|
|
|
|
mkdir -p %{buildroot}%{_httpd_modconfdir}
|
|
|
|
install -m 644 10-auth_gssapi.conf %{buildroot}%{_httpd_modconfdir}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README COPYING
|
|
|
|
%config(noreplace) %{_httpd_modconfdir}/10-auth_gssapi.conf
|
|
|
|
%{_httpd_moddir}/mod_auth_gssapi.so
|
|
|
|
|
|
|
|
%changelog
|
2022-08-26 06:52:49 +00:00
|
|
|
%autochangelog
|