]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.spec
- package dir for mod_compress optional cache-dir; rel 3
[packages/lighttpd.git] / lighttpd.spec
index b4863b16844e21dd1993911c71d81a1891bf5228..320d60b641b7bf69a8f7ef6453555d3b582c1869 100644 (file)
@@ -8,7 +8,6 @@
 #   2006-07-20 21:05:52: (server.c.1233) WARNING: unknown config-key: url.rewrite-final (ignored)
 #
 # NOTES:
-# - fcgi-devel is only used for the test-scripts
 # - disable largefile, if you have 2.4 kernel to get sendfile() support, and don't need > 2GB file requests,
 #   see http://article.gmane.org/gmane.comp.web.lighttpd:722
 #
 # Prerelease
 #define _snap r1332
 
-%if %{with_webdav_locks}
+%if %{with webdav_locks}
 %define                webdav_progs    1
 %endif
 
-%define                _rel 2
+%define                _rel 3
 Summary:       Fast and light HTTP server
-Summary(pl):   Szybki i lekki serwer HTTP
+Summary(pl.UTF-8):     Szybki i lekki serwer HTTP
 Name:          lighttpd
-Version:       1.4.13
+Version:       1.4.17
 Release:       %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}%{?_svn:.%{_svn}}
 License:       BSD
 Group:         Networking/Daemons
-Source0:       http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: d775d6478391b95d841a1018c8db0b95
+Source0:       http://www.lighttpd.net/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 85c99c2d6baf8ad9e38e6267efe7d9aa
 Source1:       %{name}.init
 Source2:       %{name}.conf
 Source3:       %{name}.user
@@ -99,16 +98,17 @@ Source131:  %{name}-php-external.conf
 Source132:     %{name}-ssl.conf
 Source133:     %{name}-mod_mysql_vhost.conf
 Source134:     %{name}-mod_magnet.conf
-#Patch100: %{name}-branch.diff
+Source135:     %{name}-mod_extforward.conf
+#Patch100:     %{name}-branch.diff
 Patch0:                %{name}-use_bin_sh.patch
 Patch1:                %{name}-mod_evasive-status_code.patch
-Patch2:                %{name}-mod_deflate.patch
+#Patchx:               %{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}
+BuildRequires: fcgi-devel
 %{?with_gamin:BuildRequires:   gamin-devel}
 %{?with_gdbm:BuildRequires:    gdbm-devel}
 %{?with_memcache:BuildRequires:        libmemcache-devel}
@@ -135,15 +135,11 @@ Requires(pre):    /usr/lib/rpm/user_group.sh
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires(pre): /usr/sbin/usermod
-%{?with_webdav_locks:Requires: e2fsprogs}
-%if %{with webdav_progs}
-Requries:      libxml
-Requires:      sqlite
-%endif
 Requires:      %{name}-mod_dirlisting
 Requires:      %{name}-mod_indexfile
 Requires:      %{name}-mod_staticfile
 Requires:      rc-scripts
+Requires:      webapps
 Provides:      group(http)
 Provides:      group(lighttpd)
 Provides:      user(lighttpd)
@@ -165,19 +161,19 @@ Output-Compression, URL-Rewriting and many more) make lighttpd the
 perfect webserver-software for every server that is suffering load
 problems.
 
-%description -l pl
+%description -l pl.UTF-8
 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
-serwerem WWW, który zosta³ zoptymalizowany pod k±tem
-wysokowydajno¶ciowych ¶rodowisk. Zajmuje bardzo ma³± ilo¶æ pamiêci w
-porównaniu do innych serwerów WWW oraz dba o zajêto¶æ procesora.
+serwerem WWW, który został zoptymalizowany pod kątem
+wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
+porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
-wyj¶cia, przepisywanie URL-i i wiele innych) czyni± z lighttpd
-doskona³e oprogramowanie web-serwerowe na ka¿dy serwer cierpi±cy z
-powodu problemów z obci±¿eniem.
+wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
+doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
+powodu problemów z obciążeniem.
 
 %package mod_access
 Summary:       lighttpd module for making access restrictions
-Summary(pl):   Modu³ lighttpd ograniczaj±cy dostêp
+Summary(pl.UTF-8):     Moduł lighttpd ograniczający dostęp
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Provides:      webserver(access)
@@ -186,25 +182,25 @@ 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.
+%description mod_access -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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
-Domylnie podobny do CLF, elastyczny jak Apache.
+%description mod_accesslog -l pl.UTF-8
+Domyślnie podobny do CLF, elastyczny jak Apache.
 
 %package mod_alias
 Summary:       lighttpd module for making URL aliasing
-Summary(pl):   Modu³ lighttpd odpowiadaj±cy za aliasy URL-i
+Summary(pl.UTF-8):     Moduł lighttpd odpowiadający za aliasy URL-i
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Provides:      webserver(alias)
@@ -213,13 +209,13 @@ Provides: webserver(alias)
 The alias module is used to specify a special document-root for a
 given URL-subset.
 
-%description mod_alias -l pl
-Modul alias s³u¿y do okre¶lania specjalnego drzewa (document-roota)
+%description mod_alias -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do obsługi uwierzytelniania
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Provides:      webserver(auth)
@@ -228,15 +224,16 @@ 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:
+%description mod_auth -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do obsługi CGI
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
 Provides:      webserver(cgi)
 
 %description mod_cgi
@@ -245,15 +242,15 @@ 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.
 
-%description mod_cgi -l pl
-Modu³ cgi udostêpnia interfejs zgodny z CGI.
+%description mod_cgi -l pl.UTF-8
+Moduł cgi udostępnia interfejs zgodny z CGI.
 
-Programy CGI pozwalaj± rozszerzaæ funkcjonalno¶æ serwera w bardzo
-prosty i naturalny sposób.
+Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
+prosty i naturalny sposób.
 
 %package mod_cml
 Summary:       lighttpd module for Cache Meta Language
-Summary(pl):   Modu³ Cache Meta Language
+Summary(pl.UTF-8):     Moduł Cache Meta Language
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -262,13 +259,13 @@ CML is a Meta language to describe the dependencies of a page at one
 side and building a page from its fragments on the other side using
 LUA.
 
-%description mod_cml -l pl
-CML to metajêzyk s³u¿±cy z jednej strony do opisu zale¿no¶ci strony i
-z drugiej strony do budowania strony z fragmentów przy u¿yciu LUA.
+%description mod_cml -l pl.UTF-8
+CML to metajęzyk służący z jednej strony do opisu zależności strony i
+z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
 
 %package mod_compress
 Summary:       lighttpd module for output compression
-Summary(pl):   Modu³ lighttpd do kompresji wyj¶cia
+Summary(pl.UTF-8):     Moduł lighttpd do kompresji wyjścia
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -281,18 +278,18 @@ Only static content is supported up to now.
 The server negotiates automatically which compression method is used.
 Supported are gzip, deflate, bzip.
 
-%description mod_compress -l pl
-Kompresja wyj¶cia zmniejsza obci±¿enie sieci i mo¿e poprawiæ ca³kowit±
-przepustowo¶æ serwera WWW.
+%description mod_compress -l pl.UTF-8
+Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
+przepustowość serwera WWW.
 
-Jak na razie obs³ugiwana jest tylko statyczna tre¶æ.
+Jak na razie obsługiwana jest tylko statyczna treść.
 
-Serwer automatycznie negocjuje, która metoda kompresji jest u¿ywana.
-Obs³ugiwane s± gzip, deflate i bzip.
+Serwer automatycznie negocjuje, która metoda kompresji jest używana.
+Obsługiwane są gzip, deflate i bzip.
 
 %package mod_deflate
 Summary:       lighttpd module for output compression using deflate method
-Summary(pl):   Modu³ lighttpd do kompresji wyj¶cia metod± deflate
+Summary(pl.UTF-8):     Moduł lighttpd do kompresji wyjścia metodą deflate
 Group:         Networking/Daemons
 URL:           http://trac.lighttpd.net/trac/wiki/Mod_Deflate
 Requires:      %{name} = %{version}-%{release}
@@ -301,14 +298,14 @@ 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
+%description mod_deflate -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do tworzenia listingów katalogów
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -316,25 +313,25 @@ 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.
+%description mod_dirlisting -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_evasive -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd rozszerzający obsługę hostów wirtualnych
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -343,26 +340,42 @@ mod_evhost builds the document-root based on a pattern which contains
 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
+%description mod_evhost -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_expire -l pl.UTF-8
+mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
+
+%package mod_extforward
+Summary:       lighttpd module to extract the client's "real" IP from X-Forwarded-For header
+Summary(pl.UTF-8):     Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
+Group:         Networking/Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description mod_extforward
+This module will extract the client's "real" IP from X-Forwarded-For
+header which is added by Squid or other proxies. It might be useful
+for servers behind reverse proxy servers.
+
+%description mod_extforward -l pl.UTF-8
+Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
+dodawanego przez Squida czy inne proxy. Może być przydatny dla
+serwerów stojących za odwrotnymi serwerami proxy.
 
 %package mod_fastcgi
 Summary:       lighttpd module for FastCGI interface
