4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
8 # - config examples for mod_*
9 # - check if all modules are (de)registered in %%post/%%postun
10 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
11 # - add %%post/%%postun to suexec
12 # - --with-suexec-gidmin=500 or =100 ?
13 # - --with-suexec-uidmin=500 or =1000 ?
14 # - subpackages for MPMs
15 # - change _prefix to /etc/httpd, _exec_prefix to /usr, fix configs to Load modules/xyz.so
16 # + provide /etc/httpd/modules symlink to /usr/lib{,64}/apache (see for example fedora apache.spec}
17 # This will fix path problems with AMD64.
18 # - check if all modules (*.so) are exactly the same for different MPMs
21 %bcond_without ssl # don't build with SSL support
22 %bcond_without ldap # don't build with LDAP support
23 %bcond_without metuxmpm # use METUX MPM
25 %include /usr/lib/rpm/macros.perl
26 # this is internal macro, don't change to %%apache_modules_api
27 %define _apache_modules_api 20020903
28 Summary: The most widely used Web server on the Internet
29 Summary(de): Leading World Wide Web-Server
30 Summary(es): Servidor HTTPD para proveer servicios WWW
31 Summary(fr): Le serveur web le plus utilise sur Internet
32 Summary(pl): Serwer WWW (World Wide Web)
33 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
34 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
35 Summary(tr): Lider WWW tarayýcý
39 License: Apache Group License
40 Group: Networking/Daemons
41 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
42 # Source0-md5: 275d3d37eed1b070f333d3618f7d1954
44 Source2: %{name}.logrotate
45 Source3: %{name}-icons.tar.gz
46 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
47 Source4: %{name}.sysconfig
48 Source6: %{name}-httpd.conf
49 Source8: %{name}-mod_vhost_alias.conf
50 Source9: %{name}-mod_status.conf
51 Source10: %{name}-mod_proxy.conf
52 Source11: %{name}-mod_info.conf
53 Source12: %{name}-mod_ssl.conf
54 Source13: %{name}-mod_dav.conf
55 Source14: %{name}-mod_dir.conf
56 Source15: %{name}-mod_suexec.conf
57 Source20: %{name}-server.crt
58 Source21: %{name}-server.key
59 Patch0: %{name}-configdir_skip_backups.patch
60 Patch1: %{name}-layout.patch
61 Patch2: %{name}-suexec.patch
62 Patch3: %{name}-nolibs.patch
63 Patch4: %{name}-apr.patch
64 # project homepage http://www.metux.de/mpm/en/?patpage=index
65 # http://www.sannes.org/metuxmpm/
66 Patch5: httpd-2.0.47-metuxmpm-r7.diff
67 Patch6: httpd-2.0.40-xfsz.patch
68 Patch7: httpd-2.0.45-davetag.patch
69 Patch8: httpd-2.0.45-encode.patch
70 Patch9: httpd-2.0.45-export.patch
71 Patch10: httpd-2.0.46-dav401dest.patch
72 Patch11: httpd-2.0.46-md5dig.patch
73 Patch12: httpd-2.0.46-rolog.patch
74 Patch13: httpd-2.0.46-shmcb.patch
75 Patch14: httpd-2.0.46-sslmutex.patch
76 Patch15: httpd-2.0.47-sslcleanup.patch
77 Patch16: httpd-2.0.48-corelimit.patch
78 Patch17: httpd-2.0.48-debuglog.patch
79 Patch18: httpd-2.0.48-dynlimit.patch
80 Patch19: httpd-2.0.48-fdsetsize.patch
81 Patch20: httpd-2.0.48-sslpphrase.patch
82 Patch21: %{name}-v6only-ENOPROTOOPT.patch
83 URL: http://httpd.apache.org/
84 BuildRequires: automake
85 BuildRequires: apr-devel >= 1:0.9.4-1
86 BuildRequires: apr-util-devel >= 1:0.9.5-0.3
87 BuildRequires: db-devel
88 BuildRequires: expat-devel
89 BuildRequires: gdbm-devel >= 1.8.3
90 BuildRequires: libtool >= 1.5
91 %{?with_ldap:BuildRequires: openldap-devel}
92 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
93 %{?with_ssl:BuildRequires: openssl-tools >= 0.9.7d}
94 BuildRequires: perl-devel >= 5.004
95 BuildRequires: rpm-perlprov >= 4.0.4
96 BuildRequires: zlib-devel
99 Requires(pre): /bin/id
100 Requires(pre): /usr/bin/getgid
101 Requires(pre): /usr/sbin/groupadd
102 Requires(pre): /usr/sbin/useradd
103 Requires(postun): /usr/sbin/userdel
104 Requires(postun): /usr/sbin/groupdel
105 Requires(post,preun): /sbin/chkconfig
106 Requires(post,postun): /sbin/ldconfig
107 Requires(post): fileutils
108 Requires: apr-util >= 1:0.9.4-1
109 Requires: /etc/mime.types
111 Requires: psmisc >= 20.1
112 Provides: httpd = %{version}
113 Provides: webserver = %{version}
114 Provides: apache(modules-api) = %{_apache_modules_api}
115 Obsoletes: apache-extra
116 Obsoletes: apache-doc
120 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
122 %define _sysconfdir /etc/httpd
123 %define _includedir %{_prefix}/include/apache
124 %define _datadir /home/services/httpd
125 %define _libexecdir %{_libdir}/apache
128 Apache is a powerful, full-featured, efficient and freely-available
129 Web server. Apache is also the most popular Web server on the
133 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
134 erhältlich und weit verbreitet ist.
137 El servidor web Apache es el mejor servidor gratuito disponible en el
138 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
139 que browsers web vean documentos y sometan datos remotamente. Puede
140 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
141 caché, y nos ofrece características como monitor de estado, conversión
142 dinámica de tipo, y otras más.
145 Apache est un serveur Web puissant, efficace, gratuit et complet.
146 Apache est aussi le serveur Web le plus populaire sur Internet.
149 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
150 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
152 %description -l pt_BR
153 O servidor web Apache é o melhor servidor gratuito disponível no mundo
154 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
155 que browsers web vejam documentos e submetam dados remotamente. Ele
156 pode executar várias funções diferentes, incluindo funções de proxy e
157 cache, e oferece características como monitor de status, conversão
158 dinâmica de tipo, e mais.
161 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
162 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
165 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
169 Summary: Apache suexec wrapper
170 Summary(pl): Wrapper suexec do serwera WWW Apache
171 Group: Development/Tools
172 Requires: %{name} = %{version}-%{release}
175 The suEXEC feature provides Apache users the ability to run CGI and
176 SSI programs under user IDs different from the user ID of the calling
177 web-server. Normally, when a CGI or SSI program executes, it runs as
178 the same user who is running the web server.
180 %description suexec -l pl
181 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
182 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
183 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
186 Summary: Apache index.html* files
187 Summary(pl): Pliki Apache index.html*
189 Requires: %{name} = %{version}-%{release}
192 Apache index.html* files.
194 %description index -l pl
195 Pliki Apache index.html*.
198 Summary: Apache manual
199 Summary(pl): Podrêcznik Apache'a
201 Requires: %{name} = %{version}-%{release}
206 %description doc -l pl
210 Summary: Module development tools for the Apache web server
211 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
212 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
213 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
214 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
215 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
216 Group: Networking/Utilities
217 Requires: %{name} = %{version}-%{release}
218 Requires: apr-util-devel >= 1:0.9.4
220 Obsoletes: apache-static
223 The apache-devel package contains header files for Apache.
225 %description devel -l es
226 Este paquete contiene los archivos de inclusión para el Apache, bien
227 como el utilitario apxs para la construcción de objetos compartidos
228 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
229 o desarrollar módulos adicionales para Apache.
231 %description devel -l fr
232 Le package apache-devel contient le code source pour le serveur Web
233 Apache et le binaire APXS dont vous aurez besoin pour construire des
234 Objets Dynamiques Partages (DSOs) pour Apache.
236 %description devel -l pl
237 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
238 (Dynamic Shared Objects) dla Apache.
240 %description devel -l ru
241 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
243 %description devel -l pt_BR
244 Este pacote contem os arquivos de inclusão para o Apache, bem como o
245 utilitário apxs para a construção de objetos compartilhados dinâmicos
246 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
247 desenvolver módulos adicionais para o Apache.
250 Summary: Apache module for run CGI whenever a file of a certain type is requested
251 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
252 Group: Networking/Daemons
253 Requires: %{name} = %{version}-%{release}
255 %description mod_actions
256 This package contains mod_actions module. This module lets you run CGI
257 scripts whenever a file of a certain type is requested. This makes it
258 much easier to execute scripts that process files.
260 %description mod_actions -l pl
261 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
262 ¿±danie pobrania pliku okre¶lonego typu.
265 Summary: Apache module with user authentication using textual files
266 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
267 Group: Networking/Daemons
268 Requires: %{name} = %{version}-%{release}
270 %description mod_auth
271 This package contains mod_auth module. It provides for user
272 authentication using textual files.
274 %description mod_auth -l pl
275 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
276 u¿ytkowników na podstawie plików tekstowych.
278 %package mod_auth_anon
279 Summary: Apache module with "anonymous" user access authentication
280 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
281 Group: Networking/Daemons
282 Requires: %{name} = %{version}-%{release}
284 %description mod_auth_anon
285 This package contains mod_auth_anon module. It allows "anonymous" user
286 access to authenticated areas. It does access control in a manner
287 similar to anonymous-ftp sites; i.e. have a 'magic' user id
288 'anonymous' and the email address as a password. These email addresses
289 can be logged. Combined with other (database) access control methods,
290 this allows for effective user tracking and customization according to
291 a user profile while still keeping the site open for 'unregistered'
292 users. One advantage of using Auth-based user tracking is that, unlike
293 magic-cookies and funny URL pre/postfixes, it is completely browser
294 independent and it allows users to share URLs.
296 %description mod_auth_anon -l pl
297 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
298 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
299 adresu pocztowego u¿ytkownika).
301 %package mod_auth_ldap
302 Summary: Apache module with LDAP user access authentication
303 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
304 Group: Networking/Daemons
305 Requires: %{name} = %{version}-%{release}
307 %description mod_auth_ldap
308 Apache module with LDAP user access authentication.
310 %description mod_auth_ldap -l pl
311 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
313 %package mod_auth_dbm
314 Summary: Apache module with user authentication which uses DBM files
315 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
316 Group: Networking/Daemons
317 Obsoletes: apache-mod_auth_db
318 Requires: %{name} = %{version}-%{release}
320 %description mod_auth_dbm
321 This module provides for HTTP Basic Authentication, where the
322 usernames and passwords are stored in DBM type database files. It is
323 an alternative to the plain text password files provided by mod_auth.
325 %description mod_auth_dbm -l pl
326 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
327 ich has³a s± trzymane w plikach bazy typu DBM.
329 %package mod_auth_digest
330 Summary: Apache user authentication module using MD5 Digest Authentication
331 Summary(pl): Modu³ Apache'a do autoryzacji MD5
332 Group: Networking/Daemons
333 Obsoletes: apache-mod_digest
334 Requires: %{name} = %{version}-%{release}
336 %description mod_auth_digest
337 This package contains mod_digest module. It provides user
338 authentication using MD5 Digest Authentication.
340 %description mod_auth_digest -l pl
341 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
345 Summary: Content cache keyed to URIs
346 Summary(pl): Pamiêæ podrêczna wg klucza URI
347 Group: Networking/Daemons
348 Requires: %{name} = %{version}-%{release}
350 %description mod_cache
351 mod_cache implements an RFC 2616 compliant HTTP content cache that can
352 be used to cache either local or proxied content. Two storage
353 management modules are included in the base Apache distribution:
354 mod_disk_cache implements a disk based storage manager (generally used
355 for proxy caching) and mod_mem_cache implements an in-memory based
356 storage manager (primarily useful for caching local content).
358 %description mod_cache -l pl
359 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
360 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
361 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
362 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
363 (u¿ywane do cacheowania proxy).
366 Summary: Execution of CGI scripts using an external CGI daemon
367 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
368 Group: Networking/Daemons
369 Requires: %{name} = %{version}-%{release}
371 %description mod_cgid
372 Execution of CGI scripts using an external CGI daemon.
374 %description mod_cgid -l pl
375 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
377 %package mod_charset_lite
378 Summary: Specify character set translation or recoding
379 Summary(pl): Translacja lub przekodowywanie znaków
380 Group: Networking/Daemons
381 Requires: %{name} = %{version}-%{release}
383 %description mod_charset_lite
384 Specify character set translation or recoding.
386 %description mod_charset_lite -l pl
387 Translacja lub przekodowywanie znaków.
390 Summary: Apache module - Distributed Authoring and Versioning
391 Summary(pl): Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
392 Group: Networking/Daemons
393 Requires: %{name} = %{version}-%{release}
396 This module provides class 1 and class 2 WebDAV ('Web-based
397 Distributed Authoring and Versioning') functionality for Apache. This
398 extension to the HTTP protocol allows creating, moving, copying, and
399 deleting resources and collections on a remote web server.
401 %description mod_dav -l pl
402 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
403 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
404 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
405 zdalnym serwerze WWW.
408 Summary: Apache module: Compress content before it is delivered to the client
409 Summary(pl): Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
410 Group: Networking/Daemons
411 Requires: %{name} = %{version}-%{release}
413 %description mod_deflate
414 Compress content before it is delivered to the client.
416 %description mod_deflate -l pl
417 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
420 Summary: Apache module for "trailing slash" redirects and serving directory index files
421 Summary(pl): Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
422 Group: Networking/Daemons
423 Requires: %{name} = %{version}-%{release}
426 This package contains mod_dir which provides "trailing slash"
427 redirects and serving directory index files.
429 %description mod_dir -l pl
430 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
434 Summary: Apache module allows for the customization of HTTP response headers
435 Summary(pl): Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
436 Group: Networking/Daemons
437 Requires: %{name} = %{version}-%{release}
439 %description mod_headers
440 This package contains mod_headers module. The module allows for the
441 customization of HTTP response headers. Headers can be merged,
444 %description mod_headers -l pl
445 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
446 wysy³anych do przegl±darki.
449 Summary: Apache module with imap-file handler
450 Summary(pl): Modu³ Apache'a z obs³ug± imap-file
451 Group: Networking/Daemons
452 Requires: %{name} = %{version}-%{release}
454 %description mod_imap
455 This package contains mod_imap module. It provides for .map files,
456 replacing the functionality of the imagemap CGI program. Any directory
457 or document type configured to use the handler imap-file.
459 %description mod_imap -l pl
460 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
463 Summary: Apache module with comprehensive overview of the server configuration
464 Summary(pl): Modu³ Apache'a udostêpniaj±cy informacje o serwerze
465 Group: Networking/Daemons
466 Requires: %{name} = %{version}-%{release}
468 %description mod_info
469 This package contains mod_info module. It provides a comprehensive
470 overview of the server configuration including all installed modules
471 and directives in the configuration files.
473 %description mod_info -l pl
474 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
475 zainstalowanych modu³ach itp.
478 Summary: Apache module to use LDAP connections
479 Summary(pl): Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
480 Group: Networking/Daemons
481 Requires: %{name} = %{version}-%{release}
483 %description mod_ldap
484 Apache module to use LDAP connections.
486 %description mod_ldap -l pl
487 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
490 Summary: Apache module with Web proxy
491 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
492 Group: Networking/Daemons
493 Requires: %{name} = %{version}-%{release}
495 %description mod_proxy
496 This package contains module with implementation a proxy/cache for
497 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
498 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
499 connect to other proxy modules for these and other protocols.
501 %description mod_proxy -l pl
502 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
503 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
507 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
508 Summary(pl): Modu³ Apache'a do "przepisywania" adresów URL w locie
509 Group: Networking/Daemons
510 Requires: %{name} = %{version}-%{release}
512 %description mod_rewrite
513 This package contains It provides a rule-based rewriting engine to
514 rewrite requested URLs on the fly.
516 %description mod_rewrite -l pl
517 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
520 Summary: SSL/TLS module for the Apache HTTP server
521 Summary(pl): Modu³ SSL/TSL dla serwera Apache
522 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
523 Group: Networking/Daemons
525 Requires: %{name} = %{version}-%{release}
528 The mod_ssl module provides strong cryptography for the Apache Web
529 server via the Secure Sockets Layer (SSL) and Transport Layer Security
532 %description mod_ssl -l pl
533 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
534 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
537 %description mod_ssl -l ru
538 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
539 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
542 Summary: Server status report module for Apache
543 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
544 Group: Networking/Daemons
545 Requires: %{name} = %{version}-%{release}
547 %description mod_status
548 The Status module allows a server administrator to find out how well
549 their server is performing. A HTML page is presented that gives the
550 current server statistics in an easily readable form. If required this
551 page can be made to automatically refresh (given a compatible
554 %description mod_status -l pl
555 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
556 pracy serwera apache (w postaci strony HTML).
558 %package mod_usertrack
559 Summary: Apache module for user tracking using cookies
560 Summary(pl): Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
561 Group: Networking/Daemons
562 Requires: %{name} = %{version}-%{release}
564 %description mod_usertrack
565 This package contains the user tracking module which did its own
566 logging using CookieLog directory. This module allow multiple log
569 %description mod_usertrack -l pl
570 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
572 %package mod_vhost_alias
573 Summary: Apache module for dynamically configured mass virtual hosting
574 Summary(pl): Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
575 Group: Networking/Daemons
576 Requires: %{name} = %{version}-%{release}
578 %description mod_vhost_alias
579 This package contains the mod_vhost_alias. It provides support for
580 dynamically configured mass virtual hosting.
582 %description mod_vhost_alias -l pl
583 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
586 %package mod_unique_id
587 Summary: Apache module which provides a magic token for each request
588 Summary(pl): Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
589 Group: Networking/Daemons
590 Requires: %{name} = %{version}-%{release}
592 %description mod_unique_id
593 This package contains the mod_unique_id. This module provides a magic
594 token for each request which is guaranteed to be unique across "all"
595 requests under very specific conditions. The unique identifier is even
596 unique across multiple machines in a properly configured cluster of
597 machines. The environment variable UNIQUE_ID is set to the identifier
598 for each request. Unique identifiers are useful for various reasons
599 which are beyond the scope of this document.
601 %description mod_unique_id -l pl
602 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
603 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
604 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
608 Summary: Apache module which generates Expires HTTP headers
609 Summary(pl): Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
610 Group: Networking/Daemons
611 Requires: %{name} = %{version}-%{release}
613 %description mod_expires
614 This module controls the setting of the Expires HTTP header in server
615 responses. The expiration date can set to be relative to either the
616 time the source file was last modified, or to the time of the client
619 %description mod_expires -l pl
620 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
621 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
622 ¼ród³owych lub odwo³ania klienta.
624 %package mod_file_cache
625 Summary: Apache module: caches a static list of files in memory
626 Summary(pl): Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
627 Group: Networking/Daemons
628 Obsoletes: apache-mmap_static
629 Requires: %{name} = %{version}-%{release}
631 %description mod_file_cache
632 Caches a static list of files in memory.
634 %description mod_file_cache -l pl
635 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
638 %setup -q -n httpd-%{version}
644 %{?with_metuxmpm:%patch5 -p1}
663 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
664 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
665 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
669 # Before configure; fix location of build dir in generated apxs
670 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
672 install /usr/share/automake/config.* build/
673 CPPFLAGS="-DMAX_SERVER_LIMIT=200000"
674 for mpm in %{?with_metuxmpm:metuxmpm} perchild prefork worker; do
675 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
677 --prefix=%{_sysconfdir} \
678 --exec-prefix=%{_libexecdir} \
679 --with-installbuilddir=%{_libdir}/apache/build \
680 --enable-layout=PLD \
681 --enable-modules=all \
682 --enable-mods-shared=all \
685 --enable-auth-digest \
686 --enable-file-cache \
689 --enable-charset-lite \
691 --enable-disk-cache \
692 --enable-ext-filter \
693 --enable-case-filter \
694 --enable-case-filter-in \
696 --with-z=%{_prefix} \
697 --enable-mime-magic \
704 --enable-proxy-connect \
706 --enable-proxy-http \
707 %{?with_ssl:--enable-ssl} \
708 --enable-optional-hook-export \
709 --enable-optional-hook-import \
710 --enable-optional-fn-import \
711 --enable-optional-fn-export \
712 %{?with_ldap:--enable-ldap} \
713 %{?with_ldap:--enable-auth-ldap} \
720 --enable-vhost-alias \
724 --with-program-name=httpd.${mpm} \
728 $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
731 --with-suexec-bin=%{_sbindir}/suexec \
732 --with-suexec-caller=http \
733 --with-suexec-docroot=%{_datadir} \
734 --with-suexec-logfile=/var/log/httpd/suexec_log \
735 --with-suexec-uidmin=500 \
736 --with-suexec-gidmin=500 \
737 --with-suexec-umask=077 \
738 --with-apr=%{_bindir} \
739 --with-apr-util=%{_bindir}
741 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
745 for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
746 if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
747 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
754 rm -rf $RPM_BUILD_ROOT
755 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
756 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
758 # prefork is default one
759 %{__make} -C buildmpm-prefork install \
760 DESTDIR=$RPM_BUILD_ROOT \
761 installbuilddir=%{_sysconfdir}/build \
762 prefix=%{_sysconfdir}/httpd \
763 libexecdir=%{_libdir}/%{name} \
764 iconsdir=%{_datadir}/icons \
765 errordir=%{_datadir}/error \
766 htdocsdir=%{_datadir}/html \
767 manualdir=%{_datadir}/manual \
768 cgidir=%{_datadir}/cgi-bin \
769 runtimedir=%{_var}/run \
770 logdir=%{_var}/log/httpd \
771 proxycachedir=%{_var}/cache/httpd
773 for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
774 install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
777 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
779 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
780 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
781 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
783 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
784 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
786 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
787 $RPM_BUILD_ROOT%{_libexecdir}/build
789 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
790 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
791 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
792 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
793 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
794 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
796 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
797 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
798 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
800 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
803 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
804 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
805 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
808 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
810 install %{SOURCE6} $CFG/10_httpd.conf
811 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
812 install %{SOURCE9} $CFG/25_mod_status.conf
813 install %{SOURCE10} $CFG/30_mod_proxy.conf
814 install %{SOURCE11} $CFG/35_mod_info.conf
815 install %{SOURCE12} $CFG/40_mod_ssl.conf
816 install %{SOURCE13} $CFG/45_mod_dav.conf
817 install %{SOURCE14} $CFG/59_mod_dir.conf
818 install %{SOURCE15} $CFG/13_mod_suexec.conf
820 echo "LoadModule ldap_module %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
821 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
822 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
823 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
824 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
825 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
826 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
827 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
828 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
829 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
830 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
831 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
832 echo "LoadModule auth_ldap_module %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
833 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
834 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
835 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
836 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
837 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
838 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
839 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
841 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
844 rm -rf $RPM_BUILD_ROOT
847 if [ -n "`getgid http`" ]; then
848 if [ "`getgid http`" != "51" ]; then
849 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
853 /usr/sbin/groupadd -g 51 -r -f http
855 if [ -n "`id -u http 2>/dev/null`" ]; then
856 if [ "`id -u http`" != "51" ]; then
857 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
861 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
866 /sbin/chkconfig --add httpd
868 touch /var/log/httpd/{access,error,agent,referer}_log
869 if [ -f /var/lock/subsys/httpd ]; then
870 /etc/rc.d/init.d/httpd restart 1>&2
872 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
876 if [ "$1" = "0" ]; then
877 if [ -f /var/lock/subsys/httpd ]; then
878 /etc/rc.d/init.d/httpd stop 1>&2
880 /sbin/chkconfig --del httpd
885 if [ "$1" = "0" ]; then
886 /usr/sbin/userdel http
887 /usr/sbin/groupdel http
891 if [ -f /var/lock/subsys/httpd ]; then
892 /etc/rc.d/init.d/httpd restart 1>&2
894 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
898 if [ "$1" = "0" ]; then
899 if [ -f /var/lock/subsys/httpd ]; then
900 /etc/rc.d/init.d/httpd restart 1>&2
905 if [ -f /var/lock/subsys/httpd ]; then
906 /etc/rc.d/init.d/httpd restart 1>&2
908 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
912 if [ "$1" = "0" ]; then
913 if [ -f /var/lock/subsys/httpd ]; then
914 /etc/rc.d/init.d/httpd restart 1>&2
919 if [ -f /var/lock/subsys/httpd ]; then
920 /etc/rc.d/init.d/httpd restart 1>&2
922 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
926 if [ "$1" = "0" ]; then
927 if [ -f /var/lock/subsys/httpd ]; then
928 /etc/rc.d/init.d/httpd restart 1>&2
933 if [ -f /var/lock/subsys/httpd ]; then
934 /etc/rc.d/init.d/httpd restart 1>&2
936 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
940 if [ "$1" = "0" ]; then
941 if [ -f /var/lock/subsys/httpd ]; then
942 /etc/rc.d/init.d/httpd restart 1>&2
947 if [ -f /var/lock/subsys/httpd ]; then
948 /etc/rc.d/init.d/httpd restart 1>&2
950 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
954 if [ "$1" = "0" ]; then
955 if [ -f /var/lock/subsys/httpd ]; then
956 /etc/rc.d/init.d/httpd restart 1>&2
961 if [ -f /var/lock/subsys/httpd ]; then
962 /etc/rc.d/init.d/httpd restart 1>&2
964 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
968 if [ "$1" = "0" ]; then
969 if [ -f /var/lock/subsys/httpd ]; then
970 /etc/rc.d/init.d/httpd restart 1>&2
974 %post mod_charset_lite
975 if [ -f /var/lock/subsys/httpd ]; then
976 /etc/rc.d/init.d/httpd restart 1>&2
978 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
981 %preun mod_charset_lite
982 if [ "$1" = "0" ]; then
983 if [ -f /var/lock/subsys/httpd ]; then
984 /etc/rc.d/init.d/httpd restart 1>&2
989 if [ -f /var/lock/subsys/httpd ]; then
990 /etc/rc.d/init.d/httpd restart 1>&2
992 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
996 if [ "$1" = "0" ]; then
997 if [ -f /var/lock/subsys/httpd ]; then
998 /etc/rc.d/init.d/httpd restart 1>&2
1002 %post mod_auth_digest
1003 if [ -f /var/lock/subsys/httpd ]; then
1004 /etc/rc.d/init.d/httpd restart 1>&2
1006 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1009 %preun mod_auth_digest
1010 if [ "$1" = "0" ]; then
1011 if [ -f /var/lock/subsys/httpd ]; then
1012 /etc/rc.d/init.d/httpd restart 1>&2
1017 if [ -f /var/lock/subsys/httpd ]; then
1018 /etc/rc.d/init.d/httpd restart 1>&2
1020 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1024 if [ "$1" = "0" ]; then
1025 if [ -f /var/lock/subsys/httpd ]; then
1026 /etc/rc.d/init.d/httpd restart 1>&2
1031 if [ -f /var/lock/subsys/httpd ]; then
1032 /etc/rc.d/init.d/httpd restart 1>&2
1034 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1038 if [ "$1" = "0" ]; then
1039 if [ -f /var/lock/subsys/httpd ]; then
1040 /etc/rc.d/init.d/httpd restart 1>&2
1045 if [ -f /var/lock/subsys/httpd ]; then
1046 /etc/rc.d/init.d/httpd restart 1>&2
1048 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1052 if [ "$1" = "0" ]; then
1053 if [ -f /var/lock/subsys/httpd ]; then
1054 /etc/rc.d/init.d/httpd restart 1>&2
1058 %post mod_file_cache
1059 if [ -f /var/lock/subsys/httpd ]; then
1060 /etc/rc.d/init.d/httpd restart 1>&2
1062 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1065 %preun mod_file_cache
1066 if [ "$1" = "0" ]; then
1067 if [ -f /var/lock/subsys/httpd ]; then
1068 /etc/rc.d/init.d/httpd restart 1>&2
1073 if [ -f /var/lock/subsys/httpd ]; then
1074 /etc/rc.d/init.d/httpd restart 1>&2
1076 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1080 if [ "$1" = "0" ]; then
1081 if [ -f /var/lock/subsys/httpd ]; then
1082 /etc/rc.d/init.d/httpd restart 1>&2
1087 if [ -f /var/lock/subsys/httpd ]; then
1088 /etc/rc.d/init.d/httpd restart 1>&2
1090 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1094 if [ "$1" = "0" ]; then
1095 if [ -f /var/lock/subsys/httpd ]; then
1096 /etc/rc.d/init.d/httpd restart 1>&2
1101 if [ -f /var/lock/subsys/httpd ]; then
1102 /etc/rc.d/init.d/httpd restart 1>&2
1104 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1108 if [ "$1" = "0" ]; then
1109 if [ -f /var/lock/subsys/httpd ]; then
1110 /etc/rc.d/init.d/httpd restart 1>&2
1115 if [ -f /var/lock/subsys/httpd ]; then
1116 /etc/rc.d/init.d/httpd restart 1>&2
1118 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1122 if [ "$1" = "0" ]; then
1123 if [ -f /var/lock/subsys/httpd ]; then
1124 /etc/rc.d/init.d/httpd restart 1>&2
1129 if [ -f /var/lock/subsys/httpd ]; then
1130 /etc/rc.d/init.d/httpd restart 1>&2
1132 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1136 if [ "$1" = "0" ]; then
1137 if [ -f /var/lock/subsys/httpd ]; then
1138 /etc/rc.d/init.d/httpd restart 1>&2
1143 if [ -f /var/lock/subsys/httpd ]; then
1144 /etc/rc.d/init.d/httpd restart 1>&2
1146 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1150 if [ "$1" = "0" ]; then
1151 if [ -f /var/lock/subsys/httpd ]; then
1152 /etc/rc.d/init.d/httpd restart 1>&2
1157 if [ -f /var/lock/subsys/httpd ]; then
1158 /etc/rc.d/init.d/httpd restart 1>&2
1160 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1164 if [ "$1" = "0" ]; then
1165 if [ -f /var/lock/subsys/httpd ]; then
1166 /etc/rc.d/init.d/httpd restart 1>&2
1171 if [ -f /var/lock/subsys/httpd ]; then
1172 /etc/rc.d/init.d/httpd restart 1>&2
1174 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1177 %preun mod_usertrack
1178 if [ "$1" = "0" ]; then
1179 if [ -f /var/lock/subsys/httpd ]; then
1180 /etc/rc.d/init.d/httpd restart 1>&2
1185 if [ -f /var/lock/subsys/httpd ]; then
1186 /etc/rc.d/init.d/httpd restart 1>&2
1188 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1191 %preun mod_unique_id
1192 if [ "$1" = "0" ]; then
1193 if [ -f /var/lock/subsys/httpd ]; then
1194 /etc/rc.d/init.d/httpd restart 1>&2
1198 %post mod_vhost_alias
1199 if [ -f /var/lock/subsys/httpd ]; then
1200 /etc/rc.d/init.d/httpd restart 1>&2
1202 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1205 %preun mod_vhost_alias
1206 if [ "$1" = "0" ]; then
1207 if [ -f /var/lock/subsys/httpd ]; then
1208 /etc/rc.d/init.d/httpd restart 1>&2
1213 %defattr(644,root,root,755)
1214 %doc ABOUT_APACHE CHANGES README
1215 %doc docs/conf/mime.types
1217 %attr(754,root,root) /etc/rc.d/init.d/httpd
1219 %attr(750,root,root) %dir %{_sysconfdir}
1220 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1221 %attr(750,root,root) %dir %{_sysconfdir}/modules
1222 %attr(750,root,root) %dir %{_sysconfdir}/run
1223 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1224 %attr(640,root,root) %{_sysconfdir}/magic
1225 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1226 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1229 %attr(755,root,root) %{_libexecdir}/mod_access.so
1230 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1231 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1232 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1233 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1234 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1235 %attr(755,root,root) %{_libexecdir}/mod_env.so
1236 %attr(755,root,root) %{_libexecdir}/mod_include.so
1237 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1238 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1239 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1240 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1241 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1242 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1243 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1245 # look at TODO on top
1246 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1247 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1248 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1249 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1250 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1251 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1252 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1253 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1255 %attr(755,root,root) %{_sbindir}/htdigest
1257 %attr(755,root,root) %{_sbindir}/ab
1258 %attr(755,root,root) %{_sbindir}/apachectl
1259 %attr(755,root,root) %{_sbindir}/apxs
1260 %attr(755,root,root) %{_sbindir}/checkgid
1261 %attr(755,root,root) %{_sbindir}/httpd
1262 %attr(755,root,root) %{_sbindir}/httpd.*
1263 %attr(755,root,root) %{_sbindir}/logresolve
1264 %attr(755,root,root) %{_sbindir}/rotatelogs
1265 %attr(755,root,root) %{_sbindir}/envvars*
1267 %dir %attr(770,root,http) /var/run/apache
1269 %{_mandir}/man1/htdigest.1*
1272 %attr(750,root,root) %dir /var/log/httpd
1273 %attr(750,root,root) %dir /var/log/archiv/httpd
1274 %attr(640,root,root) %ghost /var/log/httpd/*
1278 %attr(755,root,root) %dir %{_datadir}/html
1280 %attr(755,root,root) %{_datadir}/cgi-bin
1283 %dir %{_datadir}/manual
1286 %{_datadir}/manual/LICENSE
1287 %{_datadir}/manual/*.xml
1288 %{_datadir}/manual/*.html.en
1289 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1290 %lang(ja) %{_datadir}/manual/*.xml.ja
1291 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1292 %lang(de) %{_datadir}/manual/*.html.de
1293 %lang(fr) %{_datadir}/manual/*.html.fr
1294 %{_datadir}/manual/developer
1295 %{_datadir}/manual/faq
1296 %dir %{_datadir}/manual/howto
1297 %doc %{_datadir}/manual/howto/*.en
1298 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1299 %dir %{_datadir}/manual/images
1300 %{_datadir}/manual/images/[achips]*
1301 %{_datadir}/manual/misc
1302 %dir %{_datadir}/manual/mod
1303 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1304 %{_datadir}/manual/mod/[acd]*.xml
1305 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1306 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1307 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1308 %{_datadir}/manual/mod/index.xml
1309 %{_datadir}/manual/mod/mpm*.html.en
1310 %{_datadir}/manual/mod/mod_access.html.en
1311 %{_datadir}/manual/mod/mod_alias.html.en
1312 %{_datadir}/manual/mod/mod_asis.html.en
1313 %{_datadir}/manual/mod/mod_autoindex.html.en
1314 %{_datadir}/manual/mod/mod_cern_meta.html.en
1315 %{_datadir}/manual/mod/mod_cgi.html.en
1316 %{_datadir}/manual/mod/mod_env.html.en
1317 %{_datadir}/manual/mod/mod_include.html.en
1318 %{_datadir}/manual/mod/mod_log_config.html.en
1319 %{_datadir}/manual/mod/mod_mime*.html.en
1320 %{_datadir}/manual/mod/mod_negotiation.html.en
1321 %{_datadir}/manual/mod/mod_setenvif.html.en
1322 %{_datadir}/manual/mod/mod_speling.html.en
1323 %{_datadir}/manual/mod/mod_userdir.html.en
1324 %{_datadir}/manual/platform
1325 %{_datadir}/manual/programs
1326 %{_datadir}/manual/style
1328 %{_datadir}/manual/mod/mod_suexec.html.en
1329 %{_datadir}/manual/mod/mod_actions.html.en
1330 %{_datadir}/manual/mod/mod_auth.html.en
1331 %{_datadir}/manual/mod/mod_auth_anon.html.en
1332 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1333 %{_datadir}/manual/mod/mod_ldap.html.en
1334 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1335 %{_datadir}/manual/mod/mod_auth_digest.html.en
1336 %{_datadir}/manual/mod/mod_cache.html.en
1337 %{_datadir}/manual/mod/mod_cgid.html.en
1338 %{_datadir}/manual/mod/mod_charset_lite.html.en
1339 %{_datadir}/manual/mod/mod_dav*.html.en
1340 %{_datadir}/manual/mod/mod_deflate.html.en
1341 %{_datadir}/manual/mod/mod_dir.html.en
1342 %{_datadir}/manual/mod/mod_expires.html.en
1343 %{_datadir}/manual/mod/mod_file_cache.html.en
1344 %{_datadir}/manual/mod/mod_headers.html.en
1345 %{_datadir}/manual/mod/mod_imap.html.en
1346 %{_datadir}/manual/mod/mod_info.html.en
1347 %{_datadir}/manual/mod/mod_proxy*.html.en
1348 %{_datadir}/manual/mod/mod_rewrite.html.en
1349 %{_datadir}/manual/images/mod_rewrite*
1350 %{_datadir}/manual/ssl
1351 %{_datadir}/manual/mod/mod_ssl.html.en
1352 %{_datadir}/manual/mod/mod_status.html.en
1353 %{_datadir}/manual/mod/mod_usertrack.html.en
1354 %{_datadir}/manual/mod/mod_unique_id.html.en
1355 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1356 %{_datadir}/manual/vhosts
1359 %defattr(644,root,root,755)
1360 %attr(4755,root,root) %{_sbindir}/suexec
1361 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1362 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1365 %defattr(644,root,root,755)
1366 %config(noreplace,missingok) %{_datadir}/html/index.html*
1367 %{_datadir}/html/*.gif
1368 %{_datadir}/html/*.png
1371 %defattr(644,root,root,755)
1373 %{_libexecdir}/*.exp
1374 %attr(750,root,root) %dir %{_sysconfdir}/build
1375 %attr(755,root,root) %dir %{_libexecdir}/build
1376 %attr(644,root,root) %{_libexecdir}/build/*.mk
1377 %attr(755,root,root) %{_libexecdir}/build/*.sh
1378 %attr(755,root,root) %{_libexecdir}/build/libtool
1381 %defattr(644,root,root,755)
1382 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1383 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1386 %defattr(644,root,root,755)
1387 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1388 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1389 %attr(755,root,root) %{_sbindir}/htpasswd
1390 %{_mandir}/man1/htpasswd.1*
1392 %files mod_auth_anon
1393 %defattr(644,root,root,755)
1394 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1395 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1398 %files mod_auth_ldap
1399 %defattr(644,root,root,755)
1400 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1401 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1406 %defattr(644,root,root,755)
1407 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1408 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1412 %defattr(644,root,root,755)
1413 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1414 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1415 %attr(755,root,root) %{_sbindir}/dbmmanage
1416 %attr(755,root,root) %{_sbindir}/htdbm
1417 %{_mandir}/man1/dbmmanage.1*
1419 %files mod_auth_digest
1420 %defattr(644,root,root,755)
1421 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1422 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1425 %defattr(644,root,root,755)
1426 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1427 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1428 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1429 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1432 %defattr(644,root,root,755)
1433 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1434 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1436 %files mod_charset_lite
1437 %defattr(644,root,root,755)
1438 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1439 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1442 %defattr(644,root,root,755)
1443 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1444 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1447 %defattr(644,root,root,755)
1448 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1449 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1452 %defattr(644,root,root,755)
1453 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1454 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1457 %defattr(644,root,root,755)
1458 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1459 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1461 %files mod_file_cache
1462 %defattr(644,root,root,755)
1463 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1464 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1467 %defattr(644,root,root,755)
1468 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1469 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1472 %defattr(644,root,root,755)
1473 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1474 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1477 %defattr(644,root,root,755)
1478 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1479 %attr(755,root,root) %{_libexecdir}/mod_info.so
1482 %defattr(644,root,root,755)
1483 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1484 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1485 %attr(770,root,http) /var/cache/apache
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1490 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1494 %defattr(644,root,root,755)
1495 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1496 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1497 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1498 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1502 %defattr(644,root,root,755)
1503 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1504 %attr(755,root,root) %{_libexecdir}/mod_status.so
1506 %files mod_usertrack
1507 %defattr(644,root,root,755)
1508 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1509 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1511 %files mod_unique_id
1512 %defattr(644,root,root,755)
1513 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1514 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1516 %files mod_vhost_alias
1517 %defattr(644,root,root,755)
1518 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1519 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf