1 # _without_ssl - don't build with SSL support
2 # _without_ldap - don't build with LDAP support
6 # - mod_optional_fn_{export,import}
7 # - mod_optional_hook_{export,import}
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 # - multiple MPM support in subpackages like apache-mpm-worker, apache-mpm-prefork
18 # and so on. See SuSE 9 apache rpm for idea how to do this.
20 %include /usr/lib/rpm/macros.perl
21 # this is internal macro, don't change to %%apache_modules_api
22 %define _apache_modules_api 20020903
23 Summary: The most widely used Web server on the Internet
24 Summary(de): Leading World Wide Web-Server
25 Summary(es): Servidor HTTPD para proveer servicios WWW
26 Summary(fr): Le serveur web le plus utilise sur Internet
27 Summary(pl): Serwer WWW (World Wide Web)
28 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
29 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
30 Summary(tr): Lider WWW tarayýcý
34 License: Apache Group License
35 Group: Networking/Daemons
36 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
37 # Source0-md5: 466c63bb71b710d20a5c353df8c1a19c
39 Source2: %{name}.logrotate
40 Source3: %{name}-icons.tar.gz
41 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
42 Source4: %{name}.sysconfig
43 Source6: %{name}-httpd.conf
44 Source8: %{name}-mod_vhost_alias.conf
45 Source9: %{name}-mod_status.conf
46 Source10: %{name}-mod_proxy.conf
47 Source11: %{name}-mod_info.conf
48 Source12: %{name}-mod_ssl.conf
49 Source13: %{name}-mod_dav.conf
50 Source14: %{name}-mod_dir.conf
51 Source20: %{name}-server.crt
52 Source21: %{name}-server.key
53 Patch0: %{name}-configdir_skip_backups.patch
54 Patch1: %{name}-layout.patch
55 Patch2: %{name}-suexec.patch
56 Patch3: %{name}-nolibs.patch
57 Patch4: %{name}-apr.patch
58 # taken from suse. project homepage http://www.metux.de/mpm/en/?patpage=index
59 Patch5: httpd-2.0.47-metuxmpm-r6.diff
60 Patch6: %{name}-posix_syntax
61 Patch7: %{name}-gcc2.patch
62 URL: http://httpd.apache.org/
63 BuildRequires: automake
64 BuildRequires: apr-devel >= 1:0.9.4-1
65 BuildRequires: apr-util-devel >= 1:0.9.5-0.3
66 BuildRequires: db3-devel
67 BuildRequires: expat-devel
68 BuildRequires: gdbm-devel
69 BuildRequires: libtool >= 1.5
70 %{!?_without_ldap:BuildRequires: openldap-devel}
71 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.5k}
72 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.5k}
73 BuildRequires: perl-devel >= 5.004
74 BuildRequires: rpm-perlprov
75 BuildRequires: zlib-devel
78 Requires(pre): /bin/id
79 Requires(pre): /usr/bin/getgid
80 Requires(pre): /usr/sbin/groupadd
81 Requires(pre): /usr/sbin/useradd
82 Requires(postun): /usr/sbin/userdel
83 Requires(postun): /usr/sbin/groupdel
84 Requires(post,preun): /sbin/chkconfig
85 Requires(post,postun): /sbin/ldconfig
86 Requires(post): fileutils
87 Requires: apr-util >= 1:0.9.4-1
88 Requires: /etc/mime.types
90 Requires: psmisc >= 20.1
91 Provides: httpd = %{version}
92 Provides: webserver = %{version}
93 Provides: apache(modules-api) = %{_apache_modules_api}
94 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
95 Obsoletes: apache-extra
101 %define _sysconfdir /etc/httpd
102 %define _includedir %{_prefix}/include/apache
103 %define _datadir /home/services/httpd
104 %define _libexecdir %{_libdir}/apache
107 Apache is a powerful, full-featured, efficient and freely-available
108 Web server. Apache is also the most popular Web server on the
112 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
113 erhältlich und weit verbreitet ist.
116 El servidor web Apache es el mejor servidor gratuito disponible en el
117 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
118 que browsers web vean documentos y sometan datos remotamente. Puede
119 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
120 caché, y nos ofrece características como monitor de estado, conversión
121 dinámica de tipo, y otras más.
124 Apache est un serveur Web puissant, efficace, gratuit et complet.
125 Apache est aussi le serveur Web le plus populaire sur Internet.
128 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
129 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
131 %description -l pt_BR
132 O servidor web Apache é o melhor servidor gratuito disponível no mundo
133 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
134 que browsers web vejam documentos e submetam dados remotamente. Ele
135 pode executar várias funções diferentes, incluindo funções de proxy e
136 cache, e oferece características como monitor de status, conversão
137 dinâmica de tipo, e mais.
140 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
141 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
144 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
148 Summary: Apache suexec wrapper
149 Summary(pl): Wrapper suexec do serwera WWW Apache
150 Group: Development/Tools
151 Requires: %{name} = %{version}
154 The suEXEC feature provides Apache users the ability to run CGI and
155 SSI programs under user IDs different from the user ID of the calling
156 web-server. Normally, when a CGI or SSI program executes, it runs as
157 the same user who is running the web server.
159 %description suexec -l pl
160 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
161 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
162 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
165 Summary: Apache index.html* files
166 Summary(pl): Pliki Apache index.html*
168 Requires: %{name} = %{version}
171 Apache index.html* files.
173 %description index -l pl
174 Pliki Apache index.html*.
177 Summary: Module development tools for the Apache web server
178 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
179 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
180 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
181 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
182 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
183 Group: Networking/Utilities
184 Requires: %{name} = %{version}
185 Requires: apr-util-devel >= 1:0.9.4
187 Obsoletes: %{name}-static
190 The apache-devel package contains header files for Apache.
192 %description devel -l es
193 Este paquete contiene los archivos de inclusión para el Apache, bien
194 como el utilitario apxs para la construcción de objetos compartidos
195 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
196 o desarrollar módulos adicionales para Apache.
198 %description devel -l fr
199 Le package apache-devel contient le code source pour le serveur Web
200 Apache et le binaire APXS dont vous aurez besoin pour construire des
201 Objets Dynamiques Partages (DSOs) pour Apache.
203 %description devel -l pl
204 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
205 (Dynamic Shared Objects) dla Apache.
207 %description devel -l ru
208 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
210 %description devel -l pt_BR
211 Este pacote contem os arquivos de inclusão para o Apache, bem como o
212 utilitário apxs para a construção de objetos compartilhados dinâmicos
213 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
214 desenvolver módulos adicionais para o Apache.
217 Summary: Apache module for run CGI whenever a file of a certain type is requested
218 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
219 Group: Networking/Daemons
220 Requires: %{name} = %{version}
222 %description mod_actions
223 This package contains mod_actions module. This module lets you run CGI
224 scripts whenever a file of a certain type is requested. This makes it
225 much easier to execute scripts that process files.
227 %description mod_actions -l pl
228 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
229 ¿±danie pobrania pliku okre¶lonego typu.
232 Summary: Apache module with user authentication using textual files
233 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
234 Group: Networking/Daemons
235 Requires: %{name} = %{version}
237 %description mod_auth
238 This package contains mod_auth module. It provides for user
239 authentication using textual files.
241 %description mod_auth -l pl
242 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
243 u¿ytkowników na podstawie plików tekstowych.
245 %package mod_auth_anon
246 Summary: Apache module with "anonymous" user access authentication
247 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
248 Group: Networking/Daemons
249 Requires: %{name} = %{version}
251 %description mod_auth_anon
252 This package contains mod_auth_anon module. It allows "anonymous" user
253 access to authenticated areas. It does access control in a manner
254 similar to anonymous-ftp sites; i.e. have a 'magic' user id
255 'anonymous' and the email address as a password. These email addresses
256 can be logged. Combined with other (database) access control methods,
257 this allows for effective user tracking and customization according to
258 a user profile while still keeping the site open for 'unregistered'
259 users. One advantage of using Auth-based user tracking is that, unlike
260 magic-cookies and funny URL pre/postfixes, it is completely browser
261 independent and it allows users to share URLs.
263 %description mod_auth_anon -l pl
264 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
265 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
266 adresu pocztowego u¿ytkownika).
268 %package mod_auth_ldap
269 Summary: Apache module with LDAP user access authentication
270 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
271 Group: Networking/Daemons
272 Requires: %{name} = %{version}
274 %description mod_auth_ldap
275 Apache module with LDAP user access authentication.
277 %description mod_auth_ldap -l pl
278 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
280 %package mod_auth_dbm
281 Summary: Apache module with user authentication which uses DBM files
282 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
283 Group: Networking/Daemons
284 Obsoletes: %{name}-mod_auth_db
285 Requires: %{name} = %{version}
287 %description mod_auth_dbm
288 This module provides for HTTP Basic Authentication, where the
289 usernames and passwords are stored in DBM type database files. It is
290 an alternative to the plain text password files provided by mod_auth.
292 %description mod_auth_dbm -l pl
293 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
294 ich has³a s± trzymane w plikach bazy typu DBM.
296 %package mod_auth_digest
297 Summary: Apache user authentication module using MD5 Digest Authentication
298 Summary(pl): Modu³ Apache'a do autoryzacji MD5
299 Group: Networking/Daemons
300 Obsoletes: apache-mod_digest
301 Requires: %{name} = %{version}
303 %description mod_auth_digest
304 This package contains mod_digest module. It provides user
305 authentication using MD5 Digest Authentication.
307 %description mod_auth_digest -l pl
308 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
312 Summary: Content cache keyed to URIs
313 Summary(pl): Pamiêæ podrêczna wg klucza URI
314 Group: Networking/Daemons
315 Requires: %{name} = %{version}
317 %description mod_cache
318 mod_cache implements an RFC 2616 compliant HTTP content cache that can
319 be used to cache either local or proxied content. Two storage
320 management modules are included in the base Apache distribution:
321 mod_disk_cache implements a disk based storage manager (generally used
322 for proxy caching) and mod_mem_cache implements an in-memory based
323 storage manager (primarily useful for caching local content).
325 %description mod_cache -l pl
326 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
327 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
328 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
329 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
330 (u¿ywane do cacheowania proxy).
333 Summary: Execution of CGI scripts using an external CGI daemon
334 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
335 Group: Networking/Daemons
336 Requires: %{name} = %{version}
338 %description mod_cgid
339 Execution of CGI scripts using an external CGI daemon.
341 %description mod_cgid -l pl
342 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
344 %package mod_charset_lite
345 Summary: Specify character set translation or recoding
346 Summary(pl): Translacja lub przekodowywanie znaków
347 Group: Networking/Daemons
348 Requires: %{name} = %{version}
350 %description mod_charset_lite
351 Specify character set translation or recoding.
353 %description mod_charset_lite -l pl
354 Translacja lub przekodowywanie znaków.
357 Summary: Apache module - Distributed Authoring and Versioning
358 Summary(pl): Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
359 Group: Networking/Daemons
360 Requires: %{name} = %{version}
363 This module provides class 1 and class 2 WebDAV ('Web-based
364 Distributed Authoring and Versioning') functionality for Apache. This
365 extension to the HTTP protocol allows creating, moving, copying, and
366 deleting resources and collections on a remote web server.
368 %description mod_dav -l pl
369 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
370 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
371 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
372 zdalnym serwerze WWW.
375 Summary: Apache module: Compress content before it is delivered to the client
376 Summary(pl): Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
377 Group: Networking/Daemons
378 Requires: %{name} = %{version}
380 %description mod_deflate
381 Compress content before it is delivered to the client.
383 %description mod_deflate -l pl
384 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
387 Summary: Apache module for "trailing slash" redirects and serving directory index files
388 Summary(pl): Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
389 Group: Networking/Daemons
390 Requires: %{name} = %{version}
393 This package contains mod_dir which provides "trailing slash"
394 redirects and serving directory index files.
396 %description mod_dir -l pl
397 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
401 Summary: Apache module allows for the customization of HTTP response headers
402 Summary(pl): Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
403 Group: Networking/Daemons
404 Requires: %{name} = %{version}
406 %description mod_headers
407 This package contains mod_headers module. The module allows for the
408 customization of HTTP response headers. Headers can be merged,
411 %description mod_headers -l pl
412 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
413 wysy³anych do przegl±darki.
416 Summary: Apache module with imap-file handler
417 Summary(pl): Modu³ Apache'a z obs³ug± imap-file
418 Group: Networking/Daemons
419 Requires: %{name} = %{version}
421 %description mod_imap
422 This package contains mod_imap module. It provides for .map files,
423 replacing the functionality of the imagemap CGI program. Any directory
424 or document type configured to use the handler imap-file.
426 %description mod_imap -l pl
427 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
430 Summary: Apache module with comprehensive overview of the server configuration
431 Summary(pl): Modu³ Apache'a udostêpniaj±cy informacje o serwerze
432 Group: Networking/Daemons
433 Requires: %{name} = %{version}
435 %description mod_info
436 This package contains mod_info module. It provides a comprehensive
437 overview of the server configuration including all installed modules
438 and directives in the configuration files.
440 %description mod_info -l pl
441 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
442 zainstalowanych modu³ach itp.
445 Summary: Apache module to use LDAP connections
446 Summary(pl): Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
447 Group: Networking/Daemons
448 Requires: %{name} = %{version}
450 %description mod_ldap
451 Apache module to use LDAP connections.
453 %description mod_ldap -l pl
454 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
457 Summary: Apache module with Web proxy
458 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
459 Group: Networking/Daemons
460 Requires: %{name} = %{version}
462 %description mod_proxy
463 This package contains module with implementation a proxy/cache for
464 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
465 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
466 connect to other proxy modules for these and other protocols.
468 %description mod_proxy -l pl
469 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
470 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
474 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
475 Summary(pl): Modu³ Apache'a do "przepisywania" adresów URL w locie
476 Group: Networking/Daemons
477 Requires: %{name} = %{version}
479 %description mod_rewrite
480 This package contains It provides a rule-based rewriting engine to
481 rewrite requested URLs on the fly.
483 %description mod_rewrite -l pl
484 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
487 Summary: SSL/TLS module for the Apache HTTP server
488 Summary(pl): Modu³ SSL/TSL dla serwera Apache
489 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
490 Group: Networking/Daemons
492 Requires: %{name} = %{version}
495 The mod_ssl module provides strong cryptography for the Apache Web
496 server via the Secure Sockets Layer (SSL) and Transport Layer Security
499 %description mod_ssl -l pl
500 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
501 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
504 %description mod_ssl -l ru
505 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
506 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
509 Summary: Server status report module for Apache
510 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
511 Group: Networking/Daemons
512 Requires: %{name} = %{version}
514 %description mod_status
515 The Status module allows a server administrator to find out how well
516 their server is performing. A HTML page is presented that gives the
517 current server statistics in an easily readable form. If required this
518 page can be made to automatically refresh (given a compatible
521 %description mod_status -l pl
522 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
523 pracy serwera apache (w postaci strony HTML).
525 %package mod_usertrack
526 Summary: Apache module for user tracking using cookies
527 Summary(pl): Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
528 Group: Networking/Daemons
529 Requires: %{name} = %{version}
531 %description mod_usertrack
532 This package contains the user tracking module which did its own
533 logging using CookieLog directory. This module allow multiple log
536 %description mod_usertrack -l pl
537 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
539 %package mod_vhost_alias
540 Summary: Apache module for dynamically configured mass virtual hosting
541 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
542 Group: Networking/Daemons
543 Requires: %{name} = %{version}
545 %description mod_vhost_alias
546 This package contains the mod_vhost_alias. It provides support for
547 dynamically configured mass virtual hosting.
549 %description mod_vhost_alias -l pl
550 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
553 %package mod_unique_id
554 Summary: Apache module which provides a magic token for each request
555 Summary(pl): Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
556 Group: Networking/Daemons
557 Requires: %{name} = %{version}
559 %description mod_unique_id
560 This package contains the mod_unique_id. This module provides a magic
561 token for each request which is guaranteed to be unique across "all"
562 requests under very specific conditions. The unique identifier is even
563 unique across multiple machines in a properly configured cluster of
564 machines. The environment variable UNIQUE_ID is set to the identifier
565 for each request. Unique identifiers are useful for various reasons
566 which are beyond the scope of this document.
568 %description mod_unique_id -l pl
569 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
570 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
571 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
575 Summary: Apache module which generates Expires HTTP headers
576 Summary(pl): Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
577 Group: Networking/Daemons
578 Requires: %{name} = %{version}
580 %description mod_expires
581 This module controls the setting of the Expires HTTP header in server
582 responses. The expiration date can set to be relative to either the
583 time the source file was last modified, or to the time of the client
586 %description mod_expires -l pl
587 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
588 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
589 ¼ród³owych lub odwo³ania klienta.
591 %package mod_file_cache
592 Summary: Apache module: caches a static list of files in memory
593 Summary(pl): Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
594 Group: Networking/Daemons
595 Obsoletes: %{name}-mmap_static
596 Requires: %{name} = %{version}
598 %description mod_file_cache
599 Caches a static list of files in memory.
601 %description mod_file_cache -l pl
602 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
605 %setup -q -n httpd-%{version}
617 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
618 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
619 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
623 # Before configure; fix location of build dir in generated apxs
624 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
626 install /usr/share/automake/config.* build/
628 --prefix=%{_libexecdir} \
629 --enable-layout=PLD \
630 --enable-modules=all \
631 --enable-mods-shared=all \
634 --enable-auth-digest \
635 --enable-file-cache \
638 --enable-charset-lite \
640 --enable-disk-cache \
641 --enable-ext-filter \
642 --enable-case-filter \
643 --enable-case-filter-in \
645 --with-z=%{_prefix} \
646 --enable-mime-magic \
653 --enable-proxy-connect \
655 --enable-proxy-http \
656 %{!?_without_ssl:--enable-ssl} \
657 --enable-optional-hook-export \
658 --enable-optional-hook-import \
659 --enable-optional-fn-import \
660 --enable-optional-fn-export \
661 %{!?_without_ldap:--enable-ldap} \
662 %{!?_without_ldap:--enable-auth-ldap} \
669 --enable-vhost-alias \
674 --with-suexec-bin=%{_sbindir}/suexec \
675 --with-suexec-caller=http \
676 --with-suexec-docroot=%{_datadir} \
677 --with-suexec-logfile=/var/log/httpd/suexec_log \
678 --with-suexec-uidmin=500 \
679 --with-suexec-gidmin=500 \
680 --with-suexec-umask=077 \
681 --with-apr=%{_bindir} \
682 --with-apr-util=%{_bindir}
687 rm -rf $RPM_BUILD_ROOT
688 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
689 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
692 DESTDIR=$RPM_BUILD_ROOT \
693 installbuilddir=%{_sysconfdir}/build \
694 prefix=%{_sysconfdir}/httpd \
695 libexecdir=%{_libdir}/%{name} \
696 iconsdir=%{_datadir}/icons \
697 errordir=%{_datadir}/error \
698 htdocsdir=%{_datadir}/html \
699 manualdir=%{_datadir}/manual \
700 cgidir=%{_datadir}/cgi-bin \
701 runtimedir=%{_var}/run \
702 logdir=%{_var}/log/httpd \
703 proxycachedir=%{_var}/cache/httpd
705 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
706 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
708 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
709 $RPM_BUILD_ROOT%{_libexecdir}/build
711 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
712 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
713 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
714 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
715 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
716 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
718 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
719 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
720 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
722 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
724 %if %{?_without_ssl:0}%{!?_without_ssl:1}
725 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
726 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
727 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
730 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
732 install %{SOURCE6} $CFG/10_httpd.conf
733 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
734 install %{SOURCE9} $CFG/25_mod_status.conf
735 install %{SOURCE10} $CFG/30_mod_proxy.conf
736 install %{SOURCE11} $CFG/35_mod_info.conf
737 install %{SOURCE12} $CFG/40_mod_ssl.conf
738 install %{SOURCE13} $CFG/45_mod_dav.conf
739 install %{SOURCE14} $CFG/59_mod_dir.conf
741 echo "LoadModule ldap_module %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
742 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
743 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
744 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
745 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
746 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
747 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
748 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
749 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
750 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
751 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
752 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
753 echo "LoadModule auth_ldap_module %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
754 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
755 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
756 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
757 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
758 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
759 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
760 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
762 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
765 rm -rf $RPM_BUILD_ROOT
768 if [ -n "`getgid http`" ]; then
769 if [ "`getgid http`" != "51" ]; then
770 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
774 /usr/sbin/groupadd -g 51 -r -f http
776 if [ -n "`id -u http 2>/dev/null`" ]; then
777 if [ "`id -u http`" != "51" ]; then
778 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
782 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
787 /sbin/chkconfig --add httpd
789 touch /var/log/httpd/{access,error,agent,referer}_log
790 if [ -f /var/lock/subsys/httpd ]; then
791 /etc/rc.d/init.d/httpd restart 1>&2
793 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
797 if [ "$1" = "0" ]; then
798 if [ -f /var/lock/subsys/httpd ]; then
799 /etc/rc.d/init.d/httpd stop 1>&2
801 /sbin/chkconfig --del httpd
806 if [ "$1" = "0" ]; then
807 /usr/sbin/userdel http
808 /usr/sbin/groupdel http
812 if [ -f /var/lock/subsys/httpd ]; then
813 /etc/rc.d/init.d/httpd restart 1>&2
815 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
819 if [ "$1" = "0" ]; then
820 if [ -f /var/lock/subsys/httpd ]; then
821 /etc/rc.d/init.d/httpd restart 1>&2
826 if [ -f /var/lock/subsys/httpd ]; then
827 /etc/rc.d/init.d/httpd restart 1>&2
829 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
833 if [ "$1" = "0" ]; then
834 if [ -f /var/lock/subsys/httpd ]; then
835 /etc/rc.d/init.d/httpd restart 1>&2
840 if [ -f /var/lock/subsys/httpd ]; then
841 /etc/rc.d/init.d/httpd restart 1>&2
843 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
847 if [ "$1" = "0" ]; then
848 if [ -f /var/lock/subsys/httpd ]; then
849 /etc/rc.d/init.d/httpd restart 1>&2
854 if [ -f /var/lock/subsys/httpd ]; then
855 /etc/rc.d/init.d/httpd restart 1>&2
857 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
861 if [ "$1" = "0" ]; then
862 if [ -f /var/lock/subsys/httpd ]; then
863 /etc/rc.d/init.d/httpd restart 1>&2
868 if [ -f /var/lock/subsys/httpd ]; then
869 /etc/rc.d/init.d/httpd restart 1>&2
871 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
875 if [ "$1" = "0" ]; then
876 if [ -f /var/lock/subsys/httpd ]; then
877 /etc/rc.d/init.d/httpd restart 1>&2
882 if [ -f /var/lock/subsys/httpd ]; then
883 /etc/rc.d/init.d/httpd restart 1>&2
885 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
889 if [ "$1" = "0" ]; then
890 if [ -f /var/lock/subsys/httpd ]; then
891 /etc/rc.d/init.d/httpd restart 1>&2
895 %post mod_charset_lite
896 if [ -f /var/lock/subsys/httpd ]; then
897 /etc/rc.d/init.d/httpd restart 1>&2
899 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
902 %preun mod_charset_lite
903 if [ "$1" = "0" ]; then
904 if [ -f /var/lock/subsys/httpd ]; then
905 /etc/rc.d/init.d/httpd restart 1>&2
910 if [ -f /var/lock/subsys/httpd ]; then
911 /etc/rc.d/init.d/httpd restart 1>&2
913 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
917 if [ "$1" = "0" ]; then
918 if [ -f /var/lock/subsys/httpd ]; then
919 /etc/rc.d/init.d/httpd restart 1>&2
923 %post mod_auth_digest
924 if [ -f /var/lock/subsys/httpd ]; then
925 /etc/rc.d/init.d/httpd restart 1>&2
927 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
930 %preun mod_auth_digest
931 if [ "$1" = "0" ]; then
932 if [ -f /var/lock/subsys/httpd ]; then
933 /etc/rc.d/init.d/httpd restart 1>&2
938 if [ -f /var/lock/subsys/httpd ]; then
939 /etc/rc.d/init.d/httpd restart 1>&2
941 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
945 if [ "$1" = "0" ]; then
946 if [ -f /var/lock/subsys/httpd ]; then
947 /etc/rc.d/init.d/httpd restart 1>&2
952 if [ -f /var/lock/subsys/httpd ]; then
953 /etc/rc.d/init.d/httpd restart 1>&2
955 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
959 if [ "$1" = "0" ]; then
960 if [ -f /var/lock/subsys/httpd ]; then
961 /etc/rc.d/init.d/httpd restart 1>&2
966 if [ -f /var/lock/subsys/httpd ]; then
967 /etc/rc.d/init.d/httpd restart 1>&2
969 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
973 if [ "$1" = "0" ]; then
974 if [ -f /var/lock/subsys/httpd ]; then
975 /etc/rc.d/init.d/httpd restart 1>&2
980 if [ -f /var/lock/subsys/httpd ]; then
981 /etc/rc.d/init.d/httpd restart 1>&2
983 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
986 %preun mod_file_cache
987 if [ "$1" = "0" ]; then
988 if [ -f /var/lock/subsys/httpd ]; then
989 /etc/rc.d/init.d/httpd restart 1>&2
994 if [ -f /var/lock/subsys/httpd ]; then
995 /etc/rc.d/init.d/httpd restart 1>&2
997 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1001 if [ "$1" = "0" ]; then
1002 if [ -f /var/lock/subsys/httpd ]; then
1003 /etc/rc.d/init.d/httpd restart 1>&2
1008 if [ -f /var/lock/subsys/httpd ]; then
1009 /etc/rc.d/init.d/httpd restart 1>&2
1011 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1015 if [ "$1" = "0" ]; then
1016 if [ -f /var/lock/subsys/httpd ]; then
1017 /etc/rc.d/init.d/httpd restart 1>&2
1022 if [ -f /var/lock/subsys/httpd ]; then
1023 /etc/rc.d/init.d/httpd restart 1>&2
1025 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1029 if [ "$1" = "0" ]; then
1030 if [ -f /var/lock/subsys/httpd ]; then
1031 /etc/rc.d/init.d/httpd restart 1>&2
1036 if [ -f /var/lock/subsys/httpd ]; then
1037 /etc/rc.d/init.d/httpd restart 1>&2
1039 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1043 if [ "$1" = "0" ]; then
1044 if [ -f /var/lock/subsys/httpd ]; then
1045 /etc/rc.d/init.d/httpd restart 1>&2
1050 if [ -f /var/lock/subsys/httpd ]; then
1051 /etc/rc.d/init.d/httpd restart 1>&2
1053 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1057 if [ "$1" = "0" ]; then
1058 if [ -f /var/lock/subsys/httpd ]; then
1059 /etc/rc.d/init.d/httpd restart 1>&2
1064 if [ -f /var/lock/subsys/httpd ]; then
1065 /etc/rc.d/init.d/httpd restart 1>&2
1067 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1071 if [ "$1" = "0" ]; then
1072 if [ -f /var/lock/subsys/httpd ]; then
1073 /etc/rc.d/init.d/httpd restart 1>&2
1078 if [ -f /var/lock/subsys/httpd ]; then
1079 /etc/rc.d/init.d/httpd restart 1>&2
1081 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1085 if [ "$1" = "0" ]; then
1086 if [ -f /var/lock/subsys/httpd ]; then
1087 /etc/rc.d/init.d/httpd restart 1>&2
1092 if [ -f /var/lock/subsys/httpd ]; then
1093 /etc/rc.d/init.d/httpd restart 1>&2
1095 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1098 %preun mod_usertrack
1099 if [ "$1" = "0" ]; then
1100 if [ -f /var/lock/subsys/httpd ]; then
1101 /etc/rc.d/init.d/httpd restart 1>&2
1106 if [ -f /var/lock/subsys/httpd ]; then
1107 /etc/rc.d/init.d/httpd restart 1>&2
1109 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1112 %preun mod_unique_id
1113 if [ "$1" = "0" ]; then
1114 if [ -f /var/lock/subsys/httpd ]; then
1115 /etc/rc.d/init.d/httpd restart 1>&2
1119 %post mod_vhost_alias
1120 if [ -f /var/lock/subsys/httpd ]; then
1121 /etc/rc.d/init.d/httpd restart 1>&2
1123 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1126 %preun mod_vhost_alias
1127 if [ "$1" = "0" ]; then
1128 if [ -f /var/lock/subsys/httpd ]; then
1129 /etc/rc.d/init.d/httpd restart 1>&2
1134 %defattr(644,root,root,755)
1135 %doc ABOUT_APACHE CHANGES README
1136 %doc docs/conf/mime.types
1138 %attr(754,root,root) /etc/rc.d/init.d/httpd
1140 %attr(750,root,root) %dir %{_sysconfdir}
1141 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1142 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1143 %attr(640,root,root) %{_sysconfdir}/magic
1144 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1145 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1148 %attr(755,root,root) %{_libexecdir}/mod_access.so
1149 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1150 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1151 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1152 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1153 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1154 %attr(755,root,root) %{_libexecdir}/mod_env.so
1155 %attr(755,root,root) %{_libexecdir}/mod_include.so
1156 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1157 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1158 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1159 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1160 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1161 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1162 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1164 # look at TODO on top
1165 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1166 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1167 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1168 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1169 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1170 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1171 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1172 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1174 %attr(755,root,root) %{_sbindir}/htdigest
1176 %attr(755,root,root) %{_sbindir}/ab
1177 %attr(755,root,root) %{_sbindir}/apachectl
1178 %attr(755,root,root) %{_sbindir}/apxs
1179 %attr(755,root,root) %{_sbindir}/checkgid
1180 %attr(755,root,root) %{_sbindir}/httpd
1181 %attr(755,root,root) %{_sbindir}/logresolve
1182 %attr(755,root,root) %{_sbindir}/rotatelogs
1183 %attr(755,root,root) %{_sbindir}/envvars*
1185 %dir %attr(770,root,http) /var/run/apache
1187 %{_mandir}/man1/htdigest.1*
1190 %attr(750,root,root) %dir /var/log/httpd
1191 %attr(750,root,root) %dir /var/log/archiv/httpd
1192 %attr(640,root,root) %ghost /var/log/httpd/*
1195 %dir %{_datadir}/manual
1196 %{_datadir}/manual/LICENSE
1197 %{_datadir}/manual/*.xml
1198 %{_datadir}/manual/*.html.en
1199 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1200 %lang(ja) %{_datadir}/manual/*.xml.ja
1201 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1202 %lang(de) %{_datadir}/manual/*.html.de
1203 %lang(fr) %{_datadir}/manual/*.html.fr
1204 %{_datadir}/manual/developer
1205 %{_datadir}/manual/faq
1206 %dir %{_datadir}/manual/howto
1207 %doc %{_datadir}/manual/howto/*.en
1208 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1209 %dir %{_datadir}/manual/images
1210 %{_datadir}/manual/images/[achips]*
1211 %{_datadir}/manual/misc
1212 %dir %{_datadir}/manual/mod
1213 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1214 %{_datadir}/manual/mod/[acd]*.xml
1215 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1216 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1217 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1218 %{_datadir}/manual/mod/index.xml
1219 %{_datadir}/manual/mod/mpm*.html.en
1220 %{_datadir}/manual/mod/mod_access.html.en
1221 %{_datadir}/manual/mod/mod_alias.html.en
1222 %{_datadir}/manual/mod/mod_asis.html.en
1223 %{_datadir}/manual/mod/mod_autoindex.html.en
1224 %{_datadir}/manual/mod/mod_cern_meta.html.en
1225 %{_datadir}/manual/mod/mod_cgi.html.en
1226 %{_datadir}/manual/mod/mod_env.html.en
1227 %{_datadir}/manual/mod/mod_include.html.en
1228 %{_datadir}/manual/mod/mod_log_config.html.en
1229 %{_datadir}/manual/mod/mod_mime*.html.en
1230 %{_datadir}/manual/mod/mod_negotiation.html.en
1231 %{_datadir}/manual/mod/mod_setenvif.html.en
1232 %{_datadir}/manual/mod/mod_speling.html.en
1233 %{_datadir}/manual/mod/mod_userdir.html.en
1234 %{_datadir}/manual/platform
1235 %{_datadir}/manual/programs
1236 %dir %{_datadir}/manual/search
1237 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1238 %{_datadir}/manual/style
1240 %attr(755,root,root) %dir %{_datadir}/html
1242 %attr(755,root,root) %{_datadir}/cgi-bin
1247 %defattr(644,root,root,755)
1248 %attr(4755,root,root) %{_sbindir}/suexec
1249 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1250 %{_datadir}/manual/mod/mod_suexec.html.en
1253 %defattr(644,root,root,755)
1254 %config(noreplace,missingok) %{_datadir}/html/index.html*
1255 %{_datadir}/html/*.gif
1256 %{_datadir}/html/*.png
1259 %defattr(644,root,root,755)
1261 %{_libexecdir}/*.exp
1262 %attr(755,root,root) %dir %{_libexecdir}/build
1263 %attr(644,root,root) %{_libexecdir}/build/*.mk
1264 %attr(755,root,root) %{_libexecdir}/build/*.sh
1265 %attr(755,root,root) %{_libexecdir}/build/libtool
1268 %defattr(644,root,root,755)
1269 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1270 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1271 %{_datadir}/manual/mod/mod_actions.html.en
1274 %defattr(644,root,root,755)
1275 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1276 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1277 %attr(755,root,root) %{_sbindir}/htpasswd
1278 %{_datadir}/manual/mod/mod_auth.html.en
1279 %{_mandir}/man1/htpasswd.1*
1281 %files mod_auth_anon
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1284 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1285 %{_datadir}/manual/mod/mod_auth_anon.html.en
1287 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1288 %files mod_auth_ldap
1289 %defattr(644,root,root,755)
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1291 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1292 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1295 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1297 %defattr(644,root,root,755)
1298 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1299 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1300 %{_datadir}/manual/mod/mod_ldap.html.en
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1306 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1307 %attr(755,root,root) %{_sbindir}/dbmmanage
1308 %attr(755,root,root) %{_sbindir}/htdbm
1309 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1310 %{_mandir}/man1/dbmmanage.1*
1312 %files mod_auth_digest
1313 %defattr(644,root,root,755)
1314 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1315 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1316 %{_datadir}/manual/mod/mod_auth_digest.html.en
1319 %defattr(644,root,root,755)
1320 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1321 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1322 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1323 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1324 %{_datadir}/manual/mod/mod_cache.html.en
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1329 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1330 %{_datadir}/manual/mod/mod_cgid.html.en
1332 %files mod_charset_lite
1333 %defattr(644,root,root,755)
1334 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1335 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1336 %{_datadir}/manual/mod/mod_charset_lite.html.en
1339 %defattr(644,root,root,755)
1340 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1341 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1342 %{_datadir}/manual/mod/mod_dav*.html.en
1345 %defattr(644,root,root,755)
1346 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1347 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1348 %{_datadir}/manual/mod/mod_deflate.html.en
1351 %defattr(644,root,root,755)
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1353 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1354 %{_datadir}/manual/mod/mod_dir.html.en
1357 %defattr(644,root,root,755)
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1359 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1360 %{_datadir}/manual/mod/mod_expires.html.en
1362 %files mod_file_cache
1363 %defattr(644,root,root,755)
1364 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1365 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1366 %{_datadir}/manual/mod/mod_file_cache.html.en
1369 %defattr(644,root,root,755)
1370 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1371 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1372 %{_datadir}/manual/mod/mod_headers.html.en
1375 %defattr(644,root,root,755)
1376 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1377 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1378 %{_datadir}/manual/mod/mod_imap.html.en
1381 %defattr(644,root,root,755)
1382 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1383 %attr(755,root,root) %{_libexecdir}/mod_info.so
1384 %{_datadir}/manual/mod/mod_info.html.en
1387 %defattr(644,root,root,755)
1388 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1389 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1390 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1391 %attr(770,root,http) /var/cache/apache
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1396 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1397 %{_datadir}/manual/mod/mod_rewrite.html.en
1398 %{_datadir}/manual/images/mod_rewrite*
1400 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1402 %defattr(644,root,root,755)
1403 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1404 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1405 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1406 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1407 %{_datadir}/manual/ssl
1408 %{_datadir}/manual/mod/mod_ssl.html.en
1412 %defattr(644,root,root,755)
1413 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1414 %attr(755,root,root) %{_libexecdir}/mod_status.so
1415 %{_datadir}/manual/mod/mod_status.html.en
1417 %files mod_usertrack
1418 %defattr(644,root,root,755)
1419 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1420 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1421 %{_datadir}/manual/mod/mod_usertrack.html.en
1423 %files mod_unique_id
1424 %defattr(644,root,root,755)
1425 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1426 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1427 %{_datadir}/manual/mod/mod_unique_id.html.en
1429 %files mod_vhost_alias
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1432 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1433 %{_datadir}/manual/vhosts
1434 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf