1 Summary: This is a LDAP authentication module for Apache
2 Summary(pl): Modu³ autentyfikacyjny dla Apache
3 Summary(pt_BR): Este módulo provê autenticação LDAP para o Apache
4 Summary(es): Este módulo proporciona autenticación LDAP para Apache
5 Name: apache-mod_auth_ldap
9 Group: Networking/Daemons
10 Group(de): Netzwerkwesen/Server
11 Group(pl): Sieciowe/Serwery
12 Source0: http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
13 Patch0: %{name}-makefile.patch
15 BuildRequires: apache-devel
16 BuildRequires: openldap-devel
17 URL: http://www.rudedog.org/auth_ldap/
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _libexecdir %{_prefix}/lib/apache
24 This is an authentication module for Apache that allows you to
25 authenticate HTTP clients using user entries in an LDAP directory.
28 W pakiecie znajduje siê modu³ do Apache, który pozwala na autentyfikacjê
29 klientów HTTP przy u¿yciu LDAP.
32 Este módulo permite que você autentique clientes HTTP usando o diretório
36 Este módulo permite autenticar clientes HTTP usando el directorio
40 %setup -q -n auth_ldap-%{version}
46 --with-apxs=/usr/sbin/apxs \
47 --with-ldap-sdk=openldap \
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60 %{_sbindir}/apxs -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
63 if [ "$1" = "0" ]; then
64 %{_sbindir}/apxs -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so