Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Apache:Modules
apache2-mod_auth_token
apache2-mod_auth_token.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache2-mod_auth_token.spec of Package apache2-mod_auth_token
# # spec file for package apache2-mod_auth_token # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define mod_name mod_auth_token # Name: apache2-mod_auth_token Version: 1.0.5 Release: 0 Summary: Token-based authentication similar to mod_secdownload in LIGHTTPD License: Apache-2.0 Group: Productivity/Networking/Web/Servers Url: http://www.synd.info/downloads/releases/ Source: http://www.synd.info/downloads/releases/%{mod_name}-%{version}.tar.gz Patch0: mod_auth_token-1.0.5-terminating_NULL.diff Patch1: auth_token_ap24.patch BuildRequires: apache2-devel BuildRequires: apache-rpm-macros BuildRequires: apache-rex %apache_rex_deps BuildRequires: curl BuildRequires: libtool Requires: %{apache_mmn} Requires: %{apache_suse_maintenance_mmn} Requires: apache2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %prep %setup -q -n %{mod_name}-%{version} %patch0 -p1 %patch1 %build ./buildconf %configure --with-apxs="%{apache_apxs}" make %{?_smp_mflags} %install install -Dd -m 0755 %{buildroot}%{apache_libexecdir} %{apache_apxs} -S LIBEXECDIR="%{buildroot}%{apache_libexecdir}" -i %{mod_name}.la %check %apache_rex_check -m .libs/ -b . mod_auth_token-basic %files %defattr(-,root,root,-) %{apache_libexecdir}/%{mod_name}.so %doc AUTHORS README ChangeLog LICENSE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor