]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- R: apr-util in proper version
[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.48
29 Release:        0.1
30 License:        Apache Group License
31 Group:          Networking/Daemons
32 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
33 # Source0-md5:  466c63bb71b710d20a5c353df8c1a19c
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:  apr-devel >= 1:0.9.4-1
56 BuildRequires:  apr-util-devel >= 1:0.9.4-1
57 BuildRequires:  db-devel
58 BuildRequires:  expat-devel
59 BuildRequires:  gdbm-devel >= 1.8.3
60 BuildRequires:  libtool >= 1.5
61 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
62 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7c}
63 BuildRequires:  perl-devel >= 5.004
64 BuildRequires:  rpm-perlprov >= 4.0.4
65 BuildRequires:  zlib-devel
66 PreReq:         perl-base
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:       apr-util >= 1:0.9.4-1
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
578 %build
579 # sanity check
580 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
581 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
582         echo "Set %%_apache_modules_api to $MODILES_API and rerun."
583         exit 1
584 fi
585 ./buildconf
586 %configure \
587         --prefix=%{_libexecdir} \
588         --enable-layout=PLD \
589         --enable-modules=all \
590         --enable-mods-shared=all \
591         --enable-auth-anon       \
592         --enable-auth-dbm \
593         --enable-auth-digest \
594         --enable-file-cache \
595         --enable-echo \
596         --enable-cache \
597         --enable-charset-lite \
598         --enable-mem-cache \
599         --enable-disk-cache \
600         --enable-ext-filter \
601         --enable-case-filter \
602         --enable-case-filter-in \
603         --enable-deflate \
604         --with-z=%{_prefix} \
605         --enable-mime-magic \
606         --enable-cern-meta \
607         --enable-expires \
608         --enable-headers \
609         --enable-usertrack \
610         --enable-unique-id \
611         --enable-proxy \
612         --enable-proxy-connect \
613         --enable-proxy-ftp \
614         --enable-proxy-http \
615         %{!?_without_ssl:--enable-ssl} \
616         --enable-optional-hook-export \
617         --enable-optional-hook-import \
618         --enable-optional-fn-import \
619         --enable-optional-fn-export \
620         --enable-dav \
621         --enable-info \
622         --enable-suexec \
623         --enable-cgi \
624         --enable-cgid \
625         --enable-dav-fs \
626         --enable-vhost-alias \
627         --enable-speling \
628         --enable-rewrite \
629         --enable-so \
630         --with-mpm=worker \
631         --with-suexec-bin=%{_sbindir}/suexec \
632         --with-suexec-caller=http \
633         --with-suexec-docroot=%{_datadir} \
634         --with-suexec-logfile=/var/log/httpd/suexec_log \
635         --with-suexec-uidmin=500 \
636         --with-suexec-gidmin=500 \
637         --with-suexec-umask=077 \
638         --with-apr=%{_bindir} \
639         --with-apr-util=%{_bindir}
640
641 %{__make}
642
643 %install
644 rm -rf $RPM_BUILD_ROOT
645 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
646         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
647
648 %{__make} install \
649         DESTDIR=$RPM_BUILD_ROOT \
650         installbuilddir=%{_sysconfdir}/build \
651         prefix=%{_sysconfdir}/httpd \
652         libexecdir=%{_libdir}/%{name} \
653         iconsdir=%{_datadir}/icons \
654         errordir=%{_datadir}/error \
655         htdocsdir=%{_datadir}/html \
656         manualdir=%{_datadir}/manual \
657         cgidir=%{_datadir}/cgi-bin \
658         runtimedir=%{_var}/run \
659         logdir=%{_var}/log/httpd \
660         proxycachedir=%{_var}/cache/httpd
661
662 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
663 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
664
665 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
666         $RPM_BUILD_ROOT%{_libexecdir}/build
667
668 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
669 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
670 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
671 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
672 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
673 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
674
675 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
676 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
677 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
678
679 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
680
681 %if %{?_without_ssl:0}%{!?_without_ssl:1}
682 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
683 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
684 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
685 %endif
686
687 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
688
689 install %{SOURCE6}  $CFG/10_httpd.conf
690 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
691 install %{SOURCE9}  $CFG/25_mod_status.conf
692 install %{SOURCE10} $CFG/30_mod_proxy.conf
693 install %{SOURCE11} $CFG/35_mod_info.conf
694 install %{SOURCE12} $CFG/40_mod_ssl.conf
695 install %{SOURCE13} $CFG/45_mod_dav.conf
696 install %{SOURCE14} $CFG/59_mod_dir.conf
697
698 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
699 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
700 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
701 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
702 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
703 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
704 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
705 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
706 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
707 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
708 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
709 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
710 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
711 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
712 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
713 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
714 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
715 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
716
717 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
718
719 %clean
720 rm -rf $RPM_BUILD_ROOT
721
722 %pre
723 if [ -n "`getgid http`" ]; then
724         if [ "`getgid http`" != "51" ]; then
725                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
726                 exit 1
727         fi
728 else
729         /usr/sbin/groupadd -g 51 -r -f http
730 fi
731 if [ -n "`id -u http 2>/dev/null`" ]; then
732         if [ "`id -u http`" != "51" ]; then
733                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
734                 exit 1
735         fi
736 else
737         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
738 fi
739
740 %post
741 /sbin/ldconfig
742 /sbin/chkconfig --add httpd
743 umask 137
744 touch /var/log/httpd/{access,error,agent,referer}_log
745 if [ -f /var/lock/subsys/httpd ]; then
746         /etc/rc.d/init.d/httpd restart 1>&2
747 else
748         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
749 fi
750
751 %preun
752 if [ "$1" = "0" ]; then
753         if [ -f /var/lock/subsys/httpd ]; then
754                 /etc/rc.d/init.d/httpd stop 1>&2
755         fi
756         /sbin/chkconfig --del httpd
757 fi
758
759 %postun
760 /sbin/ldconfig
761 if [ "$1" = "0" ]; then
762         /usr/sbin/userdel http
763         /usr/sbin/groupdel http
764 fi
765
766 %post mod_actions
767 if [ -f /var/lock/subsys/httpd ]; then
768         /etc/rc.d/init.d/httpd restart 1>&2
769 else
770         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
771 fi
772
773 %preun mod_actions
774 if [ "$1" = "0" ]; then
775         if [ -f /var/lock/subsys/httpd ]; then
776                 /etc/rc.d/init.d/httpd restart 1>&2
777         fi
778 fi
779
780 %post mod_auth
781 if [ -f /var/lock/subsys/httpd ]; then
782         /etc/rc.d/init.d/httpd restart 1>&2
783 else
784         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
785 fi
786
787 %preun mod_auth
788 if [ "$1" = "0" ]; then
789         if [ -f /var/lock/subsys/httpd ]; then
790                 /etc/rc.d/init.d/httpd restart 1>&2
791         fi
792 fi
793
794 %post mod_auth_anon
795 if [ -f /var/lock/subsys/httpd ]; then
796         /etc/rc.d/init.d/httpd restart 1>&2
797 else
798         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
799 fi
800
801 %preun mod_auth_anon
802 if [ "$1" = "0" ]; then
803         if [ -f /var/lock/subsys/httpd ]; then
804                 /etc/rc.d/init.d/httpd restart 1>&2
805         fi
806 fi
807
808 %post mod_auth_dbm
809 if [ -f /var/lock/subsys/httpd ]; then
810         /etc/rc.d/init.d/httpd restart 1>&2
811 else
812         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
813 fi
814
815 %preun mod_auth_dbm
816 if [ "$1" = "0" ]; then
817         if [ -f /var/lock/subsys/httpd ]; then
818                 /etc/rc.d/init.d/httpd restart 1>&2
819         fi
820 fi
821
822 %post mod_cache
823 if [ -f /var/lock/subsys/httpd ]; then
824         /etc/rc.d/init.d/httpd restart 1>&2
825 else
826         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
827 fi
828
829 %preun mod_cache
830 if [ "$1" = "0" ]; then
831         if [ -f /var/lock/subsys/httpd ]; then
832                 /etc/rc.d/init.d/httpd restart 1>&2
833         fi
834 fi
835
836 %post mod_cgid
837 if [ -f /var/lock/subsys/httpd ]; then
838         /etc/rc.d/init.d/httpd restart 1>&2
839 else
840         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
841 fi
842
843 %preun mod_cgid
844 if [ "$1" = "0" ]; then
845         if [ -f /var/lock/subsys/httpd ]; then
846                 /etc/rc.d/init.d/httpd restart 1>&2
847         fi
848 fi
849
850 %post mod_charset_lite
851 if [ -f /var/lock/subsys/httpd ]; then
852         /etc/rc.d/init.d/httpd restart 1>&2
853 else
854         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
855 fi
856
857 %preun mod_charset_lite
858 if [ "$1" = "0" ]; then
859         if [ -f /var/lock/subsys/httpd ]; then
860                 /etc/rc.d/init.d/httpd restart 1>&2
861         fi
862 fi
863
864 %post mod_dav
865 if [ -f /var/lock/subsys/httpd ]; then
866         /etc/rc.d/init.d/httpd restart 1>&2
867 else
868         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
869 fi
870
871 %preun mod_dav
872 if [ "$1" = "0" ]; then
873         if [ -f /var/lock/subsys/httpd ]; then
874                 /etc/rc.d/init.d/httpd restart 1>&2
875         fi
876 fi
877
878 %post mod_auth_digest
879 if [ -f /var/lock/subsys/httpd ]; then
880         /etc/rc.d/init.d/httpd restart 1>&2
881 else
882         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
883 fi
884
885 %preun mod_auth_digest
886 if [ "$1" = "0" ]; then
887         if [ -f /var/lock/subsys/httpd ]; then
888                 /etc/rc.d/init.d/httpd restart 1>&2
889         fi
890 fi
891
892 %post mod_deflate
893 if [ -f /var/lock/subsys/httpd ]; then
894         /etc/rc.d/init.d/httpd restart 1>&2
895 else
896         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
897 fi
898
899 %preun mod_deflate
900 if [ "$1" = "0" ]; then
901         if [ -f /var/lock/subsys/httpd ]; then
902                 /etc/rc.d/init.d/httpd restart 1>&2
903         fi
904 fi
905
906 %post mod_dir
907 if [ -f /var/lock/subsys/httpd ]; then
908         /etc/rc.d/init.d/httpd restart 1>&2
909 else
910         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
911 fi
912
913 %preun mod_dir
914 if [ "$1" = "0" ]; then
915         if [ -f /var/lock/subsys/httpd ]; then
916                 /etc/rc.d/init.d/httpd restart 1>&2
917         fi
918 fi
919
920 %post mod_expires
921 if [ -f /var/lock/subsys/httpd ]; then
922         /etc/rc.d/init.d/httpd restart 1>&2
923 else
924         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
925 fi
926
927 %preun mod_expires
928 if [ "$1" = "0" ]; then
929         if [ -f /var/lock/subsys/httpd ]; then
930                 /etc/rc.d/init.d/httpd restart 1>&2
931         fi
932 fi
933
934 %post mod_file_cache
935 if [ -f /var/lock/subsys/httpd ]; then
936         /etc/rc.d/init.d/httpd restart 1>&2
937 else
938         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
939 fi
940
941 %preun mod_file_cache
942 if [ "$1" = "0" ]; then
943         if [ -f /var/lock/subsys/httpd ]; then
944                 /etc/rc.d/init.d/httpd restart 1>&2
945         fi
946 fi
947
948 %post mod_headers
949 if [ -f /var/lock/subsys/httpd ]; then
950         /etc/rc.d/init.d/httpd restart 1>&2
951 else
952         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
953 fi
954
955 %preun mod_headers
956 if [ "$1" = "0" ]; then
957         if [ -f /var/lock/subsys/httpd ]; then
958                 /etc/rc.d/init.d/httpd restart 1>&2
959         fi
960 fi
961
962 %post mod_imap
963 if [ -f /var/lock/subsys/httpd ]; then
964         /etc/rc.d/init.d/httpd restart 1>&2
965 else
966         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
967 fi
968
969 %preun mod_imap
970 if [ "$1" = "0" ]; then
971         if [ -f /var/lock/subsys/httpd ]; then
972                 /etc/rc.d/init.d/httpd restart 1>&2
973         fi
974 fi
975
976 %post mod_info
977 if [ -f /var/lock/subsys/httpd ]; then
978         /etc/rc.d/init.d/httpd restart 1>&2
979 else
980         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
981 fi
982
983 %preun mod_info
984 if [ "$1" = "0" ]; then
985         if [ -f /var/lock/subsys/httpd ]; then
986                 /etc/rc.d/init.d/httpd restart 1>&2
987         fi
988 fi
989
990 %post mod_proxy
991 if [ -f /var/lock/subsys/httpd ]; then
992         /etc/rc.d/init.d/httpd restart 1>&2
993 else
994         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
995 fi
996
997 %preun mod_proxy
998 if [ "$1" = "0" ]; then
999         if [ -f /var/lock/subsys/httpd ]; then
1000                 /etc/rc.d/init.d/httpd restart 1>&2
1001         fi
1002 fi
1003
1004 %post mod_rewrite
1005 if [ -f /var/lock/subsys/httpd ]; then
1006         /etc/rc.d/init.d/httpd restart 1>&2
1007 else
1008         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1009 fi
1010
1011 %preun mod_rewrite
1012 if [ "$1" = "0" ]; then
1013         if [ -f /var/lock/subsys/httpd ]; then
1014                 /etc/rc.d/init.d/httpd restart 1>&2
1015         fi
1016 fi
1017
1018 %post mod_ssl
1019 if [ -f /var/lock/subsys/httpd ]; then
1020         /etc/rc.d/init.d/httpd restart 1>&2
1021 else
1022         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1023 fi
1024
1025 %preun mod_ssl
1026 if [ "$1" = "0" ]; then
1027         if [ -f /var/lock/subsys/httpd ]; then
1028                 /etc/rc.d/init.d/httpd restart 1>&2
1029         fi
1030 fi
1031
1032 %post mod_status
1033 if [ -f /var/lock/subsys/httpd ]; then
1034         /etc/rc.d/init.d/httpd restart 1>&2
1035 else
1036         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1037 fi
1038
1039 %preun mod_status
1040 if [ "$1" = "0" ]; then
1041         if [ -f /var/lock/subsys/httpd ]; then
1042                 /etc/rc.d/init.d/httpd restart 1>&2
1043         fi
1044 fi
1045
1046 %post mod_usertrack
1047 if [ -f /var/lock/subsys/httpd ]; then
1048         /etc/rc.d/init.d/httpd restart 1>&2
1049 else
1050         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1051 fi
1052
1053 %preun mod_usertrack
1054 if [ "$1" = "0" ]; then
1055         if [ -f /var/lock/subsys/httpd ]; then
1056                 /etc/rc.d/init.d/httpd restart 1>&2
1057         fi
1058 fi
1059
1060 %post mod_unique_id
1061 if [ -f /var/lock/subsys/httpd ]; then
1062         /etc/rc.d/init.d/httpd restart 1>&2
1063 else
1064         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1065 fi
1066
1067 %preun mod_unique_id
1068 if [ "$1" = "0" ]; then
1069         if [ -f /var/lock/subsys/httpd ]; then
1070                 /etc/rc.d/init.d/httpd restart 1>&2
1071         fi
1072 fi
1073
1074 %post mod_vhost_alias
1075 if [ -f /var/lock/subsys/httpd ]; then
1076         /etc/rc.d/init.d/httpd restart 1>&2
1077 else
1078         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1079 fi
1080
1081 %preun mod_vhost_alias
1082 if [ "$1" = "0" ]; then
1083         if [ -f /var/lock/subsys/httpd ]; then
1084                 /etc/rc.d/init.d/httpd restart 1>&2
1085         fi
1086 fi
1087
1088 %files
1089 %defattr(644,root,root,755)
1090 %doc ABOUT_APACHE CHANGES README
1091 %doc docs/conf/mime.types
1092
1093 %attr(754,root,root) /etc/rc.d/init.d/httpd
1094
1095 %attr(750,root,root) %dir %{_sysconfdir}
1096 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1097 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1098 %attr(640,root,root) %{_sysconfdir}/magic
1099 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1100 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1101
1102 %dir %{_libexecdir}
1103 %attr(755,root,root) %{_libexecdir}/mod_access.so
1104 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1105 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1106 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1107 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1108 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1109 %attr(755,root,root) %{_libexecdir}/mod_env.so
1110 %attr(755,root,root) %{_libexecdir}/mod_include.so
1111 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1112 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1113 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1114 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1115 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1116 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1117 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1118
1119 # look at TODO on top
1120 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1121 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1122 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1123 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1126 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1127 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1128
1129 %attr(755,root,root) %{_sbindir}/htdigest
1130
1131 %attr(755,root,root) %{_sbindir}/ab
1132 %attr(755,root,root) %{_sbindir}/apachectl
1133 %attr(755,root,root) %{_sbindir}/apxs
1134 %attr(755,root,root) %{_sbindir}/checkgid
1135 %attr(755,root,root) %{_sbindir}/httpd
1136 %attr(755,root,root) %{_sbindir}/logresolve
1137 %attr(755,root,root) %{_sbindir}/rotatelogs
1138 %attr(755,root,root) %{_sbindir}/envvars*
1139
1140 %dir %attr(770,root,http) /var/run/apache
1141
1142 %{_mandir}/man1/htdigest.1*
1143 %{_mandir}/man8/*
1144
1145 %attr(750,root,root) %dir /var/log/httpd
1146 %attr(750,root,root) %dir /var/log/archiv/httpd
1147 %attr(640,root,root) %ghost /var/log/httpd/*
1148
1149 %dir %{_datadir}
1150 %dir %{_datadir}/manual
1151 %{_datadir}/manual/LICENSE
1152 %{_datadir}/manual/*.xml
1153 %{_datadir}/manual/*.html.en
1154 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1155 %lang(ja) %{_datadir}/manual/*.xml.ja
1156 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1157 %lang(de) %{_datadir}/manual/*.html.de
1158 %lang(fr) %{_datadir}/manual/*.html.fr
1159 %{_datadir}/manual/developer
1160 %{_datadir}/manual/faq
1161 %dir %{_datadir}/manual/howto
1162 %doc %{_datadir}/manual/howto/*.en
1163 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1164 %dir %{_datadir}/manual/images
1165 %{_datadir}/manual/images/[achips]*
1166 %{_datadir}/manual/misc
1167 %dir %{_datadir}/manual/mod
1168 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1169 %{_datadir}/manual/mod/[acd]*.xml
1170 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1171 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1172 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1173 %{_datadir}/manual/mod/index.xml
1174 %{_datadir}/manual/mod/mpm*.html.en
1175 %{_datadir}/manual/mod/mod_access.html.en
1176 %{_datadir}/manual/mod/mod_alias.html.en
1177 %{_datadir}/manual/mod/mod_asis.html.en
1178 %{_datadir}/manual/mod/mod_autoindex.html.en
1179 %{_datadir}/manual/mod/mod_cern_meta.html.en
1180 %{_datadir}/manual/mod/mod_cgi.html.en
1181 %{_datadir}/manual/mod/mod_env.html.en
1182 %{_datadir}/manual/mod/mod_include.html.en
1183 %{_datadir}/manual/mod/mod_log_config.html.en
1184 %{_datadir}/manual/mod/mod_mime*.html.en
1185 %{_datadir}/manual/mod/mod_negotiation.html.en
1186 %{_datadir}/manual/mod/mod_setenvif.html.en
1187 %{_datadir}/manual/mod/mod_speling.html.en
1188 %{_datadir}/manual/mod/mod_userdir.html.en
1189 %{_datadir}/manual/platform
1190 %{_datadir}/manual/programs
1191 %dir %{_datadir}/manual/search
1192 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1193 %{_datadir}/manual/style
1194
1195 %attr(755,root,root) %dir %{_datadir}/html
1196 %{_datadir}/icons
1197 %attr(755,root,root) %{_datadir}/cgi-bin
1198
1199 %{_datadir}/error
1200
1201 %files suexec
1202 %defattr(644,root,root,755)
1203 %attr(4755,root,root) %{_sbindir}/suexec
1204 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1205 %{_datadir}/manual/mod/mod_suexec.html.en
1206
1207 %files index
1208 %defattr(644,root,root,755)
1209 %config(noreplace,missingok) %{_datadir}/html/index.html*
1210 %{_datadir}/html/*.gif
1211 %{_datadir}/html/*.png
1212
1213 %files devel
1214 %defattr(644,root,root,755)
1215 %{_includedir}
1216 %{_libexecdir}/*.exp
1217 %attr(755,root,root) %dir %{_libexecdir}/build
1218 %attr(644,root,root) %{_libexecdir}/build/*.mk
1219 %attr(755,root,root) %{_libexecdir}/build/*.sh
1220 %attr(755,root,root) %{_libexecdir}/build/libtool
1221
1222 %files mod_actions
1223 %defattr(644,root,root,755)
1224 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1225 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1226 %{_datadir}/manual/mod/mod_actions.html.en
1227
1228 %files mod_auth
1229 %defattr(644,root,root,755)
1230 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1231 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1232 %attr(755,root,root) %{_sbindir}/htpasswd
1233 %{_datadir}/manual/mod/mod_auth.html.en
1234 %{_mandir}/man1/htpasswd.1*
1235
1236 %files mod_auth_anon
1237 %defattr(644,root,root,755)
1238 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1239 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1240 %{_datadir}/manual/mod/mod_auth_anon.html.en
1241
1242 %files mod_auth_dbm
1243 %defattr(644,root,root,755)
1244 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1245 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1246 %attr(755,root,root) %{_sbindir}/dbmmanage
1247 %attr(755,root,root) %{_sbindir}/htdbm
1248 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1249 %{_mandir}/man1/dbmmanage.1*
1250
1251 %files mod_auth_digest
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1254 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1255 %{_datadir}/manual/mod/mod_auth_digest.html.en
1256
1257 %files mod_cache
1258 %defattr(644,root,root,755)
1259 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1260 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1261 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1262 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1263 %{_datadir}/manual/mod/mod_cache.html.en
1264
1265 %files mod_cgid
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1268 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1269 %{_datadir}/manual/mod/mod_cgid.html.en
1270
1271 %files mod_charset_lite
1272 %defattr(644,root,root,755)
1273 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1274 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1275 %{_datadir}/manual/mod/mod_charset_lite.html.en
1276
1277 %files mod_dav
1278 %defattr(644,root,root,755)
1279 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1280 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1281 %{_datadir}/manual/mod/mod_dav*.html.en
1282
1283 %files mod_deflate
1284 %defattr(644,root,root,755)
1285 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1286 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1287 %{_datadir}/manual/mod/mod_deflate.html.en
1288
1289 %files mod_dir
1290 %defattr(644,root,root,755)
1291 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1292 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1293 %{_datadir}/manual/mod/mod_dir.html.en
1294
1295 %files mod_expires
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1298 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1299 %{_datadir}/manual/mod/mod_expires.html.en
1300
1301 %files mod_file_cache
1302 %defattr(644,root,root,755)
1303 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1304 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1305 %{_datadir}/manual/mod/mod_file_cache.html.en
1306
1307 %files mod_headers
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1310 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1311 %{_datadir}/manual/mod/mod_headers.html.en
1312
1313 %files mod_imap
1314 %defattr(644,root,root,755)
1315 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1316 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1317 %{_datadir}/manual/mod/mod_imap.html.en
1318
1319 %files mod_info
1320 %defattr(644,root,root,755)
1321 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1322 %attr(755,root,root) %{_libexecdir}/mod_info.so
1323 %{_datadir}/manual/mod/mod_info.html.en
1324
1325 %files mod_proxy
1326 %defattr(644,root,root,755)
1327 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1328 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1329 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1330 %attr(770,root,http) /var/cache/apache
1331
1332 %files mod_rewrite
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1335 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1336 %{_datadir}/manual/mod/mod_rewrite.html.en
1337 %{_datadir}/manual/images/mod_rewrite*
1338
1339 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1340 %files mod_ssl
1341 %defattr(644,root,root,755)
1342 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1345 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1346 %{_datadir}/manual/ssl
1347 %{_datadir}/manual/mod/mod_ssl.html.en
1348 %endif
1349
1350 %files mod_status
1351 %defattr(644,root,root,755)
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1353 %attr(755,root,root) %{_libexecdir}/mod_status.so
1354 %{_datadir}/manual/mod/mod_status.html.en
1355
1356 %files mod_usertrack
1357 %defattr(644,root,root,755)
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1359 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1360 %{_datadir}/manual/mod/mod_usertrack.html.en
1361
1362 %files mod_unique_id
1363 %defattr(644,root,root,755)
1364 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1365 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1366 %{_datadir}/manual/mod/mod_unique_id.html.en
1367
1368 %files mod_vhost_alias
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1371 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1372 %{_datadir}/manual/vhosts
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 1.061167 seconds and 3 git commands to generate.