1 # _without_ssl - don't build with SSL support
2 # _with_ldap - 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 URL: http://httpd.apache.org/
62 BuildRequires: automake
63 BuildRequires: apr-devel >= 1:0.9.4-1
64 BuildRequires: apr-util-devel >= 1:0.9.5-0.3
65 BuildRequires: db-devel
66 BuildRequires: expat-devel
67 BuildRequires: gdbm-devel >= 1.8.3
68 BuildRequires: libtool >= 1.5
69 %{?_with_ldap:BuildRequires: openldap-devel}
70 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
71 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7c}
72 BuildRequires: perl-devel >= 5.004
73 BuildRequires: rpm-perlprov >= 4.0.4
74 BuildRequires: zlib-devel
77 Requires(pre): /bin/id
78 Requires(pre): /usr/bin/getgid
79 Requires(pre): /usr/sbin/groupadd
80 Requires(pre): /usr/sbin/useradd
81 Requires(postun): /usr/sbin/userdel
82 Requires(postun): /usr/sbin/groupdel
83 Requires(post,preun): /sbin/chkconfig
84 Requires(post,postun): /sbin/ldconfig
85 Requires(post): fileutils
86 Requires: apr-util >= 1:0.9.4-1
87 Requires: /etc/mime.types
89 Requires: psmisc >= 20.1
90 Provides: httpd = %{version}
91 Provides: webserver = %{version}
92 Provides: apache(modules-api) = %{_apache_modules_api}
93 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
94 Obsoletes: apache-extra
100 %define _sysconfdir /etc/httpd
101 %define _includedir %{_prefix}/include/apache
102 %define _datadir /home/services/httpd
103 %define _libexecdir %{_libdir}/apache
106 Apache is a powerful, full-featured, efficient and freely-available
107 Web server. Apache is also the most popular Web server on the
111 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
112 erhältlich und weit verbreitet ist.
115 El servidor web Apache es el mejor servidor gratuito disponible en el
116 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
117 que browsers web vean documentos y sometan datos remotamente. Puede
118 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
119 caché, y nos ofrece características como monitor de estado, conversión
120 dinámica de tipo, y otras más.
123 Apache est un serveur Web puissant, efficace, gratuit et complet.
124 Apache est aussi le serveur Web le plus populaire sur Internet.
127 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
128 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
130 %description -l pt_BR
131 O servidor web Apache é o melhor servidor gratuito disponível no mundo
132 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
133 que browsers web vejam documentos e submetam dados remotamente. Ele
134 pode executar várias funções diferentes, incluindo funções de proxy e
135 cache, e oferece características como monitor de status, conversão
136 dinâmica de tipo, e mais.
139 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
140 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
143 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
147 Summary: Apache suexec wrapper
148 Summary(pl): Wrapper suexec do serwera WWW Apache
149 Group: Development/Tools
150 Requires: %{name} = %{version}
153 The suEXEC feature provides Apache users the ability to run CGI and
154 SSI programs under user IDs different from the user ID of the calling
155 web-server. Normally, when a CGI or SSI program executes, it runs as
156 the same user who is running the web server.
158 %description suexec -l pl
159 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
160 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
161 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
164 Summary: Apache index.html* files
165 Summary(pl): Pliki Apache index.html*
167 Requires: %{name} = %{version}
170 Apache index.html* files.
172 %description index -l pl
173 Pliki Apache index.html*.
176 Summary: Module development tools for the Apache web server
177 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
178 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
179 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
180 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
181 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
182 Group: Networking/Utilities
183 Requires: %{name} = %{version}
184 Requires: apr-util-devel >= 1:0.9.4
186 Obsoletes: %{name}-static
189 The apache-devel package contains header files for Apache.
191 %description devel -l es
192 Este paquete contiene los archivos de inclusión para el Apache, bien
193 como el utilitario apxs para la construcción de objetos compartidos
194 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
195 o desarrollar módulos adicionales para Apache.
197 %description devel -l fr
198 Le package apache-devel contient le code source pour le serveur Web
199 Apache et le binaire APXS dont vous aurez besoin pour construire des
200 Objets Dynamiques Partages (DSOs) pour Apache.
202 %description devel -l pl
203 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
204 (Dynamic Shared Objects) dla Apache.
206 %description devel -l ru
207 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
209 %description devel -l pt_BR
210 Este pacote contem os arquivos de inclusão para o Apache, bem como o
211 utilitário apxs para a construção de objetos compartilhados dinâmicos
212 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
213 desenvolver módulos adicionais para o Apache.
216 Summary: Apache module for run CGI whenever a file of a certain type is requested
217 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
218 Group: Networking/Daemons
219 Requires: %{name} = %{version}
221 %description mod_actions
222 This package contains mod_actions module. This module lets you run CGI
223 scripts whenever a file of a certain type is requested. This makes it
224 much easier to execute scripts that process files.
226 %description mod_actions -l pl
227 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
228 ¿±danie pobrania pliku okre¶lonego typu.
231 Summary: Apache module with user authentication using textual files
232 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
233 Group: Networking/Daemons
234 Requires: %{name} = %{version}
236 %description mod_auth
237 This package contains mod_auth module. It provides for user
238 authentication using textual files.
240 %description mod_auth -l pl
241 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
242 u¿ytkowników na podstawie plików tekstowych.
244 %package mod_auth_anon
245 Summary: Apache module with "anonymous" user access authentication
246 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
247 Group: Networking/Daemons
248 Requires: %{name} = %{version}
250 %description mod_auth_anon
251 This package contains mod_auth_anon module. It allows "anonymous" user
252 access to authenticated areas. It does access control in a manner
253 similar to anonymous-ftp sites; i.e. have a 'magic' user id
254 'anonymous' and the email address as a password. These email addresses
255 can be logged. Combined with other (database) access control methods,
256 this allows for effective user tracking and customization according to
257 a user profile while still keeping the site open for 'unregistered'
258 users. One advantage of using Auth-based user tracking is that, unlike
259 magic-cookies and funny URL pre/postfixes, it is completely browser
260 independent and it allows users to share URLs.
262 %description mod_auth_anon -l pl
263 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
264 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
265 adresu pocztowego u¿ytkownika).
267 %package mod_auth_ldap
268 Summary: Apache module with LDAP user access authentication
269 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
270 Group: Networking/Daemons
271 Requires: %{name} = %{version}
273 %description mod_auth_ldap
274 Apache module with LDAP user access authentication.
276 %description mod_auth_ldap -l pl
277 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
279 %package mod_auth_dbm
280 Summary: Apache module with user authentication which uses DBM files
281 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
282 Group: Networking/Daemons
283 Obsoletes: %{name}-mod_auth_db
284 Requires: %{name} = %{version}
286 %description mod_auth_dbm
287 This module provides for HTTP Basic Authentication, where the
288 usernames and passwords are stored in DBM type database files. It is
289 an alternative to the plain text password files provided by mod_auth.
291 %description mod_auth_dbm -l pl
292 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
293 ich has³a s± trzymane w plikach bazy typu DBM.
295 %package mod_auth_digest
296 Summary: Apache user authentication module using MD5 Digest Authentication
297 Summary(pl): Modu³ Apache'a do autoryzacji MD5
298 Group: Networking/Daemons
299 Obsoletes: apache-mod_digest
300 Requires: %{name} = %{version}
302 %description mod_auth_digest
303 This package contains mod_digest module. It provides user
304 authentication using MD5 Digest Authentication.
306 %description mod_auth_digest -l pl
307 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
311 Summary: Content cache keyed to URIs
312 Summary(pl): Pamiêæ podrêczna wg klucza URI
313 Group: Networking/Daemons
314 Requires: %{name} = %{version}
316 %description mod_cache
317 mod_cache implements an RFC 2616 compliant HTTP content cache that can
318 be used to cache either local or proxied content. Two storage
319 management modules are included in the base Apache distribution:
320 mod_disk_cache implements a disk based storage manager (generally used
321 for proxy caching) and mod_mem_cache implements an in-memory based
322 storage manager (primarily useful for caching local content).
324 %description mod_cache -l pl
325 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
326 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
327 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
328 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
329 (u¿ywane do cacheowania proxy).
332 Summary: Execution of CGI scripts using an external CGI daemon
333 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
334 Group: Networking/Daemons
335 Requires: %{name} = %{version}
337 %description mod_cgid
338 Execution of CGI scripts using an external CGI daemon.
340 %description mod_cgid -l pl
341 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
343 %package mod_charset_lite
344 Summary: Specify character set translation or recoding
345 Summary(pl): Translacja lub przekodowywanie znaków
346 Group: Networking/Daemons
347 Requires: %{name} = %{version}
349 %description mod_charset_lite
350 Specify character set translation or recoding.
352 %description mod_charset_lite -l pl
353 Translacja lub przekodowywanie znaków.
356 Summary: Apache module - Distributed Authoring and Versioning
357 Summary(pl): Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
358 Group: Networking/Daemons
359 Requires: %{name} = %{version}
362 This module provides class 1 and class 2 WebDAV ('Web-based
363 Distributed Authoring and Versioning') functionality for Apache. This
364 extension to the HTTP protocol allows creating, moving, copying, and
365 deleting resources and collections on a remote web server.
367 %description mod_dav -l pl
368 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
369 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
370 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
371 zdalnym serwerze WWW.
374 Summary: Apache module: Compress content before it is delivered to the client
375 Summary(pl): Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
376 Group: Networking/Daemons
377 Requires: %{name} = %{version}
379 %description mod_deflate
380 Compress content before it is delivered to the client.
382 %description mod_deflate -l pl
383 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
386 Summary: Apache module for "trailing slash" redirects and serving directory index files
387 Summary(pl): Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
388 Group: Networking/Daemons
389 Requires: %{name} = %{version}
392 This package contains mod_dir which provides "trailing slash"
393 redirects and serving directory index files.
395 %description mod_dir -l pl
396 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
400 Summary: Apache module allows for the customization of HTTP response headers
401 Summary(pl): Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
402 Group: Networking/Daemons
403 Requires: %{name} = %{version}
405 %description mod_headers
406 This package contains mod_headers module. The module allows for the
407 customization of HTTP response headers. Headers can be merged,
410 %description mod_headers -l pl
411 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
412 wysy³anych do przegl±darki.
415 Summary: Apache module with imap-file handler
416 Summary(pl): Modu³ Apache'a z obs³ug± imap-file
417 Group: Networking/Daemons
418 Requires: %{name} = %{version}
420 %description mod_imap
421 This package contains mod_imap module. It provides for .map files,
422 replacing the functionality of the imagemap CGI program. Any directory
423 or document type configured to use the handler imap-file.
425 %description mod_imap -l pl
426 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
429 Summary: Apache module with comprehensive overview of the server configuration
430 Summary(pl): Modu³ Apache'a udostêpniaj±cy informacje o serwerze
431 Group: Networking/Daemons
432 Requires: %{name} = %{version}
434 %description mod_info
435 This package contains mod_info module. It provides a comprehensive
436 overview of the server configuration including all installed modules
437 and directives in the configuration files.
439 %description mod_info -l pl
440 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
441 zainstalowanych modu³ach itp.
444 Summary: Apache module to use LDAP connections
445 Summary(pl): Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
446 Group: Networking/Daemons
447 Requires: %{name} = %{version}
449 %description mod_ldap
450 Apache module to use LDAP connections.
452 %description mod_ldap -l pl
453 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
456 Summary: Apache module with Web proxy
457 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
458 Group: Networking/Daemons
459 Requires: %{name} = %{version}
461 %description mod_proxy
462 This package contains module with implementation a proxy/cache for
463 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
464 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
465 connect to other proxy modules for these and other protocols.
467 %description mod_proxy -l pl
468 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
469 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
473 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
474 Summary(pl): Modu³ Apache'a do "przepisywania" adresów URL w locie
475 Group: Networking/Daemons
476 Requires: %{name} = %{version}
478 %description mod_rewrite
479 This package contains It provides a rule-based rewriting engine to
480 rewrite requested URLs on the fly.
482 %description mod_rewrite -l pl
483 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
486 Summary: SSL/TLS module for the Apache HTTP server
487 Summary(pl): Modu³ SSL/TSL dla serwera Apache
488 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
489 Group: Networking/Daemons
491 Requires: %{name} = %{version}
494 The mod_ssl module provides strong cryptography for the Apache Web
495 server via the Secure Sockets Layer (SSL) and Transport Layer Security
498 %description mod_ssl -l pl
499 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
500 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
503 %description mod_ssl -l ru
504 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
505 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
508 Summary: Server status report module for Apache
509 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
510 Group: Networking/Daemons
511 Requires: %{name} = %{version}
513 %description mod_status
514 The Status module allows a server administrator to find out how well
515 their server is performing. A HTML page is presented that gives the
516 current server statistics in an easily readable form. If required this
517 page can be made to automatically refresh (given a compatible
520 %description mod_status -l pl
521 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
522 pracy serwera apache (w postaci strony HTML).
524 %package mod_usertrack
525 Summary: Apache module for user tracking using cookies
526 Summary(pl): Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
527 Group: Networking/Daemons
528 Requires: %{name} = %{version}
530 %description mod_usertrack
531 This package contains the user tracking module which did its own
532 logging using CookieLog directory. This module allow multiple log
535 %description mod_usertrack -l pl
536 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
538 %package mod_vhost_alias
539 Summary: Apache module for dynamically configured mass virtual hosting
540 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
541 Group: Networking/Daemons
542 Requires: %{name} = %{version}
544 %description mod_vhost_alias
545 This package contains the mod_vhost_alias. It provides support for
546 dynamically configured mass virtual hosting.
548 %description mod_vhost_alias -l pl
549 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
552 %package mod_unique_id
553 Summary: Apache module which provides a magic token for each request
554 Summary(pl): Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
555 Group: Networking/Daemons
556 Requires: %{name} = %{version}
558 %description mod_unique_id
559 This package contains the mod_unique_id. This module provides a magic
560 token for each request which is guaranteed to be unique across "all"
561 requests under very specific conditions. The unique identifier is even
562 unique across multiple machines in a properly configured cluster of
563 machines. The environment variable UNIQUE_ID is set to the identifier
564 for each request. Unique identifiers are useful for various reasons
565 which are beyond the scope of this document.
567 %description mod_unique_id -l pl
568 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
569 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
570 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
574 Summary: Apache module which generates Expires HTTP headers
575 Summary(pl): Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
576 Group: Networking/Daemons
577 Requires: %{name} = %{version}
579 %description mod_expires
580 This module controls the setting of the Expires HTTP header in server
581 responses. The expiration date can set to be relative to either the
582 time the source file was last modified, or to the time of the client
585 %description mod_expires -l pl
586 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
587 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
588 ¼ród³owych lub odwo³ania klienta.
590 %package mod_file_cache
591 Summary: Apache module: caches a static list of files in memory
592 Summary(pl): Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
593 Group: Networking/Daemons
594 Obsoletes: %{name}-mmap_static
595 Requires: %{name} = %{version}
597 %description mod_file_cache
598 Caches a static list of files in memory.
600 %description mod_file_cache -l pl
601 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
604 %setup -q -n httpd-%{version}
615 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
616 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
617 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
621 # Before configure; fix location of build dir in generated apxs
622 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
624 install /usr/share/automake/config.* build/
626 --prefix=%{_libexecdir} \
627 --enable-layout=PLD \
628 --enable-modules=all \
629 --enable-mods-shared=all \
632 --enable-auth-digest \
633 --enable-file-cache \
636 --enable-charset-lite \
638 --enable-disk-cache \
639 --enable-ext-filter \
640 --enable-case-filter \
641 --enable-case-filter-in \
643 --with-z=%{_prefix} \
644 --enable-mime-magic \
651 --enable-proxy-connect \
653 --enable-proxy-http \
654 %{!?_without_ssl:--enable-ssl} \
655 --enable-optional-hook-export \
656 --enable-optional-hook-import \
657 --enable-optional-fn-import \
658 --enable-optional-fn-export \
659 %{?_with_ldap:--enable-ldap} \
660 %{?_with_ldap:--enable-auth-ldap} \
667 --enable-vhost-alias \
672 --with-suexec-bin=%{_sbindir}/suexec \
673 --with-suexec-caller=http \
674 --with-suexec-docroot=%{_datadir} \
675 --with-suexec-logfile=/var/log/httpd/suexec_log \
676 --with-suexec-uidmin=500 \
677 --with-suexec-gidmin=500 \
678 --with-suexec-umask=077 \
679 --with-apr=%{_bindir} \
680 --with-apr-util=%{_bindir}
685 rm -rf $RPM_BUILD_ROOT
686 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
687 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
690 DESTDIR=$RPM_BUILD_ROOT \
691 installbuilddir=%{_sysconfdir}/build \
692 prefix=%{_sysconfdir}/httpd \
693 libexecdir=%{_libdir}/%{name} \
694 iconsdir=%{_datadir}/icons \
695 errordir=%{_datadir}/error \
696 htdocsdir=%{_datadir}/html \
697 manualdir=%{_datadir}/manual \
698 cgidir=%{_datadir}/cgi-bin \
699 runtimedir=%{_var}/run \
700 logdir=%{_var}/log/httpd \
701 proxycachedir=%{_var}/cache/httpd
703 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
704 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
706 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
707 $RPM_BUILD_ROOT%{_libexecdir}/build
709 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
710 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
711 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
712 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
713 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
714 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
716 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
717 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
718 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
720 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
722 %if %{?_without_ssl:0}%{!?_without_ssl:1}
723 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
724 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
725 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
728 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
730 install %{SOURCE6} $CFG/10_httpd.conf
731 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
732 install %{SOURCE9} $CFG/25_mod_status.conf
733 install %{SOURCE10} $CFG/30_mod_proxy.conf
734 install %{SOURCE11} $CFG/35_mod_info.conf
735 install %{SOURCE12} $CFG/40_mod_ssl.conf
736 install %{SOURCE13} $CFG/45_mod_dav.conf
737 install %{SOURCE14} $CFG/59_mod_dir.conf
739 echo "LoadModule ldap_module %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
740 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
741 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
742 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
743 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
744 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
745 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
746 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
747 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
748 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
749 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
750 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
751 echo "LoadModule auth_ldap_module %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
752 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
753 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
754 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
755 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
756 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
757 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
758 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
760 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
763 rm -rf $RPM_BUILD_ROOT
766 if [ -n "`getgid http`" ]; then
767 if [ "`getgid http`" != "51" ]; then
768 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
772 /usr/sbin/groupadd -g 51 -r -f http
774 if [ -n "`id -u http 2>/dev/null`" ]; then
775 if [ "`id -u http`" != "51" ]; then
776 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
780 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
785 /sbin/chkconfig --add httpd
787 touch /var/log/httpd/{access,error,agent,referer}_log
788 if [ -f /var/lock/subsys/httpd ]; then
789 /etc/rc.d/init.d/httpd restart 1>&2
791 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
795 if [ "$1" = "0" ]; then
796 if [ -f /var/lock/subsys/httpd ]; then
797 /etc/rc.d/init.d/httpd stop 1>&2
799 /sbin/chkconfig --del httpd
804 if [ "$1" = "0" ]; then
805 /usr/sbin/userdel http
806 /usr/sbin/groupdel http
810 if [ -f /var/lock/subsys/httpd ]; then
811 /etc/rc.d/init.d/httpd restart 1>&2
813 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
817 if [ "$1" = "0" ]; then
818 if [ -f /var/lock/subsys/httpd ]; then
819 /etc/rc.d/init.d/httpd restart 1>&2
824 if [ -f /var/lock/subsys/httpd ]; then
825 /etc/rc.d/init.d/httpd restart 1>&2
827 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
831 if [ "$1" = "0" ]; then
832 if [ -f /var/lock/subsys/httpd ]; then
833 /etc/rc.d/init.d/httpd restart 1>&2
838 if [ -f /var/lock/subsys/httpd ]; then
839 /etc/rc.d/init.d/httpd restart 1>&2
841 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
845 if [ "$1" = "0" ]; then
846 if [ -f /var/lock/subsys/httpd ]; then
847 /etc/rc.d/init.d/httpd restart 1>&2
852 if [ -f /var/lock/subsys/httpd ]; then
853 /etc/rc.d/init.d/httpd restart 1>&2
855 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
859 if [ "$1" = "0" ]; then
860 if [ -f /var/lock/subsys/httpd ]; then
861 /etc/rc.d/init.d/httpd restart 1>&2
866 if [ -f /var/lock/subsys/httpd ]; then
867 /etc/rc.d/init.d/httpd restart 1>&2
869 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
873 if [ "$1" = "0" ]; then
874 if [ -f /var/lock/subsys/httpd ]; then
875 /etc/rc.d/init.d/httpd restart 1>&2
880 if [ -f /var/lock/subsys/httpd ]; then
881 /etc/rc.d/init.d/httpd restart 1>&2
883 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
887 if [ "$1" = "0" ]; then
888 if [ -f /var/lock/subsys/httpd ]; then
889 /etc/rc.d/init.d/httpd restart 1>&2
893 %post mod_charset_lite
894 if [ -f /var/lock/subsys/httpd ]; then
895 /etc/rc.d/init.d/httpd restart 1>&2
897 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 %preun mod_charset_lite
901 if [ "$1" = "0" ]; then
902 if [ -f /var/lock/subsys/httpd ]; then
903 /etc/rc.d/init.d/httpd restart 1>&2
908 if [ -f /var/lock/subsys/httpd ]; then
909 /etc/rc.d/init.d/httpd restart 1>&2
911 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 if [ "$1" = "0" ]; then
916 if [ -f /var/lock/subsys/httpd ]; then
917 /etc/rc.d/init.d/httpd restart 1>&2
921 %post mod_auth_digest
922 if [ -f /var/lock/subsys/httpd ]; then
923 /etc/rc.d/init.d/httpd restart 1>&2
925 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
928 %preun mod_auth_digest
929 if [ "$1" = "0" ]; then
930 if [ -f /var/lock/subsys/httpd ]; then
931 /etc/rc.d/init.d/httpd restart 1>&2
936 if [ -f /var/lock/subsys/httpd ]; then
937 /etc/rc.d/init.d/httpd restart 1>&2
939 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
943 if [ "$1" = "0" ]; then
944 if [ -f /var/lock/subsys/httpd ]; then
945 /etc/rc.d/init.d/httpd restart 1>&2
950 if [ -f /var/lock/subsys/httpd ]; then
951 /etc/rc.d/init.d/httpd restart 1>&2
953 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
957 if [ "$1" = "0" ]; then
958 if [ -f /var/lock/subsys/httpd ]; then
959 /etc/rc.d/init.d/httpd restart 1>&2
964 if [ -f /var/lock/subsys/httpd ]; then
965 /etc/rc.d/init.d/httpd restart 1>&2
967 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
971 if [ "$1" = "0" ]; then
972 if [ -f /var/lock/subsys/httpd ]; then
973 /etc/rc.d/init.d/httpd restart 1>&2
978 if [ -f /var/lock/subsys/httpd ]; then
979 /etc/rc.d/init.d/httpd restart 1>&2
981 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
984 %preun mod_file_cache
985 if [ "$1" = "0" ]; then
986 if [ -f /var/lock/subsys/httpd ]; then
987 /etc/rc.d/init.d/httpd restart 1>&2
992 if [ -f /var/lock/subsys/httpd ]; then
993 /etc/rc.d/init.d/httpd restart 1>&2
995 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
999 if [ "$1" = "0" ]; then
1000 if [ -f /var/lock/subsys/httpd ]; then
1001 /etc/rc.d/init.d/httpd restart 1>&2
1006 if [ -f /var/lock/subsys/httpd ]; then
1007 /etc/rc.d/init.d/httpd restart 1>&2
1009 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1013 if [ "$1" = "0" ]; then
1014 if [ -f /var/lock/subsys/httpd ]; then
1015 /etc/rc.d/init.d/httpd restart 1>&2
1020 if [ -f /var/lock/subsys/httpd ]; then
1021 /etc/rc.d/init.d/httpd restart 1>&2
1023 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1027 if [ "$1" = "0" ]; then
1028 if [ -f /var/lock/subsys/httpd ]; then
1029 /etc/rc.d/init.d/httpd restart 1>&2
1034 if [ -f /var/lock/subsys/httpd ]; then
1035 /etc/rc.d/init.d/httpd restart 1>&2
1037 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1041 if [ "$1" = "0" ]; then
1042 if [ -f /var/lock/subsys/httpd ]; then
1043 /etc/rc.d/init.d/httpd restart 1>&2
1048 if [ -f /var/lock/subsys/httpd ]; then
1049 /etc/rc.d/init.d/httpd restart 1>&2
1051 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1055 if [ "$1" = "0" ]; then
1056 if [ -f /var/lock/subsys/httpd ]; then
1057 /etc/rc.d/init.d/httpd restart 1>&2
1062 if [ -f /var/lock/subsys/httpd ]; then
1063 /etc/rc.d/init.d/httpd restart 1>&2
1065 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1069 if [ "$1" = "0" ]; then
1070 if [ -f /var/lock/subsys/httpd ]; then
1071 /etc/rc.d/init.d/httpd restart 1>&2
1076 if [ -f /var/lock/subsys/httpd ]; then
1077 /etc/rc.d/init.d/httpd restart 1>&2
1079 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1083 if [ "$1" = "0" ]; then
1084 if [ -f /var/lock/subsys/httpd ]; then
1085 /etc/rc.d/init.d/httpd restart 1>&2
1090 if [ -f /var/lock/subsys/httpd ]; then
1091 /etc/rc.d/init.d/httpd restart 1>&2
1093 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1096 %preun mod_usertrack
1097 if [ "$1" = "0" ]; then
1098 if [ -f /var/lock/subsys/httpd ]; then
1099 /etc/rc.d/init.d/httpd restart 1>&2
1104 if [ -f /var/lock/subsys/httpd ]; then
1105 /etc/rc.d/init.d/httpd restart 1>&2
1107 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1110 %preun mod_unique_id
1111 if [ "$1" = "0" ]; then
1112 if [ -f /var/lock/subsys/httpd ]; then
1113 /etc/rc.d/init.d/httpd restart 1>&2
1117 %post mod_vhost_alias
1118 if [ -f /var/lock/subsys/httpd ]; then
1119 /etc/rc.d/init.d/httpd restart 1>&2
1121 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1124 %preun mod_vhost_alias
1125 if [ "$1" = "0" ]; then
1126 if [ -f /var/lock/subsys/httpd ]; then
1127 /etc/rc.d/init.d/httpd restart 1>&2
1132 %defattr(644,root,root,755)
1133 %doc ABOUT_APACHE CHANGES README
1134 %doc docs/conf/mime.types
1136 %attr(754,root,root) /etc/rc.d/init.d/httpd
1138 %attr(750,root,root) %dir %{_sysconfdir}
1139 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1140 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1141 %attr(640,root,root) %{_sysconfdir}/magic
1142 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1143 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1146 %attr(755,root,root) %{_libexecdir}/mod_access.so
1147 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1148 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1149 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1150 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1151 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1152 %attr(755,root,root) %{_libexecdir}/mod_env.so
1153 %attr(755,root,root) %{_libexecdir}/mod_include.so
1154 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1155 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1156 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1157 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1158 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1159 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1160 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1162 # look at TODO on top
1163 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1164 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1165 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1166 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1167 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1168 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1169 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1170 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1172 %attr(755,root,root) %{_sbindir}/htdigest
1174 %attr(755,root,root) %{_sbindir}/ab
1175 %attr(755,root,root) %{_sbindir}/apachectl
1176 %attr(755,root,root) %{_sbindir}/apxs
1177 %attr(755,root,root) %{_sbindir}/checkgid
1178 %attr(755,root,root) %{_sbindir}/httpd
1179 %attr(755,root,root) %{_sbindir}/logresolve
1180 %attr(755,root,root) %{_sbindir}/rotatelogs
1181 %attr(755,root,root) %{_sbindir}/envvars*
1183 %dir %attr(770,root,http) /var/run/apache
1185 %{_mandir}/man1/htdigest.1*
1188 %attr(750,root,root) %dir /var/log/httpd
1189 %attr(750,root,root) %dir /var/log/archiv/httpd
1190 %attr(640,root,root) %ghost /var/log/httpd/*
1193 %dir %{_datadir}/manual
1194 %{_datadir}/manual/LICENSE
1195 %{_datadir}/manual/*.xml
1196 %{_datadir}/manual/*.html.en
1197 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1198 %lang(ja) %{_datadir}/manual/*.xml.ja
1199 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1200 %lang(de) %{_datadir}/manual/*.html.de
1201 %lang(fr) %{_datadir}/manual/*.html.fr
1202 %{_datadir}/manual/developer
1203 %{_datadir}/manual/faq
1204 %dir %{_datadir}/manual/howto
1205 %doc %{_datadir}/manual/howto/*.en
1206 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1207 %dir %{_datadir}/manual/images
1208 %{_datadir}/manual/images/[achips]*
1209 %{_datadir}/manual/misc
1210 %dir %{_datadir}/manual/mod
1211 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1212 %{_datadir}/manual/mod/[acd]*.xml
1213 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1214 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1215 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1216 %{_datadir}/manual/mod/index.xml
1217 %{_datadir}/manual/mod/mpm*.html.en
1218 %{_datadir}/manual/mod/mod_access.html.en
1219 %{_datadir}/manual/mod/mod_alias.html.en
1220 %{_datadir}/manual/mod/mod_asis.html.en
1221 %{_datadir}/manual/mod/mod_autoindex.html.en
1222 %{_datadir}/manual/mod/mod_cern_meta.html.en
1223 %{_datadir}/manual/mod/mod_cgi.html.en
1224 %{_datadir}/manual/mod/mod_env.html.en
1225 %{_datadir}/manual/mod/mod_include.html.en
1226 %{_datadir}/manual/mod/mod_log_config.html.en
1227 %{_datadir}/manual/mod/mod_mime*.html.en
1228 %{_datadir}/manual/mod/mod_negotiation.html.en
1229 %{_datadir}/manual/mod/mod_setenvif.html.en
1230 %{_datadir}/manual/mod/mod_speling.html.en
1231 %{_datadir}/manual/mod/mod_userdir.html.en
1232 %{_datadir}/manual/platform
1233 %{_datadir}/manual/programs
1234 %dir %{_datadir}/manual/search
1235 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1236 %{_datadir}/manual/style
1238 %attr(755,root,root) %dir %{_datadir}/html
1240 %attr(755,root,root) %{_datadir}/cgi-bin
1245 %defattr(644,root,root,755)
1246 %attr(4755,root,root) %{_sbindir}/suexec
1247 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1248 %{_datadir}/manual/mod/mod_suexec.html.en
1251 %defattr(644,root,root,755)
1252 %config(noreplace,missingok) %{_datadir}/html/index.html*
1253 %{_datadir}/html/*.gif
1254 %{_datadir}/html/*.png
1257 %defattr(644,root,root,755)
1259 %{_libexecdir}/*.exp
1260 %attr(755,root,root) %dir %{_libexecdir}/build
1261 %attr(644,root,root) %{_libexecdir}/build/*.mk
1262 %attr(755,root,root) %{_libexecdir}/build/*.sh
1263 %attr(755,root,root) %{_libexecdir}/build/libtool
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1268 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1269 %{_datadir}/manual/mod/mod_actions.html.en
1272 %defattr(644,root,root,755)
1273 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1274 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1275 %attr(755,root,root) %{_sbindir}/htpasswd
1276 %{_datadir}/manual/mod/mod_auth.html.en
1277 %{_mandir}/man1/htpasswd.1*
1279 %files mod_auth_anon
1280 %defattr(644,root,root,755)
1281 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1282 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1283 %{_datadir}/manual/mod/mod_auth_anon.html.en
1285 %if %{?_with_ldap:1}%{!?_with_ldap:0}
1286 %files mod_auth_ldap
1287 %defattr(644,root,root,755)
1288 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1289 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1290 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1293 %if %{?_with_ldap:1}%{!?_with_ldap:0}
1295 %defattr(644,root,root,755)
1296 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1297 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1298 %{_datadir}/manual/mod/mod_ldap.html.en
1302 %defattr(644,root,root,755)
1303 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1304 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1305 %attr(755,root,root) %{_sbindir}/dbmmanage
1306 %attr(755,root,root) %{_sbindir}/htdbm
1307 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1308 %{_mandir}/man1/dbmmanage.1*
1310 %files mod_auth_digest
1311 %defattr(644,root,root,755)
1312 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1313 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1314 %{_datadir}/manual/mod/mod_auth_digest.html.en
1317 %defattr(644,root,root,755)
1318 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1319 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1320 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1321 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1322 %{_datadir}/manual/mod/mod_cache.html.en
1325 %defattr(644,root,root,755)
1326 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1327 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1328 %{_datadir}/manual/mod/mod_cgid.html.en
1330 %files mod_charset_lite
1331 %defattr(644,root,root,755)
1332 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1333 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1334 %{_datadir}/manual/mod/mod_charset_lite.html.en
1337 %defattr(644,root,root,755)
1338 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1339 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1340 %{_datadir}/manual/mod/mod_dav*.html.en
1343 %defattr(644,root,root,755)
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1345 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1346 %{_datadir}/manual/mod/mod_deflate.html.en
1349 %defattr(644,root,root,755)
1350 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1351 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1352 %{_datadir}/manual/mod/mod_dir.html.en
1355 %defattr(644,root,root,755)
1356 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1357 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1358 %{_datadir}/manual/mod/mod_expires.html.en
1360 %files mod_file_cache
1361 %defattr(644,root,root,755)
1362 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1363 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1364 %{_datadir}/manual/mod/mod_file_cache.html.en
1367 %defattr(644,root,root,755)
1368 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1369 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1370 %{_datadir}/manual/mod/mod_headers.html.en
1373 %defattr(644,root,root,755)
1374 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1375 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1376 %{_datadir}/manual/mod/mod_imap.html.en
1379 %defattr(644,root,root,755)
1380 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1381 %attr(755,root,root) %{_libexecdir}/mod_info.so
1382 %{_datadir}/manual/mod/mod_info.html.en
1385 %defattr(644,root,root,755)
1386 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1387 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1388 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1389 %attr(770,root,http) /var/cache/apache
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1394 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1395 %{_datadir}/manual/mod/mod_rewrite.html.en
1396 %{_datadir}/manual/images/mod_rewrite*
1398 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1400 %defattr(644,root,root,755)
1401 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1402 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1403 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1404 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1405 %{_datadir}/manual/ssl
1406 %{_datadir}/manual/mod/mod_ssl.html.en
1410 %defattr(644,root,root,755)
1411 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1412 %attr(755,root,root) %{_libexecdir}/mod_status.so
1413 %{_datadir}/manual/mod/mod_status.html.en
1415 %files mod_usertrack
1416 %defattr(644,root,root,755)
1417 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1418 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1419 %{_datadir}/manual/mod/mod_usertrack.html.en
1421 %files mod_unique_id
1422 %defattr(644,root,root,755)
1423 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1424 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1425 %{_datadir}/manual/mod/mod_unique_id.html.en
1427 %files mod_vhost_alias
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1430 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1431 %{_datadir}/manual/vhosts
1432 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf