]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- use external apr/apr-util
[packages/apache.git] / apache.spec
1 # _without_ssl  - don't build with SSL support
2 # TODO:
3 # - mod_case_filter
4 # - mod_case_filter_in
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
7 # - mod_ext_filter
8 # - mod_echo
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include        /usr/lib/rpm/macros.perl
17 # this is internal macro, don't change to %%apache_modules_api
18 %define         _apache_modules_api 20020903
19 Summary:        The most widely used Web server on the Internet
20 Summary(de):    Leading World Wide Web-Server
21 Summary(es):    Servidor HTTPD para proveer servicios WWW
22 Summary(fr):    Le serveur web le plus utilise sur Internet
23 Summary(pl):    Serwer WWW (World Wide Web)
24 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
25 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
26 Summary(tr):    Lider WWW tarayýcý
27 Name:           apache
28 Version:        2.0.47
29 Release:        0.5
30 License:        Apache Group License
31 Group:          Networking/Daemons
32 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
33 # Source0-md5:  63f16638c18b140b649fab32b54d7f9c
34 Source1:        %{name}.init
35 Source2:        %{name}.logrotate
36 Source3:        %{name}-icons.tar.gz
37 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
38 Source4:        %{name}.sysconfig
39 Source6:        %{name}-httpd.conf
40 Source8:        %{name}-mod_vhost_alias.conf
41 Source9:        %{name}-mod_status.conf
42 Source10:       %{name}-mod_proxy.conf
43 Source11:       %{name}-mod_info.conf
44 Source12:       %{name}-mod_ssl.conf
45 Source13:       %{name}-mod_dav.conf
46 Source14:       %{name}-mod_dir.conf
47 Source20:       %{name}-server.crt
48 Source21:       %{name}-server.key
49 Patch0:         %{name}-configdir_skip_backups.patch
50 Patch1:         %{name}-layout.patch
51 Patch2:         %{name}-suexec.patch
52 Patch3:         %{name}-nolibs.patch
53 Patch4:         %{name}-apr.patch
54 URL:            http://httpd.apache.org/
55 BuildRequires:  db-devel
56 BuildRequires:  expat-devel
57 BuildRequires:  gdbm-devel >= 1.8.3
58 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
59 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
60 BuildRequires:  perl-devel >= 5.004
61 BuildRequires:  rpm-perlprov >= 4.0.4
62 BuildRequires:  zlib-devel
63 BuildRequires:  libtool >= 1.5
64 BuildRequires:  apr-devel >= 1:0.9.3
65 BuildRequires:  apr-util-devel >= 1:0.9.3
66 PreReq:         perl
67 PreReq:         rc-scripts
68 Requires(pre):  /bin/id
69 Requires(pre):  /usr/bin/getgid
70 Requires(pre):  /usr/sbin/groupadd
71 Requires(pre):  /usr/sbin/useradd
72 Requires(postun):       /usr/sbin/userdel
73 Requires(postun):       /usr/sbin/groupdel
74 Requires(post,preun):   /sbin/chkconfig
75 Requires(post,postun):  /sbin/ldconfig
76 Requires(post): fileutils
77 Requires:       /etc/mime.types
78 Requires:       mailcap
79 Requires:       psmisc >= 20.1
80 Provides:       httpd = %{version}
81 Provides:       webserver = %{version}
82 Provides:       apache(modules-api) = %{_apache_modules_api}
83 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
84 Obsoletes:      apache-extra
85 Obsoletes:      apache-doc
86 Obsoletes:      apache6
87 Obsoletes:      apache1
88 Obsoletes:      indexhtml
89
90 %define         _sysconfdir     /etc/httpd
91 %define         _includedir     %{_prefix}/include/apache
92 %define         _datadir        /home/services/httpd
93 %define         _libexecdir     %{_libdir}/apache
94
95 %description
96 Apache is a powerful, full-featured, efficient and freely-available
97 Web server. Apache is also the most popular Web server on the
98 Internet.
99
100 %description -l de
101 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
102 erhältlich und weit verbreitet ist.
103
104 %description -l es
105 El servidor web Apache es el mejor servidor gratuito disponible en el
106 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
107 que browsers web vean documentos y sometan datos remotamente. Puede
108 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
109 caché, y nos ofrece características como monitor de estado, conversión
110 dinámica de tipo, y otras más.
111
112 %description -l fr
113 Apache est un serveur Web puissant, efficace, gratuit et complet.
114 Apache est aussi le serveur Web le plus populaire sur Internet.
115
116 %description -l pl
117 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
118 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
119
120 %description -l pt_BR
121 O servidor web Apache é o melhor servidor gratuito disponível no mundo
122 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
123 que browsers web vejam documentos e submetam dados remotamente. Ele
124 pode executar várias funções diferentes, incluindo funções de proxy e
125 cache, e oferece características como monitor de status, conversão
126 dinâmica de tipo, e mais.
127
128 %description -l ru
129 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
130 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
131
132 %description -l tr
133 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
134 sunucusudur.
135
136 %package suexec
137 Summary:        Apache suexec wrapper
138 Summary(pl):    Wrapper suexec do serwera WWW Apache
139 Group:          Development/Tools
140 Requires:       %{name} = %{version}
141
142 %description suexec
143 The suEXEC feature provides Apache users the ability to run CGI and
144 SSI programs under user IDs different from the user ID of the calling
145 web-server. Normally, when a CGI or SSI program executes, it runs as
146 the same user who is running the web server.
147
148 %description suexec -l pl
149 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
150 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
151 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
152
153 %package index
154 Summary:        Apache index.html* files
155 Summary(pl):    Pliki Apache index.html*
156 Group:          Documentation
157 Requires:       %{name} = %{version}
158
159 %description index
160 Apache index.html* files.
161
162 %description index -l pl
163 Pliki Apache index.html*.
164
165 %package devel
166 Summary:        Module development tools for the Apache web server
167 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
168 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
169 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
170 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
171 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
172 Group:          Networking/Utilities
173 Requires:       %{name} = %{version}
174 Requires:       apr-devel >= 1:0.9.3
175 Requires:       libtool
176
177 %description devel
178 The apache-devel package contains header files for Apache.
179
180 %description devel -l es
181 Este paquete contiene los archivos de inclusión para el Apache, bien
182 como el utilitario apxs para la construcción de objetos compartidos
183 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
184 o desarrollar módulos adicionales para Apache.
185
186 %description devel -l fr
187 Le package apache-devel contient le code source pour le serveur Web
188 Apache et le binaire APXS dont vous aurez besoin pour construire des
189 Objets Dynamiques Partages (DSOs) pour Apache.
190
191 %description devel -l pl
192 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
193 (Dynamic Shared Objects) dla Apache.
194
195 %description devel -l ru
196 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
197
198 %description devel -l pt_BR
199 Este pacote contem os arquivos de inclusão para o Apache, bem como o
200 utilitário apxs para a construção de objetos compartilhados dinâmicos
201 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
202 desenvolver módulos adicionais para o Apache.
203
204 %package static
205 Summary:        Static Apache web server libraries
206 Summary(pl):    Statyczne biblioteki serwera WWW Apache
207 Group:          Development/Libraries
208 Requires:       %{name}-devel = %{version}
209
210 %description static
211 The apache-static package contains static libraries for Apache.
212
213 %description static -l pl
214 Statyczne biblioteki serwera Apache.
215
216 %package mod_actions
217 Summary:        Apache module for run CGI whenever a file of a certain type is requested
218 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
219 Group:          Networking/Daemons
220 Requires:       %{name} = %{version}
221
222 %description mod_actions
223 This package contains mod_actions module. This module lets you run CGI
224 scripts whenever a file of a certain type is requested. This makes it
225 much easier to execute scripts that process files.
226
227 %description mod_actions -l pl
228 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
229 ¿±danie pobrania pliku okre¶lonego typu.
230
231 %package mod_auth
232 Summary:        Apache module with user authentication using textual files
233 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
234 Group:          Networking/Daemons
235 Requires:       %{name} = %{version}
236
237 %description mod_auth
238 This package contains mod_auth module. It provides for user
239 authentication using textual files.
240
241 %description mod_auth -l pl
242 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
243 u¿ytkowników na podstawie plików tekstowych.
244
245 %package mod_auth_anon
246 Summary:        Apache module with "anonymous" user access authentication
247 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
248 Group:          Networking/Daemons
249 Requires:       %{name} = %{version}
250
251 %description mod_auth_anon
252 This package contains mod_auth_anon module. It allows "anonymous" user
253 access to authenticated areas. It does access control in a manner
254 similar to anonymous-ftp sites; i.e. have a 'magic' user id
255 'anonymous' and the email address as a password. These email addresses
256 can be logged. Combined with other (database) access control methods,
257 this allows for effective user tracking and customization according to
258 a user profile while still keeping the site open for 'unregistered'
259 users. One advantage of using Auth-based user tracking is that, unlike
260 magic-cookies and funny URL pre/postfixes, it is completely browser
261 independent and it allows users to share URLs.
262
263 %description mod_auth_anon -l pl
264 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
265 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
266 adresu pocztowego u¿ytkownika).
267
268 %package mod_auth_dbm
269 Summary:        Apache module with user authentication which uses DBM files
270 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
271 Group:          Networking/Daemons
272 Obsoletes:      %{name}-mod_auth_db
273 Requires:       %{name} = %{version}
274
275 %description mod_auth_dbm
276 This module provides for HTTP Basic Authentication, where the
277 usernames and passwords are stored in DBM type database files. It is
278 an alternative to the plain text password files provided by mod_auth.
279
280 %description mod_auth_dbm -l pl
281 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
282 ich has³a s± trzymane w plikach bazy typu DBM.
283
284 %package mod_auth_digest
285 Summary:        Apache user authentication module using MD5 Digest Authentication
286 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
287 Group:          Networking/Daemons
288 Obsoletes:      apache-mod_digest
289 Requires:       %{name} = %{version}
290
291 %description mod_auth_digest
292 This package contains mod_digest module. It provides user
293 authentication using MD5 Digest Authentication.
294
295 %description mod_auth_digest -l pl
296 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
297 Authentication.
298
299 %package mod_cache
300 Summary:        Content cache keyed to URIs
301 Summary(pl):    Pamiêæ podrêczna wg klucza URI
302 Group:          Networking/Daemons
303 Requires:       %{name} = %{version}
304
305 %description mod_cache
306 mod_cache implements an RFC 2616 compliant HTTP content cache that can
307 be used to cache either local or proxied content. Two storage
308 management modules are included in the base Apache distribution:
309 mod_disk_cache implements a disk based storage manager (generally used
310 for proxy caching) and mod_mem_cache implements an in-memory based
311 storage manager (primarily useful for caching local content).
312
313 %description mod_cache -l pl
314 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
315 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
316 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
317 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
318 (u¿ywane do cacheowania proxy).
319
320 %package mod_cgid
321 Summary:        Execution of CGI scripts using an external CGI daemon
322 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
323 Group:          Networking/Daemons
324 Requires:       %{name} = %{version}
325
326 %description mod_cgid
327 Execution of CGI scripts using an external CGI daemon.
328
329 %description mod_cgid -l pl
330 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
331
332 %package mod_charset_lite
333 Summary:        Specify character set translation or recoding
334 Summary(pl):    Translacja lub przekodowywanie znaków
335 Group:          Networking/Daemons
336 Requires:       %{name} = %{version}
337
338 %description mod_charset_lite
339 Specify character set translation or recoding.
340
341 %description mod_charset_lite -l pl
342 Translacja lub przekodowywanie znaków.
343
344 %package mod_dav
345 Summary:        Apache module - Distributed Authoring and Versioning
346 Summary(pl):    Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
347 Group:          Networking/Daemons
348 Requires:       %{name} = %{version}
349
350 %description mod_dav
351 This module provides class 1 and class 2 WebDAV ('Web-based
352 Distributed Authoring and Versioning') functionality for Apache. This
353 extension to the HTTP protocol allows creating, moving, copying, and
354 deleting resources and collections on a remote web server.
355
356 %description mod_dav -l pl
357 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
358 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
359 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
360 zdalnym serwerze WWW.
361
362 %package mod_deflate
363 Summary:        Apache module: Compress content before it is delivered to the client
364 Summary(pl):    Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
365 Group:          Networking/Daemons
366 Requires:       %{name} = %{version}
367
368 %description mod_deflate
369 Compress content before it is delivered to the client.
370
371 %description mod_deflate -l pl
372 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
373
374 %package mod_dir
375 Summary:        Apache module for "trailing slash" redirects and serving directory index files
376 Summary(pl):    Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
377 Group:          Networking/Daemons
378 Requires:       %{name} = %{version}
379
380 %description mod_dir
381 This package contains mod_dir which provides "trailing slash"
382 redirects and serving directory index files.
383
384 %description mod_dir -l pl
385 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
386 katalogu.
387
388 %package mod_headers
389 Summary:        Apache module allows for the customization of HTTP response headers
390 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
391 Group:          Networking/Daemons
392 Requires:       %{name} = %{version}
393
394 %description mod_headers
395 This package contains mod_headers module. The module allows for the
396 customization of HTTP response headers. Headers can be merged,
397 replaced or removed.
398
399 %description mod_headers -l pl
400 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
401 wysy³anych do przegl±darki.
402
403 %package mod_imap
404 Summary:        Apache module with imap-file handler
405 Summary(pl):    Modu³ z obs³ug± imap-file
406 Group:          Networking/Daemons
407 Requires:       %{name} = %{version}
408
409 %description mod_imap
410 This package contains mod_imap module. It provides for .map files,
411 replacing the functionality of the imagemap CGI program. Any directory
412 or document type configured to use the handler imap-file.
413
414 %description mod_imap -l pl
415 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
416
417 %package mod_info
418 Summary:        Apache module with comprehensive overview of the server configuration
419 Summary(pl):    Modu³ udostêpniaj±cy informacje o serwerze
420 Group:          Networking/Daemons
421 Requires:       %{name} = %{version}
422
423 %description mod_info
424 This package contains mod_info module. It provides a comprehensive
425 overview of the server configuration including all installed modules
426 and directives in the configuration files.
427
428 %description mod_info -l pl
429 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
430 zainstalowanych modu³ach itp.
431
432 %package mod_proxy
433 Summary:        Apache module with Web proxy
434 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
435 Group:          Networking/Daemons
436 Requires:       %{name} = %{version}
437
438 %description mod_proxy
439 This package contains module with implementation a proxy/cache for
440 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
441 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
442 connect to other proxy modules for these and other protocols.
443
444 %description mod_proxy -l pl
445 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
446 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
447 HTTP/1.0 i HTTP/1.1.
448
449 %package mod_rewrite
450 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
451 Summary(pl):    Modu³ do "przepisywania" adresów URL w locie
452 Group:          Networking/Daemons
453 Requires:       %{name} = %{version}
454
455 %description mod_rewrite
456 This package contains It provides a rule-based rewriting engine to
457 rewrite requested URLs on the fly.
458
459 %description mod_rewrite -l pl
460 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
461
462 %package mod_ssl
463 Summary:        SSL/TLS module for the Apache HTTP server
464 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
465 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
466 Group:          Networking/Daemons
467 Epoch:          1
468 Requires:       %{name} = %{version}
469
470 %description mod_ssl
471 The mod_ssl module provides strong cryptography for the Apache Web
472 server via the Secure Sockets Layer (SSL) and Transport Layer Security
473 (TLS) protocols.
474
475 %description mod_ssl -l pl
476 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
477 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
478 Security).
479
480 %description mod_ssl -l ru
481 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
482 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
483
484 %package mod_status
485 Summary:        Server status report module for apache
486 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera
487 Group:          Networking/Daemons
488 Requires:       %{name} = %{version}
489
490 %description mod_status
491 The Status module allows a server administrator to find out how well
492 their server is performing. A HTML page is presented that gives the
493 current server statistics in an easily readable form. If required this
494 page can be made to automatically refresh (given a compatible
495 browser).
496
497 %description mod_status -l pl
498 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
499 pracy serwera apache (w postaci strony HTML).
500
501 %package mod_usertrack
502 Summary:        Apache module for user tracking using cookies
503 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
504 Group:          Networking/Daemons
505 Requires:       %{name} = %{version}
506
507 %description mod_usertrack
508 This package contains the user tracking module which did its own
509 logging using CookieLog directory. This module allow multiple log
510 files.
511
512 %description mod_usertrack -l pl
513 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
514
515 %package mod_vhost_alias
516 Summary:        Apache module for dynamically configured mass virtual hosting
517 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych
518 Group:          Networking/Daemons
519 Requires:       %{name} = %{version}
520
521 %description mod_vhost_alias
522 This package contains the mod_vhost_alias. It provides support for
523 dynamically configured mass virtual hosting.
524
525 %description mod_vhost_alias -l pl
526 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
527 wirtualnych.
528
529 %package mod_unique_id
530 Summary:        Apache module which provides a magic token for each request
531 Summary(pl):    Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
532 Group:          Networking/Daemons
533 Requires:       %{name} = %{version}
534
535 %description mod_unique_id
536 This package contains the mod_unique_id. This module provides a magic
537 token for each request which is guaranteed to be unique across "all"
538 requests under very specific conditions. The unique identifier is even
539 unique across multiple machines in a properly configured cluster of
540 machines. The environment variable UNIQUE_ID is set to the identifier
541 for each request. Unique identifiers are useful for various reasons
542 which are beyond the scope of this document.
543
544 %description mod_unique_id -l pl
545 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
546 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
547 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
548 UNIQUE_ID.
549
550 %package mod_expires
551 Summary:        Apache module which generates Expires HTTP headers
552 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
553 Group:          Networking/Daemons
554 Requires:       %{name} = %{version}
555
556 %description mod_expires
557 This module controls the setting of the Expires HTTP header in server
558 responses. The expiration date can set to be relative to either the
559 time the source file was last modified, or to the time of the client
560 access.
561
562 %description mod_expires -l pl
563 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
564 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
565 ¼ród³owych lub odwo³ania klienta.
566
567 %package mod_file_cache
568 Summary:        Apache module: Caches a static list of files in memory
569 Summary(pl):    Modu³ cache'uj±cy statyczn± listê plików w pamiêci
570 Group:          Networking/Daemons
571 Obsoletes:      %{name}-mmap_static
572 Requires:       %{name} = %{version}
573
574 %description mod_file_cache
575 Caches a static list of files in memory.
576
577 %description mod_file_cache -l pl
578 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
579
580 %prep
581 %setup -q -n httpd-%{version}
582 %patch0 -p1
583 %patch1 -p1
584 %patch2 -p1
585 %patch3 -p1
586 %patch4 -p1
587
588 %build
589 # sanity check
590 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
591 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
592         echo "Set %%_apache_modules_api to $MODILES_API and rerun."
593         exit 1
594 fi
595 ./buildconf
596 %configure \
597         --prefix=%{_libexecdir} \
598         --enable-layout=PLD \
599         --enable-modules=all \
600         --enable-mods-shared=all \
601         --enable-auth-anon       \
602         --enable-auth-dbm \
603         --enable-auth-digest \
604         --enable-file-cache \
605         --enable-echo \
606         --enable-cache \
607         --enable-charset-lite \
608         --enable-mem-cache \
609         --enable-disk-cache \
610         --enable-ext-filter \
611         --enable-case-filter \
612         --enable-case-filter-in \
613         --enable-deflate \
614         --with-z=%{_prefix} \
615         --enable-mime-magic \
616         --enable-cern-meta \
617         --enable-expires \
618         --enable-headers \
619         --enable-usertrack \
620         --enable-unique-id \
621         --enable-proxy \
622         --enable-proxy-connect \
623         --enable-proxy-ftp \
624         --enable-proxy-http \
625         %{!?_without_ssl:--enable-ssl} \
626         --enable-optional-hook-export \
627         --enable-optional-hook-import \
628         --enable-optional-fn-import \
629         --enable-optional-fn-export \
630         --enable-dav \
631         --enable-info \
632         --enable-suexec \
633         --enable-cgi \
634         --enable-cgid \
635         --enable-dav-fs \
636         --enable-vhost-alias \
637         --enable-speling \
638         --enable-rewrite \
639         --enable-so \
640         --with-mpm=worker \
641         --with-suexec-bin=%{_sbindir}/suexec \
642         --with-suexec-caller=http \
643         --with-suexec-docroot=%{_datadir} \
644         --with-suexec-logfile=/var/log/httpd/suexec_log \
645         --with-suexec-uidmin=500 \
646         --with-suexec-gidmin=500 \
647         --with-suexec-umask=077 \
648         --with-apr=%{_bindir} \
649         --with-apr-util=%{_bindir}
650
651 %{__make}
652
653 %install
654 rm -rf $RPM_BUILD_ROOT
655 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
656         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
657
658 %{__make} install \
659         DESTDIR=$RPM_BUILD_ROOT \
660         installbuilddir=%{_sysconfdir}/build \
661         prefix=%{_sysconfdir}/httpd \
662         libexecdir=%{_libdir}/%{name} \
663         iconsdir=%{_datadir}/icons \
664         errordir=%{_datadir}/error \
665         htdocsdir=%{_datadir}/html \
666         manualdir=%{_datadir}/manual \
667         cgidir=%{_datadir}/cgi-bin \
668         runtimedir=%{_var}/run \
669         logdir=%{_var}/log/httpd \
670         proxycachedir=%{_var}/cache/httpd
671
672 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
673 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
674
675 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
676         $RPM_BUILD_ROOT%{_libexecdir}/build
677
678 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
679 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
680 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
681 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
682 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
683 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
684
685 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
686 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
687 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
688
689 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
690
691 %if %{?_without_ssl:0}%{!?_without_ssl:1}
692 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
693 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
694 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
695 %endif
696
697 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
698
699 install %{SOURCE6}  $CFG/10_httpd.conf
700 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
701 install %{SOURCE9}  $CFG/25_mod_status.conf
702 install %{SOURCE10} $CFG/30_mod_proxy.conf
703 install %{SOURCE11} $CFG/35_mod_info.conf
704 install %{SOURCE12} $CFG/40_mod_ssl.conf
705 install %{SOURCE13} $CFG/45_mod_dav.conf
706 install %{SOURCE14} $CFG/59_mod_dir.conf
707
708 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
709 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
710 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
711 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
712 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
713 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
714 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
715 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
716 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
717 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
718 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
719 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
720 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
721 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
722 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
723 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
724 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
725 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
726
727 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
728
729 %clean
730 rm -rf $RPM_BUILD_ROOT
731
732 %pre
733 if [ -n "`getgid http`" ]; then
734         if [ "`getgid http`" != "51" ]; then
735                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
736                 exit 1
737         fi
738 else
739         /usr/sbin/groupadd -g 51 -r -f http
740 fi
741 if [ -n "`id -u http 2>/dev/null`" ]; then
742         if [ "`id -u http`" != "51" ]; then
743                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
744                 exit 1
745         fi
746 else
747         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
748 fi
749
750 %post
751 /sbin/ldconfig
752 /sbin/chkconfig --add httpd
753 umask 137
754 touch /var/log/httpd/{access,error,agent,referer}_log
755 if [ -f /var/lock/subsys/httpd ]; then
756         /etc/rc.d/init.d/httpd restart 1>&2
757 else
758         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
759 fi
760
761 %preun
762 if [ "$1" = "0" ]; then
763         if [ -f /var/lock/subsys/httpd ]; then
764                 /etc/rc.d/init.d/httpd stop 1>&2
765         fi
766         /sbin/chkconfig --del httpd
767 fi
768
769 %postun
770 /sbin/ldconfig
771 if [ "$1" = "0" ]; then
772         /usr/sbin/userdel http
773         /usr/sbin/groupdel http
774 fi
775
776 %post mod_actions
777 if [ -f /var/lock/subsys/httpd ]; then
778         /etc/rc.d/init.d/httpd restart 1>&2
779 else
780         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
781 fi
782
783 %preun mod_actions
784 if [ "$1" = "0" ]; then
785         if [ -f /var/lock/subsys/httpd ]; then
786                 /etc/rc.d/init.d/httpd restart 1>&2
787         fi
788 fi
789
790 %post mod_auth
791 if [ -f /var/lock/subsys/httpd ]; then
792         /etc/rc.d/init.d/httpd restart 1>&2
793 else
794         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
795 fi
796
797 %preun mod_auth
798 if [ "$1" = "0" ]; then
799         if [ -f /var/lock/subsys/httpd ]; then
800                 /etc/rc.d/init.d/httpd restart 1>&2
801         fi
802 fi
803
804 %post mod_auth_anon
805 if [ -f /var/lock/subsys/httpd ]; then
806         /etc/rc.d/init.d/httpd restart 1>&2
807 else
808         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
809 fi
810
811 %preun mod_auth_anon
812 if [ "$1" = "0" ]; then
813         if [ -f /var/lock/subsys/httpd ]; then
814                 /etc/rc.d/init.d/httpd restart 1>&2
815         fi
816 fi
817
818 %post mod_auth_dbm
819 if [ -f /var/lock/subsys/httpd ]; then
820         /etc/rc.d/init.d/httpd restart 1>&2
821 else
822         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
823 fi
824
825 %preun mod_auth_dbm
826 if [ "$1" = "0" ]; then
827         if [ -f /var/lock/subsys/httpd ]; then
828                 /etc/rc.d/init.d/httpd restart 1>&2
829         fi
830 fi
831
832 %post mod_cache
833 if [ -f /var/lock/subsys/httpd ]; then
834         /etc/rc.d/init.d/httpd restart 1>&2
835 else
836         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
837 fi
838
839 %preun mod_cache
840 if [ "$1" = "0" ]; then
841         if [ -f /var/lock/subsys/httpd ]; then
842                 /etc/rc.d/init.d/httpd restart 1>&2
843         fi
844 fi
845
846 %post mod_cgid
847 if [ -f /var/lock/subsys/httpd ]; then
848         /etc/rc.d/init.d/httpd restart 1>&2
849 else
850         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
851 fi
852
853 %preun mod_cgid
854 if [ "$1" = "0" ]; then
855         if [ -f /var/lock/subsys/httpd ]; then
856                 /etc/rc.d/init.d/httpd restart 1>&2
857         fi
858 fi
859
860 %post mod_charset_lite
861 if [ -f /var/lock/subsys/httpd ]; then
862         /etc/rc.d/init.d/httpd restart 1>&2
863 else
864         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
865 fi
866
867 %preun mod_charset_lite
868 if [ "$1" = "0" ]; then
869         if [ -f /var/lock/subsys/httpd ]; then
870                 /etc/rc.d/init.d/httpd restart 1>&2
871         fi
872 fi
873
874 %post mod_dav
875 if [ -f /var/lock/subsys/httpd ]; then
876         /etc/rc.d/init.d/httpd restart 1>&2
877 else
878         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
879 fi
880
881 %preun mod_dav
882 if [ "$1" = "0" ]; then
883         if [ -f /var/lock/subsys/httpd ]; then
884                 /etc/rc.d/init.d/httpd restart 1>&2
885         fi
886 fi
887
888 %post mod_auth_digest
889 if [ -f /var/lock/subsys/httpd ]; then
890         /etc/rc.d/init.d/httpd restart 1>&2
891 else
892         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
893 fi
894
895 %preun mod_auth_digest
896 if [ "$1" = "0" ]; then
897         if [ -f /var/lock/subsys/httpd ]; then
898                 /etc/rc.d/init.d/httpd restart 1>&2
899         fi
900 fi
901
902 %post mod_deflate
903 if [ -f /var/lock/subsys/httpd ]; then
904         /etc/rc.d/init.d/httpd restart 1>&2
905 else
906         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
907 fi
908
909 %preun mod_deflate
910 if [ "$1" = "0" ]; then
911         if [ -f /var/lock/subsys/httpd ]; then
912                 /etc/rc.d/init.d/httpd restart 1>&2
913         fi
914 fi
915
916 %post mod_dir
917 if [ -f /var/lock/subsys/httpd ]; then
918         /etc/rc.d/init.d/httpd restart 1>&2
919 else
920         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
921 fi
922
923 %preun mod_dir
924 if [ "$1" = "0" ]; then
925         if [ -f /var/lock/subsys/httpd ]; then
926                 /etc/rc.d/init.d/httpd restart 1>&2
927         fi
928 fi
929
930 %post mod_expires
931 if [ -f /var/lock/subsys/httpd ]; then
932         /etc/rc.d/init.d/httpd restart 1>&2
933 else
934         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
935 fi
936
937 %preun mod_expires
938 if [ "$1" = "0" ]; then
939         if [ -f /var/lock/subsys/httpd ]; then
940                 /etc/rc.d/init.d/httpd restart 1>&2
941         fi
942 fi
943
944 %post mod_file_cache
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_file_cache
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_headers
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_headers
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_imap
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_imap
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_info
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_info
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_proxy
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_proxy
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_rewrite
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_rewrite
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_ssl
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_ssl
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_status
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_status
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_usertrack
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_usertrack
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_unique_id
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_unique_id
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_vhost_alias
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_vhost_alias
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 %files
1099 %defattr(644,root,root,755)
1100 %doc ABOUT_APACHE CHANGES README
1101 %doc docs/conf/mime.types
1102
1103 %attr(754,root,root) /etc/rc.d/init.d/httpd
1104
1105 %attr(750,root,root) %dir %{_sysconfdir}
1106 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1107 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1108 %attr(640,root,root) %{_sysconfdir}/magic
1109 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1110 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1111
1112 %dir %{_libexecdir}
1113 %attr(755,root,root) %{_libexecdir}/mod_access.so
1114 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1115 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1116 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1117 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1118 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1119 %attr(755,root,root) %{_libexecdir}/mod_env.so
1120 %attr(755,root,root) %{_libexecdir}/mod_include.so
1121 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1122 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1123 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1124 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1125 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1126 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1127 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1128
1129 # look at TODO on top
1130 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1131 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1132 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1133 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1134 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1135 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1136 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1137 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1138
1139 %attr(755,root,root) %{_sbindir}/htdigest
1140
1141 %attr(755,root,root) %{_sbindir}/ab
1142 %attr(755,root,root) %{_sbindir}/apachectl
1143 %attr(755,root,root) %{_sbindir}/apxs
1144 %attr(755,root,root) %{_sbindir}/checkgid
1145 %attr(755,root,root) %{_sbindir}/httpd
1146 %attr(755,root,root) %{_sbindir}/logresolve
1147 %attr(755,root,root) %{_sbindir}/rotatelogs
1148 %attr(755,root,root) %{_sbindir}/envvars*
1149
1150 %dir %attr(770,root,http) /var/run/apache
1151
1152 %{_mandir}/man1/htdigest.1*
1153 %{_mandir}/man8/*
1154
1155 %attr(750,root,root) %dir /var/log/httpd
1156 %attr(750,root,root) %dir /var/log/archiv/httpd
1157 %attr(640,root,root) %ghost /var/log/httpd/*
1158
1159 %dir %{_datadir}
1160 %dir %{_datadir}/manual
1161 %{_datadir}/manual/LICENSE
1162 %{_datadir}/manual/*.xml
1163 %{_datadir}/manual/*.html.en
1164 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1165 %lang(ja) %{_datadir}/manual/*.xml.ja
1166 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1167 %lang(de) %{_datadir}/manual/*.html.de
1168 %lang(fr) %{_datadir}/manual/*.html.fr
1169 %{_datadir}/manual/developer
1170 %{_datadir}/manual/faq
1171 %dir %{_datadir}/manual/howto
1172 %doc %{_datadir}/manual/howto/*.en
1173 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1174 %dir %{_datadir}/manual/images
1175 %{_datadir}/manual/images/[achips]*
1176 %{_datadir}/manual/misc
1177 %dir %{_datadir}/manual/mod
1178 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1179 %{_datadir}/manual/mod/[acd]*.xml
1180 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1181 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1182 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1183 %{_datadir}/manual/mod/index.xml
1184 %{_datadir}/manual/mod/mpm*.html.en
1185 %{_datadir}/manual/mod/mod_access.html.en
1186 %{_datadir}/manual/mod/mod_alias.html.en
1187 %{_datadir}/manual/mod/mod_asis.html.en
1188 %{_datadir}/manual/mod/mod_autoindex.html.en
1189 %{_datadir}/manual/mod/mod_cern_meta.html.en
1190 %{_datadir}/manual/mod/mod_cgi.html.en
1191 %{_datadir}/manual/mod/mod_env.html.en
1192 %{_datadir}/manual/mod/mod_include.html.en
1193 %{_datadir}/manual/mod/mod_log_config.html.en
1194 %{_datadir}/manual/mod/mod_mime*.html.en
1195 %{_datadir}/manual/mod/mod_negotiation.html.en
1196 %{_datadir}/manual/mod/mod_setenvif.html.en
1197 %{_datadir}/manual/mod/mod_speling.html.en
1198 %{_datadir}/manual/mod/mod_userdir.html.en
1199 %{_datadir}/manual/platform
1200 %{_datadir}/manual/programs
1201 %dir %{_datadir}/manual/search
1202 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1203 %{_datadir}/manual/style
1204
1205 %attr(755,root,root) %dir %{_datadir}/html
1206 %{_datadir}/icons
1207 %attr(755,root,root) %{_datadir}/cgi-bin
1208
1209 %{_datadir}/error
1210
1211 %files suexec
1212 %defattr(644,root,root,755)
1213 %attr(4755,root,root) %{_sbindir}/suexec
1214 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1215 %{_datadir}/manual/mod/mod_suexec.html.en
1216
1217 %files index
1218 %defattr(644,root,root,755)
1219 %config(noreplace,missingok) %{_datadir}/html/index.html*
1220 %{_datadir}/html/*.gif
1221 %{_datadir}/html/*.png
1222
1223 %files devel
1224 %defattr(644,root,root,755)
1225 %{_includedir}/[!a]*
1226 %{_includedir}/ap[!r]*
1227 %{_libexecdir}/*.exp
1228 %attr(755,root,root) %dir %{_libexecdir}/build
1229 %attr(644,root,root) %{_libexecdir}/build/*.mk
1230 %attr(755,root,root) %{_libexecdir}/build/*.sh
1231 %attr(755,root,root) %{_libexecdir}/build/libtool
1232
1233 %files static
1234 %defattr(644,root,root,755)
1235 %{_libdir}/lib*.a
1236
1237 %files mod_actions
1238 %defattr(644,root,root,755)
1239 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1240 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1241 %{_datadir}/manual/mod/mod_actions.html.en
1242
1243 %files mod_auth
1244 %defattr(644,root,root,755)
1245 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1246 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1247 %attr(755,root,root) %{_sbindir}/htpasswd
1248 %{_datadir}/manual/mod/mod_auth.html.en
1249 %{_mandir}/man1/htpasswd.1*
1250
1251 %files mod_auth_anon
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1254 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1255 %{_datadir}/manual/mod/mod_auth_anon.html.en
1256
1257 %files mod_auth_dbm
1258 %defattr(644,root,root,755)
1259 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1260 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1261 %attr(755,root,root) %{_sbindir}/dbmmanage
1262 %attr(755,root,root) %{_sbindir}/htdbm
1263 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1264 %{_mandir}/man1/dbmmanage.1*
1265
1266 %files mod_auth_digest
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1270 %{_datadir}/manual/mod/mod_auth_digest.html.en
1271
1272 %files mod_cache
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1275 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1276 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1277 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1278 %{_datadir}/manual/mod/mod_cache.html.en
1279
1280 %files mod_cgid
1281 %defattr(644,root,root,755)
1282 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1283 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1284 %{_datadir}/manual/mod/mod_cgid.html.en
1285
1286 %files mod_charset_lite
1287 %defattr(644,root,root,755)
1288 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1289 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1290 %{_datadir}/manual/mod/mod_charset_lite.html.en
1291
1292 %files mod_dav
1293 %defattr(644,root,root,755)
1294 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1295 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1296 %{_datadir}/manual/mod/mod_dav*.html.en
1297
1298 %files mod_deflate
1299 %defattr(644,root,root,755)
1300 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1301 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1302 %{_datadir}/manual/mod/mod_deflate.html.en
1303
1304 %files mod_dir
1305 %defattr(644,root,root,755)
1306 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1307 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1308 %{_datadir}/manual/mod/mod_dir.html.en
1309
1310 %files mod_expires
1311 %defattr(644,root,root,755)
1312 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1313 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1314 %{_datadir}/manual/mod/mod_expires.html.en
1315
1316 %files mod_file_cache
1317 %defattr(644,root,root,755)
1318 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1319 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1320 %{_datadir}/manual/mod/mod_file_cache.html.en
1321
1322 %files mod_headers
1323 %defattr(644,root,root,755)
1324 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1325 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1326 %{_datadir}/manual/mod/mod_headers.html.en
1327
1328 %files mod_imap
1329 %defattr(644,root,root,755)
1330 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1331 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1332 %{_datadir}/manual/mod/mod_imap.html.en
1333
1334 %files mod_info
1335 %defattr(644,root,root,755)
1336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1337 %attr(755,root,root) %{_libexecdir}/mod_info.so
1338 %{_datadir}/manual/mod/mod_info.html.en
1339
1340 %files mod_proxy
1341 %defattr(644,root,root,755)
1342 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1343 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1344 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1345 %attr(770,root,http) /var/cache/apache
1346
1347 %files mod_rewrite
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1350 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1351 %{_datadir}/manual/mod/mod_rewrite.html.en
1352 %{_datadir}/manual/images/mod_rewrite*
1353
1354 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1355 %files mod_ssl
1356 %defattr(644,root,root,755)
1357 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1359 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1360 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1361 %{_datadir}/manual/ssl
1362 %{_datadir}/manual/mod/mod_ssl.html.en
1363 %endif
1364
1365 %files mod_status
1366 %defattr(644,root,root,755)
1367 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1368 %attr(755,root,root) %{_libexecdir}/mod_status.so
1369 %{_datadir}/manual/mod/mod_status.html.en
1370
1371 %files mod_usertrack
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1374 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1375 %{_datadir}/manual/mod/mod_usertrack.html.en
1376
1377 %files mod_unique_id
1378 %defattr(644,root,root,755)
1379 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1380 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1381 %{_datadir}/manual/mod/mod_unique_id.html.en
1382
1383 %files mod_vhost_alias
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1386 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1387 %{_datadir}/manual/vhosts
1388 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 0.112942 seconds and 4 git commands to generate.