-Summary(pl):   Modu³ lighttpd do interfejsu FastCGI
+Summary(pl.UTF-8):     Moduł lighttpd do interfejsu FastCGI
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -371,26 +384,26 @@ The FastCGI interface is the fastest and most secure way to interface
 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.
+%description mod_fastcgi -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_flv_streaming -l pl.UTF-8
+Moduł lighttpd do streamingu flv.
 
 %package mod_indexfile
 Summary:       lighttpd indexfile module
-Summary(pl):   Modu³ indexfile dla lighttpd
+Summary(pl.UTF-8):     Moduł indexfile dla lighttpd
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Provides:      webserver(indexfile)
@@ -398,24 +411,24 @@ Provides: webserver(indexfile)
 %description mod_indexfile
 indexfile module.
 
-%description mod_indexfile -l pl
-Modu³ indexfile.
+%description mod_indexfile -l pl.UTF-8
+Moduł indexfile.
 
 %package mod_magnet
 Summary:       lighttpd powermagnet module
-Summary(pl):   Modu³ powermagnet dla lighttpd
+Summary(pl.UTF-8):     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.
+%description mod_magnet -l pl.UTF-8
+mod_magnet to moduł sterujący obsługą żądań w lighty.
 
 %package mod_mysql_vhost
 Summary:       lighttpd module for MySQL based vhosting
-Summary(pl):   Modu³ lighttpd obs³uguj±cy vhosty oparte na MySQL-u
+Summary(pl.UTF-8):     Moduł lighttpd obsługujący vhosty oparte na MySQL-u
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Conflicts:     %{name}-mod_simple_vhost
@@ -423,12 +436,12 @@ Conflicts:        %{name}-mod_simple_vhost
 %description mod_mysql_vhost
 This module provides virtual hosts (vhosts) based on a MySQL table.
 
-%description mod_mysql_vhost -l pl
-Ten modu³ udostêpnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
+%description mod_mysql_vhost -l pl.UTF-8
+Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
 
 %package mod_proxy
 Summary:       lighttpd module for proxying requests
-Summary(pl):   Modu³ lighttpd do przekazywania ¿±dañ
+Summary(pl.UTF-8):     Moduł lighttpd do przekazywania żądań
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -436,13 +449,13 @@ Requires: %{name} = %{version}-%{release}
 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.
+%description mod_proxy -l pl.UTF-8
+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ñ
+Summary(pl.UTF-8):     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}
@@ -453,28 +466,28 @@ which have a HTTP-interface.
 
 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.
+%description mod_proxy_core -l pl.UTF-8
+Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
+mającymi interfejs HTTP.
 
-Ten pakiet zawiera nowy modu³ proxy.
+Ten pakiet zawiera nowy moduł proxy.
 
 %package mod_redirect
 Summary:       lighttpd module for URL redirects
-Summary(pl):   Modu³ lighttpd do przekierowañ URL-i
+Summary(pl.UTF-8):     Moduł lighttpd do przekierowań URL-i
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description mod_redirect
 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.
+%description mod_redirect -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -482,13 +495,13 @@ 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±.
+%description mod_rewrite -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do monitorowania ruchu i obciążenia serwera
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      rrdtool
@@ -500,17 +513,17 @@ bandwidth, machine-room temperature, server load average).
 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
+%description mod_rrdtool -l pl.UTF-8
+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
+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
+Summary(pl.UTF-8):     Moduł lighttpd do interfejsu SCGI
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -518,13 +531,13 @@ 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
+%description mod_scgi -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -532,25 +545,25 @@ 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.
+%description mod_secdownload -l pl.UTF-8
+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ñ
+Summary(pl.UTF-8):     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ñ.
+%description mod_setenv -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Moduł lighttpd do prostych hostów wirtualnych
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Conflicts:     %{name}-mod_mysql_vhost
@@ -558,12 +571,12 @@ 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.
+%description mod_simple_vhost -l pl.UTF-8
+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)
+Summary(pl.UTF-8):     Moduł lighttpd do SSI (server-side includes)
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -571,49 +584,49 @@ 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
+%description mod_ssi -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_staticfile -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_status -l pl.UTF-8
+mod_status wyświetla stan i konfigurację serwera.
 
 %package mod_trigger_b4_dl
 Summary:       Trigger before Download
