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