package init
This commit is contained in:
commit
c4d5b4768e
BIN
mod_auth_gssapi-1.6.1.tar.gz
Normal file
BIN
mod_auth_gssapi-1.6.1.tar.gz
Normal file
Binary file not shown.
37
mod_auth_gssapi.spec
Normal file
37
mod_auth_gssapi.spec
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
Name: mod_auth_gssapi
|
||||||
|
Version: 1.6.1
|
||||||
|
Release: 3
|
||||||
|
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 git
|
||||||
|
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} -S git -p1
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Mon Nov 25 2019 shijian <shijian16@huawei.com> - 1.6.1-3
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user