Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
apache2-mod_auth_mellon.23564
apache2-mod_auth_mellon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache2-mod_auth_mellon.spec of Package apache2-mod_auth_mellon.23564
# # spec file for package apache2-mod_auth_mellon # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define upstream_name mod_auth_mellon Name: apache2-mod_auth_mellon Version: 0.17.0 Release: 0 Summary: A SAML 2.0 authentication module for the Apache Server License: GPL-2.0-or-later Group: Productivity/Networking/Web/Servers URL: https://github.com/latchset/%{upstream_name} Source0: https://github.com/latchset/%{upstream_name}/releases/download/v%{version}/%{upstream_name}-%{version}.tar.gz Source1: %{upstream_name}.conf Source2: %{name}.conf Source3: README.diagnostics Patch0: mod_auth_mellon-0.16.0-env-script-interpreter.patch Patch1: fix-CVE-2021-3639.patch BuildRequires: apache-rpm-macros BuildRequires: apache2-devel BuildRequires: curl-devel BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: xmlsec1-devel BuildRequires: pkgconfig(lasso) >= 2.5.1 BuildRequires: rubygem(asciidoctor) Requires: %{apache_mmn} Requires: %{apache_suse_maintenance_mmn} Requires: liblasso3 >= 2.5.1 %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. %package doc Summary: Documentation for mod_auth_mellon module Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} %description doc This package contains a documentation for mod_auth_mellon module. %package diagnostics Summary: Build of mod_auth_mellon with diagnostic logging Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} %description diagnostics Build of mod_auth_mellon with diagnostic logging. See README.diagnostics in the doc directory for instructions on using the diagnostics build. %prep %autosetup -n %{upstream_name}-%{version} %build export APXS=%{_httpd_apxs} %configure --enable-diagnostics %make_build clean %make_build cp .libs/%{upstream_name}.so %{upstream_name}-diagnostics.so %configure %make_build clean %make_build pushd doc/user_guide asciidoctor -a data-uri mellon_user_guide.adoc popd %install # install module mkdir -p %{buildroot}/%{apache_libexecdir} install -m 755 .libs/%{upstream_name}.so %{buildroot}%{apache_libexecdir} install -m 755 %{upstream_name}-diagnostics.so %{buildroot}%{apache_libexecdir} # install module configuration mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apache2/conf.d install -d -m 0755 %{buildroot}%{_tmpfilesdir} install -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf # install script to generate metadata mkdir -p %{buildroot}/%{_libexecdir}/%{name} install -m 755 mellon_create_metadata.sh %{buildroot}/%{_libexecdir}/%{name} # install user guide mkdir -p %{buildroot}/%{_docdir} cp -r doc/user_guide %{buildroot}/%{_docdir} # install diagnostics README install -m 0644 %{SOURCE3} %{buildroot}/%{_docdir} %post %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %files diagnostics %{apache_libexecdir}/%{upstream_name}-diagnostics.so %files %license COPYING %doc README.md NEWS ECP.rst %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{upstream_name}.conf %{apache_libexecdir}/%{upstream_name}.so %{_tmpfilesdir}/%{name}.conf %{_libexecdir}/%{name} %ghost /run/mod_auth_mellon %files doc %doc %{_docdir}/README.diagnostics %doc %{_docdir}/user_guide %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor