diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb34615 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mod_auth_gssapi-1.3.1.tar.gz diff --git a/.mod_auth_gssapi.metadata b/.mod_auth_gssapi.metadata new file mode 100644 index 0000000..f4fc254 --- /dev/null +++ b/.mod_auth_gssapi.metadata @@ -0,0 +1 @@ +ea991f44b0638a5327576c1d3ca5108d95b5646b SOURCES/mod_auth_gssapi-1.3.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/mod_auth_gssapi.spec b/SPECS/mod_auth_gssapi.spec new file mode 100644 index 0000000..a829a08 --- /dev/null +++ b/SPECS/mod_auth_gssapi.spec @@ -0,0 +1,55 @@ +Name: mod_auth_gssapi +Version: 1.3.1 +Release: 1%{?dist} +Summary: A GSSAPI Authentication module for Apache + +Group: System Environment/Daemons +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 +Requires: httpd-mmn = %{_httpd_mmn} +Requires: krb5-libs >= 1.11.5 + +%description +The mod_auth_gssapi module is an authentication service that implements the +SPNEGO based HTTP Authentication protocol defined in RFC4559. + +%prep +%setup -q + +%build +export APXS=%{_httpd_apxs} +autoreconf -fi +%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 +* Thu Sep 3 2015 Simo Sorce 1.3.1-1 +- Various bugfixes and minor new features +- resolves: #1258168 +- resolves: #1258171 +- resolves: #1258172 +- resolves: #1258456 + +* Thu Apr 21 2015 Simo Sorce 1.2.0-1 +- First RHEL release +- resolves: #1205367