Sisyphus repository
Last update: 4 june 2020 | SRPMs: 17570 | Visits: 18695025
en ru br
ALT Linux repos

Group :: System/Servers
RPM: apache2-mod_auth_gssapi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define modname mod_auth_gssapi
%def_with check

Name: apache2-%modname
Version: 1.6.1
Release: alt3

Summary: A GSSAPI Authentication module for Apache2
Group: System/Servers
License: %mit

Source: %name-%version.tar
Patch: %name-%version.patch

BuildRequires(pre): rpm-build-licenses
BuildRequires(pre): apache2-devel

BuildRequires: libssl-devel
BuildRequires: libkrb5-devel >= 1.15
BuildRequires: libaprutil1-devel
BuildRequires: gssntlmssp-devel
BuildRequires: flex

%if_with check
BuildRequires: words
BuildRequires: krb5-kdc
BuildRequires: socket_wrapper
BuildRequires: nss_wrapper
BuildRequires: openssl
BuildRequires: apache2-httpd-prefork
BuildRequires: apache2-mod_cache_disk
BuildRequires: apache2-suexec
BuildRequires: python3-module-requests-gssapi

Provides: %modname = %EVR

Requires: apache2 >= %apache2_version
Requires: libkrb5 >= 1.15

The mod_auth_gssapi module is an authentication service that implements
the SPNEGO based HTTP Authentication protocol defined in RFC4559.

%patch -p1

sed -si 's,^\(#!.* \)\(python\)$,\1python3,' tests/*.py

mkdir -p %buildroot%apache2_mods_available
mkdir -p %buildroot%apache2_libexecdir
install src/.libs/ %buildroot%apache2_libexecdir
echo "LoadModule auth_gssapi_module modules/" > %buildroot%apache2_mods_available/auth_gssapi.load

%make test

%config(noreplace) %apache2_mods_available/auth_gssapi.load


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin