]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
4081a927a122d79b2cd8a1ff773e776326ca07d2
[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.3
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.5-0.3
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¿ytkowników poprzez 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 %description mod_auth_ldap -l pl
270 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
271
272 %package mod_auth_dbm
273 Summary:        Apache module with user authentication which uses DBM files
274 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
275 Group:          Networking/Daemons
276 Obsoletes:      %{name}-mod_auth_db
277 Requires:       %{name} = %{version}
278
279 %description mod_auth_dbm
280 This module provides for HTTP Basic Authentication, where the
281 usernames and passwords are stored in DBM type database files. It is
282 an alternative to the plain text password files provided by mod_auth.
283
284 %description mod_auth_dbm -l pl
285 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
286 ich has³a s± trzymane w plikach bazy typu DBM.
287
288 %package mod_auth_digest
289 Summary:        Apache user authentication module using MD5 Digest Authentication
290 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
291 Group:          Networking/Daemons
292 Obsoletes:      apache-mod_digest
293 Requires:       %{name} = %{version}
294
295 %description mod_auth_digest
296 This package contains mod_digest module. It provides user
297 authentication using MD5 Digest Authentication.
298
299 %description mod_auth_digest -l pl
300 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
301 Authentication.
302
303 %package mod_cache
304 Summary:        Content cache keyed to URIs
305 Summary(pl):    Pamiêæ podrêczna wg klucza URI
306 Group:          Networking/Daemons
307 Requires:       %{name} = %{version}
308
309 %description mod_cache
310 mod_cache implements an RFC 2616 compliant HTTP content cache that can
311 be used to cache either local or proxied content. Two storage
312 management modules are included in the base Apache distribution:
313 mod_disk_cache implements a disk based storage manager (generally used
314 for proxy caching) and mod_mem_cache implements an in-memory based
315 storage manager (primarily useful for caching local content).
316
317 %description mod_cache -l pl
318 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
319 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
320 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
321 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
322 (u¿ywane do cacheowania proxy).
323
324 %package mod_cgid
325 Summary:        Execution of CGI scripts using an external CGI daemon
326 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
327 Group:          Networking/Daemons
328 Requires:       %{name} = %{version}
329
330 %description mod_cgid
331 Execution of CGI scripts using an external CGI daemon.
332
333 %description mod_cgid -l pl
334 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
335
336 %package mod_charset_lite
337 Summary:        Specify character set translation or recoding
338 Summary(pl):    Translacja lub przekodowywanie znaków
339 Group:          Networking/Daemons
340 Requires:       %{name} = %{version}
341
342 %description mod_charset_lite
343 Specify character set translation or recoding.
344
345 %description mod_charset_lite -l pl
346 Translacja lub przekodowywanie znaków.
347
348 %package mod_dav
349 Summary:        Apache module - Distributed Authoring and Versioning
350 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
351 Group:          Networking/Daemons
352 Requires:       %{name} = %{version}
353
354 %description mod_dav
355 This module provides class 1 and class 2 WebDAV ('Web-based
356 Distributed Authoring and Versioning') functionality for Apache. This
357 extension to the HTTP protocol allows creating, moving, copying, and
358 deleting resources and collections on a remote web server.
359
360 %description mod_dav -l pl
361 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
362 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
363 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
364 zdalnym serwerze WWW.
365
366 %package mod_deflate
367 Summary:        Apache module: Compress content before it is delivered to the client
368 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
369 Group:          Networking/Daemons
370 Requires:       %{name} = %{version}
371
372 %description mod_deflate
373 Compress content before it is delivered to the client.
374
375 %description mod_deflate -l pl
376 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
377
378 %package mod_dir
379 Summary:        Apache module for "trailing slash" redirects and serving directory index files
380 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
381 Group:          Networking/Daemons
382 Requires:       %{name} = %{version}
383
384 %description mod_dir
385 This package contains mod_dir which provides "trailing slash"
386 redirects and serving directory index files.
387
388 %description mod_dir -l pl
389 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
390 katalogu.
391
392 %package mod_headers
393 Summary:        Apache module allows for the customization of HTTP response headers
394 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
395 Group:          Networking/Daemons
396 Requires:       %{name} = %{version}
397
398 %description mod_headers
399 This package contains mod_headers module. The module allows for the
400 customization of HTTP response headers. Headers can be merged,
401 replaced or removed.
402
403 %description mod_headers -l pl
404 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
405 wysy³anych do przegl±darki.
406
407 %package mod_imap
408 Summary:        Apache module with imap-file handler
409 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
410 Group:          Networking/Daemons
411 Requires:       %{name} = %{version}
412
413 %description mod_imap
414 This package contains mod_imap module. It provides for .map files,
415 replacing the functionality of the imagemap CGI program. Any directory
416 or document type configured to use the handler imap-file.
417
418 %description mod_imap -l pl
419 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
420
421 %package mod_info
422 Summary:        Apache module with comprehensive overview of the server configuration
423 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
424 Group:          Networking/Daemons
425 Requires:       %{name} = %{version}
426
427 %description mod_info
428 This package contains mod_info module. It provides a comprehensive
429 overview of the server configuration including all installed modules
430 and directives in the configuration files.
431
432 %description mod_info -l pl
433 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
434 zainstalowanych modu³ach itp.
435
436 %package mod_ldap
437 Summary:        Apache module to use LDAP connections
438 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
439 Group:          Networking/Daemons
440 Requires:       %{name} = %{version}
441
442 %description mod_ldap
443 Apache module to use LDAP connections.
444
445 %description mod_ldap -l pl
446 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
447
448 %package mod_proxy
449 Summary:        Apache module with Web proxy
450 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
451 Group:          Networking/Daemons
452 Requires:       %{name} = %{version}
453
454 %description mod_proxy
455 This package contains module with implementation a proxy/cache for
456 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
457 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
458 connect to other proxy modules for these and other protocols.
459
460 %description mod_proxy -l pl
461 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
462 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
463 HTTP/1.0 i HTTP/1.1.
464
465 %package mod_rewrite
466 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
467 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
468 Group:          Networking/Daemons
469 Requires:       %{name} = %{version}
470
471 %description mod_rewrite
472 This package contains It provides a rule-based rewriting engine to
473 rewrite requested URLs on the fly.
474
475 %description mod_rewrite -l pl
476 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
477
478 %package mod_ssl
479 Summary:        SSL/TLS module for the Apache HTTP server
480 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
481 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
482 Group:          Networking/Daemons
483 Epoch:          1
484 Requires:       %{name} = %{version}
485
486 %description mod_ssl
487 The mod_ssl module provides strong cryptography for the Apache Web
488 server via the Secure Sockets Layer (SSL) and Transport Layer Security
489 (TLS) protocols.
490
491 %description mod_ssl -l pl
492 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
493 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
494 Security).
495
496 %description mod_ssl -l ru
497 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
498 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
499
500 %package mod_status
501 Summary:        Server status report module for Apache
502 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
503 Group:          Networking/Daemons
504 Requires:       %{name} = %{version}
505
506 %description mod_status
507 The Status module allows a server administrator to find out how well
508 their server is performing. A HTML page is presented that gives the
509 current server statistics in an easily readable form. If required this
510 page can be made to automatically refresh (given a compatible
511 browser).
512
513 %description mod_status -l pl
514 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
515 pracy serwera apache (w postaci strony HTML).
516
517 %package mod_usertrack
518 Summary:        Apache module for user tracking using cookies
519 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
520 Group:          Networking/Daemons
521 Requires:       %{name} = %{version}
522
523 %description mod_usertrack
524 This package contains the user tracking module which did its own
525 logging using CookieLog directory. This module allow multiple log
526 files.
527
528 %description mod_usertrack -l pl
529 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
530
531 %package mod_vhost_alias
532 Summary:        Apache module for dynamically configured mass virtual hosting
533 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
534 Group:          Networking/Daemons
535 Requires:       %{name} = %{version}
536
537 %description mod_vhost_alias
538 This package contains the mod_vhost_alias. It provides support for
539 dynamically configured mass virtual hosting.
540
541 %description mod_vhost_alias -l pl
542 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
543 wirtualnych.
544
545 %package mod_unique_id
546 Summary:        Apache module which provides a magic token for each request
547 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
548 Group:          Networking/Daemons
549 Requires:       %{name} = %{version}
550
551 %description mod_unique_id
552 This package contains the mod_unique_id. This module provides a magic
553 token for each request which is guaranteed to be unique across "all"
554 requests under very specific conditions. The unique identifier is even
555 unique across multiple machines in a properly configured cluster of
556 machines. The environment variable UNIQUE_ID is set to the identifier
557 for each request. Unique identifiers are useful for various reasons
558 which are beyond the scope of this document.
559
560 %description mod_unique_id -l pl
561 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
562 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
563 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
564 UNIQUE_ID.
565
566 %package mod_expires
567 Summary:        Apache module which generates Expires HTTP headers
568 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
569 Group:          Networking/Daemons
570 Requires:       %{name} = %{version}
571
572 %description mod_expires
573 This module controls the setting of the Expires HTTP header in server
574 responses. The expiration date can set to be relative to either the
575 time the source file was last modified, or to the time of the client
576 access.
577
578 %description mod_expires -l pl
579 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
580 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
581 ¼ród³owych lub odwo³ania klienta.
582
583 %package mod_file_cache
584 Summary:        Apache module: caches a static list of files in memory
585 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
586 Group:          Networking/Daemons
587 Obsoletes:      %{name}-mmap_static
588 Requires:       %{name} = %{version}
589
590 %description mod_file_cache
591 Caches a static list of files in memory.
592
593 %description mod_file_cache -l pl
594 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
595
596 %prep
597 %setup -q -n httpd-%{version}
598 %patch0 -p1
599 %patch1 -p1
600 %patch2 -p1
601 %patch3 -p1
602 %patch4 -p1
603
604 %build
605 # sanity check
606 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
607 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
608         echo "Set %%_apache_modules_api to $MODILES_API and rerun."
609         exit 1
610 fi
611 ./buildconf
612 %configure \
613         --prefix=%{_libexecdir} \
614         --enable-layout=PLD \
615         --enable-modules=all \
616         --enable-mods-shared=all \
617         --enable-auth-anon       \
618         --enable-auth-dbm \
619         --enable-auth-digest \
620         --enable-file-cache \
621         --enable-echo \
622         --enable-cache \
623         --enable-charset-lite \
624         --enable-mem-cache \
625         --enable-disk-cache \
626         --enable-ext-filter \
627         --enable-case-filter \
628         --enable-case-filter-in \
629         --enable-deflate \
630         --with-z=%{_prefix} \
631         --enable-mime-magic \
632         --enable-cern-meta \
633         --enable-expires \
634         --enable-headers \
635         --enable-usertrack \
636         --enable-unique-id \
637         --enable-proxy \
638         --enable-proxy-connect \
639         --enable-proxy-ftp \
640         --enable-proxy-http \
641         %{!?_without_ssl:--enable-ssl} \
642         --enable-optional-hook-export \
643         --enable-optional-hook-import \
644         --enable-optional-fn-import \
645         --enable-optional-fn-export \
646         %{!?_without_ldap:--enable-ldap} \
647         %{!?_without_ldap:--enable-auth-ldap} \
648         --enable-dav \
649         --enable-info \
650         --enable-suexec \
651         --enable-cgi \
652         --enable-cgid \
653         --enable-dav-fs \
654         --enable-vhost-alias \
655         --enable-speling \
656         --enable-rewrite \
657         --enable-so \
658         --with-mpm=worker \
659         --with-suexec-bin=%{_sbindir}/suexec \
660         --with-suexec-caller=http \
661         --with-suexec-docroot=%{_datadir} \
662         --with-suexec-logfile=/var/log/httpd/suexec_log \
663         --with-suexec-uidmin=500 \
664         --with-suexec-gidmin=500 \
665         --with-suexec-umask=077 \
666         --with-apr=%{_bindir} \
667         --with-apr-util=%{_bindir}
668
669 %{__make}
670
671 %install
672 rm -rf $RPM_BUILD_ROOT
673 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
674         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
675
676 %{__make} install \
677         DESTDIR=$RPM_BUILD_ROOT \
678         installbuilddir=%{_sysconfdir}/build \
679         prefix=%{_sysconfdir}/httpd \
680         libexecdir=%{_libdir}/%{name} \
681         iconsdir=%{_datadir}/icons \
682         errordir=%{_datadir}/error \
683         htdocsdir=%{_datadir}/html \
684         manualdir=%{_datadir}/manual \
685         cgidir=%{_datadir}/cgi-bin \
686         runtimedir=%{_var}/run \
687         logdir=%{_var}/log/httpd \
688         proxycachedir=%{_var}/cache/httpd
689
690 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
691 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
692
693 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
694         $RPM_BUILD_ROOT%{_libexecdir}/build
695
696 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
697 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
698 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
699 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
700 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
701 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
702
703 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
704 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
705 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
706
707 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
708
709 %if %{?_without_ssl:0}%{!?_without_ssl:1}
710 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
711 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
712 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
713 %endif
714
715 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
716
717 install %{SOURCE6}  $CFG/10_httpd.conf
718 install %{SOURCE8}  $CFG/20_mod_vhost_alias.conf
719 install %{SOURCE9}  $CFG/25_mod_status.conf
720 install %{SOURCE10} $CFG/30_mod_proxy.conf
721 install %{SOURCE11} $CFG/35_mod_info.conf
722 install %{SOURCE12} $CFG/40_mod_ssl.conf
723 install %{SOURCE13} $CFG/45_mod_dav.conf
724 install %{SOURCE14} $CFG/59_mod_dir.conf
725
726 echo "LoadModule ldap_module       %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
727 echo "LoadModule actions_module       %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
728 echo "LoadModule auth_module          %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
729 echo "LoadModule auth_anon_module     %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
730 echo "LoadModule auth_dbm_module      %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
731 echo "LoadModule auth_digest_module   %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
732 echo "LoadModule cache_module         %{_libexecdir}/mod_cache.so
733 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
734 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
735 echo "LoadModule cgid_module          %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
736 echo "LoadModule charset_lite_module  %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
737 echo "LoadModule deflate_module       %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
738 echo "LoadModule auth_ldap_module     %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
739 echo "LoadModule expires_module       %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
740 echo "LoadModule file_cache_module    %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
741 echo "LoadModule headers_module       %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
742 echo "LoadModule imap_module          %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
743 echo "LoadModule rewrite_module       %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
744 echo "LoadModule usertrack_module     %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
745 echo "LoadModule unique_id_module     %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
746
747 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
748
749 %clean
750 rm -rf $RPM_BUILD_ROOT
751
752 %pre
753 if [ -n "`getgid http`" ]; then
754         if [ "`getgid http`" != "51" ]; then
755                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
756                 exit 1
757         fi
758 else
759         /usr/sbin/groupadd -g 51 -r -f http
760 fi
761 if [ -n "`id -u http 2>/dev/null`" ]; then
762         if [ "`id -u http`" != "51" ]; then
763                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
764                 exit 1
765         fi
766 else
767         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
768 fi
769
770 %post
771 /sbin/ldconfig
772 /sbin/chkconfig --add httpd
773 umask 137
774 touch /var/log/httpd/{access,error,agent,referer}_log
775 if [ -f /var/lock/subsys/httpd ]; then
776         /etc/rc.d/init.d/httpd restart 1>&2
777 else
778         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
779 fi
780
781 %preun
782 if [ "$1" = "0" ]; then
783         if [ -f /var/lock/subsys/httpd ]; then
784                 /etc/rc.d/init.d/httpd stop 1>&2
785         fi
786         /sbin/chkconfig --del httpd
787 fi
788
789 %postun
790 /sbin/ldconfig
791 if [ "$1" = "0" ]; then
792         /usr/sbin/userdel http
793         /usr/sbin/groupdel http
794 fi
795
796 %post mod_actions
797 if [ -f /var/lock/subsys/httpd ]; then
798         /etc/rc.d/init.d/httpd restart 1>&2
799 else
800         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
801 fi
802
803 %preun mod_actions
804 if [ "$1" = "0" ]; then
805         if [ -f /var/lock/subsys/httpd ]; then
806                 /etc/rc.d/init.d/httpd restart 1>&2
807         fi
808 fi
809
810 %post mod_auth
811 if [ -f /var/lock/subsys/httpd ]; then
812         /etc/rc.d/init.d/httpd restart 1>&2
813 else
814         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
815 fi
816
817 %preun mod_auth
818 if [ "$1" = "0" ]; then
819         if [ -f /var/lock/subsys/httpd ]; then
820                 /etc/rc.d/init.d/httpd restart 1>&2
821         fi
822 fi
823
824 %post mod_auth_anon
825 if [ -f /var/lock/subsys/httpd ]; then
826         /etc/rc.d/init.d/httpd restart 1>&2
827 else
828         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
829 fi
830
831 %preun mod_auth_anon
832 if [ "$1" = "0" ]; then
833         if [ -f /var/lock/subsys/httpd ]; then
834                 /etc/rc.d/init.d/httpd restart 1>&2
835         fi
836 fi
837
838 %post mod_auth_dbm
839 if [ -f /var/lock/subsys/httpd ]; then
840         /etc/rc.d/init.d/httpd restart 1>&2
841 else
842         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
843 fi
844
845 %preun mod_auth_dbm
846 if [ "$1" = "0" ]; then
847         if [ -f /var/lock/subsys/httpd ]; then
848                 /etc/rc.d/init.d/httpd restart 1>&2
849         fi
850 fi
851
852 %post mod_cache
853 if [ -f /var/lock/subsys/httpd ]; then
854         /etc/rc.d/init.d/httpd restart 1>&2
855 else
856         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
857 fi
858
859 %preun mod_cache
860 if [ "$1" = "0" ]; then
861         if [ -f /var/lock/subsys/httpd ]; then
862                 /etc/rc.d/init.d/httpd restart 1>&2
863         fi
864 fi
865
866 %post mod_cgid
867 if [ -f /var/lock/subsys/httpd ]; then
868         /etc/rc.d/init.d/httpd restart 1>&2
869 else
870         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
871 fi
872
873 %preun mod_cgid
874 if [ "$1" = "0" ]; then
875         if [ -f /var/lock/subsys/httpd ]; then
876                 /etc/rc.d/init.d/httpd restart 1>&2
877         fi
878 fi
879
880 %post mod_charset_lite
881 if [ -f /var/lock/subsys/httpd ]; then
882         /etc/rc.d/init.d/httpd restart 1>&2
883 else
884         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
885 fi
886
887 %preun mod_charset_lite
888 if [ "$1" = "0" ]; then
889         if [ -f /var/lock/subsys/httpd ]; then
890                 /etc/rc.d/init.d/httpd restart 1>&2
891         fi
892 fi
893
894 %post mod_dav
895 if [ -f /var/lock/subsys/httpd ]; then
896         /etc/rc.d/init.d/httpd restart 1>&2
897 else
898         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
899 fi
900
901 %preun mod_dav
902 if [ "$1" = "0" ]; then
903         if [ -f /var/lock/subsys/httpd ]; then
904                 /etc/rc.d/init.d/httpd restart 1>&2
905         fi
906 fi
907
908 %post mod_auth_digest
909 if [ -f /var/lock/subsys/httpd ]; then
910         /etc/rc.d/init.d/httpd restart 1>&2
911 else
912         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
913 fi
914
915 %preun mod_auth_digest
916 if [ "$1" = "0" ]; then
917         if [ -f /var/lock/subsys/httpd ]; then
918                 /etc/rc.d/init.d/httpd restart 1>&2
919         fi
920 fi
921
922 %post mod_deflate
923 if [ -f /var/lock/subsys/httpd ]; then
924         /etc/rc.d/init.d/httpd restart 1>&2
925 else
926         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
927 fi
928
929 %preun mod_deflate
930 if [ "$1" = "0" ]; then
931         if [ -f /var/lock/subsys/httpd ]; then
932                 /etc/rc.d/init.d/httpd restart 1>&2
933         fi
934 fi
935
936 %post mod_dir
937 if [ -f /var/lock/subsys/httpd ]; then
938         /etc/rc.d/init.d/httpd restart 1>&2
939 else
940         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
941 fi
942
943 %preun mod_dir
944 if [ "$1" = "0" ]; then
945         if [ -f /var/lock/subsys/httpd ]; then
946                 /etc/rc.d/init.d/httpd restart 1>&2
947         fi
948 fi
949
950 %post mod_expires
951 if [ -f /var/lock/subsys/httpd ]; then
952         /etc/rc.d/init.d/httpd restart 1>&2
953 else
954         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
955 fi
956
957 %preun mod_expires
958 if [ "$1" = "0" ]; then
959         if [ -f /var/lock/subsys/httpd ]; then
960                 /etc/rc.d/init.d/httpd restart 1>&2
961         fi
962 fi
963
964 %post mod_file_cache
965 if [ -f /var/lock/subsys/httpd ]; then
966         /etc/rc.d/init.d/httpd restart 1>&2
967 else
968         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
969 fi
970
971 %preun mod_file_cache
972 if [ "$1" = "0" ]; then
973         if [ -f /var/lock/subsys/httpd ]; then
974                 /etc/rc.d/init.d/httpd restart 1>&2
975         fi
976 fi
977
978 %post mod_headers
979 if [ -f /var/lock/subsys/httpd ]; then
980         /etc/rc.d/init.d/httpd restart 1>&2
981 else
982         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
983 fi
984
985 %preun mod_headers
986 if [ "$1" = "0" ]; then
987         if [ -f /var/lock/subsys/httpd ]; then
988                 /etc/rc.d/init.d/httpd restart 1>&2
989         fi
990 fi
991
992 %post mod_imap
993 if [ -f /var/lock/subsys/httpd ]; then
994         /etc/rc.d/init.d/httpd restart 1>&2
995 else
996         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
997 fi
998
999 %preun mod_imap
1000 if [ "$1" = "0" ]; then
1001         if [ -f /var/lock/subsys/httpd ]; then
1002                 /etc/rc.d/init.d/httpd restart 1>&2
1003         fi
1004 fi
1005
1006 %post mod_info
1007 if [ -f /var/lock/subsys/httpd ]; then
1008         /etc/rc.d/init.d/httpd restart 1>&2
1009 else
1010         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1011 fi
1012
1013 %preun mod_info
1014 if [ "$1" = "0" ]; then
1015         if [ -f /var/lock/subsys/httpd ]; then
1016                 /etc/rc.d/init.d/httpd restart 1>&2
1017         fi
1018 fi
1019
1020 %post mod_proxy
1021 if [ -f /var/lock/subsys/httpd ]; then
1022         /etc/rc.d/init.d/httpd restart 1>&2
1023 else
1024         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1025 fi
1026
1027 %preun mod_proxy
1028 if [ "$1" = "0" ]; then
1029         if [ -f /var/lock/subsys/httpd ]; then
1030                 /etc/rc.d/init.d/httpd restart 1>&2
1031         fi
1032 fi
1033
1034 %post mod_rewrite
1035 if [ -f /var/lock/subsys/httpd ]; then
1036         /etc/rc.d/init.d/httpd restart 1>&2
1037 else
1038         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1039 fi
1040
1041 %preun mod_rewrite
1042 if [ "$1" = "0" ]; then
1043         if [ -f /var/lock/subsys/httpd ]; then
1044                 /etc/rc.d/init.d/httpd restart 1>&2
1045         fi
1046 fi
1047
1048 %post mod_ssl
1049 if [ -f /var/lock/subsys/httpd ]; then
1050         /etc/rc.d/init.d/httpd restart 1>&2
1051 else
1052         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1053 fi
1054
1055 %preun mod_ssl
1056 if [ "$1" = "0" ]; then
1057         if [ -f /var/lock/subsys/httpd ]; then
1058                 /etc/rc.d/init.d/httpd restart 1>&2
1059         fi
1060 fi
1061
1062 %post mod_status
1063 if [ -f /var/lock/subsys/httpd ]; then
1064         /etc/rc.d/init.d/httpd restart 1>&2
1065 else
1066         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1067 fi
1068
1069 %preun mod_status
1070 if [ "$1" = "0" ]; then
1071         if [ -f /var/lock/subsys/httpd ]; then
1072                 /etc/rc.d/init.d/httpd restart 1>&2
1073         fi
1074 fi
1075
1076 %post mod_usertrack
1077 if [ -f /var/lock/subsys/httpd ]; then
1078         /etc/rc.d/init.d/httpd restart 1>&2
1079 else
1080         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1081 fi
1082
1083 %preun mod_usertrack
1084 if [ "$1" = "0" ]; then
1085         if [ -f /var/lock/subsys/httpd ]; then
1086                 /etc/rc.d/init.d/httpd restart 1>&2
1087         fi
1088 fi
1089
1090 %post mod_unique_id
1091 if [ -f /var/lock/subsys/httpd ]; then
1092         /etc/rc.d/init.d/httpd restart 1>&2
1093 else
1094         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1095 fi
1096
1097 %preun mod_unique_id
1098 if [ "$1" = "0" ]; then
1099         if [ -f /var/lock/subsys/httpd ]; then
1100                 /etc/rc.d/init.d/httpd restart 1>&2
1101         fi
1102 fi
1103
1104 %post mod_vhost_alias
1105 if [ -f /var/lock/subsys/httpd ]; then
1106         /etc/rc.d/init.d/httpd restart 1>&2
1107 else
1108         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1109 fi
1110
1111 %preun mod_vhost_alias
1112 if [ "$1" = "0" ]; then
1113         if [ -f /var/lock/subsys/httpd ]; then
1114                 /etc/rc.d/init.d/httpd restart 1>&2
1115         fi
1116 fi
1117
1118 %files
1119 %defattr(644,root,root,755)
1120 %doc ABOUT_APACHE CHANGES README
1121 %doc docs/conf/mime.types
1122
1123 %attr(754,root,root) /etc/rc.d/init.d/httpd
1124
1125 %attr(750,root,root) %dir %{_sysconfdir}
1126 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1127 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1128 %attr(640,root,root) %{_sysconfdir}/magic
1129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1130 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1131
1132 %dir %{_libexecdir}
1133 %attr(755,root,root) %{_libexecdir}/mod_access.so
1134 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1135 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1136 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1137 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1138 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1139 %attr(755,root,root) %{_libexecdir}/mod_env.so
1140 %attr(755,root,root) %{_libexecdir}/mod_include.so
1141 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1142 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1143 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1144 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1145 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1146 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1147 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1148
1149 # look at TODO on top
1150 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1151 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1152 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1153 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1154 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1155 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1156 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1157 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1158
1159 %attr(755,root,root) %{_sbindir}/htdigest
1160
1161 %attr(755,root,root) %{_sbindir}/ab
1162 %attr(755,root,root) %{_sbindir}/apachectl
1163 %attr(755,root,root) %{_sbindir}/apxs
1164 %attr(755,root,root) %{_sbindir}/checkgid
1165 %attr(755,root,root) %{_sbindir}/httpd
1166 %attr(755,root,root) %{_sbindir}/logresolve
1167 %attr(755,root,root) %{_sbindir}/rotatelogs
1168 %attr(755,root,root) %{_sbindir}/envvars*
1169
1170 %dir %attr(770,root,http) /var/run/apache
1171
1172 %{_mandir}/man1/htdigest.1*
1173 %{_mandir}/man8/*
1174
1175 %attr(750,root,root) %dir /var/log/httpd
1176 %attr(750,root,root) %dir /var/log/archiv/httpd
1177 %attr(640,root,root) %ghost /var/log/httpd/*
1178
1179 %dir %{_datadir}
1180 %dir %{_datadir}/manual
1181 %{_datadir}/manual/LICENSE
1182 %{_datadir}/manual/*.xml
1183 %{_datadir}/manual/*.html.en
1184 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1185 %lang(ja) %{_datadir}/manual/*.xml.ja
1186 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1187 %lang(de) %{_datadir}/manual/*.html.de
1188 %lang(fr) %{_datadir}/manual/*.html.fr
1189 %{_datadir}/manual/developer
1190 %{_datadir}/manual/faq
1191 %dir %{_datadir}/manual/howto
1192 %doc %{_datadir}/manual/howto/*.en
1193 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1194 %dir %{_datadir}/manual/images
1195 %{_datadir}/manual/images/[achips]*
1196 %{_datadir}/manual/misc
1197 %dir %{_datadir}/manual/mod
1198 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1199 %{_datadir}/manual/mod/[acd]*.xml
1200 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1201 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1202 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1203 %{_datadir}/manual/mod/index.xml
1204 %{_datadir}/manual/mod/mpm*.html.en
1205 %{_datadir}/manual/mod/mod_access.html.en
1206 %{_datadir}/manual/mod/mod_alias.html.en
1207 %{_datadir}/manual/mod/mod_asis.html.en
1208 %{_datadir}/manual/mod/mod_autoindex.html.en
1209 %{_datadir}/manual/mod/mod_cern_meta.html.en
1210 %{_datadir}/manual/mod/mod_cgi.html.en
1211 %{_datadir}/manual/mod/mod_env.html.en
1212 %{_datadir}/manual/mod/mod_include.html.en
1213 %{_datadir}/manual/mod/mod_log_config.html.en
1214 %{_datadir}/manual/mod/mod_mime*.html.en
1215 %{_datadir}/manual/mod/mod_negotiation.html.en
1216 %{_datadir}/manual/mod/mod_setenvif.html.en
1217 %{_datadir}/manual/mod/mod_speling.html.en
1218 %{_datadir}/manual/mod/mod_userdir.html.en
1219 %{_datadir}/manual/platform
1220 %{_datadir}/manual/programs
1221 %dir %{_datadir}/manual/search
1222 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1223 %{_datadir}/manual/style
1224
1225 %attr(755,root,root) %dir %{_datadir}/html
1226 %{_datadir}/icons
1227 %attr(755,root,root) %{_datadir}/cgi-bin
1228
1229 %{_datadir}/error
1230
1231 %files suexec
1232 %defattr(644,root,root,755)
1233 %attr(4755,root,root) %{_sbindir}/suexec
1234 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1235 %{_datadir}/manual/mod/mod_suexec.html.en
1236
1237 %files index
1238 %defattr(644,root,root,755)
1239 %config(noreplace,missingok) %{_datadir}/html/index.html*
1240 %{_datadir}/html/*.gif
1241 %{_datadir}/html/*.png
1242
1243 %files devel
1244 %defattr(644,root,root,755)
1245 %{_includedir}
1246 %{_libexecdir}/*.exp
1247 %attr(755,root,root) %dir %{_libexecdir}/build
1248 %attr(644,root,root) %{_libexecdir}/build/*.mk
1249 %attr(755,root,root) %{_libexecdir}/build/*.sh
1250 %attr(755,root,root) %{_libexecdir}/build/libtool
1251
1252 %files mod_actions
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1255 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1256 %{_datadir}/manual/mod/mod_actions.html.en
1257
1258 %files mod_auth
1259 %defattr(644,root,root,755)
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1261 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1262 %attr(755,root,root) %{_sbindir}/htpasswd
1263 %{_datadir}/manual/mod/mod_auth.html.en
1264 %{_mandir}/man1/htpasswd.1*
1265
1266 %files mod_auth_anon
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1270 %{_datadir}/manual/mod/mod_auth_anon.html.en
1271
1272 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1273 %files mod_auth_ldap
1274 %defattr(644,root,root,755)
1275 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1276 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1277 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1278 %endif
1279
1280 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1281 %files mod_ldap
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1284 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1285 %{_datadir}/manual/mod/mod_ldap.html.en
1286 %endif
1287
1288 %files mod_auth_dbm
1289 %defattr(644,root,root,755)
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1291 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1292 %attr(755,root,root) %{_sbindir}/dbmmanage
1293 %attr(755,root,root) %{_sbindir}/htdbm
1294 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1295 %{_mandir}/man1/dbmmanage.1*
1296
1297 %files mod_auth_digest
1298 %defattr(644,root,root,755)
1299 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1300 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1301 %{_datadir}/manual/mod/mod_auth_digest.html.en
1302
1303 %files mod_cache
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1306 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1307 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1308 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1309 %{_datadir}/manual/mod/mod_cache.html.en
1310
1311 %files mod_cgid
1312 %defattr(644,root,root,755)
1313 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1314 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1315 %{_datadir}/manual/mod/mod_cgid.html.en
1316
1317 %files mod_charset_lite
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1320 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1321 %{_datadir}/manual/mod/mod_charset_lite.html.en
1322
1323 %files mod_dav
1324 %defattr(644,root,root,755)
1325 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1326 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1327 %{_datadir}/manual/mod/mod_dav*.html.en
1328
1329 %files mod_deflate
1330 %defattr(644,root,root,755)
1331 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1332 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1333 %{_datadir}/manual/mod/mod_deflate.html.en
1334
1335 %files mod_dir
1336 %defattr(644,root,root,755)
1337 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1338 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1339 %{_datadir}/manual/mod/mod_dir.html.en
1340
1341 %files mod_expires
1342 %defattr(644,root,root,755)
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1344 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1345 %{_datadir}/manual/mod/mod_expires.html.en
1346
1347 %files mod_file_cache
1348 %defattr(644,root,root,755)
1349 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1350 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1351 %{_datadir}/manual/mod/mod_file_cache.html.en
1352
1353 %files mod_headers
1354 %defattr(644,root,root,755)
1355 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1356 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1357 %{_datadir}/manual/mod/mod_headers.html.en
1358
1359 %files mod_imap
1360 %defattr(644,root,root,755)
1361 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1362 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1363 %{_datadir}/manual/mod/mod_imap.html.en
1364
1365 %files mod_info
1366 %defattr(644,root,root,755)
1367 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1368 %attr(755,root,root) %{_libexecdir}/mod_info.so
1369 %{_datadir}/manual/mod/mod_info.html.en
1370
1371 %files mod_proxy
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1374 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1375 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1376 %attr(770,root,http) /var/cache/apache
1377
1378 %files mod_rewrite
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1381 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1382 %{_datadir}/manual/mod/mod_rewrite.html.en
1383 %{_datadir}/manual/images/mod_rewrite*
1384
1385 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1386 %files mod_ssl
1387 %defattr(644,root,root,755)
1388 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1389 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1390 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1391 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1392 %{_datadir}/manual/ssl
1393 %{_datadir}/manual/mod/mod_ssl.html.en
1394 %endif
1395
1396 %files mod_status
1397 %defattr(644,root,root,755)
1398 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1399 %attr(755,root,root) %{_libexecdir}/mod_status.so
1400 %{_datadir}/manual/mod/mod_status.html.en
1401
1402 %files mod_usertrack
1403 %defattr(644,root,root,755)
1404 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1405 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1406 %{_datadir}/manual/mod/mod_usertrack.html.en
1407
1408 %files mod_unique_id
1409 %defattr(644,root,root,755)
1410 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1411 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1412 %{_datadir}/manual/mod/mod_unique_id.html.en
1413
1414 %files mod_vhost_alias
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1417 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1418 %{_datadir}/manual/vhosts
1419 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 0.125735 seconds and 3 git commands to generate.