commit c4d5b4768e9d548951ec863cd12f2a1a7dd56064 Author: seki099 Date: Thu Dec 5 14:44:55 2019 +0800 package init diff --git a/mod_auth_gssapi-1.6.1.tar.gz b/mod_auth_gssapi-1.6.1.tar.gz new file mode 100644 index 0000000..b59e38a Binary files /dev/null and b/mod_auth_gssapi-1.6.1.tar.gz differ diff --git a/mod_auth_gssapi.spec b/mod_auth_gssapi.spec new file mode 100644 index 0000000..23e1f69 --- /dev/null +++ b/mod_auth_gssapi.spec @@ -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 - 1.6.1-3 +- Package init