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