]> git.pld-linux.org Git - packages/apache-mod_authnz_external.git/blame - apache-mod_authnz_external.spec
- converted to UTF-8
[packages/apache-mod_authnz_external.git] / apache-mod_authnz_external.spec
CommitLineData
e500636a
JR
1%define mod_name authnz_external
2%define apxs /usr/sbin/apxs
3Summary: Basic authentication for the Apache Web server using arbitrary shell commands
4752df0d
JR
4Summary(cs.UTF-8): Základní autentizace pro WWW server Apache pomocí shellových příkazů
5Summary(da.UTF-8): En autenticeringsmodul for webtjeneren Apache hvor man kan bruge vilkårlige skal-kommandoer
6Summary(de.UTF-8): Authentifizierung für den Apache Web-Server, der arbiträre Shell-Befehle verwendet
7Summary(fr.UTF-8): Authentification de base pour le serveur Web Apache utilisant des commandes shell arbitraires
8Summary(it.UTF-8): Autenticazione di base per il server Web Apache mediante comandi arbitrari della shell
9Summary(nb.UTF-8): En autentiseringsmodul for webtjeneren Apache der en kan bruke skall-kommandoer
10Summary(pl.UTF-8): Podstawowy moduł uwierzytelnienia dla Apache, używający poleceń powłoki
11Summary(pt.UTF-8): Um módulo de autenticação de LDAP para o servidor Web Apache
12Summary(sl.UTF-8): Osnovna avtentikacija za spletni strežnik Apache, z uporabo poljubnih lupinskih ukazov
13Summary(sv.UTF-8): Grundläggande autentisering för webbservern Apache med valfria skalkommandon
e500636a
JR
14Name: apache-mod_%{mod_name}
15Version: 3.1.0
16Release: 1
17License: BSD
18Group: Networking/Daemons
19Source0: http://unixpapa.com/software/mod_%{mod_name}-%{version}.tar.gz
20# Source0-md5: 5051bffe6a3992336f4a9f84430a58d2
21URL: http://unixpapa.com/mod_auth_external.html
22BuildRequires: %{apxs}
23BuildRequires: apache-devel >= 2.2
24BuildRequires: rpmbuild(macros) >= 1.268
25Requires: apache(modules-api) = %apache_modules_api
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
29%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
30
31%description
b9ce1d78 32This module allows you to use any command line program to authenticate
33a user.
e500636a 34
4752df0d
JR
35%description -l cs.UTF-8
36Balíček mod_auth_external slouží pro omezení přístupu k dokumentům,
37které poskytuje WWW server Apache. Jména a hesla jsou kontrolována
38pomocí jakéhokoliv příkazu (jeho návratovým kódem).
e500636a 39
4752df0d 40%description -l de.UTF-8
b9ce1d78 41Mod_auth_external kann verwendet werden, um den Zugriff auf von einem
4752df0d
JR
42Web- Server bediente Dokumente zu beschränken, indem es den Rückcode
43eines gegebenen arbiträren Befehls prüft.
e500636a 44
4752df0d 45%description -l es.UTF-8
b9ce1d78 46Mod_auth_external puede usarse para limitar el acceso a documentos
4752df0d 47servidos desde un servidor web verificando el código de retorno de un
b9ce1d78 48comando arbitrario especificado.
e500636a 49
4752df0d
JR
50%description -l fr.UTF-8
51Mod_auth_external peut être utilisé pour limiter l'accès à des
52documents servis par un serveur Web en vérifiant le code de retour
53d'une commande spécifiée arbitraire.
e500636a 54
4752df0d
JR
55%description -l it.UTF-8
56Mod_auth_external può essere utilizzato per limitare l'accesso ai
b9ce1d78 57documenti serviti da un server Web controllando il codice di ritorno
58di un dato comando arbitrario.
e500636a 59
4752df0d 60%description -l ja.UTF-8
b9ce1d78 61Mod_auth_external
4752df0d
JR
62は任意に指定されたコマンドの戻りコードをチェックすること によって、Web
63サーバーが提供するドキュメントへのアクセスを制限すること ができます。
e500636a 64
4752df0d
JR
65%description -l pl.UTF-8
66Ten moduł pozwala na użycie dowolnego programu działającego z linii
67poleceń do uwierzytelniania użytkownika.
e500636a 68
4752df0d
JR
69%description -l sv.UTF-8
70Mod_auth_external kan användas för att begränsa åtkomsten till
b9ce1d78 71dokument servade av en webbserver genom att kontrollera returkoden
4752df0d 72från ett godtyckligt angivet kommando.
e500636a
JR
73
74%prep
75%setup -q -n mod_%{mod_name}-%{version}
76
77%build
78%{apxs} -c mod_%{mod_name}.c -o mod_%{mod_name}.la
79
80%install
81rm -rf $RPM_BUILD_ROOT
d3d391df 82install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
e500636a
JR
83
84install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
85echo 'LoadModule %{mod_name}_module modules/mod_%{mod_name}.so' > \
86 $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/90_mod_%{mod_name}.conf
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post
92%service -q httpd restart
93
94%postun
95if [ "$1" = "0" ]; then
96 %service -q httpd restart
97fi
98
99%files
100%defattr(644,root,root,755)
101%doc TODO AUTHENTICATORS CHANGES README INSTALL test mysql
102%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
103%attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.0956399999999999 seconds and 4 git commands to generate.