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