Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apache2-mod_auth_token
dba-apache2-mod_auth_token.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apache2-mod_auth_token.spec of Package dba-apache2-mod_auth_token
%define vers 105 %define real_vers 1.0.5 %define prefix /DBA/apache/WWW/2.2.x %define apavers 2.2.21 %define apapack 2221 %define apahome /DBA/apache/WWW/%{apavers} %define apxs %{apahome}/bin/apxs %define apache2_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache2_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache2_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) %define apache2_cflags %(%{apxs} -q CFLAGS) %define modname mod_auth_token Name: dba-apache2-%{modname} Summary: mod_auth_token is a famous apache module that allow you to generate URIS for a determined time window Version: %{real_vers} Release: 1 License: GPL Url: http://code.google.com/p/mod-auth-token/ Source0: http://mod-auth-token.googlecode.com/files/%{modname}-%{real_vers}.tar.gz Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-apache-%{apapack} Requires: dba-apache-base BuildRequires: gcc-c++ automake autoconf #!BuildIgnore: dba-openssl-098o dba-openssl-098r %if 0%{?suse_version} BuildRequires: libapr-util1-devel >= 1.3 libapr1-devel >= 1.3 %else BuildRequires: apr-util-devel apr-devel %endif %if 0%{?suse_version} >= 1110 BuildRequires: -post-build-checks %endif %description mod_auth_token is a famous apache module that allow you to generate URIS for a determined time window, you can also limit them by IP. This is very useful to handle file downloads, generated URIS can't be hot-linked (after it expires), also it allows you to protect very large files that can't be piped trough a script languages due to memory limitation. %prep %setup -n %{modname}-%{real_vers} %build export APXS=%{apxs} rm -f configure autoreconf -fi automake -f ./configure %{__make} %install %{__mkdir_p} %{buildroot}%{prefix}/modules install -m 755 .libs/%{modname}.so %{buildroot}%{prefix}/modules/%{modname}-%{version}.so %post cd %{prefix}/modules %{__ln_s} -f %{modname}-%{version}.so %{modname}.so %clean %{__rm} -rf %{buildroot}; %files %defattr(-,root,root,-) %{prefix}/modules/%{modname}-%{version}.so %changelog * Thu Apr 26 2012 Holger Manthey <holger.manthey@bertelsmann.de> - build with apache 2.2.21 * Wed Jun 15 2011 Holger Manthey <holger.manthey@bertelsmann.de> - initial release
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