Petr Gajdos
0fb21052d6
- version update to 1.6.3 * add a few options to expose the mechanism used for authentication (when multiple are available) and to control the timeout interval for Basic Auth sessions * CI and other minor fixes, as well as a fix for gss_localname() * see https://github.com/gssapi/mod_auth_gssapi/releases - modified patches % apache2-mod_auth_gssapi-test.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/851084 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_auth_gssapi?expand=0&rev=6
78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package apache2-mod_auth_gssapi
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
# Copyright (c) 2004, 2005 NOVELL (All rights reserved)
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: apache2-mod_auth_gssapi
|
|
Version: 1.6.3
|
|
Release: 0
|
|
Summary: GSSAPI Module for Apache
|
|
License: MIT
|
|
URL: https://github.com/modauthgssapi/mod_auth_gssapi/
|
|
Source0: https://github.com/modauthgssapi/mod_auth_gssapi/releases/download/v%{version}/mod_auth_gssapi-%{version}.tar.gz
|
|
# python3 and other testsuite fixes
|
|
Patch0: apache2-mod_auth_gssapi-test.patch
|
|
BuildRequires: apache-rpm-macros
|
|
BuildRequires: apache2-devel
|
|
BuildRequires: byacc
|
|
BuildRequires: flex
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: openssl-devel
|
|
Requires: %{apache_mmn}
|
|
Requires: %{apache_suse_maintenance_mmn}
|
|
Requires: apache2
|
|
# SECTION test requirements
|
|
BuildRequires: krb5-client
|
|
BuildRequires: krb5-plugin-preauth-pkinit
|
|
BuildRequires: krb5-server
|
|
BuildRequires: nss_wrapper
|
|
BuildRequires: python3-gssapi
|
|
BuildRequires: python3-requests-gssapi
|
|
BuildRequires: python3-requests-kerberos
|
|
BuildRequires: socket_wrapper
|
|
# /SECTION
|
|
|
|
%description
|
|
This module has been built as a replacement for the aging
|
|
mod_auth_kerb. Its aim is to use only GSSAPI calls and be
|
|
as much as possible agnostic of the actual mechanism used.
|
|
|
|
%prep
|
|
%setup -q -n mod_auth_gssapi-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
export APACHE="%{_sbindir}/httpd"
|
|
%configure
|
|
%make_build APXS=%{apache_apxs}
|
|
|
|
%install
|
|
%make_install
|
|
rm %{buildroot}%{apache_libexecdir}/*.la
|
|
|
|
%check
|
|
sed -i 's/env python/python3/' tests/*.py
|
|
export PATH="$PATH:%{_sbindir}"
|
|
make check
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README
|
|
%{apache_libexecdir}/*.so
|
|
|
|
%changelog
|