Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37757824
en ru br
ALT Linux repos
5.0: 1.0.2-alt1
4.1: 1.0-alt2

Group :: System/Servers
RPM: apache2-mod_revocator

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define apache_confdir %_sysconfdir/httpd2/conf
%define apache_moduledir %_libdir/apache2/modules

Name: apache2-mod_revocator
Summary: Apache 2.0 module that lets the user configure remote Certificate Revocation Lists
Version: 1.0
Release: alt2
License: Apache 2.0
Group: System/Servers
Url: http://directory.fedoraproject.org/
Packager: Vitaly Kuznetsov <vitty at altlinux.ru>

Source: %name-%version.tar.bz2
Source1: revocator.conf
Source2: revocator.load
Patch: %name-include-alt.patch
BuildPreReq: apache2-devel,libaprutil1-devel,libapr1-devel,gcc-c++,libnss-devel,libnss-devel-static,libnspr-devel,mozldap-devel
Provides: mod_revocator
PreReq: apache2
Requires: nss-utils

%description
This Apache module lets the user configure remote Certificate Revocation Lists (CRLs)
to be downloaded and installed automatically on a regular
basis without restarting the server. This helps ensure that the CRLs are
kept up-to-date with minimal effort. The module can also bring the server
down if the CRL expires and a new one cannot be obtained.

%prep
%setup
%patch -p1

%build

./configure --with-apr-config --with-apxs=%_sbindir/apxs2 --with-ldapsdk-inc=/usr/include/mozldap --with-ldapsdk-lib=%_libdir --with-nss-lib=%_libdir --with-nss-inc=/usr/include/nss/
%__make

%install
mkdir -p %buildroot/%apache_moduledir
mkdir -p %buildroot/%_bindir
mkdir -p %buildroot/%_libdir
mkdir -p %buildroot%apache_confdir/mods-available/
install -m 755 .libs/libmodrev.so %buildroot/%apache_moduledir/mod_rev.so
install -m 755 .libs/librevocation.so* %buildroot/%_libdir
install -m 755 ldapget %buildroot/%_bindir
install -m 644 %SOURCE1 %buildroot%apache_confdir/mods-available/
install -m 644 %SOURCE2 %buildroot%apache_confdir/mods-available/

%files
%apache_moduledir/mod_rev.so
%_bindir/ldapget
%apache_confdir/*
%_libdir/*
%doc docs/mod_revocator.html README

%changelog

Full changelog you can see here

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