Search
j0ke.net Open Build Service
>
Projects
>
ha
>
lighttpd-snapshot
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Added
lighttpd-snapshot.spec
@@ -0,0 +1,675 @@ +# +# spec file for package lighttpd (Version 1.4.x.svn.r2167) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: lighttpd14-snapshot +Version: 1.4.x.svn.r2190 +Release: 0 +# +%define pkg_name lighttpd +%define pkg_user lighttpd +%define pkg_home /var/lib/%{pkg_name} +# +Group: Productivity/Networking/Web/Servers +License: BSD License and BSD-like +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: FastCGI-devel e2fsprogs-devel fam-devel gdbm-devel libattr-devel libmemcache-devel libxml2-devel mysql-devel openldap2-devel pcre-devel pkgconfig pwdutils zlib-devel +# +%define with_tests 1 +%define with_enh_webdav 1 +%if 0%{?sles_version} == 9 +%define with_tests 0 +%define with_enh_webdav 0 +%endif +%if 0%{?with_enh_webdav} +BuildRequires: sqlite-devel >= 3 +%endif +# +%if 0%{?suse_version} < 1030 +BuildRequires: lua51-devel +%else +BuildRequires: lua-devel +%endif +# +%if 0%{?with_geoip} +BuildRequires: GeoIP-devel +%endif +# +%if 0%{?with_tests} +BuildRequires: php5-fastcgi +%endif +# +%if 0%{?suse_version} == 930 || 0%{?sles_version} == 9 +BuildRequires: libstdc++-devel +%endif +%if 0%{?suse_version} > 1020 +BuildRequires: libbz2-devel +%endif +PreReq: %insserv_prereq %fillup_prereq /usr/sbin/groupadd /usr/sbin/useradd +# +URL: http://www.lighttpd.net/ +Source: %{pkg_name}-1.4.x.tar.bz2 +Source1: %{pkg_name}.init +Source2: %{pkg_name}.sysconfig +Source3: config.tar.bz2 +Source4: lightytest.sh +Patch1: lighttpd-1.4.10_testsuite.patch +Patch2: lighttpd-1.4.x_mod_status_orig_uri.patch +# +Summary: A Secure, Fast, Compliant, and Very Flexible Web Server + +%description +Lighttpd a secure, fast, compliant, and very flexible Web server that +has been optimized for high-performance environments. It has a very low +memory footprint compared to other Web servers and takes care of CPU +load. Its advanced feature set (FastCGI, CGI, Auth, +Output-Compression, URL-Rewriting, and more) makes lighttpd the perfect +Web server software for every server that is suffering load problems. + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_cml +Requires: %{name} = %{version} +Group: Productivity/Networking/Web/Servers +Summary: CML (Cache Meta Language) module for Lighttpd + +%description mod_cml +CML is a Meta language to describe the dependencies of a page at one +side and building a page from its fragments on the oth er side using +LUA. + +CML (Cache Meta Language) wants to solves several problems: + +* dynamic content needs caching to perform + +* checking if the content is dirty inside of the application is + usually more expensive than sending out the cached data + +* a dynamic page is usually fragmented and the fragments have + different livetimes + +* the different fragements can be cached independently + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_magnet +Requires: %{name} = %{version} +Group: Productivity/Networking/Web/Servers +Summary: A module to control the request handling in lighttpd + +%description mod_magnet +A module to control the request handling in lighttpd. + +It is the successor of mod_cml. + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_mysql_vhost +Requires: %{name} = %{version} +Group: Productivity/Networking/Web/Servers +Summary: MySQL based virtual hosts (vhosts) module for Lighttpd + +%description mod_mysql_vhost +With MySQL based vhosting you can put the information where to look for +a. document-root of a given host into a MySQL database. + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_trigger_b4_dl +Requires: %{name} = %{version} +Group: Productivity/Networking/Web/Servers +Summary: Another anti hot-linking module for Lighttpd + +%description mod_trigger_b4_dl +Anti Hotlinking: + +* if user requests download-url directly the request is denied and + he is redirected to ''deny-url' + +* if user visits trigger-url before requesting download-url access + is granted + +* if user visits download-url again after trigger-timeout has run + down to the request is denied and he is redirected to deny-url + +The storage for the trigger information is either stored locally in a +gdbm file or remotly in memcached. + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_rrdtool +Requires: %{name} = %{version} +Requires: rrdtool +Group: Productivity/Networking/Web/Servers +Summary: Lighttpd module to feed rrdtool databases + +%description mod_rrdtool +RRD_tool is a system to store and display time-series data (i.e. +network bandwidth, machine-room temperature, server load average). + +This module feeds an rrdtool database with the traffic stats from +lighttpd. + + + +Authors: +-------- + Jan Kneschke <jan@kneschke.de> + +%package mod_webdav +Requires: %{name} = %{version} +Group: Productivity/Networking/Web/Servers +Summary: WebDAV module for Lighttpd + +%description mod_webdav +The WebDAV module is a very minimalistic implementation of RFC 2518. +Minimalistic means that not all operations are implementated yet.. + +So far we have + +* PROPFIND