-%define mod_name authnz_external
-%define apxs /usr/sbin/apxs
+%define mod_name authnz_external
+%define apxs /usr/sbin/apxs
Summary: Basic authentication for the Apache Web server using arbitrary shell commands
-Summary(cs): Základní autentizace pro WWW server Apache pomocí shellových pøíkazù
-Summary(da): En autenticeringsmodul for webtjeneren Apache hvor man kan bruge vilkårlige skal-kommandoer
-Summary(de): Authentifizierung für den Apache Web-Server, der arbiträre Shell-Befehle verwendet
-Summary(fr): Authentification de base pour le serveur Web Apache utilisant des commandes shell arbitraires
-Summary(it): Autenticazione di base per il server Web Apache mediante comandi arbitrari della shell
-Summary(nb): En autentiseringsmodul for webtjeneren Apache der en kan bruke skall-kommandoer
-Summary(pl): Podstawowy modu³ uwierzytelnienia dla Apache, u¿ywaj±cy poleceñ pow³oki
-Summary(pt): Um módulo de autenticação de LDAP para o servidor Web Apache
-Summary(sl): Osnovna avtentikacija za spletni stre¾nik Apache, z uporabo poljubnih lupinskih ukazov
-Summary(sv): Grundläggande autentisering för webbservern Apache med valfria skalkommandon
+Summary(cs.UTF-8): Základní autentizace pro WWW server Apache pomocí shellových příkazů
+Summary(da.UTF-8): En autenticeringsmodul for webtjeneren Apache hvor man kan bruge vilkårlige skal-kommandoer
+Summary(de.UTF-8): Authentifizierung für den Apache Web-Server, der arbiträre Shell-Befehle verwendet
+Summary(fr.UTF-8): Authentification de base pour le serveur Web Apache utilisant des commandes shell arbitraires
+Summary(it.UTF-8): Autenticazione di base per il server Web Apache mediante comandi arbitrari della shell
+Summary(nb.UTF-8): En autentiseringsmodul for webtjeneren Apache der en kan bruke skall-kommandoer
+Summary(pl.UTF-8): Podstawowy moduł uwierzytelnienia dla Apache, używający poleceń powłoki
+Summary(pt.UTF-8): Um módulo de autenticação de LDAP para o servidor Web Apache
+Summary(sl.UTF-8): Osnovna avtentikacija za spletni strežnik Apache, z uporabo poljubnih lupinskih ukazov
+Summary(sv.UTF-8): Grundläggande autentisering för webbservern Apache med valfria skalkommandon
Name: apache-mod_%{mod_name}
-Version: 3.1.0
-Release: 1
+Version: 3.2.5
+Release: 2
License: BSD
-Group: Networking/Daemons
-Source0: http://unixpapa.com/software/mod_%{mod_name}-%{version}.tar.gz
-# Source0-md5: 5051bffe6a3992336f4a9f84430a58d2
-URL: http://unixpapa.com/mod_auth_external.html
+Group: Networking/Daemons/HTTP
+Source0: http://mod-auth-external.googlecode.com/files/mod_%{mod_name}-%{version}.tar.gz
+# Source0-md5: ff1e12ac8b5fc72296334865e74805e0
+URL: http://code.google.com/p/mod-auth-external/
BuildRequires: %{apxs}
BuildRequires: apache-devel >= 2.2
BuildRequires: rpmbuild(macros) >= 1.268
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
-%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
%description
This module allows you to use any command line program to authenticate
a user.
-%description -l cs
-Balíèek mod_auth_external slou¾í pro omezení pøístupu k dokumentùm,
-které poskytuje WWW server Apache. Jména a hesla jsou kontrolována
-pomocí jakéhokoliv pøíkazu (jeho návratovým kódem).
+%description -l cs.UTF-8
+Balíček mod_auth_external slouží pro omezení přístupu k dokumentům,
+které poskytuje WWW server Apache. Jména a hesla jsou kontrolována
+pomocí jakéhokoliv příkazu (jeho návratovým kódem).
-%description -l de
+%description -l de.UTF-8
Mod_auth_external kann verwendet werden, um den Zugriff auf von einem
-Web- Server bediente Dokumente zu beschränken, indem es den Rückcode
-eines gegebenen arbiträren Befehls prüft.
+Web- Server bediente Dokumente zu beschränken, indem es den Rückcode
+eines gegebenen arbiträren Befehls prüft.
-%description -l es
+%description -l es.UTF-8
Mod_auth_external puede usarse para limitar el acceso a documentos
-servidos desde un servidor web verificando el código de retorno de un
+servidos desde un servidor web verificando el código de retorno de un
comando arbitrario especificado.
-%description -l fr
-Mod_auth_external peut être utilisé pour limiter l'accès à des
-documents servis par un serveur Web en vérifiant le code de retour
-d'une commande spécifiée arbitraire.
+%description -l fr.UTF-8
+Mod_auth_external peut être utilisé pour limiter l'accès à des
+documents servis par un serveur Web en vérifiant le code de retour
+d'une commande spécifiée arbitraire.
-%description -l it
-Mod_auth_external può essere utilizzato per limitare l'accesso ai
+%description -l it.UTF-8
+Mod_auth_external può essere utilizzato per limitare l'accesso ai
documenti serviti da un server Web controllando il codice di ritorno
di un dato comando arbitrario.
-%description -l ja
+%description -l ja.UTF-8
Mod_auth_external
-¤ÏǤ°Õ¤Ë»ØÄꤵ¤ì¤¿¥³¥Þ¥ó¥É¤ÎÌá¤ê¥³¡¼¥É¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È ¤Ë¤è¤Ã¤Æ¡¢Web
-¥µ¡¼¥Ð¡¼¤¬Ä󶡤¹¤ë¥É¥¥å¥á¥ó¥È¤Ø¤Î¥¢¥¯¥»¥¹¤òÀ©¸Â¤¹¤ë¤³¤È ¤¬¤Ç¤¤Þ¤¹¡£
+は任意に指定されたコマンドの戻りコードをチェックすること によって、Web
+サーバーが提供するドキュメントへのアクセスを制限すること ができます。
-%description -l pl
-Ten modu³ pozwala na u¿ycie dowolnego programu dzia³aj±cego z linii
-poleceñ do uwierzytelniania u¿ytkownika.
+%description -l pl.UTF-8
+Ten moduł pozwala na użycie dowolnego programu działającego z linii
+poleceń do uwierzytelniania użytkownika.
-%description -l sv
-Mod_auth_external kan användas för att begränsa åtkomsten till
+%description -l sv.UTF-8
+Mod_auth_external kan användas för att begränsa åtkomsten till
dokument servade av en webbserver genom att kontrollera returkoden
-från ett godtyckligt angivet kommando.
+från ett godtyckligt angivet kommando.
%prep
%setup -q -n mod_%{mod_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf/}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
-install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install -p .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
echo 'LoadModule %{mod_name}_module modules/mod_%{mod_name}.so' > \
- $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/90_mod_%{mod_name}.conf
+ $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc TODO AUTHENTICATORS CHANGES README INSTALL test mysql
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_%{mod_name}.conf
%attr(755,root,root) %{_pkglibdir}/*.so