155 lines
5.3 KiB
RPMSpec
155 lines
5.3 KiB
RPMSpec
Summary: A SAML 2.0 authentication module for the Apache Httpd Server
|
|
Name: mod_auth_mellon
|
|
Version: 0.12.0
|
|
Release: 5%{?dist}
|
|
Group: System Environment/Daemons
|
|
Source0: https://github.com/UNINETT/mod_auth_mellon/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source1: auth_mellon.conf
|
|
Source2: 10-auth_mellon.conf
|
|
Source3: mod_auth_mellon.conf
|
|
Source4: mellon_create_metadata.sh
|
|
License: GPLv2+
|
|
BuildRequires: curl-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: httpd-devel
|
|
BuildRequires: lasso-devel >= 2.5.0
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: xmlsec1-devel
|
|
Requires: httpd-mmn = %{_httpd_mmn}
|
|
Requires: lasso >= 2.5.0
|
|
Url: https://github.com/UNINETT/mod_auth_mellon
|
|
|
|
Patch1: enabled_in_check_uid.patch
|
|
Patch2: content-type.patch
|
|
|
|
|
|
%description
|
|
The mod_auth_mellon module is an authentication service that implements the
|
|
SAML 2.0 federation protocol. It grants access based on the attributes
|
|
received in assertions generated by a IdP server.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%build
|
|
export APXS=%{_httpd_apxs}
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
# install module
|
|
mkdir -p %{buildroot}%{_httpd_moddir}
|
|
install -m 755 .libs/%{name}.so %{buildroot}%{_httpd_moddir}
|
|
|
|
# install module configuration
|
|
mkdir -p %{buildroot}%{_httpd_confdir}
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_httpd_confdir}
|
|
mkdir -p %{buildroot}%{_httpd_modconfdir}
|
|
install -m 644 %{SOURCE2} %{buildroot}%{_httpd_modconfdir}
|
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
install -m 644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}
|
|
mkdir -p %{buildroot}/run/%{name}
|
|
|
|
# install script to generate metadata
|
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
|
install -m 755 %{SOURCE4} %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%if 0%{?rhel} && 0%{?rhel} < 7
|
|
%doc COPYING
|
|
%else
|
|
%license COPYING
|
|
%endif
|
|
%doc README NEWS ECP.rst
|
|
%config(noreplace) %{_httpd_modconfdir}/10-auth_mellon.conf
|
|
%config(noreplace) %{_httpd_confdir}/auth_mellon.conf
|
|
%{_httpd_moddir}/mod_auth_mellon.so
|
|
%{_tmpfilesdir}/mod_auth_mellon.conf
|
|
%{_libexecdir}/%{name}
|
|
%dir /run/%{name}/
|
|
|
|
%changelog
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Tue Jan 17 2017 John Dennis <jdennis@redhat.com> - 0.12.0-4
|
|
- Resolves: bug #1414019 Incorrect PAOS Content-Type header
|
|
|
|
* Mon Jan 9 2017 John Dennis <jdennis@redhat.com> - 0.12.0-3
|
|
- bump release for rebuild
|
|
|
|
* Tue May 3 2016 John Dennis <jdennis@redhat.com> - 0.12.0-2
|
|
- Resolves: bug #1332729, mellon conflicts with mod_auth_openidc
|
|
- am_check_uid() should be no-op if mellon not enabled
|
|
|
|
* Wed Mar 9 2016 John Dennis <jdennis@redhat.com> - 0.12.0-1
|
|
- Update to new upstream 0.12.0
|
|
- [CVE-2016-2145] Fix DOS attack (Apache worker process crash) due to
|
|
incorrect error handling when reading POST data from client.
|
|
|
|
- [CVE-2016-2146] Fix DOS attack (Apache worker process crash /
|
|
resource exhaustion) due to missing size checks when reading
|
|
POST data.
|
|
|
|
In addition this release contains the following new features and fixes:
|
|
|
|
- Add MellonRedirectDomains option to limit the sites that
|
|
mod_auth_mellon can redirect to. This option is enabled by default.
|
|
|
|
- Add support for ECP service options in PAOS requests.
|
|
|
|
- Fix AssertionConsumerService lookup for PAOS requests.
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Dec 23 2015 John Dennis <jdennis@redhat.com> - 0.11.0-3
|
|
- Fix the following warning that appears in the Apache log
|
|
lasso-CRITICAL **: lasso_provider_get_metadata_list_for_role: assertion '_lasso_provider_get_role_index(role)' failed
|
|
|
|
* Fri Sep 18 2015 John Dennis <jdennis@redhat.com> - 0.11.0-2
|
|
- Add lasso 2.5.0 version dependency
|
|
|
|
* Fri Sep 18 2015 John Dennis <jdennis@redhat.com> - 0.11.0-1
|
|
- Upgrade to upstream 0.11.0 release.
|
|
- Includes ECP support, see NEWS for all changes.
|
|
- Update mellon_create_metadata.sh to match internally generated metadata,
|
|
includes AssertionConsumerService for postResponse, artifactResponse &
|
|
paosResponse.
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jan 7 2015 Simo Sorce <simo@redhat.com> 0.10.0-1
|
|
- New upstream release
|
|
|
|
* Tue Sep 2 2014 Simo Sorce <simo@redhat.com> 0.9.1-1
|
|
- New upstream release
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Tue Jun 24 2014 Simo Sorce <simo@redhat.com> 0.8.0-1
|
|
- New upstream realease version 0.8.0
|
|
- Upstream moved to github
|
|
- Drops patches as they have been all included upstream
|
|
|
|
* Fri Jun 20 2014 Simo Sorce <simo@redhat.com> 0.7.0-3
|
|
- Backport of useful patches from upstream
|
|
- Better handling of IDP reported errors
|
|
- Better handling of session data storage size
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Tue Dec 10 2013 Simo Sorce <simo@redhat.com> 0.7.0-1
|
|
- Fix ownership of /run files
|
|
|
|
* Wed Nov 27 2013 Simo Sorce <simo@redhat.com> 0.7.0-0
|
|
- Initial Fedora release based on version 0.7.0
|
|
- Based on an old spec file by Jean-Marc Liger <jmliger@siris.sorbonne.fr>
|