]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- release 8: removed trash from _datadir/manual
[packages/apache.git] / apache.spec
1 # TODO:
2 # - mod_case_filter
3 # - mod_case_filter_in
4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
6 # - mod_ext_filter
7 # - mod_echo
8 # - config examples for mod_*
9 # - check if all modules are (de)registered in %%post/%%postun
10 # - find smart way to deregister module if its moved from main package
11 #   to subpackage (maybe test -f ?)
12 # - add %%post/%%postun to suexec
13 # - --with-suexec-gidmin=500 or =100 ?
14 # - --with-suexec-uidmin=500 or =1000 ?
15 # - subpackages for MPMs
16 # - check if all modules (*.so) are exactly the same for different MPMs
17 #
18 # Conditional build:
19 %bcond_without  ssl             # build without SSL support
20 %bcond_without  ldap            # build without LDAP support
21 #
22 %include        /usr/lib/rpm/macros.perl
23 # this is internal macro, don't change to %%apache_modules_api
24 %define         _apache_modules_api 20020903
25 Summary:        The most widely used Web server on the Internet
26 Summary(de):    Leading World Wide Web-Server
27 Summary(es):    Servidor HTTPD para proveer servicios WWW
28 Summary(fr):    Le serveur web le plus utilise sur Internet
29 Summary(pl):    Serwer WWW (World Wide Web)
30 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
31 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
32 Summary(tr):    Lider WWW tarayýcý
33 Name:           apache
34 Version:        2.0.52
35 Release:        8
36 License:        Apache Group License
37 Group:          Networking/Daemons
38 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
39 # Source0-md5:  eba528fa8613dc5bfb0615a69c11f053
40 Source1:        %{name}.init
41 Source2:        %{name}.logrotate
42 Source3:        %{name}-icons.tar.gz
43 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
44 Source4:        %{name}.sysconfig
45 Source5:        %{name}.monitrc
46 Source6:        %{name}-httpd.conf
47 Source8:        %{name}-mod_vhost_alias.conf
48 Source9:        %{name}-mod_status.conf
49 Source10:       %{name}-mod_proxy.conf
50 Source11:       %{name}-mod_info.conf
51 Source12:       %{name}-mod_ssl.conf
52 Source13:       %{name}-mod_dav.conf
53 Source14:       %{name}-mod_dir.conf
54 Source15:       %{name}-mod_suexec.conf
55 Source16:       %{name}-mod_deflate.conf
56 Source17:       %{name}-mod_autoindex.conf
57 Source20:       %{name}-server.crt
58 Source21:       %{name}-server.key
59 Patch0:         %{name}-configdir_skip_backups.patch
60 Patch1:         %{name}-layout.patch
61 Patch2:         %{name}-suexec.patch
62 Patch3:         %{name}-nolibs.patch
63 Patch4:         %{name}-apr.patch
64 # project homepage http://www.metux.de/mpm/en/?patpage=index
65 # http://www.sannes.org/metuxmpm/
66 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
67 Patch6:         httpd-2.0.40-xfsz.patch
68 Patch7:         httpd-2.0.45-davetag.patch
69 Patch8:         httpd-2.0.45-encode.patch
70 Patch9:         httpd-2.0.45-export.patch
71 Patch10:        httpd-2.0.46-dav401dest.patch
72 Patch11:        httpd-2.0.46-md5dig.patch
73 Patch13:        httpd-2.0.46-sslmutex.patch
74 Patch14:        httpd-2.0.47-sslcleanup.patch
75 Patch15:        httpd-2.0.48-corelimit.patch
76 Patch16:        httpd-2.0.48-debuglog.patch
77 Patch17:        httpd-2.0.48-dynlimit.patch
78 Patch18:        httpd-2.0.48-sslpphrase.patch
79 Patch19:        %{name}-v6only-ENOPROTOOPT.patch
80 Patch20:        %{name}-conffile-path.patch
81 Patch21:        %{name}-apxs.patch
82 # http://www.telana.com/peruser.php
83 Patch22:        httpd-2.0.50-peruser-r3.patch
84 Patch23:        %{name}-apr1.patch
85 URL:            http://httpd.apache.org/
86 BuildRequires:  automake
87 BuildRequires:  apr-devel >= 1:1.0.0
88 BuildRequires:  apr-util-devel >= 1:1.0.0
89 BuildRequires:  db-devel
90 BuildRequires:  expat-devel
91 BuildRequires:  gdbm-devel >= 1.8.3
92 BuildRequires:  libtool >= 2:1.5
93 %{?with_ldap:BuildRequires:     openldap-devel}
94 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
95 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
96 BuildRequires:  perl-devel >= 1:5.6
97 BuildRequires:  rpm-perlprov >= 4.1-13
98 BuildRequires:  rpmbuild(macros) >= 1.159
99 BuildRequires:  zlib-devel
100 PreReq:         perl-base
101 PreReq:         rc-scripts
102 Requires(pre):  /bin/id
103 Requires(pre):  /usr/bin/getgid
104 Requires(pre):  /usr/sbin/groupadd
105 Requires(pre):  /usr/sbin/useradd
106 Requires(postun):       /usr/sbin/userdel
107 Requires(postun):       /usr/sbin/groupdel
108 Requires(post,preun):   /sbin/chkconfig
109 Requires(post,postun):  /sbin/ldconfig
110 Requires(post): fileutils
111 Requires:       /etc/mime.types
112 Requires:       apr >= 1:1.0.0-2
113 Requires:       %{name}-apxs = %{version}-%{release}
114 Requires:       mailcap
115 Requires:       psmisc >= 20.1
116 Provides:       apache(modules-api) = %{_apache_modules_api}
117 Provides:       group(http)
118 Provides:       httpd = %{version}
119 Provides:       user(http)
120 Provides:       webserver = apache
121 Obsoletes:      apache-extra
122 Obsoletes:      apache6
123 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
124
125 %define         _sysconfdir     /etc/httpd
126 %define         _includedir     %{_prefix}/include/apache
127 %define         _datadir        /home/services/httpd
128 %define         _libexecdir     %{_libdir}/apache
129
130 %description
131 Apache is a powerful, full-featured, efficient and freely-available
132 Web server. Apache is also the most popular Web server on the
133 Internet.
134
135 %description -l de
136 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
137 erhältlich und weit verbreitet ist.
138
139 %description -l es
140 El servidor web Apache es el mejor servidor gratuito disponible en el
141 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
142 que browsers web vean documentos y sometan datos remotamente. Puede
143 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
144 caché, y nos ofrece características como monitor de estado, conversión
145 dinámica de tipo, y otras más.
146
147 %description -l fr
148 Apache est un serveur Web puissant, efficace, gratuit et complet.
149 Apache est aussi le serveur Web le plus populaire sur Internet.
150
151 %description -l pl
152 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
153 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
154
155 %description -l pt_BR
156 O servidor web Apache é o melhor servidor gratuito disponível no mundo
157 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
158 que browsers web vejam documentos e submetam dados remotamente. Ele
159 pode executar várias funções diferentes, incluindo funções de proxy e
160 cache, e oferece características como monitor de status, conversão
161 dinâmica de tipo, e mais.
162
163 %description -l ru
164 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
165 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
166
167 %description -l tr
168 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
169 sunucusudur.
170
171 %package suexec
172 Summary:        Apache suexec wrapper
173 Summary(pl):    Wrapper suexec do serwera WWW Apache
174 Group:          Development/Tools
175 Requires:       %{name} = %{version}-%{release}
176
177 %description suexec
178 The suEXEC feature provides Apache users the ability to run CGI and
179 SSI programs under user IDs different from the user ID of the calling
180 web-server. Normally, when a CGI or SSI program executes, it runs as
181 the same user who is running the web server.
182
183 %description suexec -l pl
184 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
185 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
186 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
187
188 %package index
189 Summary:        Apache index.html* files
190 Summary(pl):    Pliki Apache index.html*
191 Group:          Documentation
192 Requires:       %{name} = %{version}-%{release}
193 Obsoletes:      indexhtml
194
195 %description index
196 Apache index.html* files.
197
198 %description index -l pl
199 Pliki Apache index.html*.
200
201 %package doc
202 Summary:        Apache manual
203 Summary(pl):    Podrêcznik Apache'a
204 Group:          Documentation
205 Requires:       %{name} = %{version}-%{release}
206
207 %description doc
208 Apache manual.
209
210 %description doc -l pl
211 Podrêcznik Apache'a.
212
213 %package apxs
214 Summary:        APache eXtenSion tool
215 Summary(pl):    Narzêdzie do rozszerzania Apache'a
216 Group:          Development/Tools
217
218 %description apxs
219 APache eXtenSion tool.
220
221 %description apxs -l pl
222 Narzêdzie do rozszerzania Apache'a.
223  
224 %package devel
225 Summary:        Module development tools for the Apache web server
226 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
227 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
228 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
229 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
230 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
231 Group:          Networking/Utilities
232 Requires:       %{name}-apxs = %{version}-%{release}
233 Requires:       apr-util-devel >= 1:1.0.0
234 Requires:       libtool
235 Obsoletes:      apache-static
236
237 %description devel
238 The apache-devel package contains header files for Apache.
239
240 %description devel -l es
241 Este paquete contiene los archivos de inclusión para el Apache, bien
242 como el utilitario apxs para la construcción de objetos compartidos
243 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
244 o desarrollar módulos adicionales para Apache.
245
246 %description devel -l fr
247 Le package apache-devel contient le code source pour le serveur Web
248 Apache et le binaire APXS dont vous aurez besoin pour construire des
249 Objets Dynamiques Partages (DSOs) pour Apache.
250
251 %description devel -l pl
252 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
253 (Dynamic Shared Objects) dla Apache.
254
255 %description devel -l ru
256 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
257
258 %description devel -l pt_BR
259 Este pacote contem os arquivos de inclusão para o Apache, bem como o
260 utilitário apxs para a construção de objetos compartilhados dinâmicos
261 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
262 desenvolver módulos adicionais para o Apache.
263
264 %package mod_actions
265 Summary:        Apache module for run CGI whenever a file of a certain type is requested
266 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
267 Group:          Networking/Daemons
268 Requires:       %{name} = %{version}-%{release}
269
270 %description mod_actions
271 This package contains mod_actions module. This module lets you run CGI
272 scripts whenever a file of a certain type is requested. This makes it
273 much easier to execute scripts that process files.
274
275 %description mod_actions -l pl
276 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
277 ¿±danie pobrania pliku okre¶lonego typu.
278
279 %package mod_auth
280 Summary:        Apache module with user authentication using textual files
281 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
282 Group:          Networking/Daemons
283 Requires:       %{name} = %{version}-%{release}
284
285 %description mod_auth
286 This package contains mod_auth module. It provides for user
287 authentication using textual files.
288
289 %description mod_auth -l pl
290 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
291 u¿ytkowników na podstawie plików tekstowych.
292
293 %package mod_auth_anon
294 Summary:        Apache module with "anonymous" user access authentication
295 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
296 Group:          Networking/Daemons
297 Requires:       %{name} = %{version}-%{release}
298
299 %description mod_auth_anon
300 This package contains mod_auth_anon module. It allows "anonymous" user
301 access to authenticated areas. It does access control in a manner
302 similar to anonymous-ftp sites; i.e. have a 'magic' user id
303 'anonymous' and the email address as a password. These email addresses
304 can be logged. Combined with other (database) access control methods,
305 this allows for effective user tracking and customization according to
306 a user profile while still keeping the site open for 'unregistered'
307 users. One advantage of using Auth-based user tracking is that, unlike
308 magic-cookies and funny URL pre/postfixes, it is completely browser
309 independent and it allows users to share URLs.
310
311 %description mod_auth_anon -l pl
312 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
313 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
314 adresu pocztowego u¿ytkownika).
315
316 %package mod_auth_ldap
317 Summary:        Apache module with LDAP user access authentication
318 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
319 Group:          Networking/Daemons
320 Requires:       %{name} = %{version}-%{release}
321 Requires:       %{name}-mod_ldap = %{version}-%{release}
322
323 %description mod_auth_ldap
324 Apache module with LDAP user access authentication.
325
326 %description mod_auth_ldap -l pl
327 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
328
329 %package mod_auth_dbm
330 Summary:        Apache module with user authentication which uses DBM files
331 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
332 Group:          Networking/Daemons
333 Obsoletes:      apache-mod_auth_db
334 Requires:       %{name} = %{version}-%{release}
335
336 %description mod_auth_dbm
337 This module provides for HTTP Basic Authentication, where the
338 usernames and passwords are stored in DBM type database files. It is
339 an alternative to the plain text password files provided by mod_auth.
340
341 %description mod_auth_dbm -l pl
342 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
343 ich has³a s± trzymane w plikach bazy typu DBM.
344
345 %package mod_auth_digest
346 Summary:        Apache user authentication module using MD5 Digest Authentication
347 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
348 Group:          Networking/Daemons
349 Obsoletes:      apache-mod_digest
350 Requires:       %{name} = %{version}-%{release}
351
352 %description mod_auth_digest
353 This package contains mod_digest module. It provides user
354 authentication using MD5 Digest Authentication.
355
356 %description mod_auth_digest -l pl
357 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
358 Authentication.
359
360 %package mod_autoindex
361 Summary:        Apache module - display index of files
362 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
363 Group:          Networking/Daemons
364 Requires:       %{name} = %{version}-%{release}
365
366 %description mod_autoindex
367 This package contains mod_autoindex module. It provides
368 generation index of files.
369
370 %description mod_autoindex -l pl
371 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
372
373 %package mod_cache
374 Summary:        Content cache keyed to URIs
375 Summary(pl):    Pamiêæ podrêczna wg klucza URI
376 Group:          Networking/Daemons
377 Requires:       %{name} = %{version}-%{release}
378
379 %description mod_cache
380 mod_cache implements an RFC 2616 compliant HTTP content cache that can
381 be used to cache either local or proxied content. Two storage
382 management modules are included in the base Apache distribution:
383 mod_disk_cache implements a disk based storage manager (generally used
384 for proxy caching) and mod_mem_cache implements an in-memory based
385 storage manager (primarily useful for caching local content).
386
387 %description mod_cache -l pl
388 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
389 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
390 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
391 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
392 (u¿ywane do cacheowania proxy).
393
394 %package mod_cgid
395 Summary:        Execution of CGI scripts using an external CGI daemon
396 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
397 Group:          Networking/Daemons
398 Requires:       %{name} = %{version}-%{release}
399
400 %description mod_cgid
401 Execution of CGI scripts using an external CGI daemon.
402
403 %description mod_cgid -l pl
404 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
405
406 %package mod_charset_lite
407 Summary:        Specify character set translation or recoding
408 Summary(pl):    Translacja lub przekodowywanie znaków
409 Group:          Networking/Daemons
410 Requires:       %{name} = %{version}-%{release}
411
412 %description mod_charset_lite
413 Specify character set translation or recoding.
414
415 %description mod_charset_lite -l pl
416 Translacja lub przekodowywanie znaków.
417
418 %package mod_dav
419 Summary:        Apache module - Distributed Authoring and Versioning
420 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
421 Group:          Networking/Daemons
422 Requires:       %{name} = %{version}-%{release}
423
424 %description mod_dav
425 This module provides class 1 and class 2 WebDAV ('Web-based
426 Distributed Authoring and Versioning') functionality for Apache. This
427 extension to the HTTP protocol allows creating, moving, copying, and
428 deleting resources and collections on a remote web server.
429
430 %description mod_dav -l pl
431 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
432 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
433 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
434 zdalnym serwerze WWW.
435
436 %package mod_deflate
437 Summary:        Apache module: Compress content before it is delivered to the client
438 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
439 Group:          Networking/Daemons
440 Requires:       %{name} = %{version}-%{release}
441
442 %description mod_deflate
443 Compress content before it is delivered to the client.
444
445 %description mod_deflate -l pl
446 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
447
448 %package mod_dir
449 Summary:        Apache module for "trailing slash" redirects and serving directory index files
450 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
451 Group:          Networking/Daemons
452 Requires:       %{name} = %{version}-%{release}
453
454 %description mod_dir
455 This package contains mod_dir which provides "trailing slash"
456 redirects and serving directory index files.
457
458 %description mod_dir -l pl
459 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
460 katalogu.
461
462 %package mod_headers
463 Summary:        Apache module allows for the customization of HTTP response headers
464 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
465 Group:          Networking/Daemons
466 Requires:       %{name} = %{version}-%{release}
467
468 %description mod_headers
469 This package contains mod_headers module. The module allows for the
470 customization of HTTP response headers. Headers can be merged,
471 replaced or removed.
472
473 %description mod_headers -l pl
474 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
475 wysy³anych do przegl±darki.
476
477 %package mod_imap
478 Summary:        Apache module with imap-file handler
479 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
480 Group:          Networking/Daemons
481 Requires:       %{name} = %{version}-%{release}
482
483 %description mod_imap
484 This package contains mod_imap module. It provides for .map files,
485 replacing the functionality of the imagemap CGI program. Any directory
486 or document type configured to use the handler imap-file.
487
488 %description mod_imap -l pl
489 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
490
491 %package mod_info
492 Summary:        Apache module with comprehensive overview of the server configuration
493 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
494 Group:          Networking/Daemons
495 Requires:       %{name} = %{version}-%{release}
496
497 %description mod_info
498 This package contains mod_info module. It provides a comprehensive
499 overview of the server configuration including all installed modules
500 and directives in the configuration files.
501
502 %description mod_info -l pl
503 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
504 zainstalowanych modu³ach itp.
505
506 %package mod_ldap
507 Summary:        Apache module to use LDAP connections
508 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
509 Group:          Networking/Daemons
510 Requires:       %{name} = %{version}-%{release}
511
512 %description mod_ldap
513 Apache module to use LDAP connections.
514
515 %description mod_ldap -l pl
516 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
517
518 %package mod_proxy
519 Summary:        Apache module with Web proxy
520 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
521 Group:          Networking/Daemons
522 Requires:       %{name} = %{version}-%{release}
523
524 %description mod_proxy
525 This package contains module with implementation a proxy/cache for
526 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
527 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
528 connect to other proxy modules for these and other protocols.
529
530 %description mod_proxy -l pl
531 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
532 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
533 HTTP/1.0 i HTTP/1.1.
534
535 %package mod_rewrite
536 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
537 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
538 Group:          Networking/Daemons
539 Requires:       %{name} = %{version}-%{release}
540
541 %description mod_rewrite
542 This package contains It provides a rule-based rewriting engine to
543 rewrite requested URLs on the fly.
544
545 %description mod_rewrite -l pl
546 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
547
548 %package mod_ssl
549 Summary:        SSL/TLS module for the Apache HTTP server
550 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
551 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
552 Group:          Networking/Daemons
553 Epoch:          1
554 Requires:       %{name} = %{version}-%{release}
555
556 %description mod_ssl
557 The mod_ssl module provides strong cryptography for the Apache Web
558 server via the Secure Sockets Layer (SSL) and Transport Layer Security
559 (TLS) protocols.
560
561 %description mod_ssl -l pl
562 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
563 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
564 Security).
565
566 %description mod_ssl -l ru
567 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
568 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
569
570 %package mod_status
571 Summary:        Server status report module for Apache
572 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
573 Group:          Networking/Daemons
574 Requires:       %{name} = %{version}-%{release}
575
576 %description mod_status
577 The Status module allows a server administrator to find out how well
578 their server is performing. A HTML page is presented that gives the
579 current server statistics in an easily readable form. If required this
580 page can be made to automatically refresh (given a compatible
581 browser).
582
583 %description mod_status -l pl
584 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
585 pracy serwera apache (w postaci strony HTML).
586
587 %package mod_usertrack
588 Summary:        Apache module for user tracking using cookies
589 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
590 Group:          Networking/Daemons
591 Requires:       %{name} = %{version}-%{release}
592
593 %description mod_usertrack
594 This package contains the user tracking module which did its own
595 logging using CookieLog directory. This module allow multiple log
596 files.
597
598 %description mod_usertrack -l pl
599 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
600
601 %package mod_vhost_alias
602 Summary:        Apache module for dynamically configured mass virtual hosting
603 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
604 Group:          Networking/Daemons
605 Requires:       %{name} = %{version}-%{release}
606
607 %description mod_vhost_alias
608 This package contains the mod_vhost_alias. It provides support for
609 dynamically configured mass virtual hosting.
610
611 %description mod_vhost_alias -l pl
612 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
613 wirtualnych.
614
615 %package mod_unique_id
616 Summary:        Apache module which provides a magic token for each request
617 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
618 Group:          Networking/Daemons
619 Requires:       %{name} = %{version}-%{release}
620
621 %description mod_unique_id
622 This package contains the mod_unique_id. This module provides a magic
623 token for each request which is guaranteed to be unique across "all"
624 requests under very specific conditions. The unique identifier is even
625 unique across multiple machines in a properly configured cluster of
626 machines. The environment variable UNIQUE_ID is set to the identifier
627 for each request. Unique identifiers are useful for various reasons
628 which are beyond the scope of this document.
629
630 %description mod_unique_id -l pl
631 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
632 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
633 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
634 UNIQUE_ID.
635
636 %package mod_expires
637 Summary:        Apache module which generates Expires HTTP headers
638 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
639 Group:          Networking/Daemons
640 Requires:       %{name} = %{version}-%{release}
641
642 %description mod_expires
643 This module controls the setting of the Expires HTTP header in server
644 responses. The expiration date can set to be relative to either the
645 time the source file was last modified, or to the time of the client
646 access.
647
648 %description mod_expires -l pl
649 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
650 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
651 ¼ród³owych lub odwo³ania klienta.
652
653 %package mod_file_cache
654 Summary:        Apache module: caches a static list of files in memory
655 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
656 Group:          Networking/Daemons
657 Obsoletes:      apache-mmap_static
658 Requires:       %{name} = %{version}-%{release}
659
660 %description mod_file_cache
661 Caches a static list of files in memory.
662
663 %description mod_file_cache -l pl
664 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
665
666 %prep
667 %setup -q -n httpd-%{version}
668 %patch0 -p1
669 %patch1 -p1
670 %patch2 -p1
671 %patch3 -p1
672 %patch4 -p1
673 %patch5 -p1
674 %patch7 -p1
675 %patch8 -p1
676 %patch9 -p1
677 %patch10 -p1
678 %patch11 -p1
679 %patch13 -p1
680 %patch14 -p1
681 %patch15 -p1
682 %patch16 -p1
683 %patch17 -p1
684 %patch18 -p1
685 %patch19 -p1
686 %patch20 -p1
687 %patch21 -p1
688 %patch22 -p1
689 %patch23 -p1
690
691 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
692 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
693 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
694
695 %build
696 # sanity check
697 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
698 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
699         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
700         exit 1
701 fi
702 ./buildconf
703 rm -rf srclib/apr*
704 # Before configure; fix location of build dir in generated apxs
705 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
706         support/apxs.in
707 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
708 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
709 install /usr/share/automake/config.* build/
710 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
711 for mpm in metuxmpm peruser perchild prefork worker; do
712 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
713 ../%configure \
714         --prefix=%{_sysconfdir} \
715         --exec-prefix=%{_libexecdir} \
716         --with-installbuilddir=%{_libdir}/apache/build \
717         --enable-layout=PLD \
718         --enable-modules=all \
719         --enable-mods-shared=all \
720         --enable-auth-anon \
721         --enable-auth-dbm \
722         --enable-auth-digest \
723         --enable-file-cache \
724         --enable-echo \
725         --enable-cache \
726         --enable-charset-lite \
727         --enable-mem-cache \
728         --enable-disk-cache \
729         --enable-ext-filter \
730         --enable-case-filter \
731         --enable-case-filter-in \
732         --enable-deflate \
733         --with-z=%{_prefix} \
734         --enable-mime-magic \
735         --enable-cern-meta \
736         --enable-expires \
737         --enable-headers \
738         --enable-usertrack \
739         --enable-unique-id \
740         --enable-proxy \
741         --enable-proxy-connect \
742         --enable-proxy-ftp \
743         --enable-proxy-http \
744         %{?with_ssl:--enable-ssl} \
745         --enable-optional-hook-export \
746         --enable-optional-hook-import \
747         --enable-optional-fn-import \
748         --enable-optional-fn-export \
749         %{?with_ldap:--enable-ldap} \
750         %{?with_ldap:--enable-auth-ldap} \
751         --enable-dav \
752         --enable-info \
753         --enable-suexec \
754         --enable-cgi \
755         --enable-cgid \
756         --enable-dav-fs \
757         --enable-vhost-alias \
758         --enable-speling \
759         --enable-rewrite \
760         --enable-so \
761         --with-program-name=httpd.${mpm} \
762         --with-mpm=${mpm} \
763 %ifarch %{ix86}
764 %ifnarch i386 i486
765         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
766 %endif
767 %endif
768         --with-suexec-bin=%{_sbindir}/suexec \
769         --with-suexec-caller=http \
770         --with-suexec-docroot=%{_datadir} \
771         --with-suexec-logfile=/var/log/httpd/suexec_log \
772         --with-suexec-uidmin=500 \
773         --with-suexec-gidmin=500 \
774         --with-suexec-umask=077 \
775         --with-apr=%{_bindir}/apr-1-config \
776         --with-apr-util=%{_bindir}/apu-1-config
777 %{__make}
778 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
779
780 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
781
782 cd ..
783 done
784
785 for mpm in metuxmpm peruser perchild worker; do
786         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
787                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
788                 echo "Build failed."
789                 exit 1
790         fi
791 done
792
793 %install
794 rm -rf $RPM_BUILD_ROOT
795 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
796         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
797
798 # prefork is default one
799 %{__make} -C buildmpm-prefork install \
800         DESTDIR=$RPM_BUILD_ROOT \
801         installbuilddir=%{_sysconfdir}/build \
802         prefix=%{_sysconfdir}/httpd \
803         libexecdir=%{_libdir}/%{name} \
804         iconsdir=%{_datadir}/icons \
805         errordir=%{_datadir}/error \
806         htdocsdir=%{_datadir}/html \
807         manualdir=%{_datadir}/manual \
808         cgidir=%{_datadir}/cgi-bin \
809         runtimedir=%{_var}/run \
810         logdir=%{_var}/log/httpd \
811         proxycachedir=%{_var}/cache/httpd
812
813 for mpm in metuxmpm peruser perchild worker; do
814         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
815         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
816 done
817
818 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
819
820 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
821 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
822 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
823
824 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
825 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
826
827 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
828         $RPM_BUILD_ROOT%{_libexecdir}/build
829
830 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
831 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
832 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
833 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
834 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
835 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
836
837 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
838 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
839 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
840 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
841
842 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
843
844 %if %{with ssl}
845 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
846 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
847 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
848 %endif
849
850 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
851
852 install %{SOURCE6} $CFG/10_httpd.conf
853 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
854 install %{SOURCE9} $CFG/25_mod_status.conf
855 install %{SOURCE10} $CFG/30_mod_proxy.conf
856 install %{SOURCE11} $CFG/35_mod_info.conf
857 install %{SOURCE12} $CFG/40_mod_ssl.conf
858 install %{SOURCE13} $CFG/45_mod_dav.conf
859 install %{SOURCE14} $CFG/59_mod_dir.conf
860 install %{SOURCE15} $CFG/13_mod_suexec.conf
861 install %{SOURCE16} $CFG/58_mod_deflate.conf
862 install %{SOURCE17} $CFG/57_mod_autoindex.conf
863
864 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
865 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
866 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
867 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
868 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
869 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
870 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
871 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
872 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
873 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
874 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
875 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
876 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
877 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
878 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
879 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
880 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
881 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
882 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
883
884 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
885 # let's remove trash (yes, *.html without lang suffix also contain trash)
886 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
887         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
888         | xargs rm -f
889
890 %clean
891 rm -rf $RPM_BUILD_ROOT
892
893 %pre
894 if [ -n "`getgid http`" ]; then
895         if [ "`getgid http`" != "51" ]; then
896                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
897                 exit 1
898         fi
899 else
900         /usr/sbin/groupadd -g 51 -r -f http
901 fi
902 if [ -n "`id -u http 2>/dev/null`" ]; then
903         if [ "`id -u http`" != "51" ]; then
904                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
905                 exit 1
906         fi
907 else
908         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
909 fi
910
911 %post
912 /sbin/ldconfig
913 /sbin/chkconfig --add httpd
914 umask 137
915 touch /var/log/httpd/{access,error,agent,referer}_log
916 if [ -f /var/lock/subsys/httpd ]; then
917         /etc/rc.d/init.d/httpd restart 1>&2
918 else
919         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
920 fi
921
922 %preun
923 if [ "$1" = "0" ]; then
924         if [ -f /var/lock/subsys/httpd ]; then
925                 /etc/rc.d/init.d/httpd stop 1>&2
926         fi
927         /sbin/chkconfig --del httpd
928 fi
929
930 %postun
931 /sbin/ldconfig
932 if [ "$1" = "0" ]; then
933         %userremove http
934         %groupremove http
935 fi
936
937 %triggerpostun  -- %{name} <= 2.0.50-6
938 echo "WARNING!!!"
939 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
940 echo "If you want to have the same functionality do:"
941 echo "poldek --upgrade %{name}-mod_autoindex"
942 echo
943
944 %post mod_actions
945 if [ -f /var/lock/subsys/httpd ]; then
946         /etc/rc.d/init.d/httpd restart 1>&2
947 else
948         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
949 fi
950
951 %preun mod_actions
952 if [ "$1" = "0" ]; then
953         if [ -f /var/lock/subsys/httpd ]; then
954                 /etc/rc.d/init.d/httpd restart 1>&2
955         fi
956 fi
957
958 %post mod_auth
959 if [ -f /var/lock/subsys/httpd ]; then
960         /etc/rc.d/init.d/httpd restart 1>&2
961 else
962         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
963 fi
964
965 %preun mod_auth
966 if [ "$1" = "0" ]; then
967         if [ -f /var/lock/subsys/httpd ]; then
968                 /etc/rc.d/init.d/httpd restart 1>&2
969         fi
970 fi
971
972 %post mod_auth_anon
973 if [ -f /var/lock/subsys/httpd ]; then
974         /etc/rc.d/init.d/httpd restart 1>&2
975 else
976         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
977 fi
978
979 %preun mod_auth_anon
980 if [ "$1" = "0" ]; then
981         if [ -f /var/lock/subsys/httpd ]; then
982                 /etc/rc.d/init.d/httpd restart 1>&2
983         fi
984 fi
985
986 %post mod_auth_dbm
987 if [ -f /var/lock/subsys/httpd ]; then
988         /etc/rc.d/init.d/httpd restart 1>&2
989 else
990         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
991 fi
992
993 %preun mod_auth_dbm
994 if [ "$1" = "0" ]; then
995         if [ -f /var/lock/subsys/httpd ]; then
996                 /etc/rc.d/init.d/httpd restart 1>&2
997         fi
998 fi
999
1000 %post mod_autoindex
1001 if [ -f /var/lock/subsys/httpd ]; then
1002         /etc/rc.d/init.d/httpd restart 1>&2
1003 else
1004         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1005 fi
1006
1007 %preun mod_autoindex
1008 if [ "$1" = "0" ]; then
1009         if [ -f /var/lock/subsys/httpd ]; then
1010                 /etc/rc.d/init.d/httpd restart 1>&2
1011         fi
1012 fi
1013
1014 %post mod_cache
1015 if [ -f /var/lock/subsys/httpd ]; then
1016         /etc/rc.d/init.d/httpd restart 1>&2
1017 else
1018         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1019 fi
1020
1021 %preun mod_cache
1022 if [ "$1" = "0" ]; then
1023         if [ -f /var/lock/subsys/httpd ]; then
1024                 /etc/rc.d/init.d/httpd restart 1>&2
1025         fi
1026 fi
1027
1028 %post mod_cgid
1029 if [ -f /var/lock/subsys/httpd ]; then
1030         /etc/rc.d/init.d/httpd restart 1>&2
1031 else
1032         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1033 fi
1034
1035 %preun mod_cgid
1036 if [ "$1" = "0" ]; then
1037         if [ -f /var/lock/subsys/httpd ]; then
1038                 /etc/rc.d/init.d/httpd restart 1>&2
1039         fi
1040 fi
1041
1042 %post mod_charset_lite
1043 if [ -f /var/lock/subsys/httpd ]; then
1044         /etc/rc.d/init.d/httpd restart 1>&2
1045 else
1046         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1047 fi
1048
1049 %preun mod_charset_lite
1050 if [ "$1" = "0" ]; then
1051         if [ -f /var/lock/subsys/httpd ]; then
1052                 /etc/rc.d/init.d/httpd restart 1>&2
1053         fi
1054 fi
1055
1056 %post mod_dav
1057 if [ -f /var/lock/subsys/httpd ]; then
1058         /etc/rc.d/init.d/httpd restart 1>&2
1059 else
1060         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1061 fi
1062
1063 %preun mod_dav
1064 if [ "$1" = "0" ]; then
1065         if [ -f /var/lock/subsys/httpd ]; then
1066                 /etc/rc.d/init.d/httpd restart 1>&2
1067         fi
1068 fi
1069
1070 %post mod_auth_digest
1071 if [ -f /var/lock/subsys/httpd ]; then
1072         /etc/rc.d/init.d/httpd restart 1>&2
1073 else
1074         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1075 fi
1076
1077 %preun mod_auth_digest
1078 if [ "$1" = "0" ]; then
1079         if [ -f /var/lock/subsys/httpd ]; then
1080                 /etc/rc.d/init.d/httpd restart 1>&2
1081         fi
1082 fi
1083
1084 %post mod_deflate
1085 if [ -f /var/lock/subsys/httpd ]; then
1086         /etc/rc.d/init.d/httpd restart 1>&2
1087 else
1088         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1089 fi
1090
1091 %preun mod_deflate
1092 if [ "$1" = "0" ]; then
1093         if [ -f /var/lock/subsys/httpd ]; then
1094                 /etc/rc.d/init.d/httpd restart 1>&2
1095         fi
1096 fi
1097
1098 %post mod_dir
1099 if [ -f /var/lock/subsys/httpd ]; then
1100         /etc/rc.d/init.d/httpd restart 1>&2
1101 else
1102         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1103 fi
1104
1105 %preun mod_dir
1106 if [ "$1" = "0" ]; then
1107         if [ -f /var/lock/subsys/httpd ]; then
1108                 /etc/rc.d/init.d/httpd restart 1>&2
1109         fi
1110 fi
1111
1112 %post mod_expires
1113 if [ -f /var/lock/subsys/httpd ]; then
1114         /etc/rc.d/init.d/httpd restart 1>&2
1115 else
1116         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1117 fi
1118
1119 %preun mod_expires
1120 if [ "$1" = "0" ]; then
1121         if [ -f /var/lock/subsys/httpd ]; then
1122                 /etc/rc.d/init.d/httpd restart 1>&2
1123         fi
1124 fi
1125
1126 %post mod_file_cache
1127 if [ -f /var/lock/subsys/httpd ]; then
1128         /etc/rc.d/init.d/httpd restart 1>&2
1129 else
1130         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1131 fi
1132
1133 %preun mod_file_cache
1134 if [ "$1" = "0" ]; then
1135         if [ -f /var/lock/subsys/httpd ]; then
1136                 /etc/rc.d/init.d/httpd restart 1>&2
1137         fi
1138 fi
1139
1140 %post mod_headers
1141 if [ -f /var/lock/subsys/httpd ]; then
1142         /etc/rc.d/init.d/httpd restart 1>&2
1143 else
1144         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1145 fi
1146
1147 %preun mod_headers
1148 if [ "$1" = "0" ]; then
1149         if [ -f /var/lock/subsys/httpd ]; then
1150                 /etc/rc.d/init.d/httpd restart 1>&2
1151         fi
1152 fi
1153
1154 %post mod_imap
1155 if [ -f /var/lock/subsys/httpd ]; then
1156         /etc/rc.d/init.d/httpd restart 1>&2
1157 else
1158         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1159 fi
1160
1161 %preun mod_imap
1162 if [ "$1" = "0" ]; then
1163         if [ -f /var/lock/subsys/httpd ]; then
1164                 /etc/rc.d/init.d/httpd restart 1>&2
1165         fi
1166 fi
1167
1168 %post mod_info
1169 if [ -f /var/lock/subsys/httpd ]; then
1170         /etc/rc.d/init.d/httpd restart 1>&2
1171 else
1172         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1173 fi
1174
1175 %preun mod_info
1176 if [ "$1" = "0" ]; then
1177         if [ -f /var/lock/subsys/httpd ]; then
1178                 /etc/rc.d/init.d/httpd restart 1>&2
1179         fi
1180 fi
1181
1182 %post mod_proxy
1183 if [ -f /var/lock/subsys/httpd ]; then
1184         /etc/rc.d/init.d/httpd restart 1>&2
1185 else
1186         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1187 fi
1188
1189 %preun mod_proxy
1190 if [ "$1" = "0" ]; then
1191         if [ -f /var/lock/subsys/httpd ]; then
1192                 /etc/rc.d/init.d/httpd restart 1>&2
1193         fi
1194 fi
1195
1196 %post mod_rewrite
1197 if [ -f /var/lock/subsys/httpd ]; then
1198         /etc/rc.d/init.d/httpd restart 1>&2
1199 else
1200         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1201 fi
1202
1203 %preun mod_rewrite
1204 if [ "$1" = "0" ]; then
1205         if [ -f /var/lock/subsys/httpd ]; then
1206                 /etc/rc.d/init.d/httpd restart 1>&2
1207         fi
1208 fi
1209
1210 %post mod_ssl
1211 if [ -f /var/lock/subsys/httpd ]; then
1212         /etc/rc.d/init.d/httpd restart 1>&2
1213 else
1214         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1215 fi
1216
1217 %preun mod_ssl
1218 if [ "$1" = "0" ]; then
1219         if [ -f /var/lock/subsys/httpd ]; then
1220                 /etc/rc.d/init.d/httpd restart 1>&2
1221         fi
1222 fi
1223
1224 %post mod_status
1225 if [ -f /var/lock/subsys/httpd ]; then
1226         /etc/rc.d/init.d/httpd restart 1>&2
1227 else
1228         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1229 fi
1230
1231 %preun mod_status
1232 if [ "$1" = "0" ]; then
1233         if [ -f /var/lock/subsys/httpd ]; then
1234                 /etc/rc.d/init.d/httpd restart 1>&2
1235         fi
1236 fi
1237
1238 %post mod_usertrack
1239 if [ -f /var/lock/subsys/httpd ]; then
1240         /etc/rc.d/init.d/httpd restart 1>&2
1241 else
1242         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1243 fi
1244
1245 %preun mod_usertrack
1246 if [ "$1" = "0" ]; then
1247         if [ -f /var/lock/subsys/httpd ]; then
1248                 /etc/rc.d/init.d/httpd restart 1>&2
1249         fi
1250 fi
1251
1252 %post mod_unique_id
1253 if [ -f /var/lock/subsys/httpd ]; then
1254         /etc/rc.d/init.d/httpd restart 1>&2
1255 else
1256         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1257 fi
1258
1259 %preun mod_unique_id
1260 if [ "$1" = "0" ]; then
1261         if [ -f /var/lock/subsys/httpd ]; then
1262                 /etc/rc.d/init.d/httpd restart 1>&2
1263         fi
1264 fi
1265
1266 %post mod_vhost_alias
1267 if [ -f /var/lock/subsys/httpd ]; then
1268         /etc/rc.d/init.d/httpd restart 1>&2
1269 else
1270         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1271 fi
1272
1273 %preun mod_vhost_alias
1274 if [ "$1" = "0" ]; then
1275         if [ -f /var/lock/subsys/httpd ]; then
1276                 /etc/rc.d/init.d/httpd restart 1>&2
1277         fi
1278 fi
1279
1280 %files
1281 %defattr(644,root,root,755)
1282 %doc ABOUT_APACHE CHANGES README
1283 %doc docs/conf/mime.types
1284
1285 %attr(754,root,root) /etc/rc.d/init.d/httpd
1286
1287 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1288 %attr(750,root,root) %dir %{_sysconfdir}/modules
1289 %attr(750,root,root) %dir %{_sysconfdir}/run
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1291 %attr(640,root,root) %{_sysconfdir}/magic
1292 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1293 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
1294 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1295
1296 %attr(755,root,root) %{_libexecdir}/mod_access.so
1297 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1298 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1299 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1300 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1301 %attr(755,root,root) %{_libexecdir}/mod_env.so
1302 %attr(755,root,root) %{_libexecdir}/mod_include.so
1303 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1304 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1305 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1306 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1307 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1308 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1309 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1310 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1311
1312 # look at TODO on top
1313 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1314 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1315 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1316 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1317 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1318 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1319 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1320 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1321
1322 %attr(755,root,root) %{_sbindir}/htdigest
1323
1324 %attr(755,root,root) %{_sbindir}/ab
1325 %attr(755,root,root) %{_sbindir}/apachectl
1326 %attr(755,root,root) %{_sbindir}/checkgid
1327 %attr(755,root,root) %{_sbindir}/httpd
1328 %attr(755,root,root) %{_sbindir}/httpd.*
1329 %attr(755,root,root) %{_sbindir}/logresolve
1330 %attr(755,root,root) %{_sbindir}/rotatelogs
1331
1332 %dir %attr(770,root,http) /var/run/apache
1333 %dir %attr(770,root,http) /var/cache/apache
1334
1335 %{_mandir}/man1/htdigest.1*
1336 %{_mandir}/man8/ab.8*
1337 %{_mandir}/man8/apachectl.8*
1338 %{_mandir}/man8/httpd.8*
1339 %{_mandir}/man8/logresolve.8*
1340 %{_mandir}/man8/rotatelogs.8*
1341
1342 %attr(750,root,logs) %dir /var/log/httpd
1343 %attr(750,root,logs) %dir /var/log/archiv/httpd
1344 %attr(640,root,logs) %ghost /var/log/httpd/*
1345
1346 %dir %{_datadir}
1347
1348 %attr(755,root,root) %dir %{_datadir}/html
1349 %{_datadir}/icons
1350 %attr(755,root,root) %{_datadir}/cgi-bin
1351
1352 %{_datadir}/error
1353
1354 %files doc
1355 %defattr(644,root,root,755)
1356 %dir %{_datadir}/manual
1357 %{_datadir}/manual/LICENSE
1358 %{_datadir}/manual/*.html.en
1359 %lang(de) %{_datadir}/manual/*.html.de
1360 %lang(es) %{_datadir}/manual/*.html.es
1361 %lang(fr) %{_datadir}/manual/*.html.fr
1362 %lang(ja) %{_datadir}/manual/*.html.ja*
1363 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1364 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1365 %dir %{_datadir}/manual/developer
1366 %{_datadir}/manual/developer/*.html.en
1367 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1368 %dir %{_datadir}/manual/faq
1369 %{_datadir}/manual/faq/*.html.en
1370 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1371 %dir %{_datadir}/manual/howto
1372 %{_datadir}/manual/howto/*.html.en
1373 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1374 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1375 %dir %{_datadir}/manual/images
1376 %{_datadir}/manual/images/[!m]*
1377 %dir %{_datadir}/manual/misc
1378 %{_datadir}/manual/misc/*.html.en
1379 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1380 %dir %{_datadir}/manual/mod
1381 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1382 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1383 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1384 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1385 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1386 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1387 %{_datadir}/manual/mod/module-dict.html.en
1388 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1389 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1390 %{_datadir}/manual/mod/mpm_common.html.en
1391 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1392 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1393 %{_datadir}/manual/mod/mod_access.html.en
1394 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1395 %{_datadir}/manual/mod/mod_alias.html.en
1396 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1397 %{_datadir}/manual/mod/mod_asis.html.en
1398 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1399 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1400 %{_datadir}/manual/mod/mod_autoindex.html.en
1401 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1402 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1403 %{_datadir}/manual/mod/mod_cern_meta.html.en
1404 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1405 %{_datadir}/manual/mod/mod_cgi.html.en
1406 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1407 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1408 %{_datadir}/manual/mod/mod_echo.html.en
1409 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1410 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1411 %{_datadir}/manual/mod/mod_env.html.en
1412 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1413 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1414 %{_datadir}/manual/mod/mod_ext_filter.html.en
1415 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1416 %{_datadir}/manual/mod/mod_include.html.en
1417 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1418 %{_datadir}/manual/mod/mod_log_config.html.en
1419 %{_datadir}/manual/mod/mod_log_forensic.html.en
1420 %{_datadir}/manual/mod/mod_mime*.html.en
1421 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1422 %{_datadir}/manual/mod/mod_negotiation.html.en
1423 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1424 %{_datadir}/manual/mod/mod_setenvif.html.en
1425 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1426 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1427 %{_datadir}/manual/mod/mod_speling.html.en
1428 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1429 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1430 %{_datadir}/manual/mod/mod_userdir.html.en
1431 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1432 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1433 %dir %{_datadir}/manual/programs
1434 %{_datadir}/manual/programs/*.html.en
1435 %lang(es) %{_datadir}/manual/programs/*.html.es
1436 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1437 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1438 %dir %{_datadir}/manual/style
1439 %{_datadir}/manual/style/css
1440
1441 %{_datadir}/manual/mod/mod_suexec.html.en
1442 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1443 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1444 %{_datadir}/manual/mod/mod_actions.html.en
1445 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1446 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1447 %{_datadir}/manual/mod/mod_auth.html.en
1448 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1449 %{_datadir}/manual/mod/mod_auth_anon.html.en
1450 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1451 %{_datadir}/manual/mod/mod_ldap.html.en
1452 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1453 %{_datadir}/manual/mod/mod_auth_digest.html.en
1454 %{_datadir}/manual/mod/mod_cache.html.en
1455 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1456 %{_datadir}/manual/mod/mod_disk_cache.html.en
1457 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1458 %{_datadir}/manual/mod/mod_mem_cache.html.en
1459 %{_datadir}/manual/mod/mod_cgid.html.en
1460 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1461 %{_datadir}/manual/mod/mod_charset_lite.html.en
1462 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1463 %{_datadir}/manual/mod/mod_dav*.html.en
1464 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1465 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1466 %{_datadir}/manual/mod/mod_deflate.html.en
1467 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1468 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1469 %{_datadir}/manual/mod/mod_dir.html.en
1470 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1471 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1472 %{_datadir}/manual/mod/mod_expires.html.en
1473 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1474 %{_datadir}/manual/mod/mod_file_cache.html.en
1475 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1476 %{_datadir}/manual/mod/mod_headers.html.en
1477 %{_datadir}/manual/mod/mod_imap.html.en
1478 %{_datadir}/manual/mod/mod_info.html.en
1479 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1480 %{_datadir}/manual/mod/mod_proxy*.html.en
1481 %{_datadir}/manual/mod/mod_rewrite.html.en
1482 %{_datadir}/manual/images/mod_rewrite*
1483 %dir %{_datadir}/manual/ssl
1484 %{_datadir}/manual/ssl/*.gif
1485 %{_datadir}/manual/ssl/*.png
1486 %{_datadir}/manual/ssl/*.html.en
1487 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1488 %{_datadir}/manual/mod/mod_ssl.html.en
1489 %{_datadir}/manual/mod/mod_status.html.en
1490 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1491 %{_datadir}/manual/mod/mod_usertrack.html.en
1492 %{_datadir}/manual/mod/mod_unique_id.html.en
1493 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1494 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1495 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1496 %dir %{_datadir}/manual/vhosts
1497 %{_datadir}/manual/vhosts/*.html.en
1498 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1499 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1500 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1501 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1502 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1503
1504 %files suexec
1505 %defattr(644,root,root,755)
1506 %attr(4755,root,root) %{_sbindir}/suexec
1507 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1508 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1509 %{_mandir}/man8/suexec.8*
1510
1511 %files index
1512 %defattr(644,root,root,755)
1513 %config(noreplace,missingok) %{_datadir}/html/index.html*
1514 %{_datadir}/html/*.gif
1515 %{_datadir}/html/*.png
1516
1517 %files apxs
1518 %defattr(644,root,root,755)
1519 %attr(755,root,root) %{_sbindir}/apxs
1520 %attr(755,root,root) %{_sbindir}/envvars*
1521 %attr(751,root,root) %dir %{_sysconfdir}
1522 %dir %{_libexecdir}
1523 %dir %{_libexecdir}/build
1524 %{_libexecdir}/build/config_vars.mk
1525 %{_mandir}/man8/apxs.8*
1526
1527 %files devel
1528 %defattr(644,root,root,755)
1529 %{_includedir}
1530 %{_libexecdir}/*.exp
1531 %attr(750,root,root) %dir %{_sysconfdir}/build
1532 %{_libexecdir}/build/[lprs]*.mk
1533 %attr(755,root,root) %{_libexecdir}/build/*.sh
1534 %attr(755,root,root) %{_libexecdir}/build/libtool
1535
1536 %files mod_actions
1537 %defattr(644,root,root,755)
1538 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1539 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1540
1541 %files mod_auth
1542 %defattr(644,root,root,755)
1543 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1544 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1545 %attr(755,root,root) %{_sbindir}/htpasswd
1546 %{_mandir}/man1/htpasswd.1*
1547
1548 %files mod_auth_anon
1549 %defattr(644,root,root,755)
1550 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1551 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1552
1553 %if %{with ldap}
1554 %files mod_auth_ldap
1555 %defattr(644,root,root,755)
1556 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1557 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1558 %endif
1559
1560 %if %{with ldap}
1561 %files mod_ldap
1562 %defattr(644,root,root,755)
1563 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1564 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1565 %endif
1566
1567 %files mod_auth_dbm
1568 %defattr(644,root,root,755)
1569 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1570 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1571 %attr(755,root,root) %{_sbindir}/dbmmanage
1572 %attr(755,root,root) %{_sbindir}/htdbm
1573 %{_mandir}/man1/dbmmanage.1*
1574
1575 %files mod_auth_digest
1576 %defattr(644,root,root,755)
1577 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1578 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1579
1580 %files mod_autoindex
1581 %defattr(644,root,root,755)
1582 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1583 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1584
1585 %files mod_cache
1586 %defattr(644,root,root,755)
1587 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1588 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1589 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1590 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1591
1592 %files mod_cgid
1593 %defattr(644,root,root,755)
1594 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1595 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1596
1597 %files mod_charset_lite
1598 %defattr(644,root,root,755)
1599 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1600 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1601
1602 %files mod_dav
1603 %defattr(644,root,root,755)
1604 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1605 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1606
1607 %files mod_deflate
1608 %defattr(644,root,root,755)
1609 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1610 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1611
1612 %files mod_dir
1613 %defattr(644,root,root,755)
1614 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1615 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1616
1617 %files mod_expires
1618 %defattr(644,root,root,755)
1619 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1620 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1621
1622 %files mod_file_cache
1623 %defattr(644,root,root,755)
1624 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1625 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1626
1627 %files mod_headers
1628 %defattr(644,root,root,755)
1629 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1630 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1631
1632 %files mod_imap
1633 %defattr(644,root,root,755)
1634 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1635 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1636
1637 %files mod_info
1638 %defattr(644,root,root,755)
1639 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1640 %attr(755,root,root) %{_libexecdir}/mod_info.so
1641
1642 %files mod_proxy
1643 %defattr(644,root,root,755)
1644 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1645 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1646
1647 %files mod_rewrite
1648 %defattr(644,root,root,755)
1649 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1650 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1651
1652 %if %{with ssl}
1653 %files mod_ssl
1654 %defattr(644,root,root,755)
1655 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1656 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1657 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1658 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1659 %endif
1660
1661 %files mod_status
1662 %defattr(644,root,root,755)
1663 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1664 %attr(755,root,root) %{_libexecdir}/mod_status.so
1665
1666 %files mod_usertrack
1667 %defattr(644,root,root,755)
1668 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1669 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1670
1671 %files mod_unique_id
1672 %defattr(644,root,root,755)
1673 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1674 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1675
1676 %files mod_vhost_alias
1677 %defattr(644,root,root,755)
1678 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1679 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 0.172942 seconds and 3 git commands to generate.