Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_auth_token
> apache2-mod_auth_token.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache2-mod_auth_token.spec of Package apache2-mod_auth_token
# norootforbuild %define mod_name mod_auth_token %define apxs /usr/sbin/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) # Name: apache2-mod_auth_token Version: 1.0.5 Release: 0 Group: Productivity/Networking/Web/Servers License: Apache License BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: apache2-devel Requires: %{apache_mmn} URL: http://www.synd.info/downloads/releases/ Source: http://www.synd.info/downloads/releases/%{mod_name}-%{version}.tar.gz Patch: mod_auth_token-1.0.5-terminating_NULL.diff Summary: Token-based authentication similar to mod_secdownload in LIGHTTPD %description This module uses token based authentication to secure downloads and prevent deep-linking. Have your PHP script or servlet generate the to authenticate the download. Apache can then treat the download request like a normal file transfer without having to pipe the file through a script in order to add authentication. Authors: --------- Mikael Johansson (http://www.synd.info) %prep %setup -q -n %{mod_name}-%{version} %patch -p1 %build ./buildconf %configure --with-apxs="%{apxs}" %{__make} %install %{__install} -Dd -m 0755 %{buildroot}%{apache_libexecdir} %{apxs} -S LIBEXECDIR="%{buildroot}%{apache_libexecdir}" -i %{mod_name}.la %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{apache_libexecdir}/%{mod_name}.so %doc AUTHORS README ChangeLog LICENSE