Author: oden
Date: Mon Feb 12 12:29:22 2007
New Revision: 118915
Added:
packages/cooker/apache-mod_auth_token/current/SOURCES/A63_mod_auth_token.conf
packages/cooker/apache-mod_auth_token/current/SOURCES/mod_auth_token-1.0.2.tar.gz
(contents, props changed)
Removed:
packages/cooker/apache-mod_auth_token/current/SOURCES/A63_mod_auth_token.conf.bz2
packages/cooker/apache-mod_auth_token/current/SOURCES/mod_auth_token-1.0.1.tar.bz2
Modified:
packages/cooker/apache-mod_auth_token/current/SPECS/apache-mod_auth_token.spec
Log:
- 1.0.2
- bunzip sources
Added:
packages/cooker/apache-mod_auth_token/current/SOURCES/A63_mod_auth_token.conf
==============================================================================
--- (empty file)
+++
packages/cooker/apache-mod_auth_token/current/SOURCES/A63_mod_auth_token.conf
Mon Feb 12 12:29:22 2007
@@ -0,0 +1,15 @@
+<IfDefine HAVE_AUTH_TOKEN>
+ <IfModule !mod_auth_token.c>
+ LoadModule auth_token_module extramodules/mod_auth_token.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_auth_token.c>
+
+ <Location /protected/>
+ AuthTokenSecret "secret"
+ AuthTokenPrefix /protected/
+ AuthTokenTimeout 60
+ </Location>
+
+</IfModule>
Added:
packages/cooker/apache-mod_auth_token/current/SOURCES/mod_auth_token-1.0.2.tar.gz
==============================================================================
Binary file. No diff available.
Modified:
packages/cooker/apache-mod_auth_token/current/SPECS/apache-mod_auth_token.spec
==============================================================================
---
packages/cooker/apache-mod_auth_token/current/SPECS/apache-mod_auth_token.spec
(original)
+++
packages/cooker/apache-mod_auth_token/current/SPECS/apache-mod_auth_token.spec
Mon Feb 12 12:29:22 2007
@@ -5,13 +5,13 @@
Summary: Token based authentication to secure downloads and prevent
deep-linking
Name: apache-%{mod_name}
-Version: 1.0.1
-Release: %mkrel 2
+Version: 1.0.2
+Release: %mkrel 1
Group: System/Servers
License: GPL
URL: http://www.synd.info/
-Source0:
http://www.synd.info/downloads/releases/%{mod_name}-%{version}.tar.bz2
-Source1: %{mod_conf}.bz2
+Source0:
http://www.synd.info/downloads/releases/%{mod_name}-%{version}.tar.gz
+Source1: %{mod_conf}
Requires(pre): rpm-helper
Requires(postun): rpm-helper
Requires(pre): apache-conf >= 2.0.54
@@ -36,6 +36,8 @@
%setup -q -n %{mod_name}-%{version}
+cp %{SOURCE1} %{mod_conf}
+
find . -type d -perm 0700 -exec chmod 755 {} \;
find . -type d -perm 0555 -exec chmod 755 {} \;
find . -type f -perm 0555 -exec chmod 755 {} \;
@@ -65,7 +67,7 @@
install -d %{buildroot}%{_sysconfdir}/httpd/modules.d
install -m0755 .libs/%{mod_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}