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=%{_libexecdir} \
678 --enable-layout=PLD \
679 --enable-modules=all \
680 --enable-mods-shared=all \
683 --enable-auth-digest \
684 --enable-file-cache \
687 --enable-charset-lite \
689 --enable-disk-cache \
690 --enable-ext-filter \
691 --enable-case-filter \
692 --enable-case-filter-in \
694 --with-z=%{_prefix} \
695 --enable-mime-magic \
702 --enable-proxy-connect \
704 --enable-proxy-http \
705 %{?with_ssl:--enable-ssl} \
706 --enable-optional-hook-export \
707 --enable-optional-hook-import \
708 --enable-optional-fn-import \
709 --enable-optional-fn-export \
710 %{?with_ldap:--enable-ldap} \
711 %{?with_ldap:--enable-auth-ldap} \
718 --enable-vhost-alias \
722 --with-program-name=httpd.${mpm} \
726 $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
729 --with-suexec-bin=%{_sbindir}/suexec \
730 --with-suexec-caller=http \
731 --with-suexec-docroot=%{_datadir} \
732 --with-suexec-logfile=/var/log/httpd/suexec_log \
733 --with-suexec-uidmin=500 \
734 --with-suexec-gidmin=500 \
735 --with-suexec-umask=077 \
736 --with-apr=%{_bindir} \
737 --with-apr-util=%{_bindir}
739 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
743 for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
744 if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
745 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
752 rm -rf $RPM_BUILD_ROOT
753 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
754 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
756 # prefork is default one
757 %{__make} -C buildmpm-prefork install \
758 DESTDIR=$RPM_BUILD_ROOT \
759 installbuilddir=%{_sysconfdir}/build \
760 prefix=%{_sysconfdir}/httpd \
761 libexecdir=%{_libdir}/%{name} \
762 iconsdir=%{_datadir}/icons \
763 errordir=%{_datadir}/error \
764 htdocsdir=%{_datadir}/html \
765 manualdir=%{_datadir}/manual \
766 cgidir=%{_datadir}/cgi-bin \
767 runtimedir=%{_var}/run \
768 logdir=%{_var}/log/httpd \
769 proxycachedir=%{_var}/cache/httpd
771 for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
772 install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
775 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
777 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
778 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
780 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
781 $RPM_BUILD_ROOT%{_libexecdir}/build
783 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
784 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
785 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
786 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
787 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
788 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
790 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
791 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
792 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
794 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
797 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
798 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
799 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
802 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
804 install %{SOURCE6} $CFG/10_httpd.conf
805 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
806 install %{SOURCE9} $CFG/25_mod_status.conf
807 install %{SOURCE10} $CFG/30_mod_proxy.conf
808 install %{SOURCE11} $CFG/35_mod_info.conf
809 install %{SOURCE12} $CFG/40_mod_ssl.conf
810 install %{SOURCE13} $CFG/45_mod_dav.conf
811 install %{SOURCE14} $CFG/59_mod_dir.conf
812 install %{SOURCE15} $CFG/13_mod_suexec.conf
814 echo "LoadModule ldap_module %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
815 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
816 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
817 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
818 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
819 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
820 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
821 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
822 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
823 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
824 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
825 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
826 echo "LoadModule auth_ldap_module %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
827 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
828 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
829 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
830 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
831 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
832 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
833 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
835 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
838 rm -rf $RPM_BUILD_ROOT
841 if [ -n "`getgid http`" ]; then
842 if [ "`getgid http`" != "51" ]; then
843 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
847 /usr/sbin/groupadd -g 51 -r -f http
849 if [ -n "`id -u http 2>/dev/null`" ]; then
850 if [ "`id -u http`" != "51" ]; then
851 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
855 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
860 /sbin/chkconfig --add httpd
862 touch /var/log/httpd/{access,error,agent,referer}_log
863 if [ -f /var/lock/subsys/httpd ]; then
864 /etc/rc.d/init.d/httpd restart 1>&2
866 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
870 if [ "$1" = "0" ]; then
871 if [ -f /var/lock/subsys/httpd ]; then
872 /etc/rc.d/init.d/httpd stop 1>&2
874 /sbin/chkconfig --del httpd
879 if [ "$1" = "0" ]; then
880 /usr/sbin/userdel http
881 /usr/sbin/groupdel http
885 if [ -f /var/lock/subsys/httpd ]; then
886 /etc/rc.d/init.d/httpd restart 1>&2
888 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
892 if [ "$1" = "0" ]; then
893 if [ -f /var/lock/subsys/httpd ]; then
894 /etc/rc.d/init.d/httpd restart 1>&2
899 if [ -f /var/lock/subsys/httpd ]; then
900 /etc/rc.d/init.d/httpd restart 1>&2
902 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
906 if [ "$1" = "0" ]; then
907 if [ -f /var/lock/subsys/httpd ]; then
908 /etc/rc.d/init.d/httpd restart 1>&2
913 if [ -f /var/lock/subsys/httpd ]; then
914 /etc/rc.d/init.d/httpd restart 1>&2
916 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
920 if [ "$1" = "0" ]; then
921 if [ -f /var/lock/subsys/httpd ]; then
922 /etc/rc.d/init.d/httpd restart 1>&2
927 if [ -f /var/lock/subsys/httpd ]; then
928 /etc/rc.d/init.d/httpd restart 1>&2
930 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
934 if [ "$1" = "0" ]; then
935 if [ -f /var/lock/subsys/httpd ]; then
936 /etc/rc.d/init.d/httpd restart 1>&2
941 if [ -f /var/lock/subsys/httpd ]; then
942 /etc/rc.d/init.d/httpd restart 1>&2
944 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
948 if [ "$1" = "0" ]; then
949 if [ -f /var/lock/subsys/httpd ]; then
950 /etc/rc.d/init.d/httpd restart 1>&2
955 if [ -f /var/lock/subsys/httpd ]; then
956 /etc/rc.d/init.d/httpd restart 1>&2
958 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
962 if [ "$1" = "0" ]; then
963 if [ -f /var/lock/subsys/httpd ]; then
964 /etc/rc.d/init.d/httpd restart 1>&2
968 %post mod_charset_lite
969 if [ -f /var/lock/subsys/httpd ]; then
970 /etc/rc.d/init.d/httpd restart 1>&2
972 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
975 %preun mod_charset_lite
976 if [ "$1" = "0" ]; then
977 if [ -f /var/lock/subsys/httpd ]; then
978 /etc/rc.d/init.d/httpd restart 1>&2
983 if [ -f /var/lock/subsys/httpd ]; then
984 /etc/rc.d/init.d/httpd restart 1>&2
986 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
990 if [ "$1" = "0" ]; then
991 if [ -f /var/lock/subsys/httpd ]; then
992 /etc/rc.d/init.d/httpd restart 1>&2
996 %post mod_auth_digest
997 if [ -f /var/lock/subsys/httpd ]; then
998 /etc/rc.d/init.d/httpd restart 1>&2
1000 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1003 %preun mod_auth_digest
1004 if [ "$1" = "0" ]; then
1005 if [ -f /var/lock/subsys/httpd ]; then
1006 /etc/rc.d/init.d/httpd restart 1>&2
1011 if [ -f /var/lock/subsys/httpd ]; then
1012 /etc/rc.d/init.d/httpd restart 1>&2
1014 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1018 if [ "$1" = "0" ]; then
1019 if [ -f /var/lock/subsys/httpd ]; then
1020 /etc/rc.d/init.d/httpd restart 1>&2
1025 if [ -f /var/lock/subsys/httpd ]; then
1026 /etc/rc.d/init.d/httpd restart 1>&2
1028 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1032 if [ "$1" = "0" ]; then
1033 if [ -f /var/lock/subsys/httpd ]; then
1034 /etc/rc.d/init.d/httpd restart 1>&2
1039 if [ -f /var/lock/subsys/httpd ]; then
1040 /etc/rc.d/init.d/httpd restart 1>&2
1042 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1046 if [ "$1" = "0" ]; then
1047 if [ -f /var/lock/subsys/httpd ]; then
1048 /etc/rc.d/init.d/httpd restart 1>&2
1052 %post mod_file_cache
1053 if [ -f /var/lock/subsys/httpd ]; then
1054 /etc/rc.d/init.d/httpd restart 1>&2
1056 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1059 %preun mod_file_cache
1060 if [ "$1" = "0" ]; then
1061 if [ -f /var/lock/subsys/httpd ]; then
1062 /etc/rc.d/init.d/httpd restart 1>&2
1067 if [ -f /var/lock/subsys/httpd ]; then
1068 /etc/rc.d/init.d/httpd restart 1>&2
1070 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1074 if [ "$1" = "0" ]; then
1075 if [ -f /var/lock/subsys/httpd ]; then
1076 /etc/rc.d/init.d/httpd restart 1>&2
1081 if [ -f /var/lock/subsys/httpd ]; then
1082 /etc/rc.d/init.d/httpd restart 1>&2
1084 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1088 if [ "$1" = "0" ]; then
1089 if [ -f /var/lock/subsys/httpd ]; then
1090 /etc/rc.d/init.d/httpd restart 1>&2
1095 if [ -f /var/lock/subsys/httpd ]; then
1096 /etc/rc.d/init.d/httpd restart 1>&2
1098 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1102 if [ "$1" = "0" ]; then
1103 if [ -f /var/lock/subsys/httpd ]; then
1104 /etc/rc.d/init.d/httpd restart 1>&2
1109 if [ -f /var/lock/subsys/httpd ]; then
1110 /etc/rc.d/init.d/httpd restart 1>&2
1112 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1116 if [ "$1" = "0" ]; then
1117 if [ -f /var/lock/subsys/httpd ]; then
1118 /etc/rc.d/init.d/httpd restart 1>&2
1123 if [ -f /var/lock/subsys/httpd ]; then
1124 /etc/rc.d/init.d/httpd restart 1>&2
1126 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1130 if [ "$1" = "0" ]; then
1131 if [ -f /var/lock/subsys/httpd ]; then
1132 /etc/rc.d/init.d/httpd restart 1>&2
1137 if [ -f /var/lock/subsys/httpd ]; then
1138 /etc/rc.d/init.d/httpd restart 1>&2
1140 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1144 if [ "$1" = "0" ]; then
1145 if [ -f /var/lock/subsys/httpd ]; then
1146 /etc/rc.d/init.d/httpd restart 1>&2
1151 if [ -f /var/lock/subsys/httpd ]; then
1152 /etc/rc.d/init.d/httpd restart 1>&2
1154 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1158 if [ "$1" = "0" ]; then
1159 if [ -f /var/lock/subsys/httpd ]; then
1160 /etc/rc.d/init.d/httpd restart 1>&2
1165 if [ -f /var/lock/subsys/httpd ]; then
1166 /etc/rc.d/init.d/httpd restart 1>&2
1168 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1171 %preun mod_usertrack
1172 if [ "$1" = "0" ]; then
1173 if [ -f /var/lock/subsys/httpd ]; then
1174 /etc/rc.d/init.d/httpd restart 1>&2
1179 if [ -f /var/lock/subsys/httpd ]; then
1180 /etc/rc.d/init.d/httpd restart 1>&2
1182 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1185 %preun mod_unique_id
1186 if [ "$1" = "0" ]; then
1187 if [ -f /var/lock/subsys/httpd ]; then
1188 /etc/rc.d/init.d/httpd restart 1>&2
1192 %post mod_vhost_alias
1193 if [ -f /var/lock/subsys/httpd ]; then
1194 /etc/rc.d/init.d/httpd restart 1>&2
1196 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1199 %preun mod_vhost_alias
1200 if [ "$1" = "0" ]; then
1201 if [ -f /var/lock/subsys/httpd ]; then
1202 /etc/rc.d/init.d/httpd restart 1>&2
1207 %defattr(644,root,root,755)
1208 %doc ABOUT_APACHE CHANGES README
1209 %doc docs/conf/mime.types
1211 %attr(754,root,root) /etc/rc.d/init.d/httpd
1213 %attr(750,root,root) %dir %{_sysconfdir}
1214 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1215 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1216 %attr(640,root,root) %{_sysconfdir}/magic
1217 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1218 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1221 %attr(755,root,root) %{_libexecdir}/mod_access.so
1222 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1223 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1224 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1225 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1226 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1227 %attr(755,root,root) %{_libexecdir}/mod_env.so
1228 %attr(755,root,root) %{_libexecdir}/mod_include.so
1229 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1230 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1231 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1232 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1233 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1234 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1235 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1237 # look at TODO on top
1238 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1239 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1240 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1241 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1242 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1243 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1244 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1245 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1247 %attr(755,root,root) %{_sbindir}/htdigest
1249 %attr(755,root,root) %{_sbindir}/ab
1250 %attr(755,root,root) %{_sbindir}/apachectl
1251 %attr(755,root,root) %{_sbindir}/apxs
1252 %attr(755,root,root) %{_sbindir}/checkgid
1253 %attr(755,root,root) %{_sbindir}/httpd
1254 %attr(755,root,root) %{_sbindir}/httpd.*
1255 %attr(755,root,root) %{_sbindir}/logresolve
1256 %attr(755,root,root) %{_sbindir}/rotatelogs
1257 %attr(755,root,root) %{_sbindir}/envvars*
1259 %dir %attr(770,root,http) /var/run/apache
1261 %{_mandir}/man1/htdigest.1*
1264 %attr(750,root,root) %dir /var/log/httpd
1265 %attr(750,root,root) %dir /var/log/archiv/httpd
1266 %attr(640,root,root) %ghost /var/log/httpd/*
1270 %attr(755,root,root) %dir %{_datadir}/html
1272 %attr(755,root,root) %{_datadir}/cgi-bin
1275 %dir %{_datadir}/manual
1278 %{_datadir}/manual/LICENSE
1279 %{_datadir}/manual/*.xml
1280 %{_datadir}/manual/*.html.en
1281 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1282 %lang(ja) %{_datadir}/manual/*.xml.ja
1283 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1284 %lang(de) %{_datadir}/manual/*.html.de
1285 %lang(fr) %{_datadir}/manual/*.html.fr
1286 %{_datadir}/manual/developer
1287 %{_datadir}/manual/faq
1288 %dir %{_datadir}/manual/howto
1289 %doc %{_datadir}/manual/howto/*.en
1290 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1291 %dir %{_datadir}/manual/images
1292 %{_datadir}/manual/images/[achips]*
1293 %{_datadir}/manual/misc
1294 %dir %{_datadir}/manual/mod
1295 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1296 %{_datadir}/manual/mod/[acd]*.xml
1297 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1298 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1299 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1300 %{_datadir}/manual/mod/index.xml
1301 %{_datadir}/manual/mod/mpm*.html.en
1302 %{_datadir}/manual/mod/mod_access.html.en
1303 %{_datadir}/manual/mod/mod_alias.html.en
1304 %{_datadir}/manual/mod/mod_asis.html.en
1305 %{_datadir}/manual/mod/mod_autoindex.html.en
1306 %{_datadir}/manual/mod/mod_cern_meta.html.en
1307 %{_datadir}/manual/mod/mod_cgi.html.en
1308 %{_datadir}/manual/mod/mod_env.html.en
1309 %{_datadir}/manual/mod/mod_include.html.en
1310 %{_datadir}/manual/mod/mod_log_config.html.en
1311 %{_datadir}/manual/mod/mod_mime*.html.en
1312 %{_datadir}/manual/mod/mod_negotiation.html.en
1313 %{_datadir}/manual/mod/mod_setenvif.html.en
1314 %{_datadir}/manual/mod/mod_speling.html.en
1315 %{_datadir}/manual/mod/mod_userdir.html.en
1316 %{_datadir}/manual/platform
1317 %{_datadir}/manual/programs
1318 %{_datadir}/manual/style
1321 %defattr(644,root,root,755)
1322 %attr(4755,root,root) %{_sbindir}/suexec
1323 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1324 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1325 %{_datadir}/manual/mod/mod_suexec.html.en
1328 %defattr(644,root,root,755)
1329 %config(noreplace,missingok) %{_datadir}/html/index.html*
1330 %{_datadir}/html/*.gif
1331 %{_datadir}/html/*.png
1334 %defattr(644,root,root,755)
1336 %{_libexecdir}/*.exp
1337 %attr(755,root,root) %dir %{_libexecdir}/build
1338 %attr(644,root,root) %{_libexecdir}/build/*.mk
1339 %attr(755,root,root) %{_libexecdir}/build/*.sh
1340 %attr(755,root,root) %{_libexecdir}/build/libtool
1343 %defattr(644,root,root,755)
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1345 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1346 %{_datadir}/manual/mod/mod_actions.html.en
1349 %defattr(644,root,root,755)
1350 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1351 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1352 %attr(755,root,root) %{_sbindir}/htpasswd
1353 %{_datadir}/manual/mod/mod_auth.html.en
1354 %{_mandir}/man1/htpasswd.1*
1356 %files mod_auth_anon
1357 %defattr(644,root,root,755)
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1359 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1360 %{_datadir}/manual/mod/mod_auth_anon.html.en
1363 %files mod_auth_ldap
1364 %defattr(644,root,root,755)
1365 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1366 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1367 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1374 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1375 %{_datadir}/manual/mod/mod_ldap.html.en
1379 %defattr(644,root,root,755)
1380 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1381 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1382 %attr(755,root,root) %{_sbindir}/dbmmanage
1383 %attr(755,root,root) %{_sbindir}/htdbm
1384 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1385 %{_mandir}/man1/dbmmanage.1*
1387 %files mod_auth_digest
1388 %defattr(644,root,root,755)
1389 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1390 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1391 %{_datadir}/manual/mod/mod_auth_digest.html.en
1394 %defattr(644,root,root,755)
1395 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1396 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1397 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1398 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1399 %{_datadir}/manual/mod/mod_cache.html.en
1402 %defattr(644,root,root,755)
1403 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1404 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1405 %{_datadir}/manual/mod/mod_cgid.html.en
1407 %files mod_charset_lite
1408 %defattr(644,root,root,755)
1409 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1410 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1411 %{_datadir}/manual/mod/mod_charset_lite.html.en
1414 %defattr(644,root,root,755)
1415 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1416 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1417 %{_datadir}/manual/mod/mod_dav*.html.en
1420 %defattr(644,root,root,755)
1421 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1422 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1423 %{_datadir}/manual/mod/mod_deflate.html.en
1426 %defattr(644,root,root,755)
1427 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1428 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1429 %{_datadir}/manual/mod/mod_dir.html.en
1432 %defattr(644,root,root,755)
1433 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1434 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1435 %{_datadir}/manual/mod/mod_expires.html.en
1437 %files mod_file_cache
1438 %defattr(644,root,root,755)
1439 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1440 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1441 %{_datadir}/manual/mod/mod_file_cache.html.en
1444 %defattr(644,root,root,755)
1445 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1446 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1447 %{_datadir}/manual/mod/mod_headers.html.en
1450 %defattr(644,root,root,755)
1451 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1452 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1453 %{_datadir}/manual/mod/mod_imap.html.en
1456 %defattr(644,root,root,755)
1457 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1458 %attr(755,root,root) %{_libexecdir}/mod_info.so
1459 %{_datadir}/manual/mod/mod_info.html.en
1462 %defattr(644,root,root,755)
1463 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1464 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1465 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1466 %attr(770,root,http) /var/cache/apache
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1471 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1472 %{_datadir}/manual/mod/mod_rewrite.html.en
1473 %{_datadir}/manual/images/mod_rewrite*
1477 %defattr(644,root,root,755)
1478 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1479 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1480 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1481 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1482 %{_datadir}/manual/ssl
1483 %{_datadir}/manual/mod/mod_ssl.html.en
1487 %defattr(644,root,root,755)
1488 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1489 %attr(755,root,root) %{_libexecdir}/mod_status.so
1490 %{_datadir}/manual/mod/mod_status.html.en
1492 %files mod_usertrack
1493 %defattr(644,root,root,755)
1494 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1495 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1496 %{_datadir}/manual/mod/mod_usertrack.html.en
1498 %files mod_unique_id
1499 %defattr(644,root,root,755)
1500 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1501 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1502 %{_datadir}/manual/mod/mod_unique_id.html.en
1504 %files mod_vhost_alias
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1507 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1508 %{_datadir}/manual/vhosts
1509 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf