# TODO:
+# - cleanup empty subpackages
# - don't use lighttpd-angel in systemd. systemd does the respawn/recovery logic itself
# - provide or autogenerated self signed cert in post, so after installing
# lighttpd-ssl server will still work
%bcond_without xattr # support of extended attributes
%bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel)
%bcond_without largefile # largefile support (see notes above)
-%bcond_without dbi # libdbi, enables mod_vhostdb_dbi
+%bcond_without dbi # libdbi, enables mod_vhostdb_dbi, mod_authn_dbi
%bcond_without ssl # ssl support
-%bcond_without mysql # mysql support in mod_mysql_vhost, mod_vhostdb_mysql
+%bcond_without mysql # mysql support in mod_vhostdb_mysql
%bcond_without pgsql # PgSQL, enables mod_vhostdb_pgsql
%bcond_without bzip2 # Enable bzip2 support for mod_deflate
%bcond_without brotli # Enable brotli support for mod_deflate
-%bcond_without geoip # GeoIP support
%bcond_without maxminddb # MaxMind GeoIP2 module
%bcond_with krb5 # krb5 support (does not work with heimdal)
%bcond_without ldap # ldap support in mod_auth, mod_vhostdb_ldap
-%bcond_without lua # LUA support in mod_cml (needs LUA >= 5.1)
+%bcond_without lua # LUA support (needs LUA >= 5.1)
%bcond_with gamin # gamin for reducing number of stat() calls. must be enabled in config: server.stat-cache-engine = "fam"
-%bcond_without mod_trigger_b4_dl # 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 h264_streaming # build h264_streaming module
-%bcond_without storage_memcached # memcached storage for mod_trigger_b4_dl/mod_cml
-%bcond_without storage_gdbm # gdbm storage for mod_trigger_b4_dl
%if %{with webdav_locks}
%define webdav_progs 1
%endif
-# if(WITH_PCRE AND (WITH_MEMCACHED OR WITH_GDBM))
-%if %{without storage_memcached} && %{without storage_gdbm}
-%undefine with_mod_trigger_b4_dl
-%endif
-
Summary: Fast and light HTTP server
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
-Version: 1.4.58
+Version: 1.4.71
Release: 1
License: BSD
Group: Networking/Daemons/HTTP
Source0: https://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
-# Source0-md5: 8d12a31bd3fdd7eab85cf9a6d2cfa92e
+# Source0-md5: c8ac5fb9580b84ba6be7dd14ac7b0c2d
Source1: %{name}.init
Source2: %{name}.conf
Source3: %{name}.user
Source102: mod_alias.conf
Source103: mod_auth.conf
Source104: mod_cgi.conf
-Source105: mod_cml.conf
+Source105: mod_h2.conf
+
Source107: mod_deflate.conf
Source108: mod_dirlisting.conf
-Source109: mod_evasive.conf
Source110: mod_evhost.conf
Source111: mod_expire.conf
Source112: mod_fastcgi.conf
-Source113: mod_flv_streaming.conf
+
Source114: mod_indexfile.conf
Source115: mod_proxy.conf
Source116: mod_redirect.conf
Source117: mod_rewrite.conf
Source118: mod_rrdtool.conf
Source119: mod_scgi.conf
-Source120: mod_secdownload.conf
Source121: mod_setenv.conf
Source122: mod_simple_vhost.conf
Source123: mod_ssi.conf
Source124: mod_staticfile.conf
Source125: mod_status.conf
-Source126: mod_trigger_b4_dl.conf
+
Source127: mod_userdir.conf
-Source128: mod_usertrack.conf
Source129: mod_webdav.conf
Source130: php-spawned.conf
Source131: php-external.conf
Source132: ssl.conf
-Source133: mod_mysql_vhost.conf
+
Source134: mod_magnet.conf
Source135: mod_extforward.conf
Source136: mod_h264_streaming.conf
Source137: mod_cgi_php.conf
-Source138: mod_authn_dbi.conf
-Source139: mod_uploadprogress.conf
-Source140: mod_geoip.conf
+
Source141: mod_authn_ldap.conf
Source142: mod_openssl.conf
Source143: mod_vhostdb.conf
Source144: mod_wstunnel.conf
-Source145: mod_authn_mysql.conf
+
Source146: mod_sockproxy.conf
Source147: mod_maxminddb.conf
# use branch.sh script to create branch.diff
#Patch100: %{name}-branch.diff
## Patch100-md5: 7bd09235304c8bcb16f34d49d480c0fb
-Patch1: %{name}-mod_evasive-status_code.patch
Patch2: %{name}-mod_h264_streaming.patch
Patch3: %{name}-branding.patch
-Patch5: test-port-setup.patch
URL: https://www.lighttpd.net/
-%{?with_geoip:BuildRequires: GeoIP-devel}
%{?with_xattr:BuildRequires: attr-devel}
BuildRequires: autoconf >= 2.57
%{?with_maxminddb:BuildRequires: libmaxminddb-devel}
+%if "%{pld_release}" != "ac"
BuildRequires: automake >= 1:1.11.2
+%else
+BuildRequires: automake
+%endif
%{?with_bzip2:BuildRequires: bzip2-devel}
BuildRequires: fcgi-devel
%{?with_gamin:BuildRequires: gamin-devel}
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_ldap:BuildRequires: openldap-devel}
%{?with_ssl:BuildRequires: openssl-devel}
-BuildRequires: pcre-devel
+BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: rpm >= 4.4.9-56
Requires(pre): /usr/sbin/useradd
Requires(pre): /usr/sbin/usermod
Requires: %{name}-mod_dirlisting = %{version}-%{release}
+Requires: %{name}-mod_h2 = %{version}-%{release}
Requires: %{name}-mod_indexfile = %{version}-%{release}
Requires: %{name}-mod_staticfile = %{version}-%{release}
Requires: rc-scripts >= 0.4.3.0
Modul alias służy do określania specjalnego drzewa (document-roota)
dla podanego podzbioru URL-i.
+%package mod_ajp13
+Summary: Apache JServ Protocol version 1.3 (AJP13) gateway
+Group: Networking/Daemons/HTTP
+URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAJP13
+Requires: %{name} = %{version}-%{release}
+
+%description mod_ajp13
+lighttpd mod_ajp13 is a gateway implementing Apache JServ Protocol
+version 1.3 (AJP13).
+
%package mod_auth
Summary: lighttpd module for authentication support
Summary(pl.UTF-8): Moduł lighttpd do obsługi uwierzytelniania
%if %{with ldap}
Suggests: %{name}-mod_authn_ldap = %{version}-%{release}
%endif
-%if %{with mysql}
-Suggests: %{name}-mod_authn_mysql = %{version}-%{release}
-%endif
Provides: webserver(auth)
%description mod_auth
%package mod_authn_dbi
Summary: lighttpd authn_dbi module
Group: Networking/Daemons/HTTP
+URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_auth = %{version}-%{release}
%description mod_authn_dbi
lighttpd authn_dbi module.
Summary: lighttpd authn_file module
Group: Networking/Daemons/HTTP
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_auth = %{version}-%{release}
%description mod_authn_file
lighttpd authn_file module.
Summary: lighttpd authn_gssapi module
Group: Networking/Daemons/HTTP
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_auth = %{version}-%{release}
%description mod_authn_gssapi
lighttpd authn_gssapi module.
Summary: lighttpd authn_ldap module
Group: Networking/Daemons/HTTP
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-mod_auth = %{version}-%{release}
%description mod_authn_ldap
lighttpd authn_ldap module.
-%package mod_authn_mysql
-Summary: lighttpd authn_mysql module
-Group: Networking/Daemons/HTTP
-Requires: %{name} = %{version}-%{release}
-
-%description mod_authn_mysql
-lighttpd authn_mysql module.
-
-mod_authn_mysql is DEPRECATED; use mod_authn_dbi.
-
-Note: mod_authn_mysql will be removed from a future lighttpd release.
-
%package mod_cgi
Summary: lighttpd module for CGI handling
Summary(pl.UTF-8): Moduł lighttpd do obsługi CGI
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.UTF-8): Moduł Cache Meta Language
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCML
-Requires: %{name} = %{version}-%{release}
-
-%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 other side using
-LUA.
-
-mod_cml is DEPRECATED; use mod_magnet.
-
-Note: mod_cml will be removed from a future lighttpd release.
-
-%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.UTF-8): Moduł lighttpd do kompresji wyjścia
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
-Requires: %{name} = %{version}-%{release}
-
-%description mod_compress
-Output compression reduces the network load and can improve the
-overall throughput of the webserver.
-
-Only static content is supported up to now.
-
-The server negotiates automatically which compression method is used.
-Supported are gzip, deflate, bzip.
-
-mod_compress is DEPRECATED; use mod_deflate. mod_compress has been
-subsumed by mod_deflate.
-
-Note: mod_compress config options may be removed in a future release.
-
-%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ść.
-
-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.UTF-8): Moduł lighttpd do kompresji wyjścia metodą deflate
mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
kontrolą CSS.
-%package mod_evasive
-Summary: lighttpd evasive module
-Summary(pl.UTF-8): Moduł evasive dla lighttpd
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
-Requires: %{name} = %{version}-%{release}
-
-%description mod_evasive
-lighttpd evasive module.
-
-%description mod_evasive -l pl.UTF-8
-Moduł evasive dla lighttpd.
-
%package mod_evhost
Summary: lighttpd module for enhanced virtual-hosting
Summary(pl.UTF-8): Moduł lighttpd rozszerzający obsługę hostów wirtualnych
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.UTF-8): Moduł lighttpd do streamingu flv
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
-Requires: %{name} = %{version}-%{release}
-
-%description mod_flv_streaming
-lighttpd module for flv streaming.
-
-%description mod_flv_streaming -l pl.UTF-8
-Moduł lighttpd do streamingu flv.
-
-%package mod_geoip
-Summary: lighttpd module for IP Based Geographic Lookups
+%package mod_h2
+Summary: lighttpd h2 module
Group: Networking/Daemons/HTTP
-URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
Requires: %{name} = %{version}-%{release}
-%description mod_geoip
-mod_geoip is a module for fast ip/location lookups. It uses MaxMind
-GeoIP / GeoCity databases.
-
-If the ip was found in the database the module sets the appropriate
-environment variables to the request, thus making other modules/fcgi
-be informed.
-
-mod_geoip is DEPRECATED; use mod_maxminddb.
-
-Note: mod_geoip will be removed from a future lighttpd release.
+%description mod_h2
+lighttpd http 2 module
%package mod_h264_streaming
Summary: lighttpd module for h264 streaming
%description mod_maxminddb
-%package mod_mysql_vhost
-Summary: lighttpd module for MySQL based vhosting
-Summary(pl.UTF-8): Moduł lighttpd obsługujący vhosty oparte na MySQL-u
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMySQLVhost
-Requires: %{name} = %{version}-%{release}
-Conflicts: %{name}-mod_simple_vhost
-
-%description mod_mysql_vhost
-This module provides virtual hosts (vhosts) based on a MySQL table.
-
-mod_mysql_vhost is DEPRECATED; use mod_vhostdb_dbi or
-mod_vhostdb_mysql.
-
-Note: mod_mysql_vhost will be removed from a future lighttpd release.
-
-%description mod_mysql_vhost -l pl.UTF-8
-Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
-
%package mod_openssl
Summary: TLS/SSL for lighttpd
Group: Networking/Daemons/HTTP
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.UTF-8): Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
-Requires: %{name} = %{version}-%{release}
-
-%description mod_secdownload
-With this module you can easily achieve authenticated file requests
-and a countermeasure against deep-linking.
-
-%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.UTF-8): Moduł lighttpd do ustawiania warunkowych nagłówków żądań
%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.UTF-8): Wyzwalacz przed ściąganiem
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModTriggerBeforeDownload
-Requires: %{name} = %{version}-%{release}
-
-%description mod_trigger_b4_dl
-Another anti hot-linking module.
-
-%description mod_trigger_b4_dl -l pl.UTF-8
-Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
-
-%package mod_uploadprogress
-Summary: lighttpd module for upload progress
-Group: Networking/Daemons/HTTP
-URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUploadProgress
-Requires: %{name} = %{version}-%{release}
-
-%description mod_uploadprogress
-This module can be used to track the progress of a current upload.
-
%package mod_userdir
Summary: lighttpd module for user homedirs
Summary(pl.UTF-8): Moduł lighttpd obsługujący katalogi domowe użytkowników
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.UTF-8): Moduł usertrack dla lighttpd
-Group: Networking/Daemons/HTTP
-URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
-Requires: %{name} = %{version}-%{release}
-
-%description mod_usertrack
-lighttpd usertrack module.
-
-%description mod_usertrack -l pl.UTF-8
-Moduł usertrack dla lighttpd.
-
%package mod_vhostdb
Summary: Virtual host database to provide vhost docroot
Group: Networking/Daemons/HTTP
%prep
%setup -q
#%patch100 -p1
-#%patch1 -p1 UPDATE (and submit upstream!) if you need this
%{?with_h264_streaming:%patch2 -p1}
%patch3 -p1
-%patch5 -p1
rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
# build mime.types.conf
sh %{SOURCE6} /etc/mime.types
+%if "%{pld_release}" == "ac"
+%{__sed} -i -e 's/ serial_tests//' configure.ac
+%{__sed} -i -e 's/dist-xz/dist-bzip2/' configure.ac
+%endif
+
%build
-ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
+ver=$(awk -F ',' '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
if [ "$ver" != "%{version}" ]; then
: configure.ac specifies wrong version
exit 1
%{?with_bzip2:--with-bzip2} \
%{?with_dbi:--with-dbi} \
%{?with_gamin:--with-gamin} \
- %{?with_geoip:--with-geoip} \
%{?with_krb5:--with-krb5} \
%{?with_ldap:--with-ldap} \
%{?with_lua:--with-lua=lua51} \
%{?with_mysql:--with-mysql} \
%{?with_pgsql:--with-pgsql} \
%{?with_ssl:--with-openssl} \
- %{?with_storage_gdbm:--with-gdbm} \
- %{?with_storage_memcached:--with-memcached} \
%{?with_valgrind:--with-valgrind} \
%{?with_webdav_locks:--with-webdav-locks} \
%{?with_webdav_props:--with-webdav-props} \
$RPM_BUILD_ROOT%{_sysconfdir}/{{conf,vhosts,webapps}.d,ssl} \
$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/lib/lighttpd \
+ $RPM_BUILD_ROOT/var/cache/lighttpd/mod_deflate
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
cp -p %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
cp -p %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
cp -p %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
+cp -p %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h2.conf
cp -p %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
-cp -p %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
+
cp -p %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
cp -p %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
-cp -p %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
cp -p %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
cp -p %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
-cp -p %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
-%if %{with geoip}
-cp -p %{SOURCE140} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_geoip.conf
-%endif
%if %{with maxminddb}
cp -p %{SOURCE147} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_maxminddb.conf
%endif
%if %{with ldap}
cp -p %{SOURCE141} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_ldap.conf
%endif
-%if %{with mysql}
-cp -p %{SOURCE145} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_mysql.conf
-%endif
%if %{with h264_streaming}
cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
%endif
cp -p %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
cp -p %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
cp -p %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
-cp -p %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
cp -p %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
cp -p %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
cp -p %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
cp -p %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
cp -p %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
-%if %{with mod_trigger_b4_dl}
-cp -p %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
-%endif
-cp -p %{SOURCE138} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_dbi.conf
-cp -p %{SOURCE139} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_uploadprogress.conf
cp -p %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
-cp -p %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
cp -p %{SOURCE143} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_vhostdb.conf
cp -p %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
cp -p %{SOURCE144} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_wstunnel.conf
-%if %{with mysql}
-cp -p %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
-%endif
cp -p %{SOURCE146} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_sockproxy.conf
cp -p %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
%module_scripts mod_access
%module_scripts mod_accesslog
+%module_scripts mod_ajp13
%module_scripts mod_alias
%module_scripts mod_auth
%module_scripts mod_authn_dbi
%module_scripts mod_authn_file
%module_scripts mod_authn_gssapi
%module_scripts mod_authn_ldap
-%module_scripts mod_authn_mysql
%module_scripts mod_cgi
-%module_scripts mod_cml
%module_scripts mod_deflate
%module_scripts mod_dirlisting
-%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_geoip
+%module_scripts mod_h2
%module_scripts mod_h264_streaming
%module_scripts mod_indexfile
%module_scripts mod_magnet
%module_scripts mod_maxminddb
-%module_scripts mod_mysql_vhost
%module_scripts mod_openssl
%module_scripts mod_proxy
%module_scripts mod_redirect
%module_scripts mod_rewrite
%module_scripts mod_scgi
-%module_scripts mod_secdownload
%module_scripts mod_setenv
%module_scripts mod_simple_vhost
%module_scripts mod_sockproxy
%module_scripts mod_ssi
%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_vhostdb
%module_scripts mod_webdav
%module_scripts mod_wstunnel
# rrdtool database is stored there
%dir %attr(771,root,lighttpd) /var/lib/lighttpd
+# mod_deflate 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
-%attr(755,root,root) %{pkglibdir}/mod_access.so
%files mod_accesslog
%defattr(644,root,root,755)
%files mod_alias
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
-%attr(755,root,root) %{pkglibdir}/mod_alias.so
+
+%files mod_ajp13
+%defattr(644,root,root,755)
+%attr(755,root,root) %{pkglibdir}/mod_ajp13.so
%files mod_auth
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
%attr(755,root,root) %{pkglibdir}/mod_auth.so
+%if %{with dbi}
+%files mod_authn_dbi
+%defattr(644,root,root,755)
+%attr(755,root,root) %{pkglibdir}/mod_authn_dbi.so
+%endif
+
%files mod_authn_file
%defattr(644,root,root,755)
%attr(755,root,root) %{pkglibdir}/mod_authn_file.so
%attr(755,root,root) %{pkglibdir}/mod_authn_gssapi.so
%endif
-%if %{with dbi}
-%files mod_authn_dbi
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_dbi.conf
-%attr(755,root,root) %{pkglibdir}/mod_authn_dbi.so
-%endif
-
%if %{with ldap}
%files mod_authn_ldap
%defattr(644,root,root,755)
%attr(755,root,root) %{pkglibdir}/mod_authn_ldap.so
%endif
-%if %{with mysql}
-%files mod_authn_mysql
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_mysql.conf
-%attr(755,root,root) %{pkglibdir}/mod_authn_mysql.so
-%endif
-
%files mod_cgi
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
-%files mod_cml
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
-%attr(755,root,root) %{pkglibdir}/mod_cml.so
-
%files mod_deflate
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
%attr(755,root,root) %{pkglibdir}/mod_deflate.so
+%dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_deflate
%files mod_dirlisting
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
%attr(755,root,root) %{pkglibdir}/mod_dirlisting.so
-%files mod_evasive
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
-%attr(755,root,root) %{pkglibdir}/mod_evasive.so
-
%files mod_evhost
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
-%attr(755,root,root) %{pkglibdir}/mod_evhost.so
%files mod_expire
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
-%attr(755,root,root) %{pkglibdir}/mod_expire.so
%files mod_extforward
%defattr(644,root,root,755)
%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
-%attr(755,root,root) %{pkglibdir}/mod_fastcgi.so
-%files mod_flv_streaming
+%files mod_h2
%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
-%attr(755,root,root) %{pkglibdir}/mod_flv_streaming.so
-
-%if %{with geoip}
-%files mod_geoip
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_geoip.conf
-%attr(755,root,root) %{pkglibdir}/mod_geoip.so
-%endif
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h2.conf
+%attr(755,root,root) %{pkglibdir}/mod_h2.so
%if %{with h264_streaming}
%files mod_h264_streaming
%files mod_indexfile
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
-%attr(755,root,root) %{pkglibdir}/mod_indexfile.so
%files mod_magnet
%defattr(644,root,root,755)
%attr(755,root,root) %{pkglibdir}/mod_maxminddb.so
%endif
-%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) %{pkglibdir}/mod_mysql_vhost.so
-%endif
-
%files mod_proxy
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
%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(755,root,root) %{pkglibdir}/mod_redirect.so
%files mod_rewrite
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
-%attr(755,root,root) %{pkglibdir}/mod_rewrite.so
%files mod_rrdtool
%defattr(644,root,root,755)
%files mod_scgi
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
-%attr(755,root,root) %{pkglibdir}/mod_scgi.so
-
-%files mod_secdownload
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
-%attr(755,root,root) %{pkglibdir}/mod_secdownload.so
%files mod_setenv
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
-%attr(755,root,root) %{pkglibdir}/mod_setenv.so
%files mod_simple_vhost
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
-%attr(755,root,root) %{pkglibdir}/mod_simple_vhost.so
%files mod_sockproxy
%defattr(644,root,root,755)
%files mod_staticfile
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
-%attr(755,root,root) %{pkglibdir}/mod_staticfile.so
%files mod_status
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
%attr(755,root,root) %{pkglibdir}/mod_status.so
-%if %{with mod_trigger_b4_dl}
-%files mod_trigger_b4_dl
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
-%attr(755,root,root) %{pkglibdir}/mod_trigger_b4_dl.so
-%endif
-
-%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) %{pkglibdir}/mod_uploadprogress.so
-
%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
%attr(755,root,root) %{pkglibdir}/mod_userdir.so
-%files mod_usertrack
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
-%attr(755,root,root) %{pkglibdir}/mod_usertrack.so
-
%files mod_vhostdb
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_vhostdb.conf