X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_authnz_external.spec;h=1843d8098f59a2fe019b38ed8ad004095913f452;hb=refs%2Ftags%2Fauto%2Fth%2Fapache-mod_authnz_external-3_2_5-2;hp=9c4d8561101fb72e6ffe3a6c83d17445ce95b78f;hpb=34e5b3760c2d3563713d8434ba83cb9c0b066bb0;p=packages%2Fapache-mod_authnz_external.git diff --git a/apache-mod_authnz_external.spec b/apache-mod_authnz_external.spec index 9c4d856..1843d80 100644 --- a/apache-mod_authnz_external.spec +++ b/apache-mod_authnz_external.spec @@ -1,5 +1,5 @@ -%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.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 @@ -12,13 +12,13 @@ Summary(pt.UTF-8): Um módulo de autenticação de LDAP para o servidor Web Apac 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 @@ -26,7 +26,7 @@ Requires: apache(modules-api) = %apache_modules_api 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 @@ -79,11 +79,11 @@ från ett godtyckligt angivet kommando. %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 @@ -99,5 +99,5 @@ fi %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