Author: oden
Date: Sat Feb 10 15:53:49 2007
New Revision: 118715
Added:
packages/cooker/apache-mod_auth_remote/current/SOURCES/82_mod_auth_remote.conf
Removed:
packages/cooker/apache-mod_auth_remote/current/SOURCES/82_mod_auth_remote.conf.bz2
Modified:
packages/cooker/apache-mod_auth_remote/current/SPECS/apache-mod_auth_remote.spec
Log:
- do mdvsys sync...
Added:
packages/cooker/apache-mod_auth_remote/current/SOURCES/82_mod_auth_remote.conf
==============================================================================
--- (empty file)
+++
packages/cooker/apache-mod_auth_remote/current/SOURCES/82_mod_auth_remote.conf
Sat Feb 10 15:53:49 2007
@@ -0,0 +1,19 @@
+<IfDefine HAVE_AUTH_REMOTE>
+ <IfModule !mod_auth_remote.c>
+ LoadModule auth_remote_module extramodules/mod_auth_remote.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_auth_remote.c>
+
+<Directory ~ "/application_1/">
+ AuthType Basic
+ AuthName CHICKEN_RUN
+ AuthRemoteServer auth1.saju.com.tld
+ AuthRemotePort 80
+ AuthRemoteURL /One/Auth/method
+ require valid-user
+</Directory>
+
+</IfModule>
+
Modified:
packages/cooker/apache-mod_auth_remote/current/SPECS/apache-mod_auth_remote.spec
==============================================================================
---
packages/cooker/apache-mod_auth_remote/current/SPECS/apache-mod_auth_remote.spec
(original)
+++
packages/cooker/apache-mod_auth_remote/current/SPECS/apache-mod_auth_remote.spec
Sat Feb 10 15:53:49 2007
@@ -12,7 +12,7 @@
License: GPL
URL: http://saju.pillai.googlepages.com/mod_auth_remote
Source0: %{mod_name}-%{version}.tar.bz2
-Source1: %{mod_conf}.bz2
+Source1: %{mod_conf}
Patch0: mod_auth_remote-0.1-register.patch
Patch1: mod_auth_remote-0.1-apr1_1.diff
Patch2: mod_auth_remote-0.1-apr1_2.diff
@@ -52,6 +52,8 @@
%patch1 -p0
%patch2 -p0
+cp %{SOURCE1} %{mod_conf}
+
%build
%{_sbindir}/apxs -c %{mod_name}.c
@@ -62,7 +64,7 @@
install -d %{buildroot}%{_sysconfdir}/httpd/modules.d
install -m0755 .libs/*.so %{buildroot}%{_libdir}/apache-extramodules/
-bzcat %{SOURCE1} > %{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
+install -m0644 %{mod_conf}
%{buildroot}%{_sysconfdir}/httpd/modules.d/%{mod_conf}
install -d %{buildroot}%{_var}/www/html/addon-modules
ln -s ../../../..%{_docdir}/%{name}-%{version}
%{buildroot}%{_var}/www/html/addon-modules/%{name}-%{version}