1 %define mod_name auth_ldap
2 %define apxs /usr/sbin/apxs1
3 Summary: This is a LDAP authentication module for Apache
4 Summary(cs): Autentizaèní modul LDAP pro WWW server Apache
5 Summary(da): En LDAP-autenticeringsmodul for Apache
6 Summary(de): Ein LDAP Authentifizierungsmodul für Apache
7 Summary(es): Este módulo proporciona autenticación LDAP para Apache
8 Summary(fr): Module d'authentification LDAP pour Apache
9 Summary(id): Module LDAP authentication untuk Apache
10 Summary(it): Modulo di autenticazione LDPA per Apache
11 Summary(ja): Apache ÍѤΠLDAP ǧ¾Ú¥â¥¸¥å¡¼¥ë
12 Summary(nb): En LDAP-autentiseringsmodul for Apache
13 Summary(pl): Modu³ uwierzytelnienia LDAP dla Apache
14 Summary(pt): Um módulo de autenticação de LDAP para o Apache
15 Summary(pt_BR): Este módulo provê autenticação LDAP para o Apache
16 Summary(ru): áÕÔÅÎÔÉÆÉËÁÃÉÏÎÎÙÊ ÍÏÄÕÌØ LDAP ÄÌÑ ÓÅÒ×ÅÒÁ Apache
17 Summary(sl): Avtentikacijski modul LDAP za Apache
18 Summary(sv): En LDAP autentiseringsmodul för Apache
19 Summary(zh_CN): ÕâÊÇÓÃÓÚ Apache µÄ LDAP Ñé֤ģ¿é
20 Name: apache1-mod_%{mod_name}
24 Group: Networking/Daemons
25 Source0: http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
26 # Source0-md5: ff7de9027fe8852facd27be93462c5cc
27 Patch0: %{name}-makefile.patch
28 URL: http://www.rudedog.org/auth_ldap/
29 BuildRequires: autoconf
30 BuildRequires: apache1-devel
31 BuildRequires: openldap-devel
32 BuildRequires: %{apxs}
34 PreReq: apache1-mod_auth
35 Requires(post,preun): %{apxs}
36 Obsoletes: apache-mod_%{mod_name} <= %{version}
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define _pkglibdir %(%{apxs} -q LIBEXECDIR)
42 This is an authentication module for Apache that allows you to
43 authenticate HTTP clients using user entries in an LDAP directory.
46 Balíèek obsahuje autentizaèní modul pro WWW server Apache, který
47 umo¾òuje autentizovat HTTP klienty proti polo¾kám v adresáøové slu¾bì
51 Denne pakke indeholder en autenticeringsmodul for webtjeneren Apache -
52 med auth_ldap installeret kan HTTP-klienter autenticeres mod
53 brugerinformation i et LDAP-katalog.
56 Dieses Paket enthält ein Authentifizierungs-Modul für den Apache
57 Webserver, das Ihnen ermöglicht, HTTP-Clients mit Hilfe von
58 Benutzereinträgen in einem LDAP-Verzeichniss zu authentifizieren.
61 Este paquete contiene un módulo de autenticación para el servidor
62 Apache web que le permite autenticar clientes HTTP usando entradas de
63 usuario en un directorio LDAP.
66 Ce paquetage contient un module d'authentification pour le serveur Web
67 Apache, qui vous permet d'authentifier les clients HTTP en utilisant
68 les entrées utilisateur dans un répertoire LDAP.
71 Ini adalah authentication module untuk Apache yang memungkinkan anda
72 melakukan otentikasi HTTP client menggunakan user entry di dalam LADP
76 Questo pacchetto contiene un modulo di autenticazione per il Web
77 server Apache che consente di autenticare i client HTTP tramite gli
78 inserimenti utente in una directory LDPA.
81 ¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï Apache Web ¥µ¡¼¥Ð¡¼¤Ç LDAP ¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥æ¡¼¥¶¡¼
82 ¥¨¥ó¥È¥ê¤ò»È¤Ã¤¿ HTTP ¥¯¥é¥¤¥¢¥ó¥È¤Îǧ¾Ú¤ò²Äǽ¤Ë¤¹¤ë¤¿¤á¤Îǧ¾Ú
83 ¥â¥¸¥å¡¼¥ë¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
86 Denne pakken inneholder en autentiseringsmodul for webtjeneren Apache
87 - med auth_ldap installert kan HTTP-klienter autentiseres mot
88 brukerinformasjon i en LDAP-katalog.
91 W pakiecie znajduje siê modu³ do Apache, który pozwala na
92 uwierzytelnianie klientów HTTP przy u¿yciu LDAP.
95 Este pacote contém um módulo de autenticação para o servidor Web
96 Apache que lhe permite autenticar os clientes HTTP usando registos de
97 utilizadores numa directoria LDAP.
100 Este módulo permite que você autentique clientes HTTP usando o
104 üÔÏ ÍÏÄÕÌØ ÁÕÔÅÎÔÉÆÉËÁÃÉÉ ÄÌÑ Apache, ÐÏÚ×ÏÌÑÀÝÉÊ ÉÄÅÎÔÉÆÉÃÉÒÏ×ÁÔØ
105 HTTP-ËÌÉÅÎÔÏ× ÎÁ ÏÓÎÏ×Å ÚÁÐÉÓÅÊ ÐÏÌØÚÏ×ÁÔÅÌÑ × ËÁÔÁÌÏÇÅ LDAP.
108 Detta paket innehåller en autenticeringsmodul för webbservern Apache
109 som låter dig autenticera HTTP-klienter med använderposter i en
112 %description -l zh_CN
113 ÕâÊÇÓÃÓÚ Apache µÄÑé֤ģ¿é£¬ËüÔÊÐíÄúʹÓà LDAP Ŀ¼ÖеÄÓû§ÏîÑéÖ¤ HTTP
117 %setup -q -n auth_ldap-%{version}
119 mv -f auth_ldap.c mod_auth_ldap.c
124 --with-apxs=%{apxs} \
125 --with-ldap-sdk=openldap \
131 rm -rf $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT%{_pkglibdir}
134 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
137 rm -rf $RPM_BUILD_ROOT
140 %{apxs} -e -a -n auth_ldap %{_pkglibdir}/mod_auth_ldap.so 1>&2
141 if [ -f /var/lock/subsys/apache ]; then
142 /etc/rc.d/init.d/apache restart 1>&2
146 if [ "$1" = "0" ]; then
147 %{apxs} -e -A -n auth_ldap %{_pkglibdir}/mod_auth_ldap.so 1>&2
148 if [ -f /var/lock/subsys/apache ]; then
149 /etc/rc.d/init.d/apache restart 1>&2
154 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_pkglibdir}/mod_auth_ldap.so