-Summary(pl):   Wyzwalacz przed ¶ci±ganiem
+Summary(pl.UTF-8):     Wyzwalacz przed ściąganiem
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description mod_trigger_b4_dl
 Another anti hot-linking module.
 
-%description mod_trigger_b4_dl -l pl
-Jeszcze jeden modu³ blokuj±cy bezpo¶rednie linkowanie.
+%description mod_trigger_b4_dl -l pl.UTF-8
+Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
 
 %package mod_userdir
 Summary:       lighttpd module for user homedirs
-Summary(pl):   Modu³ lighttpd obs³uguj±cy katalogi domowe u¿ytkowników
+Summary(pl.UTF-8):     Moduł lighttpd obsługujący katalogi domowe użytkowników
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -621,25 +634,25 @@ 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.
+%description mod_userdir -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description mod_usertrack -l pl.UTF-8
+Moduł usertrack dla lighttpd.
 
 %package mod_webdav
 Summary:       WebDAV module for lighttpd
-Summary(pl):   Modu³ WebDAV dla libghttpd
+Summary(pl.UTF-8):     Moduł WebDAV dla libghttpd
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -660,37 +673,37 @@ and the usual GET, POST, HEAD from HTTP/1.1.
 So far mounting a webdav resource into Windows XP works and the basic
 litmus tests are passed.
 
-%description mod_webdav -l pl
-Modu³ WebDAV to bardzo minimalistyczna implementacja RFC 2518.
-Minimalistyczna oznacza, ¿e jeszcze nie wszystkie operacje s±
-zaimplementowane. Jak na razie s±:
+%description mod_webdav -l pl.UTF-8
+Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
+Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
+zaimplementowane. Jak na razie są:
 - PROPFIND
 - OPTIONS
 - MKCOL
 - DELETE
 - PUT
 - LOCK (experimental)
-oraz zwyk³e GET, POST, HEAD z HTTP/1.1.
+oraz zwykłe GET, POST, HEAD z HTTP/1.1.
 
-Jak na razie montowanie zasobu webdav pod Windows XP dzia³a i
-podstawowe testy lakmusowe przechodz±.
+Jak na razie montowanie zasobu webdav pod Windows XP działa i
+podstawowe testy lakmusowe przechodzą.
 
 %package -n spawn-fcgi
 Summary:       Spawn fcgi-process directly
-Summary(pl):   Bezpo¶rednie uruchamianie procesów fcgi
+Summary(pl.UTF-8):     Bezpośrednie uruchamianie procesów fcgi
 Group:         Applications
 
 %description -n spawn-fcgi
 spawn-fcgi is used to spawn fcgi-process directly without the help of
 a webserver or the programm itself.
 
-%description -n spawn-fcgi -l pl
-spawn-fcgi s³u¿y do uruchamiania procesów fcgi bezpo¶rednio, bez
+%description -n spawn-fcgi -l pl.UTF-8
+spawn-fcgi służy do uruchamiania procesów fcgi bezpośrednio, bez
 pomocy serwera WWW ani samego programu.
 
 %package php-spawned
 Summary:       PHP support via FastCGI, spawned by lighttpd
-Summary(pl):   Obs³uga PHP przez FastCGI, uruchamiane przez lighttpd
+Summary(pl.UTF-8):     Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      %{name}-mod_fastcgi = %{version}-%{release}
@@ -700,12 +713,12 @@ Obsoletes:        lighttpd-php-external
 %description php-spawned
 PHP support via FastCGI, spawned by lighttpd.
 
-%description php-spawned -l pl
-Obs³uga PHP przez FastCGI, uruchamiane przez lighttpd.
+%description php-spawned -l pl.UTF-8
+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
+Summary(pl.UTF-8):     Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
 Group:         Networking/Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      %{name}-mod_fastcgi = %{version}-%{release}
@@ -715,24 +728,37 @@ Obsoletes:        lighttpd-php-spawned
 %description php-external
 PHP support via FastCGI, spawning controlled externally.
 
-%description php-external -l pl
-Obs³uga PHP przez FastCGI, uruchamianie sterowane zewnêtrznie.
+%description php-external -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
+%description ssl -l pl.UTF-8
+Obsługa SSLv2 i SSLv3 dla lighttpd.
+
+%package -n monit-rc-lighttpd
+Summary:       lighttpd support for monit
+Summary(pl.UTF-8):     Wsparcie lighttpd dla monit
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+Requires:      monit
+
+%description -n monit-rc-lighttpd
+monitrc file for monitoring MySQL database server.
+
+%description -n monit-rc-lighttpd -l pl.UTF-8
+Plik monitrc do monitorowania serwera baz danych MySQL.
 
 %prep
 %setup -q
-#%patch100 -p1
+#%patch100 -p0
 %patch0 -p1
 %patch1 -p1
 
@@ -767,7 +793,10 @@ sh %{SOURCE6} /etc/mime.types
 rm -rf $RPM_BUILD_ROOT
 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}}
+       $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
+       $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
+       $RPM_BUILD_ROOT/var/lib/lighttpd \
+       $RPM_BUILD_ROOT/var/cache/lighttpd/mod_compress
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -806,6 +835,7 @@ install %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
 install %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
 install %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
 install %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_expire.conf
+install %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_extforward.conf
 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
@@ -831,15 +861,19 @@ install %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
 install %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
 install %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
 
-%if %{without mysql}
+touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
+
+%if !%{with mysql}
 # avoid packaging dummy module
 rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
 %endif
-%if %{without deflate}
+%if !%{with deflate}
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
 %endif
 
+touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error}.log
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -850,6 +884,13 @@ rm -rf $RPM_BUILD_ROOT
 %addusertogroup lighttpd http
 
 %post
+for a in access.log error.log; do
+       if [ ! -f /var/log/%{name}/$a ]; then
+               touch /var/log/%{name}/$a
+               chown lighttpd:lighttpd /var/log/%{name}/$a
+               chmod 644 /var/log/%{name}/$a
+       fi
+done
 /sbin/chkconfig --add %{name}
 
 %preun
@@ -909,6 +950,7 @@ fi
 %module_scripts mod_evasive
 %module_scripts mod_evhost
 %module_scripts mod_expire
+%module_scripts mod_extforward
 %module_scripts mod_fastcgi
 %module_scripts mod_flv_streaming
 %module_scripts mod_indexfile
@@ -917,7 +959,18 @@ fi
 %module_scripts mod_proxy
 %module_scripts mod_redirect
 %module_scripts mod_rewrite
-%module_scripts mod_rrdtool
+
+%post mod_rrdtool
+if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
+       touch /var/lib/lighttpd/lighttpd.rrd
+       chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
+       chmod 640 /var/lib/lighttpd/lighttpd.rrd
+fi
+%module_post
+
+%postun mod_rrdtool
+%module_postun
+
 %module_scripts mod_scgi
 %module_scripts mod_secdownload
 %module_scripts mod_setenv
@@ -944,14 +997,16 @@ EOF
 %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(750,root,root) %{_sysconfdir}/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}
+%attr(750,root,root) %dir /var/log/archive/%{name}
+%dir %attr(751,root,root) /var/log/%{name}
+%ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/access.log
+%ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/error.log
 %dir %attr(770,root,lighttpd) /var/run/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
@@ -963,6 +1018,15 @@ EOF
 %dir %{_lighttpddir}/html
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*
 
+%dir %{_datadir}/lighttpd
+%dir %{_datadir}/lighttpd/errordocs
+
+# rrdtool database is stored there
+%dir %attr(771,root,lighttpd) /var/lib/lighttpd
+
+# mod_compress can put cached files there
+%dir /var/cache/lighttpd
+
 %files mod_access
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
@@ -997,6 +1061,7 @@ EOF
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_compress.conf
 %attr(755,root,root) %{_libdir}/mod_compress.so
+%dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_compress
 
 %if %{with deflate}
 %files mod_deflate
@@ -1025,6 +1090,11 @@ EOF
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
 %attr(755,root,root) %{_libdir}/mod_expire.so
 
+%files mod_extforward
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
+%attr(755,root,root) %{_libdir}/mod_extforward.so
+
 %files mod_fastcgi
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
@@ -1071,6 +1141,7 @@ EOF
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
 %attr(755,root,root) %{_libdir}/mod_rrdtool.so
+%ghost %attr(640,lighttpd,stats) /var/lib/lighttpd/lighttpd.rrd
 
 %files mod_scgi
 %defattr(644,root,root,755)
@@ -1143,3 +1214,7 @@ EOF
 %files ssl
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
+
+%files -n monit-rc-lighttpd
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
This page took 0.11007 seconds and 4 git commands to generate.