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