]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd.spec
baf811ac62dc79f4b3ee560fd38343d556f3dc5f
[packages/lighttpd.git] / lighttpd.spec
1 # TODO:
2 # - don't use lighttpd-angel in systemd. systemd does the respawn/recovery logic itself
3 # - provide or autogenerated self signed cert in post, so after installing
4 #   lighttpd-ssl server will still work
5 # - patch with mod_websocket: https://github.com/Juniper/lighttpd-for-juise
6 # - lighttpd-mod_fd_transfer: https://redmine.lighttpd.net/boards/3/topics/4992
7 # - add db specific mod_vhostdb_* sub-packages
8 # - package mod_sockproxy
9 #   https://github.com/lighttpd/lighttpd1.4/commit/c4d743bb4d0cc045d41322169a4e36a151e247f1
10 # - TLS library options
11 #    - mod_openssl (existing)
12 #    - mod_mbedtls (experimental)
13 #    - mod_wolfssl (experimental)
14 #    - mod_gnutls  (experimental)
15 #    - mod_nss     (experimental)
16 #
17 # Conditional build:
18 %bcond_with             tests           # build with tests
19 %bcond_without  xattr           # support of extended attributes
20 %bcond_without  ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
21 %bcond_without  largefile       # largefile support (see notes above)
22 %bcond_without  dbi             # libdbi, enables mod_vhostdb_dbi, mod_authn_dbi
23 %bcond_without  ssl             # ssl support
24 %bcond_without  mysql           # mysql support in mod_vhostdb_mysql
25 %bcond_without  pgsql           # PgSQL, enables mod_vhostdb_pgsql
26 %bcond_without  bzip2           # Enable bzip2 support for mod_deflate
27 %bcond_without  brotli          # Enable brotli support for mod_deflate
28 %bcond_without  maxminddb       # MaxMind GeoIP2 module
29 %bcond_with     krb5            # krb5 support (does not work with heimdal)
30 %bcond_without  ldap            # ldap support in mod_auth, mod_vhostdb_ldap
31 %bcond_without  lua             # LUA support (needs LUA >= 5.1)
32 %bcond_with     gamin           # gamin for reducing number of stat() calls. must be enabled in config: server.stat-cache-engine = "fam"
33 %bcond_with     webdav_props    # properties in mod_webdav (includes extra sqlite3/libxml deps)
34 %bcond_with     webdav_locks    # webdav locks with extra efsprogs deps
35 %bcond_with     valgrind        # compile code with valgrind support.
36 %bcond_with     h264_streaming          # build h264_streaming module
37
38 %if %{with webdav_locks}
39 %define         webdav_progs    1
40 %endif
41
42 Summary:        Fast and light HTTP server
43 Summary(pl.UTF-8):      Szybki i lekki serwer HTTP
44 Name:           lighttpd
45 Version:        1.4.66
46 Release:        1
47 License:        BSD
48 Group:          Networking/Daemons/HTTP
49 Source0:        https://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
50 # Source0-md5:  78b43d1dc36e1cf34d4003bc5e97a964
51 Source1:        %{name}.init
52 Source2:        %{name}.conf
53 Source3:        %{name}.user
54 Source4:        %{name}.logrotate
55 Source5:        %{name}.sysconfig
56 Source6:        %{name}-mime.types.sh
57 Source7:        https://glen.alkohol.ee/pld/lighty/favicon.ico
58 # Source7-md5:  00fcac5b861a54f5eb147a589504d480
59 Source8:        light_button.png
60 # Source8-md5:  3e1008ee1d3d6d390cf81fe3072b4f50
61 Source9:        light_logo.png
62 # Source9-md5:  cbb7f0676e51ee2e26cf004df293fc62
63 Source10:       pld_button.png
64 # Source10-md5: 185afa921e81bd726b9f0f9f0909dc6e
65 Source11:       %{name}-pld.html
66 Source12:       %{name}.monitrc
67 Source13:       branch.sh
68 Source14:       TODO
69 Source16:       %{name}.tmpfiles
70 Source100:      mod_access.conf
71 Source101:      mod_accesslog.conf
72 Source102:      mod_alias.conf
73 Source103:      mod_auth.conf
74 Source104:      mod_cgi.conf
75
76 Source107:      mod_deflate.conf
77 Source108:      mod_dirlisting.conf
78 Source109:      mod_evasive.conf
79 Source110:      mod_evhost.conf
80 Source111:      mod_expire.conf
81 Source112:      mod_fastcgi.conf
82
83 Source114:      mod_indexfile.conf
84 Source115:      mod_proxy.conf
85 Source116:      mod_redirect.conf
86 Source117:      mod_rewrite.conf
87 Source118:      mod_rrdtool.conf
88 Source119:      mod_scgi.conf
89 Source120:      mod_secdownload.conf
90 Source121:      mod_setenv.conf
91 Source122:      mod_simple_vhost.conf
92 Source123:      mod_ssi.conf
93 Source124:      mod_staticfile.conf
94 Source125:      mod_status.conf
95
96 Source127:      mod_userdir.conf
97 Source128:      mod_usertrack.conf
98 Source129:      mod_webdav.conf
99 Source130:      php-spawned.conf
100 Source131:      php-external.conf
101 Source132:      ssl.conf
102
103 Source134:      mod_magnet.conf
104 Source135:      mod_extforward.conf
105 Source136:      mod_h264_streaming.conf
106 Source137:      mod_cgi_php.conf
107 Source139:      mod_uploadprogress.conf
108
109 Source141:      mod_authn_ldap.conf
110 Source142:      mod_openssl.conf
111 Source143:      mod_vhostdb.conf
112 Source144:      mod_wstunnel.conf
113
114 Source146:      mod_sockproxy.conf
115 Source147:      mod_maxminddb.conf
116 # use branch.sh script to create branch.diff
117 #Patch100:      %{name}-branch.diff
118 ## Patch100-md5:        7bd09235304c8bcb16f34d49d480c0fb
119 Patch1:         %{name}-mod_evasive-status_code.patch
120 Patch2:         %{name}-mod_h264_streaming.patch
121 Patch3:         %{name}-branding.patch
122 Patch4:         systemd.patch
123 URL:            https://www.lighttpd.net/
124 %{?with_xattr:BuildRequires:    attr-devel}
125 BuildRequires:  autoconf >= 2.57
126 %{?with_maxminddb:BuildRequires:        libmaxminddb-devel}
127 %if "%{pld_release}" != "ac"
128 BuildRequires:  automake >= 1:1.11.2
129 %else
130 BuildRequires:  automake
131 %endif
132 %{?with_bzip2:BuildRequires:    bzip2-devel}
133 BuildRequires:  fcgi-devel
134 %{?with_gamin:BuildRequires:    gamin-devel}
135 %{?with_storage_gdbm:BuildRequires:     gdbm-devel}
136 %{?with_krb5:BuildRequires:     krb5-devel}
137 %{?with_brotli:BuildRequires:   libbrotli-devel}
138 %{?with_dbi:BuildRequires:      libdbi-devel}
139 %{?with_storage_memcached:BuildRequires:        libmemcached-devel}
140 BuildRequires:  libtool
141 BuildRequires:  libuuid-devel
142 %{?with_webdav_props:BuildRequires:     libxml2-devel}
143 %{?with_lua:BuildRequires:      lua51-devel}
144 BuildRequires:  mailcap >= 2.1.14-4.4
145 %{?with_mysql:BuildRequires:    mysql-devel}
146 %{?with_ldap:BuildRequires:     openldap-devel}
147 %{?with_ssl:BuildRequires:      openssl-devel}
148 BuildRequires:  pcre2-8-devel
149 BuildRequires:  pkgconfig
150 %{?with_pgsql:BuildRequires:    postgresql-devel}
151 BuildRequires:  rpm >= 4.4.9-56
152 BuildRequires:  rpmbuild(macros) >= 1.647
153 %{?with_webdav_props:BuildRequires:     sqlite3-devel}
154 BuildRequires:  tar >= 1:1.22
155 %{?with_valgrind:BuildRequires: valgrind}
156 BuildRequires:  which
157 BuildRequires:  xz
158 BuildRequires:  zlib-devel
159 Requires(post,preun):   /sbin/chkconfig
160 Requires(postun):       /usr/sbin/groupdel
161 Requires(postun):       /usr/sbin/userdel
162 Requires(pre):  /bin/id
163 Requires(pre):  /usr/bin/getgid
164 Requires(pre):  /usr/lib/rpm/user_group.sh
165 Requires(pre):  /usr/sbin/groupadd
166 Requires(pre):  /usr/sbin/useradd
167 Requires(pre):  /usr/sbin/usermod
168 Requires:       %{name}-mod_dirlisting = %{version}-%{release}
169 Requires:       %{name}-mod_indexfile = %{version}-%{release}
170 Requires:       %{name}-mod_staticfile = %{version}-%{release}
171 Requires:       rc-scripts >= 0.4.3.0
172 Requires:       rpm-whiteout >= 1.5
173 Requires:       systemd-units >= 38
174 Suggests:       %{name}-mod_accesslog
175 Provides:       group(http)
176 Provides:       group(lighttpd)
177 Provides:       user(lighttpd)
178 Provides:       webserver
179 Provides:       webserver(headers)
180 Provides:       webserver(mime)
181 Conflicts:      logrotate < 3.7-4
182 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
183 Conflicts:      rpm < 4.4.2-0.2
184 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
185
186 %define         pkglibdir               %{_libdir}/%{name}
187 %define         _lighttpddir    /home/services/%{name}
188 %define         _sysconfdir     /etc/%{name}
189
190 %description
191 lighttpd is a secure, fast, compliant and very flexible web-server
192 which has been optimized for high-performance environments. It has a
193 very low memory footprint compared to other webservers and takes care
194 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
195 Output-Compression, URL-Rewriting and many more) make lighttpd the
196 perfect webserver-software for every server that is suffering load
197 problems.
198
199 %description -l pl.UTF-8
200 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
201 serwerem WWW, który został zoptymalizowany pod kątem
202 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
203 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
204 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
205 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
206 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
207 powodu problemów z obciążeniem.
208
209 %package mod_access
210 Summary:        lighttpd module for making access restrictions
211 Summary(pl.UTF-8):      Moduł lighttpd ograniczający dostęp
212 Group:          Networking/Daemons/HTTP
213 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
214 Requires:       %{name} = %{version}-%{release}
215 Provides:       webserver(access)
216
217 %description mod_access
218 The access module is used to deny access to files with given trailing
219 path names.
220
221 %description mod_access -l pl.UTF-8
222 Moduł access służy do ograniczania dostępu do plików o podanych
223 ścieżkach.
224
225 %package mod_accesslog
226 Summary:        lighttpd module to record access logs
227 Summary(pl.UTF-8):      Moduł lighttpd do zapisu logów dostępu
228 Group:          Networking/Daemons/HTTP
229 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
230 Requires:       %{name} = %{version}-%{release}
231
232 %description mod_accesslog
233 CLF like by default, flexible like Apache.
234
235 %description mod_accesslog -l pl.UTF-8
236 Domyślnie podobny do CLF, elastyczny jak Apache.
237
238 %package mod_alias
239 Summary:        lighttpd module for making URL aliasing
240 Summary(pl.UTF-8):      Moduł lighttpd odpowiadający za aliasy URL-i
241 Group:          Networking/Daemons/HTTP
242 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
243 Requires:       %{name} = %{version}-%{release}
244 Provides:       webserver(alias)
245
246 %description mod_alias
247 The alias module is used to specify a special document-root for a
248 given URL-subset.
249
250 %description mod_alias -l pl.UTF-8
251 Modul alias służy do określania specjalnego drzewa (document-roota)
252 dla podanego podzbioru URL-i.
253
254 %package mod_ajp13
255 Summary:        Apache JServ Protocol version 1.3 (AJP13) gateway
256 Group:          Networking/Daemons/HTTP
257 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAJP13
258 Requires:       %{name} = %{version}-%{release}
259
260 %description mod_ajp13
261 lighttpd mod_ajp13 is a gateway implementing Apache JServ Protocol
262 version 1.3 (AJP13).
263
264 %package mod_auth
265 Summary:        lighttpd module for authentication support
266 Summary(pl.UTF-8):      Moduł lighttpd do obsługi uwierzytelniania
267 Group:          Networking/Daemons/HTTP
268 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
269 Requires:       %{name} = %{version}-%{release}
270 Requires:       %{name}-mod_authn_file = %{version}-%{release}
271 %if %{with ldap}
272 Suggests:       %{name}-mod_authn_ldap = %{version}-%{release}
273 %endif
274 Provides:       webserver(auth)
275
276 %description mod_auth
277 lighttpd supportes both authentication method described by RFC 2617:
278 basic and digest.
279
280 %description mod_auth -l pl.UTF-8
281 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
282 basic i digest.
283
284 %package mod_authn_dbi
285 Summary:        lighttpd authn_dbi module
286 Group:          Networking/Daemons/HTTP
287 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
288 Requires:       %{name} = %{version}-%{release}
289
290 %description mod_authn_dbi
291 lighttpd authn_dbi module.
292
293 %package mod_authn_file
294 Summary:        lighttpd authn_file module
295 Group:          Networking/Daemons/HTTP
296 Requires:       %{name} = %{version}-%{release}
297
298 %description mod_authn_file
299 lighttpd authn_file module.
300
301 %package mod_authn_gssapi
302 Summary:        lighttpd authn_gssapi module
303 Group:          Networking/Daemons/HTTP
304 Requires:       %{name} = %{version}-%{release}
305
306 %description mod_authn_gssapi
307 lighttpd authn_gssapi module.
308
309 %package mod_authn_ldap
310 Summary:        lighttpd authn_ldap module
311 Group:          Networking/Daemons/HTTP
312 Requires:       %{name} = %{version}-%{release}
313
314 %description mod_authn_ldap
315 lighttpd authn_ldap module.
316
317 %package mod_cgi
318 Summary:        lighttpd module for CGI handling
319 Summary(pl.UTF-8):      Moduł lighttpd do obsługi CGI
320 Group:          Networking/Daemons/HTTP
321 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
322 Requires:       %{name} = %{version}-%{release}
323 Requires:       %{name}-mod_alias = %{version}-%{release}
324 Provides:       webserver(cgi)
325
326 %description mod_cgi
327 The cgi module provides a CGI-conforming interface.
328
329 CGI programs allow you to enhance the functionality of the server in a
330 very straight and simple way.
331
332 %description mod_cgi -l pl.UTF-8
333 Moduł cgi udostępnia interfejs zgodny z CGI.
334
335 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
336 prosty i naturalny sposób.
337
338 %package mod_cgi_php
339 Summary:        lighttpd module for CGI handling PHP scripts
340 Summary(pl.UTF-8):      Moduł lighttpd do obsługi skryptów PHP przez CGI
341 Group:          Networking/Daemons/HTTP
342 Requires:       %{name}-mod_cgi = %{version}-%{release}
343 Requires:       php(cgi)
344 Provides:       webserver(php)
345
346 %description mod_cgi_php
347 The cgi module provides a CGI-conforming interface for PHP scripts.
348
349 CGI programs allow you to enhance the functionality of the server in a
350 very straight and simple way.
351
352 %description mod_cgi_php -l pl.UTF-8
353 Moduł cgi udostępnia interfejs zgodny z CGI do wywoływania skryptów
354 PHP.
355
356 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
357 prosty i naturalny sposób.
358
359 %package mod_compress
360 Summary:        lighttpd module for output compression
361 Summary(pl.UTF-8):      Moduł lighttpd do kompresji wyjścia
362 Group:          Networking/Daemons/HTTP
363 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
364 Requires:       %{name} = %{version}-%{release}
365
366 %description mod_compress
367 Output compression reduces the network load and can improve the
368 overall throughput of the webserver.
369
370 Only static content is supported up to now.
371
372 The server negotiates automatically which compression method is used.
373 Supported are gzip, deflate, bzip.
374
375 mod_compress is DEPRECATED; use mod_deflate. mod_compress has been
376 subsumed by mod_deflate.
377
378 Note: mod_compress config options may be removed in a future release.
379
380 %description mod_compress -l pl.UTF-8
381 Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
382 przepustowość serwera WWW.
383
384 Jak na razie obsługiwana jest tylko statyczna treść.
385
386 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
387 Obsługiwane są gzip, deflate i bzip.
388
389 %package mod_deflate
390 Summary:        lighttpd module for output compression using deflate method
391 Summary(pl.UTF-8):      Moduł lighttpd do kompresji wyjścia metodą deflate
392 Group:          Networking/Daemons/HTTP
393 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate
394 Requires:       %{name} = %{version}-%{release}
395 Obsoletes:      lighttpd-mod_compress < 1.4.56
396
397 %define _deflate_encodings deflate gzip %{?with_bzip2:bzip2} %{?with_brotli:brotli}
398 %define deflate_encodings %(echo %_deflate_encodings | sed -e 's/ /, /g')
399
400 %description mod_deflate
401 mod_deflate enables output compression of responses
402 (Content-Encoding).
403
404 Output compression reduces the network load and can improve the
405 overall throughput of the webserver. All major http-clients support
406 compression by announcing it in the Accept-Encoding header. This is
407 used to negotiate the most suitable compression method.
408
409 This module supports %{deflate_encodings} encodings.
410
411 deflate (RFC1950, RFC1951) and gzip (RFC1952) depend on zlib while
412 bzip2 depends on libbzip2. bzip2 is only supported by lynx and some
413 other console text-browsers. brotli (RFC7932) is supported in most
414 popular browsers.
415
416 Since lighttpd 1.4.56, mod_deflate subsumes and replaces mod_compress.
417 mod_deflate can compress static and dynamic responses, while
418 mod_compress could compress only static files.
419
420 %description mod_deflate -l pl.UTF-8
421 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
422 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
423 mod_compress.
424
425 %package mod_dirlisting
426 Summary:        lighttpd module for directory listings
427 Summary(pl.UTF-8):      Moduł lighttpd do tworzenia listingów katalogów
428 Group:          Networking/Daemons/HTTP
429 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
430 Requires:       %{name} = %{version}-%{release}
431
432 %description mod_dirlisting
433 mod_dirlisting generates HTML based directory listings with full CSS
434 control.
435
436 %description mod_dirlisting -l pl.UTF-8
437 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
438 kontrolą CSS.
439
440 %package mod_evasive
441 Summary:        lighttpd evasive module
442 Summary(pl.UTF-8):      Moduł evasive dla lighttpd
443 Group:          Networking/Daemons/HTTP
444 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
445 Requires:       %{name} = %{version}-%{release}
446
447 %description mod_evasive
448 lighttpd evasive module.
449
450 %description mod_evasive -l pl.UTF-8
451 Moduł evasive dla lighttpd.
452
453 %package mod_evhost
454 Summary:        lighttpd module for enhanced virtual-hosting
455 Summary(pl.UTF-8):      Moduł lighttpd rozszerzający obsługę hostów wirtualnych
456 Group:          Networking/Daemons/HTTP
457 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
458 Requires:       %{name} = %{version}-%{release}
459
460 %description mod_evhost
461 mod_evhost builds the document-root based on a pattern which contains
462 wildcards. Those wildcards can represent parts of the submitted
463 hostname.
464
465 %description mod_evhost -l pl.UTF-8
466 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
467 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
468 nazwy hosta.
469
470 %package mod_expire
471 Summary:        lighttpd module for controlling the expiration of content in caches
472 Summary(pl.UTF-8):      Moduł lighttpd sterujący wygasaniem treści w cache'ach
473 Group:          Networking/Daemons/HTTP
474 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
475 Requires:       %{name} = %{version}-%{release}
476 Provides:       webserver(expires)
477
478 %description mod_expire
479 mod_expire controls the setting of the the Expire response header.
480
481 %description mod_expire -l pl.UTF-8
482 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
483
484 %package mod_extforward
485 Summary:        lighttpd module to extract the client's "real" IP from X-Forwarded-For header
486 Summary(pl.UTF-8):      Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
487 Group:          Networking/Daemons/HTTP
488 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
489 Requires:       %{name} = %{version}-%{release}
490
491 %description mod_extforward
492 This module will extract the client's "real" IP from X-Forwarded-For
493 header which is added by Squid or other proxies. It might be useful
494 for servers behind reverse proxy servers.
495
496 %description mod_extforward -l pl.UTF-8
497 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
498 dodawanego przez Squida czy inne proxy. Może być przydatny dla
499 serwerów stojących za odwrotnymi serwerami proxy.
500
501 %package mod_fastcgi
502 Summary:        lighttpd module for FastCGI interface
503 Summary(pl.UTF-8):      Moduł lighttpd do interfejsu FastCGI
504 Group:          Networking/Daemons/HTTP
505 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
506 Requires:       %{name} = %{version}-%{release}
507
508 %description mod_fastcgi
509 The FastCGI interface is the fastest and most secure way to interface
510 external process-handlers like Perl, PHP and your self-written
511 applications.
512
513 %description mod_fastcgi -l pl.UTF-8
514 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
515 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
516 jak Perl, PHP czy własne aplikacje.
517
518 %package mod_h264_streaming
519 Summary:        lighttpd module for h264 streaming
520 Summary(pl.UTF-8):      Moduł lighttpd do emisji strumieni h264
521 License:        CC 3.0 BY-NC-SA
522 Group:          Networking/Daemons/HTTP
523 URL:            http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
524 Requires:       %{name} = %{version}-%{release}
525
526 %description mod_h264_streaming
527 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
528
529 %description mod_h264_streaming -l pl.UTF-8
530 Moduł lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
531
532 %package mod_indexfile
533 Summary:        lighttpd indexfile module
534 Summary(pl.UTF-8):      Moduł indexfile dla lighttpd
535 Group:          Networking/Daemons/HTTP
536 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
537 Requires:       %{name} = %{version}-%{release}
538 Provides:       webserver(indexfile)
539
540 %description mod_indexfile
541 indexfile module.
542
543 %description mod_indexfile -l pl.UTF-8
544 Moduł indexfile.
545
546 %package mod_magnet
547 Summary:        lighttpd powermagnet module
548 Summary(pl.UTF-8):      Moduł powermagnet dla lighttpd
549 Group:          Networking/Daemons/HTTP
550 URL:            http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
551 Requires:       %{name} = %{version}-%{release}
552
553 %description mod_magnet
554 mod_magnet is a module to control the request handling in lighty.
555
556 %description mod_magnet -l pl.UTF-8
557 mod_magnet to moduł sterujący obsługą żądań w lighty.
558
559 %package mod_maxminddb
560 Summary:        lighttpd module
561 Group:          Networking/Daemons/HTTP
562 #URL:           https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
563 Requires:       %{name} = %{version}-%{release}
564
565 %description mod_maxminddb
566
567 %package mod_openssl
568 Summary:        TLS/SSL for lighttpd
569 Group:          Networking/Daemons/HTTP
570 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
571 Requires:       %{name} = %{version}-%{release}
572
573 %description mod_openssl
574 TLS/SSL for lighttpd.
575
576 %package mod_proxy
577 Summary:        lighttpd module for proxying requests
578 Summary(pl.UTF-8):      Moduł lighttpd do przekazywania żądań
579 Group:          Networking/Daemons/HTTP
580 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
581 Requires:       %{name} = %{version}-%{release}
582
583 %description mod_proxy
584 The proxy module a simplest way to connect lighttpd to Java servers
585 which have a HTTP-interface.
586
587 %description mod_proxy -l pl.UTF-8
588 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
589 mającymi interfejs HTTP.
590
591 %package mod_proxy_core
592 Summary:        lighttpd module for proxying requests
593 Summary(pl.UTF-8):      Moduł lighttpd do przekazywania żądań
594 Group:          Networking/Daemons/HTTP
595 URL:            http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
596 Requires:       %{name} = %{version}-%{release}
597
598 %description mod_proxy_core
599 The proxy module a simplest way to connect lighttpd to java servers
600 which have a HTTP-interface.
601
602 This is the new proxy code.
603
604 %description mod_proxy_core -l pl.UTF-8
605 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
606 mającymi interfejs HTTP.
607
608 Ten pakiet zawiera nowy moduł proxy.
609
610 %package mod_redirect
611 Summary:        lighttpd module for URL redirects
612 Summary(pl.UTF-8):      Moduł lighttpd do przekierowań URL-i
613 Group:          Networking/Daemons/HTTP
614 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
615 Requires:       %{name} = %{version}-%{release}
616
617 %description mod_redirect
618 With mod_redirect module you can redirect a set of URLs externally.
619
620 %description mod_redirect -l pl.UTF-8
621 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
622 zewnątrz.
623
624 %package mod_rewrite
625 Summary:        lighttpd module for internal redirects, URL rewrite
626 Summary(pl.UTF-8):      Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
627 Group:          Networking/Daemons/HTTP
628 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
629 Requires:       %{name} = %{version}-%{release}
630 Provides:       webserver(rewrite)
631
632 %description mod_rewrite
633 This module allows you rewrite a set of URLs interally in the
634 webserver BEFORE they are handled.
635
636 %description mod_rewrite -l pl.UTF-8
637 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
638 WWW _przed_ ich obsługą.
639
640 %package mod_rrdtool
641 Summary:        lighttpd module for monitoring traffic and server load
642 Summary(pl.UTF-8):      Moduł lighttpd do monitorowania ruchu i obciążenia serwera
643 Group:          Networking/Daemons/HTTP
644 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
645 Requires:       %{name} = %{version}-%{release}
646 Requires:       rrdtool
647
648 %description mod_rrdtool
649 RRD is a system to store and display time-series data (i.e. network
650 bandwidth, machine-room temperature, server load average).
651
652 With this module you can monitor the traffic and load on the
653 webserver.
654
655 %description mod_rrdtool -l pl.UTF-8
656 RRD to system przechowywania i wyświetlania danych zależnych od czasu
657 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
658 serwera).
659
660 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
661 WWW.
662
663 %package mod_scgi
664 Summary:        lighttpd module for SCGI interface
665 Summary(pl.UTF-8):      Moduł lighttpd do interfejsu SCGI
666 Group:          Networking/Daemons/HTTP
667 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
668 Requires:       %{name} = %{version}-%{release}
669
670 %description mod_scgi
671 SCGI is a fast and simplified CGI interface. It is mostly used by
672 Python + WSGI.
673
674 %description mod_scgi -l pl.UTF-8
675 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
676 Pythona z WSGI.
677
678 %package mod_secdownload
679 Summary:        lighttpd module for secure and fast downloading
680 Summary(pl.UTF-8):      Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
681 Group:          Networking/Daemons/HTTP
682 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
683 Requires:       %{name} = %{version}-%{release}
684
685 %description mod_secdownload
686 With this module you can easily achieve authenticated file requests
687 and a countermeasure against deep-linking.
688
689 %description mod_secdownload -l pl.UTF-8
690 Przy użyciu tego modułu można łatwo umożliwić ściąganie plików z
691 uwierzytelnieniem i zapobiec używaniu bezpośrednich odnośników.
692
693 %package mod_setenv
694 Summary:        lighttpd module for setting conditional request headers
695 Summary(pl.UTF-8):      Moduł lighttpd do ustawiania warunkowych nagłówków żądań
696 Group:          Networking/Daemons/HTTP
697 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
698 Requires:       %{name} = %{version}-%{release}
699 Provides:       webserver(setenv)
700
701 %description mod_setenv
702 mod_setenv is used to add request headers.
703
704 %description mod_setenv -l pl.UTF-8
705 mod_setenv służy do dodawania nagłówków żądań.
706
707 %package mod_simple_vhost
708 Summary:        lighttpd module for simple virtual-hosting
709 Summary(pl.UTF-8):      Moduł lighttpd do prostych hostów wirtualnych
710 Group:          Networking/Daemons/HTTP
711 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
712 Requires:       %{name} = %{version}-%{release}
713 Conflicts:      %{name}-mod_mysql_vhost
714
715 %description mod_simple_vhost
716 lighttpd module for simple virtual-hosting.
717
718 %description mod_simple_vhost -l pl.UTF-8
719 Moduł lighttpd do prostych hostów wirtualnych.
720
721 %package mod_sockproxy
722 Summary:        Transparent socket proxy
723 Group:          Networking/Daemons/HTTP
724 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSockProxy
725 Requires:       %{name} = %{version}-%{release}
726
727 %description mod_sockproxy
728 mod_sockproxy is a transparent socket proxy. For a given $SERVER["socket"]
729 config, connections will be forwarded to backend(s) without any
730 interpretation of the protocol.
731
732 %package mod_ssi
733 Summary:        lighttpd module for server-side includes
734 Summary(pl.UTF-8):      Moduł lighttpd do SSI (server-side includes)
735 Group:          Networking/Daemons/HTTP
736 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
737 Requires:       %{name} = %{version}-%{release}
738
739 %description mod_ssi
740 The module for server-side includes provides a compatability layer for
741 NSCA/Apache SSI.
742
743 %description mod_ssi -l pl.UTF-8
744 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
745 znanym z NSCA/Apache'a.
746
747 %package mod_staticfile
748 Summary:        lighttpd module for static file serving
749 Summary(pl.UTF-8):      Moduł lighttpd do serwowania statycznych plików
750 Group:          Networking/Daemons/HTTP
751 Requires:       %{name} = %{version}-%{release}
752
753 %description mod_staticfile
754 lighttpd module for static file serving.
755
756 %description mod_staticfile -l pl.UTF-8
757 Moduł lighttpd do serwowania statycznych plików.
758
759 %package mod_status
760 Summary:        lighttpd module for displaying server status
761 Summary(pl.UTF-8):      Moduł lighttpd do wyświetlania stanu serwera
762 Group:          Networking/Daemons/HTTP
763 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
764 Requires:       %{name} = %{version}-%{release}
765
766 %description mod_status
767 mod_status displays the server's status and configuration.
768
769 %description mod_status -l pl.UTF-8
770 mod_status wyświetla stan i konfigurację serwera.
771
772 %package mod_uploadprogress
773 Summary:        lighttpd module for upload progress
774 Group:          Networking/Daemons/HTTP
775 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUploadProgress
776 Requires:       %{name} = %{version}-%{release}
777
778 %description mod_uploadprogress
779 This module can be used to track the progress of a current upload.
780
781 %package mod_userdir
782 Summary:        lighttpd module for user homedirs
783 Summary(pl.UTF-8):      Moduł lighttpd obsługujący katalogi domowe użytkowników
784 Group:          Networking/Daemons/HTTP
785 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
786 Requires:       %{name} = %{version}-%{release}
787
788 %description mod_userdir
789 The userdir module provides a simple way to link user-based
790 directories into the global namespace of the webserver.
791
792 %description mod_userdir -l pl.UTF-8
793 Moduł userdir udostępnia prosty sposób włączenia katalogów
794 użytkowników do globalnej przestrzeni nazw serwera WWW.
795
796 %package mod_usertrack
797 Summary:        lighttpd usertrack module
798 Summary(pl.UTF-8):      Moduł usertrack dla lighttpd
799 Group:          Networking/Daemons/HTTP
800 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
801 Requires:       %{name} = %{version}-%{release}
802
803 %description mod_usertrack
804 lighttpd usertrack module.
805
806 %description mod_usertrack -l pl.UTF-8
807 Moduł usertrack dla lighttpd.
808
809 %package mod_vhostdb
810 Summary:        Virtual host database to provide vhost docroot
811 Group:          Networking/Daemons/HTTP
812 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModVhostDB
813 Requires:       %{name} = %{version}-%{release}
814
815 %description mod_vhostdb
816 Virtual host database to provide vhost docroot.
817
818 %package mod_webdav
819 Summary:        WebDAV module for lighttpd
820 Summary(pl.UTF-8):      Moduł WebDAV dla libghttpd
821 Group:          Networking/Daemons/HTTP
822 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
823 Requires:       %{name} = %{version}-%{release}
824
825 %description mod_webdav
826 The WebDAV module is a very minimalistic implementation of RFC 2518.
827 Minimalistic means that not all operations are implementated yet.
828
829 So far we have
830 - PROPFIND
831 - OPTIONS
832 - MKCOL
833 - DELETE
834 - PUT
835 - LOCK (experimental)
836
837 and the usual GET, POST, HEAD from HTTP/1.1.
838
839 So far mounting a webdav resource into Windows XP works and the basic
840 litmus tests are passed.
841
842 %description mod_webdav -l pl.UTF-8
843 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
844 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
845 zaimplementowane. Jak na razie są:
846 - PROPFIND
847 - OPTIONS
848 - MKCOL
849 - DELETE
850 - PUT
851 - LOCK (experimental)
852
853 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
854
855 Jak na razie montowanie zasobu webdav pod Windows XP działa i
856 podstawowe testy lakmusowe przechodzą.
857
858 %package mod_wstunnel
859 Summary:        WebSocket tunnel endpoint
860 Group:          Networking/Daemons/HTTP
861 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWSTunnel
862 Requires:       %{name} = %{version}-%{release}
863
864 %description mod_wstunnel
865 WebSocket tunnel endpoint. This module terminates the websocket tunnel
866 from a client. This module then passes data (without websocket frames)
867 to a backend and encodes responses from backend in websocket frames
868 before sending responses to client.
869
870 %package php-spawned
871 Summary:        PHP support via FastCGI, spawned by lighttpd
872 Summary(pl.UTF-8):      Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
873 Group:          Networking/Daemons/HTTP
874 Requires:       %{name} = %{version}-%{release}
875 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
876 Requires:       php(fcgi)
877 Provides:       webserver(php)
878 Obsoletes:      lighttpd-php-external
879
880 %description php-spawned
881 PHP support via FastCGI, spawned by lighttpd.
882
883 %description php-spawned -l pl.UTF-8
884 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
885
886 %package php-external
887 Summary:        PHP support via FastCGI, spawning controlled externally
888 Summary(pl.UTF-8):      Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
889 Group:          Networking/Daemons/HTTP
890 Requires:       %{name} = %{version}-%{release}
891 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
892 Suggests:       php(fpm)
893 Suggests:       php-fcgi-init
894 Obsoletes:      lighttpd-php-spawned
895
896 %description php-external
897 PHP support via FastCGI, spawning controlled externally.
898
899 %description php-external -l pl.UTF-8
900 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
901
902 %package ssl
903 Summary:        lighttpd support for SSLv2 and SSLv3
904 Summary(pl.UTF-8):      Obsługa SSLv2 i SSLv3 dla lighttpd
905 Group:          Networking/Daemons/HTTP
906 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
907 Requires:       %{name} = %{version}-%{release}
908 Requires:       %{name}-mod_openssl = %{version}-%{release}
909 Suggests:       ca-certificates
910
911 %description ssl
912 lighttpd support for SSLv2 and SSLv3.
913
914 %description ssl -l pl.UTF-8
915 Obsługa SSLv2 i SSLv3 dla lighttpd.
916
917 %package -n monit-rc-lighttpd
918 Summary:        lighttpd support for monit
919 Summary(pl.UTF-8):      Wsparcie lighttpd dla monit
920 Group:          Applications/System
921 Requires:       %{name} = %{version}-%{release}
922 Requires:       monit
923
924 %description -n monit-rc-lighttpd
925 monitrc file for monitoring lighttpd web server.
926
927 %description -n monit-rc-lighttpd -l pl.UTF-8
928 Plik monitrc do monitorowania serwera www lighttpd.
929
930 %prep
931 %setup -q
932 #%patch100 -p1
933 #%patch1 -p1 UPDATE (and submit upstream!) if you need this
934 %{?with_h264_streaming:%patch2 -p1}
935 %patch3 -p1
936 %patch4 -p1
937
938 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
939
940 # build mime.types.conf
941 sh %{SOURCE6} /etc/mime.types
942 cp -p %{SOURCE14} PLD-TODO
943
944 %if "%{pld_release}" == "ac"
945 %{__sed} -i -e 's/ serial_tests//' configure.ac
946 %{__sed} -i -e 's/dist-xz/dist-bzip2/' configure.ac
947 %endif
948
949 %build
950 ver=$(awk -F ',' '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
951 if [ "$ver" != "%{version}" ]; then
952         : configure.ac specifies wrong version
953         exit 1
954 fi
955
956 %{__aclocal} -I m4 -I scripts/m4
957 %{__libtoolize}
958 %{__autoconf}
959 %{__autoheader}
960 %{__automake}
961
962 %configure \
963         %{!?with_ipv6:--disable-ipv6} \
964         %{!?with_largefile:--disable-lfs} \
965         %{?with_brotli:--with-brotli} \
966         %{?with_bzip2:--with-bzip2} \
967         %{?with_dbi:--with-dbi} \
968         %{?with_gamin:--with-gamin} \
969         %{?with_krb5:--with-krb5} \
970         %{?with_ldap:--with-ldap} \
971         %{?with_lua:--with-lua=lua51} \
972         %{?with_maxminddb:--with-maxminddb} \
973         %{?with_mysql:--with-mysql} \
974         %{?with_pgsql:--with-pgsql} \
975         %{?with_ssl:--with-openssl} \
976         %{?with_valgrind:--with-valgrind} \
977         %{?with_webdav_locks:--with-webdav-locks} \
978         %{?with_webdav_props:--with-webdav-props} \
979         %{?with_xattr:--with-attr} \
980         --libdir=%{pkglibdir}
981
982 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
983 %{__make} -j1
984
985 %if %{with tests}
986 export LIGHTTPD_TEST_PORT=$((2048 + RANDOM % 10))
987 %{__make} check
988 %endif
989
990 %install
991 rm -rf $RPM_BUILD_ROOT
992 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
993         $RPM_BUILD_ROOT%{_sysconfdir}/{{conf,vhosts,webapps}.d,ssl} \
994         $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
995         $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
996         $RPM_BUILD_ROOT/var/lib/lighttpd \
997         $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
998
999 %{__make} install \
1000         DESTDIR=$RPM_BUILD_ROOT
1001
1002 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1003 cp -p %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
1004 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
1005 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
1006 cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
1007 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
1008 cp -p doc/systemd/lighttpd.service $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
1009
1010 rm -f $RPM_BUILD_ROOT%{pkglibdir}/*.la
1011
1012 # Install lighttpd images
1013 cp -p %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
1014 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
1015 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
1016
1017 # NOTE: the order of the modules is somewhat important as the modules are
1018 # handled in the way they are specified. mod_rewrite should always be the first
1019 # module, mod_accesslog always the last.
1020
1021 conf_available=$RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1022 conf_enabled=../
1023
1024 cp -p %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
1025 cp -p %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
1026
1027 cp -p %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
1028 cp -p %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
1029 cp -p %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
1030 cp -p %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
1031 cp -p %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
1032
1033 cp -p %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
1034 cp -p %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
1035 cp -p %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
1036 cp -p %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
1037 cp -p %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
1038 %if %{with maxminddb}
1039 cp -p %{SOURCE147} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_maxminddb.conf
1040 %endif
1041 %if %{with ldap}
1042 cp -p %{SOURCE141} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_ldap.conf
1043 %endif
1044 %if %{with h264_streaming}
1045 cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
1046 %endif
1047 cp -p %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
1048 cp -p %{SOURCE142} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_openssl.conf
1049 cp -p %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
1050 cp -p %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
1051 cp -p %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
1052 cp -p %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
1053 cp -p %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
1054 cp -p %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
1055 cp -p %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
1056 cp -p %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
1057 cp -p %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
1058 cp -p %{SOURCE139} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_uploadprogress.conf
1059 cp -p %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
1060 cp -p %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
1061 cp -p %{SOURCE143} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_vhostdb.conf
1062 cp -p %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
1063 cp -p %{SOURCE144} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_wstunnel.conf
1064 cp -p %{SOURCE146} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_sockproxy.conf
1065
1066 cp -p %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
1067 cp -p %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
1068
1069 cp -p %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
1070 cp -p %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
1071
1072 cp -p %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
1073 cp -p %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
1074 cp -p %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
1075
1076 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
1077
1078 install -d $RPM_BUILD_ROOT/etc/tmpwatch
1079
1080 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
1081
1082 %clean
1083 rm -rf $RPM_BUILD_ROOT
1084
1085 %pre
1086 %groupadd -g 109 lighttpd
1087 %groupadd -g 51 http
1088 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
1089 %addusertogroup lighttpd http
1090
1091 %post
1092 for a in access.log error.log breakage.log; do
1093         if [ ! -f /var/log/%{name}/$a ]; then
1094                 touch /var/log/%{name}/$a
1095                 chown lighttpd:lighttpd /var/log/%{name}/$a
1096                 chmod 644 /var/log/%{name}/$a
1097         fi
1098 done
1099 /sbin/chkconfig --add %{name}
1100 %systemd_post %{name}.service
1101
1102 %preun
1103 if [ "$1" = "0" ]; then
1104         %service %{name} stop
1105         /sbin/chkconfig --del %{name}
1106 fi
1107 %systemd_preun %{name}.service
1108
1109 %postun
1110 if [ "$1" = "0" ]; then
1111         %userremove lighttpd
1112         %groupremove lighttpd
1113         %groupremove http
1114 fi
1115 %systemd_reload
1116
1117 %posttrans
1118 # minimizing lighttpd restarts logics. we restart webserver:
1119 #
1120 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1121 # 2. first install of module (post: $1 = 1)
1122 # 2. uninstall of module (postun: $1 = 0)
1123 #
1124 # the strict internal deps between lighttpd modules and
1125 # main package are very important for all this to work.
1126 %service %{name} restart "Lighttpd webserver"
1127 exit 0
1128
1129 # macro called at module post scriptlet
1130 %define module_post \
1131 if [ "$1" = "1" ]; then \
1132         %service -q lighttpd restart \
1133 fi
1134
1135 # macro called at module postun scriptlet
1136 %define module_postun \
1137 if [ "$1" = "0" ]; then \
1138         %service -q lighttpd restart \
1139 fi
1140
1141 # it's sooo annoying to write them
1142 %define module_scripts() \
1143 %post %1 \
1144 %module_post \
1145 \
1146 %postun %1 \
1147 %module_postun
1148
1149 %module_scripts mod_access
1150 %module_scripts mod_accesslog
1151 %module_scripts mod_ajp13
1152 %module_scripts mod_alias
1153 %module_scripts mod_auth
1154 %module_scripts mod_authn_dbi
1155 %module_scripts mod_authn_file
1156 %module_scripts mod_authn_gssapi
1157 %module_scripts mod_authn_ldap
1158 %module_scripts mod_cgi
1159 %module_scripts mod_deflate
1160 %module_scripts mod_dirlisting
1161 %module_scripts mod_evasive
1162 %module_scripts mod_evhost
1163 %module_scripts mod_expire
1164 %module_scripts mod_extforward
1165 %module_scripts mod_fastcgi
1166 %module_scripts mod_h264_streaming
1167 %module_scripts mod_indexfile
1168 %module_scripts mod_magnet
1169 %module_scripts mod_maxminddb
1170 %module_scripts mod_openssl
1171 %module_scripts mod_proxy
1172 %module_scripts mod_redirect
1173 %module_scripts mod_rewrite
1174 %module_scripts mod_scgi
1175 %module_scripts mod_secdownload
1176 %module_scripts mod_setenv
1177 %module_scripts mod_simple_vhost
1178 %module_scripts mod_sockproxy
1179 %module_scripts mod_ssi
1180 %module_scripts mod_staticfile
1181 %module_scripts mod_status
1182 %module_scripts mod_uploadprogress
1183 %module_scripts mod_userdir
1184 %module_scripts mod_usertrack
1185 %module_scripts mod_vhostdb
1186 %module_scripts mod_webdav
1187 %module_scripts mod_wstunnel
1188
1189 %module_scripts php-spawned
1190 %module_scripts php-external
1191
1192 %post mod_rrdtool
1193 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1194         touch /var/lib/lighttpd/lighttpd.rrd
1195         chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1196         chmod 640 /var/lib/lighttpd/lighttpd.rrd
1197 fi
1198 %module_post
1199
1200 %postun mod_rrdtool
1201 %module_postun
1202
1203
1204 %triggerpostun -- %{name} < 1.4.18-10.1
1205 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1206         cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1207         mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1208 fi
1209
1210 %files
1211 %defattr(644,root,root,755)
1212 %doc NEWS README PLD-TODO
1213 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1214 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1215 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1216 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1217 %dir %attr(700,root,root) %{_sysconfdir}/ssl
1218 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1219 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1220 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1221
1222 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1223 %attr(750,root,root) %dir /var/log/archive/%{name}
1224 %dir %attr(751,root,root) /var/log/%{name}
1225 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1226 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1227 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1228 %dir %attr(770,root,lighttpd) /var/run/%{name}
1229 %{systemdtmpfilesdir}/%{name}.conf
1230 %{systemdunitdir}/%{name}.service
1231 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1232 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1233 %attr(755,root,root) %{_sbindir}/lighttpd
1234 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1235 %dir %{pkglibdir}
1236 %{_mandir}/man8/lighttpd.8*
1237 %{_mandir}/man8/lighttpd-angel.8*
1238 %dir %{_lighttpddir}
1239 %dir %{_lighttpddir}/cgi-bin
1240 %dir %{_lighttpddir}/html
1241 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1242 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1243 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1244
1245 %dir %{_datadir}/lighttpd
1246 %dir %{_datadir}/lighttpd/errordocs
1247
1248 # rrdtool database is stored there
1249 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1250
1251 %files mod_access
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1254 %attr(755,root,root) %{pkglibdir}/mod_access.so
1255
1256 %files mod_accesslog
1257 %defattr(644,root,root,755)
1258 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1259 %attr(755,root,root) %{pkglibdir}/mod_accesslog.so
1260
1261 %files mod_alias
1262 %defattr(644,root,root,755)
1263 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1264 %attr(755,root,root) %{pkglibdir}/mod_alias.so
1265
1266 %files mod_ajp13
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{pkglibdir}/mod_ajp13.so
1269
1270 %files mod_auth
1271 %defattr(644,root,root,755)
1272 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1273 %attr(755,root,root) %{pkglibdir}/mod_auth.so
1274
1275 %if %{with dbi}
1276 %files mod_authn_dbi
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{pkglibdir}/mod_authn_dbi.so
1279 %endif
1280
1281 %files mod_authn_file
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{pkglibdir}/mod_authn_file.so
1284
1285 %if %{with krb5}
1286 %files mod_authn_gssapi
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{pkglibdir}/mod_authn_gssapi.so
1289 %endif
1290
1291 %if %{with ldap}
1292 %files mod_authn_ldap
1293 %defattr(644,root,root,755)
1294 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_ldap.conf
1295 %attr(755,root,root) %{pkglibdir}/mod_authn_ldap.so
1296 %endif
1297
1298 %files mod_cgi
1299 %defattr(644,root,root,755)
1300 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1301 %attr(755,root,root) %{pkglibdir}/mod_cgi.so
1302
1303 %files mod_cgi_php
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1306
1307 %files mod_deflate
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1310 %attr(755,root,root) %{pkglibdir}/mod_deflate.so
1311
1312 %files mod_dirlisting
1313 %defattr(644,root,root,755)
1314 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1315 %attr(755,root,root) %{pkglibdir}/mod_dirlisting.so
1316
1317 %files mod_evasive
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1320 %attr(755,root,root) %{pkglibdir}/mod_evasive.so
1321
1322 %files mod_evhost
1323 %defattr(644,root,root,755)
1324 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1325 %attr(755,root,root) %{pkglibdir}/mod_evhost.so
1326
1327 %files mod_expire
1328 %defattr(644,root,root,755)
1329 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1330 %attr(755,root,root) %{pkglibdir}/mod_expire.so
1331
1332 %files mod_extforward
1333 %defattr(644,root,root,755)
1334 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1335 %attr(755,root,root) %{pkglibdir}/mod_extforward.so
1336
1337 %files mod_fastcgi
1338 %defattr(644,root,root,755)
1339 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1340 %attr(755,root,root) %{pkglibdir}/mod_fastcgi.so
1341
1342 %if %{with h264_streaming}
1343 %files mod_h264_streaming
1344 %defattr(644,root,root,755)
1345 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1346 %attr(755,root,root) %{pkglibdir}/mod_h264_streaming.so
1347 %endif
1348
1349 %files mod_indexfile
1350 %defattr(644,root,root,755)
1351 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1352 %attr(755,root,root) %{pkglibdir}/mod_indexfile.so
1353
1354 %files mod_magnet
1355 %defattr(644,root,root,755)
1356 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1357 %attr(755,root,root) %{pkglibdir}/mod_magnet.so
1358
1359 %if %{with maxminddb}
1360 %files mod_maxminddb
1361 %defattr(644,root,root,755)
1362 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_maxminddb.conf
1363 %attr(755,root,root) %{pkglibdir}/mod_maxminddb.so
1364 %endif
1365
1366 %files mod_proxy
1367 %defattr(644,root,root,755)
1368 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1369 %attr(755,root,root) %{pkglibdir}/mod_proxy.so
1370
1371 %files mod_openssl
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_openssl.conf
1374 %attr(755,root,root) %{pkglibdir}/mod_openssl.so
1375
1376 %files mod_redirect
1377 %defattr(644,root,root,755)
1378 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1379 %attr(755,root,root) %{pkglibdir}/mod_redirect.so
1380
1381 %files mod_rewrite
1382 %defattr(644,root,root,755)
1383 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1384 %attr(755,root,root) %{pkglibdir}/mod_rewrite.so
1385
1386 %files mod_rrdtool
1387 %defattr(644,root,root,755)
1388 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1389 %attr(755,root,root) %{pkglibdir}/mod_rrdtool.so
1390 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1391
1392 %files mod_scgi
1393 %defattr(644,root,root,755)
1394 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1395 %attr(755,root,root) %{pkglibdir}/mod_scgi.so
1396
1397 %files mod_secdownload
1398 %defattr(644,root,root,755)
1399 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1400 %attr(755,root,root) %{pkglibdir}/mod_secdownload.so
1401
1402 %files mod_setenv
1403 %defattr(644,root,root,755)
1404 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1405 %attr(755,root,root) %{pkglibdir}/mod_setenv.so
1406
1407 %files mod_simple_vhost
1408 %defattr(644,root,root,755)
1409 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1410 %attr(755,root,root) %{pkglibdir}/mod_simple_vhost.so
1411
1412 %files mod_sockproxy
1413 %defattr(644,root,root,755)
1414 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_sockproxy.conf
1415 %attr(755,root,root) %{pkglibdir}/mod_sockproxy.so
1416
1417 %files mod_ssi
1418 %defattr(644,root,root,755)
1419 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1420 %attr(755,root,root) %{pkglibdir}/mod_ssi.so
1421
1422 %files mod_staticfile
1423 %defattr(644,root,root,755)
1424 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1425 %attr(755,root,root) %{pkglibdir}/mod_staticfile.so
1426
1427 %files mod_status
1428 %defattr(644,root,root,755)
1429 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1430 %attr(755,root,root) %{pkglibdir}/mod_status.so
1431
1432 %files mod_uploadprogress
1433 %defattr(644,root,root,755)
1434 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_uploadprogress.conf
1435 %attr(755,root,root) %{pkglibdir}/mod_uploadprogress.so
1436
1437 %files mod_userdir
1438 %defattr(644,root,root,755)
1439 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1440 %attr(755,root,root) %{pkglibdir}/mod_userdir.so
1441
1442 %files mod_usertrack
1443 %defattr(644,root,root,755)
1444 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1445 %attr(755,root,root) %{pkglibdir}/mod_usertrack.so
1446
1447 %files mod_vhostdb
1448 %defattr(644,root,root,755)
1449 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_vhostdb.conf
1450 %attr(755,root,root) %{pkglibdir}/mod_vhostdb.so
1451 # TODO: subpackages
1452 %if %{with dbi}
1453 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_dbi.so
1454 %endif
1455 %if %{with ldap}
1456 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_ldap.so
1457 %endif
1458 %if %{with mysql}
1459 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_mysql.so
1460 %endif
1461 %if %{with pgsql}
1462 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_pgsql.so
1463 %endif
1464
1465 %files mod_webdav
1466 %defattr(644,root,root,755)
1467 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1468 %attr(755,root,root) %{pkglibdir}/mod_webdav.so
1469
1470 %files mod_wstunnel
1471 %defattr(644,root,root,755)
1472 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_wstunnel.conf
1473 %attr(755,root,root) %{pkglibdir}/mod_wstunnel.so
1474
1475 %files php-spawned
1476 %defattr(644,root,root,755)
1477 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1478
1479 %files php-external
1480 %defattr(644,root,root,755)
1481 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1482
1483 %files ssl
1484 %defattr(644,root,root,755)
1485 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1486
1487 %files -n monit-rc-lighttpd
1488 %defattr(644,root,root,755)
1489 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
This page took 0.178886 seconds and 2 git commands to generate.