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 %include /usr/lib/rpm/macros.perl
18 # this is internal macro, don't change to %%apache_modules_api
19 %define _apache_modules_api 20020903
20 Summary: The most widely used Web server on the Internet
21 Summary(de): Leading World Wide Web-Server
22 Summary(es): Servidor HTTPD para proveer servicios WWW
23 Summary(fr): Le serveur web le plus utilise sur Internet
24 Summary(pl): Serwer WWW (World Wide Web)
25 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
26 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
27 Summary(tr): Lider WWW tarayýcý
31 License: Apache Group License
32 Group: Networking/Daemons
33 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
34 # Source0-md5: 466c63bb71b710d20a5c353df8c1a19c
36 Source2: %{name}.logrotate
37 Source3: %{name}-icons.tar.gz
38 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
39 Source4: %{name}.sysconfig
40 Source6: %{name}-httpd.conf
41 Source8: %{name}-mod_vhost_alias.conf
42 Source9: %{name}-mod_status.conf
43 Source10: %{name}-mod_proxy.conf
44 Source11: %{name}-mod_info.conf
45 Source12: %{name}-mod_ssl.conf
46 Source13: %{name}-mod_dav.conf
47 Source14: %{name}-mod_dir.conf
48 Source20: %{name}-server.crt
49 Source21: %{name}-server.key
50 Patch0: %{name}-configdir_skip_backups.patch
51 Patch1: %{name}-layout.patch
52 Patch2: %{name}-suexec.patch
53 Patch3: %{name}-nolibs.patch
54 Patch4: %{name}-apr.patch
55 URL: http://httpd.apache.org/
56 BuildRequires: apr-devel >= 1:0.9.4-1
57 BuildRequires: apr-util-devel >= 1:0.9.5-0.3
58 BuildRequires: db-devel
59 BuildRequires: expat-devel
60 BuildRequires: gdbm-devel >= 1.8.3
61 BuildRequires: libtool >= 1.5
62 %{!?_without_ldap:BuildRequires: openldap-devel}
63 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
64 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7c}
65 BuildRequires: perl-devel >= 5.004
66 BuildRequires: rpm-perlprov >= 4.0.4
67 BuildRequires: zlib-devel
70 Requires(pre): /bin/id
71 Requires(pre): /usr/bin/getgid
72 Requires(pre): /usr/sbin/groupadd
73 Requires(pre): /usr/sbin/useradd
74 Requires(postun): /usr/sbin/userdel
75 Requires(postun): /usr/sbin/groupdel
76 Requires(post,preun): /sbin/chkconfig
77 Requires(post,postun): /sbin/ldconfig
78 Requires(post): fileutils
79 Requires: apr-util >= 1:0.9.4-1
80 Requires: /etc/mime.types
82 Requires: psmisc >= 20.1
83 Provides: httpd = %{version}
84 Provides: webserver = %{version}
85 Provides: apache(modules-api) = %{_apache_modules_api}
86 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87 Obsoletes: apache-extra
93 %define _sysconfdir /etc/httpd
94 %define _includedir %{_prefix}/include/apache
95 %define _datadir /home/services/httpd
96 %define _libexecdir %{_libdir}/apache
99 Apache is a powerful, full-featured, efficient and freely-available
100 Web server. Apache is also the most popular Web server on the
104 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
105 erhältlich und weit verbreitet ist.
108 El servidor web Apache es el mejor servidor gratuito disponible en el
109 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
110 que browsers web vean documentos y sometan datos remotamente. Puede
111 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
112 caché, y nos ofrece características como monitor de estado, conversión
113 dinámica de tipo, y otras más.
116 Apache est un serveur Web puissant, efficace, gratuit et complet.
117 Apache est aussi le serveur Web le plus populaire sur Internet.
120 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
121 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
123 %description -l pt_BR
124 O servidor web Apache é o melhor servidor gratuito disponível no mundo
125 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
126 que browsers web vejam documentos e submetam dados remotamente. Ele
127 pode executar várias funções diferentes, incluindo funções de proxy e
128 cache, e oferece características como monitor de status, conversão
129 dinâmica de tipo, e mais.
132 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
133 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
136 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
140 Summary: Apache suexec wrapper
141 Summary(pl): Wrapper suexec do serwera WWW Apache
142 Group: Development/Tools
143 Requires: %{name} = %{version}
146 The suEXEC feature provides Apache users the ability to run CGI and
147 SSI programs under user IDs different from the user ID of the calling
148 web-server. Normally, when a CGI or SSI program executes, it runs as
149 the same user who is running the web server.
151 %description suexec -l pl
152 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
153 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
154 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
157 Summary: Apache index.html* files
158 Summary(pl): Pliki Apache index.html*
160 Requires: %{name} = %{version}
163 Apache index.html* files.
165 %description index -l pl
166 Pliki Apache index.html*.
169 Summary: Module development tools for the Apache web server
170 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
171 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
172 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
173 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
174 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
175 Group: Networking/Utilities
176 Requires: %{name} = %{version}
177 Requires: apr-util-devel >= 1:0.9.4
179 Obsoletes: %{name}-static
182 The apache-devel package contains header files for Apache.
184 %description devel -l es
185 Este paquete contiene los archivos de inclusión para el Apache, bien
186 como el utilitario apxs para la construcción de objetos compartidos
187 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
188 o desarrollar módulos adicionales para Apache.
190 %description devel -l fr
191 Le package apache-devel contient le code source pour le serveur Web
192 Apache et le binaire APXS dont vous aurez besoin pour construire des
193 Objets Dynamiques Partages (DSOs) pour Apache.
195 %description devel -l pl
196 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
197 (Dynamic Shared Objects) dla Apache.
199 %description devel -l ru
200 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
202 %description devel -l pt_BR
203 Este pacote contem os arquivos de inclusão para o Apache, bem como o
204 utilitário apxs para a construção de objetos compartilhados dinâmicos
205 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
206 desenvolver módulos adicionais para o Apache.
209 Summary: Apache module for run CGI whenever a file of a certain type is requested
210 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
211 Group: Networking/Daemons
212 Requires: %{name} = %{version}
214 %description mod_actions
215 This package contains mod_actions module. This module lets you run CGI
216 scripts whenever a file of a certain type is requested. This makes it
217 much easier to execute scripts that process files.
219 %description mod_actions -l pl
220 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
221 ¿±danie pobrania pliku okre¶lonego typu.
224 Summary: Apache module with user authentication using textual files
225 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
226 Group: Networking/Daemons
227 Requires: %{name} = %{version}
229 %description mod_auth
230 This package contains mod_auth module. It provides for user
231 authentication using textual files.
233 %description mod_auth -l pl
234 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
235 u¿ytkowników na podstawie plików tekstowych.
237 %package mod_auth_anon
238 Summary: Apache module with "anonymous" user access authentication
239 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
240 Group: Networking/Daemons
241 Requires: %{name} = %{version}
243 %description mod_auth_anon
244 This package contains mod_auth_anon module. It allows "anonymous" user
245 access to authenticated areas. It does access control in a manner
246 similar to anonymous-ftp sites; i.e. have a 'magic' user id
247 'anonymous' and the email address as a password. These email addresses
248 can be logged. Combined with other (database) access control methods,
249 this allows for effective user tracking and customization according to
250 a user profile while still keeping the site open for 'unregistered'
251 users. One advantage of using Auth-based user tracking is that, unlike
252 magic-cookies and funny URL pre/postfixes, it is completely browser
253 independent and it allows users to share URLs.
255 %description mod_auth_anon -l pl
256 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
257 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
258 adresu pocztowego u¿ytkownika).
260 %package mod_auth_ldap
261 Summary: Apache module with LDAP user access authentication
262 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
263 Group: Networking/Daemons
264 Requires: %{name} = %{version}
266 %description mod_auth_ldap
267 Apache module with LDAP user access authentication.
269 %description mod_auth_ldap -l pl
270 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
272 %package mod_auth_dbm
273 Summary: Apache module with user authentication which uses DBM files
274 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
275 Group: Networking/Daemons
276 Obsoletes: %{name}-mod_auth_db
277 Requires: %{name} = %{version}
279 %description mod_auth_dbm
280 This module provides for HTTP Basic Authentication, where the
281 usernames and passwords are stored in DBM type database files. It is
282 an alternative to the plain text password files provided by mod_auth.
284 %description mod_auth_dbm -l pl
285 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
286 ich has³a s± trzymane w plikach bazy typu DBM.
288 %package mod_auth_digest
289 Summary: Apache user authentication module using MD5 Digest Authentication
290 Summary(pl): Modu³ Apache'a do autoryzacji MD5
291 Group: Networking/Daemons
292 Obsoletes: apache-mod_digest
293 Requires: %{name} = %{version}
295 %description mod_auth_digest
296 This package contains mod_digest module. It provides user
297 authentication using MD5 Digest Authentication.
299 %description mod_auth_digest -l pl
300 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
304 Summary: Content cache keyed to URIs
305 Summary(pl): Pamiêæ podrêczna wg klucza URI
306 Group: Networking/Daemons
307 Requires: %{name} = %{version}
309 %description mod_cache
310 mod_cache implements an RFC 2616 compliant HTTP content cache that can
311 be used to cache either local or proxied content. Two storage
312 management modules are included in the base Apache distribution:
313 mod_disk_cache implements a disk based storage manager (generally used
314 for proxy caching) and mod_mem_cache implements an in-memory based
315 storage manager (primarily useful for caching local content).
317 %description mod_cache -l pl
318 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
319 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
320 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
321 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
322 (u¿ywane do cacheowania proxy).
325 Summary: Execution of CGI scripts using an external CGI daemon
326 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
327 Group: Networking/Daemons
328 Requires: %{name} = %{version}
330 %description mod_cgid
331 Execution of CGI scripts using an external CGI daemon.
333 %description mod_cgid -l pl
334 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
336 %package mod_charset_lite
337 Summary: Specify character set translation or recoding
338 Summary(pl): Translacja lub przekodowywanie znaków
339 Group: Networking/Daemons
340 Requires: %{name} = %{version}
342 %description mod_charset_lite
343 Specify character set translation or recoding.
345 %description mod_charset_lite -l pl
346 Translacja lub przekodowywanie znaków.
349 Summary: Apache module - Distributed Authoring and Versioning
350 Summary(pl): Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
351 Group: Networking/Daemons
352 Requires: %{name} = %{version}
355 This module provides class 1 and class 2 WebDAV ('Web-based
356 Distributed Authoring and Versioning') functionality for Apache. This
357 extension to the HTTP protocol allows creating, moving, copying, and
358 deleting resources and collections on a remote web server.
360 %description mod_dav -l pl
361 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
362 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
363 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
364 zdalnym serwerze WWW.
367 Summary: Apache module: Compress content before it is delivered to the client
368 Summary(pl): Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
369 Group: Networking/Daemons
370 Requires: %{name} = %{version}
372 %description mod_deflate
373 Compress content before it is delivered to the client.
375 %description mod_deflate -l pl
376 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
379 Summary: Apache module for "trailing slash" redirects and serving directory index files
380 Summary(pl): Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
381 Group: Networking/Daemons
382 Requires: %{name} = %{version}
385 This package contains mod_dir which provides "trailing slash"
386 redirects and serving directory index files.
388 %description mod_dir -l pl
389 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
393 Summary: Apache module allows for the customization of HTTP response headers
394 Summary(pl): Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
395 Group: Networking/Daemons
396 Requires: %{name} = %{version}
398 %description mod_headers
399 This package contains mod_headers module. The module allows for the
400 customization of HTTP response headers. Headers can be merged,
403 %description mod_headers -l pl
404 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
405 wysy³anych do przegl±darki.
408 Summary: Apache module with imap-file handler
409 Summary(pl): Modu³ Apache'a z obs³ug± imap-file
410 Group: Networking/Daemons
411 Requires: %{name} = %{version}
413 %description mod_imap
414 This package contains mod_imap module. It provides for .map files,
415 replacing the functionality of the imagemap CGI program. Any directory
416 or document type configured to use the handler imap-file.
418 %description mod_imap -l pl
419 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
422 Summary: Apache module with comprehensive overview of the server configuration
423 Summary(pl): Modu³ Apache'a udostêpniaj±cy informacje o serwerze
424 Group: Networking/Daemons
425 Requires: %{name} = %{version}
427 %description mod_info
428 This package contains mod_info module. It provides a comprehensive
429 overview of the server configuration including all installed modules
430 and directives in the configuration files.
432 %description mod_info -l pl
433 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
434 zainstalowanych modu³ach itp.
437 Summary: Apache module to use LDAP connections
438 Summary(pl): Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
439 Group: Networking/Daemons
440 Requires: %{name} = %{version}
442 %description mod_ldap
443 Apache module to use LDAP connections.
445 %description mod_ldap -l pl
446 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
449 Summary: Apache module with Web proxy
450 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
451 Group: Networking/Daemons
452 Requires: %{name} = %{version}
454 %description mod_proxy
455 This package contains module with implementation a proxy/cache for
456 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
457 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
458 connect to other proxy modules for these and other protocols.
460 %description mod_proxy -l pl
461 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
462 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
466 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
467 Summary(pl): Modu³ Apache'a do "przepisywania" adresów URL w locie
468 Group: Networking/Daemons
469 Requires: %{name} = %{version}
471 %description mod_rewrite
472 This package contains It provides a rule-based rewriting engine to
473 rewrite requested URLs on the fly.
475 %description mod_rewrite -l pl
476 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
479 Summary: SSL/TLS module for the Apache HTTP server
480 Summary(pl): Modu³ SSL/TSL dla serwera Apache
481 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
482 Group: Networking/Daemons
484 Requires: %{name} = %{version}
487 The mod_ssl module provides strong cryptography for the Apache Web
488 server via the Secure Sockets Layer (SSL) and Transport Layer Security
491 %description mod_ssl -l pl
492 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
493 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
496 %description mod_ssl -l ru
497 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
498 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
501 Summary: Server status report module for Apache
502 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
503 Group: Networking/Daemons
504 Requires: %{name} = %{version}
506 %description mod_status
507 The Status module allows a server administrator to find out how well
508 their server is performing. A HTML page is presented that gives the
509 current server statistics in an easily readable form. If required this
510 page can be made to automatically refresh (given a compatible
513 %description mod_status -l pl
514 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
515 pracy serwera apache (w postaci strony HTML).
517 %package mod_usertrack
518 Summary: Apache module for user tracking using cookies
519 Summary(pl): Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
520 Group: Networking/Daemons
521 Requires: %{name} = %{version}
523 %description mod_usertrack
524 This package contains the user tracking module which did its own
525 logging using CookieLog directory. This module allow multiple log
528 %description mod_usertrack -l pl
529 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
531 %package mod_vhost_alias
532 Summary: Apache module for dynamically configured mass virtual hosting
533 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
534 Group: Networking/Daemons
535 Requires: %{name} = %{version}
537 %description mod_vhost_alias
538 This package contains the mod_vhost_alias. It provides support for
539 dynamically configured mass virtual hosting.
541 %description mod_vhost_alias -l pl
542 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
545 %package mod_unique_id
546 Summary: Apache module which provides a magic token for each request
547 Summary(pl): Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
548 Group: Networking/Daemons
549 Requires: %{name} = %{version}
551 %description mod_unique_id
552 This package contains the mod_unique_id. This module provides a magic
553 token for each request which is guaranteed to be unique across "all"
554 requests under very specific conditions. The unique identifier is even
555 unique across multiple machines in a properly configured cluster of
556 machines. The environment variable UNIQUE_ID is set to the identifier
557 for each request. Unique identifiers are useful for various reasons
558 which are beyond the scope of this document.
560 %description mod_unique_id -l pl
561 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
562 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
563 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
567 Summary: Apache module which generates Expires HTTP headers
568 Summary(pl): Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
569 Group: Networking/Daemons
570 Requires: %{name} = %{version}
572 %description mod_expires
573 This module controls the setting of the Expires HTTP header in server
574 responses. The expiration date can set to be relative to either the
575 time the source file was last modified, or to the time of the client
578 %description mod_expires -l pl
579 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
580 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
581 ¼ród³owych lub odwo³ania klienta.
583 %package mod_file_cache
584 Summary: Apache module: caches a static list of files in memory
585 Summary(pl): Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
586 Group: Networking/Daemons
587 Obsoletes: %{name}-mmap_static
588 Requires: %{name} = %{version}
590 %description mod_file_cache
591 Caches a static list of files in memory.
593 %description mod_file_cache -l pl
594 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
597 %setup -q -n httpd-%{version}
606 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
607 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
608 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
613 --prefix=%{_libexecdir} \
614 --enable-layout=PLD \
615 --enable-modules=all \
616 --enable-mods-shared=all \
619 --enable-auth-digest \
620 --enable-file-cache \
623 --enable-charset-lite \
625 --enable-disk-cache \
626 --enable-ext-filter \
627 --enable-case-filter \
628 --enable-case-filter-in \
630 --with-z=%{_prefix} \
631 --enable-mime-magic \
638 --enable-proxy-connect \
640 --enable-proxy-http \
641 %{!?_without_ssl:--enable-ssl} \
642 --enable-optional-hook-export \
643 --enable-optional-hook-import \
644 --enable-optional-fn-import \
645 --enable-optional-fn-export \
646 %{!?_without_ldap:--enable-ldap} \
647 %{!?_without_ldap:--enable-auth-ldap} \
654 --enable-vhost-alias \
659 --with-suexec-bin=%{_sbindir}/suexec \
660 --with-suexec-caller=http \
661 --with-suexec-docroot=%{_datadir} \
662 --with-suexec-logfile=/var/log/httpd/suexec_log \
663 --with-suexec-uidmin=500 \
664 --with-suexec-gidmin=500 \
665 --with-suexec-umask=077 \
666 --with-apr=%{_bindir} \
667 --with-apr-util=%{_bindir}
672 rm -rf $RPM_BUILD_ROOT
673 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
674 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
677 DESTDIR=$RPM_BUILD_ROOT \
678 installbuilddir=%{_sysconfdir}/build \
679 prefix=%{_sysconfdir}/httpd \
680 libexecdir=%{_libdir}/%{name} \
681 iconsdir=%{_datadir}/icons \
682 errordir=%{_datadir}/error \
683 htdocsdir=%{_datadir}/html \
684 manualdir=%{_datadir}/manual \
685 cgidir=%{_datadir}/cgi-bin \
686 runtimedir=%{_var}/run \
687 logdir=%{_var}/log/httpd \
688 proxycachedir=%{_var}/cache/httpd
690 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
691 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
693 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
694 $RPM_BUILD_ROOT%{_libexecdir}/build
696 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
697 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
698 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
699 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
700 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
701 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
703 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
704 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
705 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
707 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
709 %if %{?_without_ssl:0}%{!?_without_ssl:1}
710 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
711 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
712 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
715 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
717 install %{SOURCE6} $CFG/10_httpd.conf
718 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
719 install %{SOURCE9} $CFG/25_mod_status.conf
720 install %{SOURCE10} $CFG/30_mod_proxy.conf
721 install %{SOURCE11} $CFG/35_mod_info.conf
722 install %{SOURCE12} $CFG/40_mod_ssl.conf
723 install %{SOURCE13} $CFG/45_mod_dav.conf
724 install %{SOURCE14} $CFG/59_mod_dir.conf
726 echo "LoadModule ldap_module %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
727 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
728 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
729 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
730 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
731 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
732 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
733 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
734 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
735 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
736 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
737 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
738 echo "LoadModule auth_ldap_module %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
739 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
740 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
741 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
742 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
743 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
744 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
745 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
747 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
750 rm -rf $RPM_BUILD_ROOT
753 if [ -n "`getgid http`" ]; then
754 if [ "`getgid http`" != "51" ]; then
755 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
759 /usr/sbin/groupadd -g 51 -r -f http
761 if [ -n "`id -u http 2>/dev/null`" ]; then
762 if [ "`id -u http`" != "51" ]; then
763 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
767 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
772 /sbin/chkconfig --add httpd
774 touch /var/log/httpd/{access,error,agent,referer}_log
775 if [ -f /var/lock/subsys/httpd ]; then
776 /etc/rc.d/init.d/httpd restart 1>&2
778 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
782 if [ "$1" = "0" ]; then
783 if [ -f /var/lock/subsys/httpd ]; then
784 /etc/rc.d/init.d/httpd stop 1>&2
786 /sbin/chkconfig --del httpd
791 if [ "$1" = "0" ]; then
792 /usr/sbin/userdel http
793 /usr/sbin/groupdel http
797 if [ -f /var/lock/subsys/httpd ]; then
798 /etc/rc.d/init.d/httpd restart 1>&2
800 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
804 if [ "$1" = "0" ]; then
805 if [ -f /var/lock/subsys/httpd ]; then
806 /etc/rc.d/init.d/httpd restart 1>&2
811 if [ -f /var/lock/subsys/httpd ]; then
812 /etc/rc.d/init.d/httpd restart 1>&2
814 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
818 if [ "$1" = "0" ]; then
819 if [ -f /var/lock/subsys/httpd ]; then
820 /etc/rc.d/init.d/httpd restart 1>&2
825 if [ -f /var/lock/subsys/httpd ]; then
826 /etc/rc.d/init.d/httpd restart 1>&2
828 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
832 if [ "$1" = "0" ]; then
833 if [ -f /var/lock/subsys/httpd ]; then
834 /etc/rc.d/init.d/httpd restart 1>&2
839 if [ -f /var/lock/subsys/httpd ]; then
840 /etc/rc.d/init.d/httpd restart 1>&2
842 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
846 if [ "$1" = "0" ]; then
847 if [ -f /var/lock/subsys/httpd ]; then
848 /etc/rc.d/init.d/httpd restart 1>&2
853 if [ -f /var/lock/subsys/httpd ]; then
854 /etc/rc.d/init.d/httpd restart 1>&2
856 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
860 if [ "$1" = "0" ]; then
861 if [ -f /var/lock/subsys/httpd ]; then
862 /etc/rc.d/init.d/httpd restart 1>&2
867 if [ -f /var/lock/subsys/httpd ]; then
868 /etc/rc.d/init.d/httpd restart 1>&2
870 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
874 if [ "$1" = "0" ]; then
875 if [ -f /var/lock/subsys/httpd ]; then
876 /etc/rc.d/init.d/httpd restart 1>&2
880 %post mod_charset_lite
881 if [ -f /var/lock/subsys/httpd ]; then
882 /etc/rc.d/init.d/httpd restart 1>&2
884 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
887 %preun mod_charset_lite
888 if [ "$1" = "0" ]; then
889 if [ -f /var/lock/subsys/httpd ]; then
890 /etc/rc.d/init.d/httpd restart 1>&2
895 if [ -f /var/lock/subsys/httpd ]; then
896 /etc/rc.d/init.d/httpd restart 1>&2
898 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
902 if [ "$1" = "0" ]; then
903 if [ -f /var/lock/subsys/httpd ]; then
904 /etc/rc.d/init.d/httpd restart 1>&2
908 %post mod_auth_digest
909 if [ -f /var/lock/subsys/httpd ]; then
910 /etc/rc.d/init.d/httpd restart 1>&2
912 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 %preun mod_auth_digest
916 if [ "$1" = "0" ]; then
917 if [ -f /var/lock/subsys/httpd ]; then
918 /etc/rc.d/init.d/httpd restart 1>&2
923 if [ -f /var/lock/subsys/httpd ]; then
924 /etc/rc.d/init.d/httpd restart 1>&2
926 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
930 if [ "$1" = "0" ]; then
931 if [ -f /var/lock/subsys/httpd ]; then
932 /etc/rc.d/init.d/httpd restart 1>&2
937 if [ -f /var/lock/subsys/httpd ]; then
938 /etc/rc.d/init.d/httpd restart 1>&2
940 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
944 if [ "$1" = "0" ]; then
945 if [ -f /var/lock/subsys/httpd ]; then
946 /etc/rc.d/init.d/httpd restart 1>&2
951 if [ -f /var/lock/subsys/httpd ]; then
952 /etc/rc.d/init.d/httpd restart 1>&2
954 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
958 if [ "$1" = "0" ]; then
959 if [ -f /var/lock/subsys/httpd ]; then
960 /etc/rc.d/init.d/httpd restart 1>&2
965 if [ -f /var/lock/subsys/httpd ]; then
966 /etc/rc.d/init.d/httpd restart 1>&2
968 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
971 %preun mod_file_cache
972 if [ "$1" = "0" ]; then
973 if [ -f /var/lock/subsys/httpd ]; then
974 /etc/rc.d/init.d/httpd restart 1>&2
979 if [ -f /var/lock/subsys/httpd ]; then
980 /etc/rc.d/init.d/httpd restart 1>&2
982 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
986 if [ "$1" = "0" ]; then
987 if [ -f /var/lock/subsys/httpd ]; then
988 /etc/rc.d/init.d/httpd restart 1>&2
993 if [ -f /var/lock/subsys/httpd ]; then
994 /etc/rc.d/init.d/httpd restart 1>&2
996 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1000 if [ "$1" = "0" ]; then
1001 if [ -f /var/lock/subsys/httpd ]; then
1002 /etc/rc.d/init.d/httpd restart 1>&2
1007 if [ -f /var/lock/subsys/httpd ]; then
1008 /etc/rc.d/init.d/httpd restart 1>&2
1010 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1014 if [ "$1" = "0" ]; then
1015 if [ -f /var/lock/subsys/httpd ]; then
1016 /etc/rc.d/init.d/httpd restart 1>&2
1021 if [ -f /var/lock/subsys/httpd ]; then
1022 /etc/rc.d/init.d/httpd restart 1>&2
1024 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1028 if [ "$1" = "0" ]; then
1029 if [ -f /var/lock/subsys/httpd ]; then
1030 /etc/rc.d/init.d/httpd restart 1>&2
1035 if [ -f /var/lock/subsys/httpd ]; then
1036 /etc/rc.d/init.d/httpd restart 1>&2
1038 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1042 if [ "$1" = "0" ]; then
1043 if [ -f /var/lock/subsys/httpd ]; then
1044 /etc/rc.d/init.d/httpd restart 1>&2
1049 if [ -f /var/lock/subsys/httpd ]; then
1050 /etc/rc.d/init.d/httpd restart 1>&2
1052 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1056 if [ "$1" = "0" ]; then
1057 if [ -f /var/lock/subsys/httpd ]; then
1058 /etc/rc.d/init.d/httpd restart 1>&2
1063 if [ -f /var/lock/subsys/httpd ]; then
1064 /etc/rc.d/init.d/httpd restart 1>&2
1066 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1070 if [ "$1" = "0" ]; then
1071 if [ -f /var/lock/subsys/httpd ]; then
1072 /etc/rc.d/init.d/httpd restart 1>&2
1077 if [ -f /var/lock/subsys/httpd ]; then
1078 /etc/rc.d/init.d/httpd restart 1>&2
1080 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1083 %preun mod_usertrack
1084 if [ "$1" = "0" ]; then
1085 if [ -f /var/lock/subsys/httpd ]; then
1086 /etc/rc.d/init.d/httpd restart 1>&2
1091 if [ -f /var/lock/subsys/httpd ]; then
1092 /etc/rc.d/init.d/httpd restart 1>&2
1094 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1097 %preun mod_unique_id
1098 if [ "$1" = "0" ]; then
1099 if [ -f /var/lock/subsys/httpd ]; then
1100 /etc/rc.d/init.d/httpd restart 1>&2
1104 %post mod_vhost_alias
1105 if [ -f /var/lock/subsys/httpd ]; then
1106 /etc/rc.d/init.d/httpd restart 1>&2
1108 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1111 %preun mod_vhost_alias
1112 if [ "$1" = "0" ]; then
1113 if [ -f /var/lock/subsys/httpd ]; then
1114 /etc/rc.d/init.d/httpd restart 1>&2
1119 %defattr(644,root,root,755)
1120 %doc ABOUT_APACHE CHANGES README
1121 %doc docs/conf/mime.types
1123 %attr(754,root,root) /etc/rc.d/init.d/httpd
1125 %attr(750,root,root) %dir %{_sysconfdir}
1126 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1127 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1128 %attr(640,root,root) %{_sysconfdir}/magic
1129 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1130 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1133 %attr(755,root,root) %{_libexecdir}/mod_access.so
1134 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1135 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1136 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1137 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1138 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1139 %attr(755,root,root) %{_libexecdir}/mod_env.so
1140 %attr(755,root,root) %{_libexecdir}/mod_include.so
1141 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1142 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1143 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1144 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1145 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1146 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1147 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1149 # look at TODO on top
1150 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1151 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1152 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1153 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1154 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1155 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1156 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1157 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1159 %attr(755,root,root) %{_sbindir}/htdigest
1161 %attr(755,root,root) %{_sbindir}/ab
1162 %attr(755,root,root) %{_sbindir}/apachectl
1163 %attr(755,root,root) %{_sbindir}/apxs
1164 %attr(755,root,root) %{_sbindir}/checkgid
1165 %attr(755,root,root) %{_sbindir}/httpd
1166 %attr(755,root,root) %{_sbindir}/logresolve
1167 %attr(755,root,root) %{_sbindir}/rotatelogs
1168 %attr(755,root,root) %{_sbindir}/envvars*
1170 %dir %attr(770,root,http) /var/run/apache
1172 %{_mandir}/man1/htdigest.1*
1175 %attr(750,root,root) %dir /var/log/httpd
1176 %attr(750,root,root) %dir /var/log/archiv/httpd
1177 %attr(640,root,root) %ghost /var/log/httpd/*
1180 %dir %{_datadir}/manual
1181 %{_datadir}/manual/LICENSE
1182 %{_datadir}/manual/*.xml
1183 %{_datadir}/manual/*.html.en
1184 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1185 %lang(ja) %{_datadir}/manual/*.xml.ja
1186 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1187 %lang(de) %{_datadir}/manual/*.html.de
1188 %lang(fr) %{_datadir}/manual/*.html.fr
1189 %{_datadir}/manual/developer
1190 %{_datadir}/manual/faq
1191 %dir %{_datadir}/manual/howto
1192 %doc %{_datadir}/manual/howto/*.en
1193 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1194 %dir %{_datadir}/manual/images
1195 %{_datadir}/manual/images/[achips]*
1196 %{_datadir}/manual/misc
1197 %dir %{_datadir}/manual/mod
1198 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1199 %{_datadir}/manual/mod/[acd]*.xml
1200 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1201 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1202 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1203 %{_datadir}/manual/mod/index.xml
1204 %{_datadir}/manual/mod/mpm*.html.en
1205 %{_datadir}/manual/mod/mod_access.html.en
1206 %{_datadir}/manual/mod/mod_alias.html.en
1207 %{_datadir}/manual/mod/mod_asis.html.en
1208 %{_datadir}/manual/mod/mod_autoindex.html.en
1209 %{_datadir}/manual/mod/mod_cern_meta.html.en
1210 %{_datadir}/manual/mod/mod_cgi.html.en
1211 %{_datadir}/manual/mod/mod_env.html.en
1212 %{_datadir}/manual/mod/mod_include.html.en
1213 %{_datadir}/manual/mod/mod_log_config.html.en
1214 %{_datadir}/manual/mod/mod_mime*.html.en
1215 %{_datadir}/manual/mod/mod_negotiation.html.en
1216 %{_datadir}/manual/mod/mod_setenvif.html.en
1217 %{_datadir}/manual/mod/mod_speling.html.en
1218 %{_datadir}/manual/mod/mod_userdir.html.en
1219 %{_datadir}/manual/platform
1220 %{_datadir}/manual/programs
1221 %dir %{_datadir}/manual/search
1222 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1223 %{_datadir}/manual/style
1225 %attr(755,root,root) %dir %{_datadir}/html
1227 %attr(755,root,root) %{_datadir}/cgi-bin
1232 %defattr(644,root,root,755)
1233 %attr(4755,root,root) %{_sbindir}/suexec
1234 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1235 %{_datadir}/manual/mod/mod_suexec.html.en
1238 %defattr(644,root,root,755)
1239 %config(noreplace,missingok) %{_datadir}/html/index.html*
1240 %{_datadir}/html/*.gif
1241 %{_datadir}/html/*.png
1244 %defattr(644,root,root,755)
1246 %{_libexecdir}/*.exp
1247 %attr(755,root,root) %dir %{_libexecdir}/build
1248 %attr(644,root,root) %{_libexecdir}/build/*.mk
1249 %attr(755,root,root) %{_libexecdir}/build/*.sh
1250 %attr(755,root,root) %{_libexecdir}/build/libtool
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1255 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1256 %{_datadir}/manual/mod/mod_actions.html.en
1259 %defattr(644,root,root,755)
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1261 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1262 %attr(755,root,root) %{_sbindir}/htpasswd
1263 %{_datadir}/manual/mod/mod_auth.html.en
1264 %{_mandir}/man1/htpasswd.1*
1266 %files mod_auth_anon
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1270 %{_datadir}/manual/mod/mod_auth_anon.html.en
1272 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1273 %files mod_auth_ldap
1274 %defattr(644,root,root,755)
1275 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1276 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1277 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1280 %if %{!?_without_ldap:1}%{?_without_ldap:0}
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1284 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1285 %{_datadir}/manual/mod/mod_ldap.html.en
1289 %defattr(644,root,root,755)
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1291 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1292 %attr(755,root,root) %{_sbindir}/dbmmanage
1293 %attr(755,root,root) %{_sbindir}/htdbm
1294 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1295 %{_mandir}/man1/dbmmanage.1*
1297 %files mod_auth_digest
1298 %defattr(644,root,root,755)
1299 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1300 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1301 %{_datadir}/manual/mod/mod_auth_digest.html.en
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1306 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1307 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1308 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1309 %{_datadir}/manual/mod/mod_cache.html.en
1312 %defattr(644,root,root,755)
1313 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1314 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1315 %{_datadir}/manual/mod/mod_cgid.html.en
1317 %files mod_charset_lite
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1320 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1321 %{_datadir}/manual/mod/mod_charset_lite.html.en
1324 %defattr(644,root,root,755)
1325 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1326 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1327 %{_datadir}/manual/mod/mod_dav*.html.en
1330 %defattr(644,root,root,755)
1331 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1332 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1333 %{_datadir}/manual/mod/mod_deflate.html.en
1336 %defattr(644,root,root,755)
1337 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1338 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1339 %{_datadir}/manual/mod/mod_dir.html.en
1342 %defattr(644,root,root,755)
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1344 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1345 %{_datadir}/manual/mod/mod_expires.html.en
1347 %files mod_file_cache
1348 %defattr(644,root,root,755)
1349 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1350 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1351 %{_datadir}/manual/mod/mod_file_cache.html.en
1354 %defattr(644,root,root,755)
1355 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1356 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1357 %{_datadir}/manual/mod/mod_headers.html.en
1360 %defattr(644,root,root,755)
1361 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1362 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1363 %{_datadir}/manual/mod/mod_imap.html.en
1366 %defattr(644,root,root,755)
1367 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1368 %attr(755,root,root) %{_libexecdir}/mod_info.so
1369 %{_datadir}/manual/mod/mod_info.html.en
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1374 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1375 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1376 %attr(770,root,http) /var/cache/apache
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1381 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1382 %{_datadir}/manual/mod/mod_rewrite.html.en
1383 %{_datadir}/manual/images/mod_rewrite*
1385 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1387 %defattr(644,root,root,755)
1388 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1389 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1390 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1391 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1392 %{_datadir}/manual/ssl
1393 %{_datadir}/manual/mod/mod_ssl.html.en
1397 %defattr(644,root,root,755)
1398 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1399 %attr(755,root,root) %{_libexecdir}/mod_status.so
1400 %{_datadir}/manual/mod/mod_status.html.en
1402 %files mod_usertrack
1403 %defattr(644,root,root,755)
1404 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1405 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1406 %{_datadir}/manual/mod/mod_usertrack.html.en
1408 %files mod_unique_id
1409 %defattr(644,root,root,755)
1410 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1411 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1412 %{_datadir}/manual/mod/mod_unique_id.html.en
1414 %files mod_vhost_alias
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1417 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1418 %{_datadir}/manual/vhosts
1419 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf