%bcond_without ssl # ssl support
%bcond_without mysql # mysql support in mod_mysql_vhost
%bcond_with ldap # ldap support in mod_auth
-%bcond_with lua # LUA support in mod_cml (needs LUA >= 5.1)
+%bcond_without lua # LUA support in mod_cml (needs LUA >= 5.1)
%bcond_with memcache # memcached support in mod_cml / mod_trigger_b4_dl
%bcond_with gamin # gamin for reducing number of stat() calls.
# NOTE: must be enabled in config: server.stat-cache-engine = "fam"
%bcond_with gdbm # gdbm in mod_trigger_b4_dl
%bcond_with webdav_props # properties in mod_webdav (includes extra sqlite3/libxml deps)
+%bcond_with webdav_locks # webdav locks with extra efsprogs deps
%bcond_with valgrind # compile code with valgrind support.
%bcond_with deflate # build deflate module (needs patch update with current svn)
# SVN snapshot
#define _svn 1277
# Prerelease
-%define _snap r1309
+#define _snap r1332
-%define _rel 0.58
+%if %{with webdav_locks}
+%define webdav_progs 1
+%endif
+
+%define _rel 2
Summary: Fast and light HTTP server
Summary(pl): Szybki i lekki serwer HTTP
Name: lighttpd
-Version: 1.4.12
+Version: 1.4.13
Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}%{?_svn:.%{_svn}}
License: BSD
Group: Networking/Daemons
-Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz
-# Source0-md5: a887b075858cb28bf9fd11d86556509e
+Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
+# Source0-md5: d775d6478391b95d841a1018c8db0b95
Source1: %{name}.init
Source2: %{name}.conf
Source3: %{name}.user
Source10: http://gdl.hopto.org/~spider/pldstats/gfx/pld1.png
# Source10-md5: 486ecec3f6f4fe7f9bf7cee757b864f4
Source11: %{name}-pld.html
+Source12: %{name}.monitrc
Source100: %{name}-mod_access.conf
Source101: %{name}-mod_accesslog.conf
Source102: %{name}-mod_alias.conf
Source130: %{name}-php-spawned.conf
Source131: %{name}-php-external.conf
Source132: %{name}-ssl.conf
-Source133: %{name}-mod_proxy_core.conf
-Source134: %{name}-mod_mysql_vhost.conf
-Source135: %{name}-mod_uploadprogress.conf
-Patch100: %{name}-branch.diff
-Patch0: %{name}-mod_deflate.patch
-Patch1: %{name}-use_bin_sh.patch
-Patch2: %{name}-initgroups.patch
-Patch3: http://trac.lighttpd.net/trac/attachment/ticket/444/%{name}-apr1.patch?format=txt
-Patch4: %{name}-mod_evasive-status_code.patch
+Source133: %{name}-mod_mysql_vhost.conf
+Source134: %{name}-mod_magnet.conf
+#Patch100: %{name}-branch.diff
+Patch0: %{name}-use_bin_sh.patch
+Patch1: %{name}-mod_evasive-status_code.patch
+Patch2: %{name}-mod_deflate.patch
URL: http://www.lighttpd.net/
%{?with_xattr:BuildRequires: attr-devel}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
+%{?with_webdav_locks:BuildRequires: e2fsprogs-devel}
%{?with_gamin:BuildRequires: gamin-devel}
%{?with_gdbm:BuildRequires: gdbm-devel}
%{?with_memcache:BuildRequires: libmemcache-devel}
BuildRequires: libtool
BuildRequires: libuuid-devel
%{?with_webdav_props:BuildRequires: libxml2-devel}
-%{?with_lua:BuildRequires: lua50-devel >= 5.0.2-5.1}
+%{?with_lua:BuildRequires: lua51-devel}
BuildRequires: mailcap >= 2.1.14-4.4
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_ldap:BuildRequires: openldap-devel}
%package mod_access
Summary: lighttpd module for making access restrictions
+Summary(pl): Modu³ lighttpd ograniczaj±cy dostêp
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Provides: webserver(access)
The access module is used to deny access to files with given trailing
path names.
+%description mod_access -l pl
+Modu³ access s³u¿y do ograniczania dostêpu do plików o podanych
+¶cie¿kach.
+
%package mod_accesslog
Summary: lighttpd module to record access logs
+Summary(pl): Modu³ lighttpd do zapisu logów dostêpu
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_accesslog
CLF like by default, flexible like Apache.
+%description mod_accesslog -l pl
+Domy¶lnie podobny do CLF, elastyczny jak Apache.
+
%package mod_alias
-Summary: lighttpd module for making url aliasing
+Summary: lighttpd module for making URL aliasing
+Summary(pl): Modu³ lighttpd odpowiadaj±cy za aliasy URL-i
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Provides: webserver(alias)
%description mod_alias
The alias module is used to specify a special document-root for a
-given url-subset.
+given URL-subset.
+
+%description mod_alias -l pl
+Modul alias s³u¿y do okre¶lania specjalnego drzewa (document-roota)
+dla podanego podzbioru URL-i.
%package mod_auth
Summary: lighttpd module for authentication support
+Summary(pl): Modu³ lighttpd do obs³ugi uwierzytelniania
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Provides: webserver(auth)
lighttpd supportes both authentication method described by RFC 2617:
basic and digest.
+%description mod_auth -l pl
+lighttpd obs³uguje obie metody uwierzytelniania opisane w RFC 2617:
+basic i digest.
+
%package mod_cgi
Summary: lighttpd module for CGI handling
+Summary(pl): Modu³ lighttpd do obs³ugi CGI
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Provides: webserver(cgi)
The cgi module provides a CGI-conforming interface.
CGI programs allow you to enhance the functionality of the server in a
-very straight and simple way...
+very straight and simple way.
+
+%description mod_cgi -l pl
+Modu³ cgi udostêpnia interfejs zgodny z CGI.
+
+Programy CGI pozwalaj± rozszerzaæ funkcjonalno¶æ serwera w bardzo
+prosty i naturalny sposób.
%package mod_cml
Summary: lighttpd module for Cache Meta Language
%package mod_compress
Summary: lighttpd module for output compression
-Summary(pl): Kompresja wyj¶cia
+Summary(pl): Modu³ lighttpd do kompresji wyj¶cia
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Obs³ugiwane s± gzip, deflate i bzip.
%package mod_deflate
-Summary: lighttpd module for output compression
-Summary(pl): Kompresja wyj¶cia
+Summary: lighttpd module for output compression using deflate method
+Summary(pl): Modu³ lighttpd do kompresji wyj¶cia metod± deflate
Group: Networking/Daemons
URL: http://trac.lighttpd.net/trac/wiki/Mod_Deflate
Requires: %{name} = %{version}-%{release}
mod_deflate can compress any output from lighttpd static or dynamic.
It doesn't support caching compressed output like mod_compress.
+%description mod_deflate -l pl
+mod_deflate potrafi kompresowaæ statyczne i dynamiczne wyj¶cie z
+lighttpd. Nie obs³uguje cache'owania wyniku kompresji, jak robi to
+mod_compress.
+
%package mod_dirlisting
Summary: lighttpd module for directory listings
+Summary(pl): Modu³ lighttpd do tworzenia listingów katalogów
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
mod_dirlisting generates HTML based directory listings with full CSS
control.
+%description mod_dirlisting -l pl
+mod_dirlisting tworzy listingi katalogów w formacie HTML z pe³n±
+kontrol± CSS.
+
%package mod_evasive
Summary: lighttpd evasive module
+Summary(pl): Modu³ evasive dla lighttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_evasive
+lighttpd evasive module.
+
+%description mod_evasive -l pl
+Modu³ evasive dla lighttpd.
%package mod_evhost
Summary: lighttpd module for enhanced virtual-hosting
+Summary(pl): Modu³ lighttpd rozszerzaj±cy obs³ugê hostów wirtualnych
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
wildcards. Those wildcards can represent parts of the submitted
hostname.
+%description mod_evhost -l pl
+mod_evhost tworzy document-root w oparciu o wzorzec zawieraj±cy znaki
+wieloznaczne (wildcards). Znaki te reprezentuj± czê¶ci przekazanej
+nazwy hosta.
+
%package mod_expire
Summary: lighttpd module for controlling the expiration of content in caches
+Summary(pl): Modu³ lighttpd steruj±cy wygasaniem tre¶ci w cache'ach
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_expire
mod_expire controls the setting of the the Expire response header.
+%description mod_expire -l pl
+mod_expire steruje ustawianiem nag³ówka odpowiedzi Expire.
+
%package mod_fastcgi
Summary: lighttpd module for FastCGI interface
+Summary(pl): Modu³ lighttpd do interfejsu FastCGI
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
external process-handlers like Perl, PHP and your self-written
applications.
+%description mod_fastcgi -l pl
+Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
+komunikacji z zewnêtrznymi programami obs³uguj±cymi procesy, takimi
+jak Perl, PHP czy w³asne aplikacje.
+
%package mod_flv_streaming
Summary: lighttpd module for flv streaming
+Summary(pl): Modu³ lighttpd do streamingu flv
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_flv_streaming
lighttpd module for flv streaming.
+%description mod_flv_streaming -l pl
+Modu³ lighttpd do streamingu flv.
+
%package mod_indexfile
Summary: lighttpd indexfile module
+Summary(pl): Modu³ indexfile dla lighttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Provides: webserver(indexfile)
%description mod_indexfile
indexfile module.
+%description mod_indexfile -l pl
+Modu³ indexfile.
+
+%package mod_magnet
+Summary: lighttpd powermagnet module
+Summary(pl): Modu³ powermagnet dla lighttpd
+Group: Networking/Daemons
+Requires: %{name} = %{version}-%{release}
+
+%description mod_magnet
+mod_magnet is a module to control the request handling in lighty.
+
+%description mod_magnet -l pl
+mod_magnet to modu³ steruj±cy obs³ug± ¿±dañ w lighty.
+
%package mod_mysql_vhost
Summary: lighttpd module for MySQL based vhosting
-Summary(pl): vhosty oparte na MySQL-u
+Summary(pl): Modu³ lighttpd obs³uguj±cy vhosty oparte na MySQL-u
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Conflicts: %{name}-mod_simple_vhost
%package mod_proxy
Summary: lighttpd module for proxying requests
+Summary(pl): Modu³ lighttpd do przekazywania ¿±dañ
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_proxy
-The proxy module a simplest way to connect lighttpd to java servers
+The proxy module a simplest way to connect lighttpd to Java servers
which have a HTTP-interface.
+%description mod_proxy -l pl
+Modu³ proxy to najprostszy sposób ³±czenia lighttpd z serwerami Javy
+maj±cymi interfejs HTTP.
+
%package mod_proxy_core
Summary: lighttpd module for proxying requests
+Summary(pl): Modu³ lighttpd do przekazywania ¿±dañ
Group: Networking/Daemons
URL: http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
Requires: %{name} = %{version}-%{release}
This is the new proxy code.
+%description mod_proxy_core -l pl
+Modu³ proxy to najprostszy sposób ³±czenia lighttpd z serwerami Javy
+maj±cymi interfejs HTTP.
+
+Ten pakiet zawiera nowy modu³ proxy.
+
%package mod_redirect
Summary: lighttpd module for URL redirects
+Summary(pl): Modu³ lighttpd do przekierowañ URL-i
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_redirect
-With mod_redirect module you can redirects a set of URLs externally.
+With mod_redirect module you can redirect a set of URLs externally.
+
+%description mod_redirect -l pl
+Przy u¿yciu modu³u mod_redirect mo¿na przekierowaæ zbiór URL-i na
+zewn±trz.
%package mod_rewrite
Summary: lighttpd module for internal redirects, URL rewrite
+Summary(pl): Modu³ lighttpd do wewnêtrznych przekierowañ i przepisywania URL-i
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
This module allows you rewrite a set of URLs interally in the
webserver BEFORE they are handled.
+%description mod_rewrite -l pl
+Ten modu³ pozwala na przepisywanie zbioru URL-i wewnêtrznie w serwerze
+WWW _przed_ ich obs³ug±.
+
%package mod_rrdtool
Summary: lighttpd module for monitoring traffic and server load
+Summary(pl): Modu³ lighttpd do monitorowania ruchu i obci±¿enia serwera
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Requires: rrdtool
With this module you can monitor the traffic and load on the
webserver.
+%description mod_rrdtool -l pl
+RRD to system przechowywania i wy¶wietlania danych zale¿nych od czasu
+(np. obci±¿enia sieci, temperatury w serwerowni, ¶redniego obci±¿enia
+serwera).
+
+Przy u¿yciu tego modu³u mo¿na monitorowaæ ruch i obci±¿enie serwera
+WWW.
+
%package mod_scgi
Summary: lighttpd module for SCGI interface
+Summary(pl): Modu³ lighttpd do interfejsu SCGI
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
SCGI is a fast and simplified CGI interface. It is mostly used by
Python + WSGI.
+%description mod_scgi -l pl
+SCGI to szybki i uproszczony interfejs CGI. Jest u¿ywany g³ównie przez
+Pythona z WSGI.
+
%package mod_secdownload
Summary: lighttpd module for secure and fast downloading
+Summary(pl): Modu³ lighttpd do bezpiecznego i szybkiego ¶ci±gania danych
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
With this module you can easily achieve authenticated file requests
and a countermeasure against deep-linking.
+%description mod_secdownload -l pl
+Przy u¿yciu tego modu³u mo¿na ³atwo umo¿liwiæ ¶ci±ganie plików z
+uwierzytelnieniem i zapobiec u¿ywaniu bezpo¶rednich odno¶ników.
+
%package mod_setenv
Summary: lighttpd module for setting conditional request headers
+Summary(pl): Modu³ lighttpd do ustawiania warunkowych nag³ówków ¿±dañ
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_setenv
mod_setenv is used to add request headers.
+%description mod_setenv -l pl
+mod_setenv s³u¿y do dodawania nag³ówków ¿±dañ.
+
%package mod_simple_vhost
Summary: lighttpd module for simple virtual-hosting
+Summary(pl): Modu³ lighttpd do prostych hostów wirtualnych
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Conflicts: %{name}-mod_mysql_vhost
%description mod_simple_vhost
lighttpd module for simple virtual-hosting.
+%description mod_simple_vhost -l pl
+Modu³ lighttpd do prostych hostów wirtualnych.
+
%package mod_ssi
Summary: lighttpd module for server-side includes
+Summary(pl): Modu³ lighttpd do SSI (server-side includes)
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
The module for server-side includes provides a compatability layer for
NSCA/Apache SSI.
+%description mod_ssi -l pl
+Modu³ server-side includes udostêpnia warstwê kompatybilno¶ci z SSI
+znanym z NSCA/Apache'a.
+
%package mod_staticfile
Summary: lighttpd module for static file serving
+Summary(pl): Modu³ lighttpd do serwowania statycznych plików
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_staticfile
lighttpd module for static file serving.
+%description mod_staticfile -l pl
+Modu³ lighttpd do serwowania statycznych plików.
+
%package mod_status
Summary: lighttpd module for displaying server status
+Summary(pl): Modu³ lighttpd do wy¶wietlania stanu serwera
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_status
mod_status displays the server's status and configuration.
+%description mod_status -l pl
+mod_status wy¶wietla stan i konfiguracjê serwera.
+
%package mod_trigger_b4_dl
Summary: Trigger before Download
Summary(pl): Wyzwalacz przed ¶ci±ganiem
%description mod_trigger_b4_dl -l pl
Jeszcze jeden modu³ blokuj±cy bezpo¶rednie linkowanie.
-%package mod_uploadprogress
-Summary: lighttpd module for upload progress
-Group: Networking/Daemons
-Requires: %{name} = %{version}-%{release}
-
-%description mod_uploadprogress
-Upload progress module.
-
%package mod_userdir
Summary: lighttpd module for user homedirs
+Summary(pl): Modu³ lighttpd obs³uguj±cy katalogi domowe u¿ytkowników
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
The userdir module provides a simple way to link user-based
directories into the global namespace of the webserver.
+%description mod_userdir -l pl
+Modu³ userdir udostêpnia prosty sposób w³±czenia katalogów
+u¿ytkowników do globalnej przestrzeni nazw serwera WWW.
+
%package mod_usertrack
Summary: lighttpd usertrack module
+Summary(pl): Modu³ usertrack dla lighttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mod_usertrack
+lighttpd usertrack module.
+
+%description mod_usertrack -l pl
+Modu³ usertrack dla lighttpd.
%package mod_webdav
Summary: WebDAV module for lighttpd
Summary(pl): Modu³ WebDAV dla libghttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
+%{?with_webdav_locks:Requires: e2fsprogs}
+%if %{with webdav_progs}
+Requires: libxml
+Requires: sqlite
+%endif
%description mod_webdav
The WebDAV module is a very minimalistic implementation of RFC 2518.
- MKCOL
- DELETE
- PUT
+- LOCK (experimental)
and the usual GET, POST, HEAD from HTTP/1.1.
- MKCOL
- DELETE
- PUT
+- LOCK (experimental)
oraz zwyk³e GET, POST, HEAD z HTTP/1.1.
Jak na razie montowanie zasobu webdav pod Windows XP dzia³a i
%package php-spawned
Summary: PHP support via FastCGI, spawned by lighttpd
+Summary(pl): Obs³uga PHP przez FastCGI, uruchamiane przez lighttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Requires: %{name}-mod_fastcgi = %{version}-%{release}
Obsoletes: lighttpd-php-external
%description php-spawned
-PHP support via FastCGI, spawned by lighttpd
+PHP support via FastCGI, spawned by lighttpd.
+
+%description php-spawned -l pl
+Obs³uga PHP przez FastCGI, uruchamiane przez lighttpd.
%package php-external
Summary: PHP support via FastCGI, spawning controlled externally
+Summary(pl): Obs³uga PHP przez FastCGI, uruchamianie sterowane zewnêtrznie
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
Requires: %{name}-mod_fastcgi = %{version}-%{release}
Obsoletes: lighttpd-php-spawned
%description php-external
-PHP support via FastCGI, spawning controlled externally
+PHP support via FastCGI, spawning controlled externally.
+
+%description php-external -l pl
+Obs³uga PHP przez FastCGI, uruchamianie sterowane zewnêtrznie.
%package ssl
Summary: lighttpd support for SSLv2 and SSLv3
+Summary(pl): Obs³uga SSLv2 i SSLv3 dla lighttpd
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description ssl
lighttpd support for SSLv2 and SSLv3.
+%description ssl -l pl
+Obs³uga SSLv2 i SSLv3 dla lighttpd.
+
%prep
%setup -q
#%patch100 -p1
-#%patch0 -p1 # applied already?
-#%patch1 -p1 # outdated
-%patch2 -p1
-#%patch3 -p1
-%patch4 -p0
-install %{SOURCE6} mime.types.sh
+%patch0 -p1
+%patch1 -p1
# build mime.types.conf
-./mime.types.sh /etc/mime.types
+sh %{SOURCE6} /etc/mime.types
%build
%{__libtoolize}
%{__automake}
%configure \
+ --enable-maintainer-mode \
%{!?with_ipv6:--disable-ipv6} \
%{!?with_largefile:--disable-lfs} \
%{?with_valgrind:--with-valgrind} \
%{?with_mysql:--with-mysql} \
%{?with_ldap:--with-ldap} \
%{?with_ssl:--with-openssl} \
- %{?with_lua:--with-lua} \
+ %{?with_lua:--with-lua=lua51} \
%{?with_memcache:--with-memcache} \
%{?with_webdav_props:--with-webdav-props} \
+ %{?with_webdav_locks:--with-webdav-locks} \
%{?with_gamin:--with-gamin} \
%{?with_gdbm:--with-gdbm}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig}} \
+install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
$RPM_BUILD_ROOT%{_sysconfdir}/{conf,webapps}.d \
$RPM_BUILD_ROOT{/var/log/{%{name},archiv/%{name}},/var/run/%{name}}
install %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
install %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
install %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
install %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
+install %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_magnet.conf
install %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
install %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
install %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
install %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
install %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
install %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
-install %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_uploadprogress.conf
install %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
install %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
install %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
-install %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy_core.conf
-install %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
+install %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
install %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
%if %{without mysql}
# avoid packaging dummy module
rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
-rm -f $RPM_BUILD_ROOT%{_libdir}/mod_sql_vhost_core.so
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
%endif
%if %{without deflate}
%module_scripts mod_fastcgi
%module_scripts mod_flv_streaming
%module_scripts mod_indexfile
+%module_scripts mod_magnet
%module_scripts mod_mysql_vhost
%module_scripts mod_proxy
%module_scripts mod_redirect
%module_scripts mod_staticfile
%module_scripts mod_status
%module_scripts mod_trigger_b4_dl
-%module_scripts mod_uploadprogress
%module_scripts mod_userdir
%module_scripts mod_usertrack
%module_scripts mod_webdav
%doc NEWS README ChangeLog doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
%dir %attr(750,root,lighttpd) %{_sysconfdir}
%dir %attr(750,root,root) %{_sysconfdir}/webapps.d
+%dir %attr(570,root,root) %{_sysconfdir}/lighttpd/conf.d
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
%attr(750,root,root) %dir /var/log/archiv/%{name}
%dir %attr(770,root,lighttpd) /var/log/%{name}
%dir %attr(770,root,lighttpd) /var/run/%{name}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
%attr(755,root,root) %{_libdir}/mod_indexfile.so
+%files mod_magnet
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
+%attr(755,root,root) %{_libdir}/mod_magnet.so
+
%if %{with mysql}
%files mod_mysql_vhost
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
-#%attr(755,root,root) %{_libdir}/mod_sql_vhost_core.so
%attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
%endif
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
%attr(755,root,root) %{_libdir}/mod_proxy.so
-%if 0
-%files mod_proxy_core
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy_core.conf
-%attr(755,root,root) %{_libdir}/mod_proxy_core.so
-%endif
-
%files mod_redirect
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
%attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
-%if 0
-%files mod_uploadprogress
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_uploadprogress.conf
-%attr(755,root,root) %{_libdir}/mod_uploadprogress.so
-%endif
-
%files mod_userdir
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf