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