Search
j0ke.net Open Build Service
>
Projects
>
ha
>
lighttpd
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Added
lighttpd.spec
@@ -0,0 +1,502 @@ +# +# spec file for package lighttpd (Version 1.4.19) +# +# 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: lighttpd +Version: 1.4.19 +Release: 0 +# +%define pkg_name lighttpd +%define pkg_user lighttpd +%define pkg_home /var/lib/%{pkg_name} +# +Group: Productivity/Networking/Web/Servers +License: BSD 3-Clause +# +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 +%define with_mod_magnet 1 +%if 0%{?sles_version} == 9 +%define with_tests 0 +%define with_enh_webdav 0 +%endif +%if 0%{?suse_version} > 1020 +%define with_susefirewall_config 1 +%endif +# +%if 0%{?with_enh_webdav} +BuildRequires: sqlite-devel >= 3 +%endif +# +%if 0%{?opensuse_bs} +%if 0%{?suse_version} < 1030 +BuildRequires: lua51-devel +%else +BuildRequires: lua-devel +%endif +%define with_geoip 1 +%else +BuildRequires: lua-devel +%if 0%{sles_version} == 9 +%define with_mod_magnet 0 +%endif +%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: http://www.lighttpd.net/download/%{pkg_name}-%{version}.tar.bz2 +Source1: %{pkg_name}.init +Source2: %{pkg_name}.sysconfig +Source3: config.tar.bz2 +Source4: lightytest.sh +Source5: lighttpd.SuSEfirewall +Source6: lighttpd-ssl.SuSEfirewall +Patch1: lighttpd-1.4.16_testsuite.patch +Patch2: lighttpd-1.4.13_geoip.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: