mod_auth_gssapi/mod_auth_gssapi.spec

45 lines
1.5 KiB
RPMSpec
Raw Normal View History

2019-12-05 14:44:55 +08:00
Name: mod_auth_gssapi
2023-10-10 11:08:12 +08:00
Version: 1.6.5
Release: 1
2019-12-05 14:44:55 +08:00
Summary: A Authentication module through GSSAPI for Apache
License: MIT
URL: https://github.com/modauthgssapi/mod_auth_gssapi
Source0: https://github.com/modauthgssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: httpd-devel krb5-devel openssl-devel autoconf automake libtool gssntlmssp-devel
2023-10-10 11:08:12 +08:00
BuildRequires: bison flex
2019-12-05 14:44:55 +08:00
Requires: httpd-mmn = %{_httpd_mmn} krb5-libs >= 1.11.5
%description
Kerberos authentication module for the Apache HTTP Server.The GSSAPI Negotiate Apache module
mod_auth_gssapi lets web applications take advantage of Kerberos authentication through GSSAPI.
%prep
%autosetup -n %{name}-%{version} -p1
2019-12-05 14:44:55 +08:00
%build
export APXS=%{_httpd_apxs}
autoreconf -fi
%configure
%make_build
%install
install -D -m755 src/.libs/%{name}.so %{buildroot}%{_httpd_moddir}/%{name}.so
echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" > 10-auth_gssapi.conf
install -D -m644 10-auth_gssapi.conf %{buildroot}%{_httpd_modconfdir}/10-auth_gssapi.conf
%files
%defattr(-,root,root)
%doc README COPYING
%config(noreplace) %{_httpd_modconfdir}/10-auth_gssapi.conf
%{_httpd_moddir}/mod_auth_gssapi.so
%changelog
2023-10-10 11:08:12 +08:00
* Tue Oct 10 2023 yaoxin <yao_xin001@hoperun.com> - 1.6.5-1
- Upgrade to 1.6.5
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.6.1-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
2019-12-05 14:44:55 +08:00
* Mon Nov 25 2019 shijian <shijian16@huawei.com> - 1.6.1-3
- Package init