1 # _without_ssl - don't build with SSL support
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
9 # - config examples for mod_*
10 # - switch from worker to perchild when it will be working in apache
11 # - check if all modules are (de)registered in %%post/%%postun
12 # - find smart way to deregister module if its moved from main package to subpackage (maybe test -f ?)
13 # - add %%post/%%postun to suexec
14 # - --with-suexec-gidmin=500 or =100 ?
15 # - --with-suexec-uidmin=500 or =1000 ?
16 %include /usr/lib/rpm/macros.perl
17 # this is internal macro, don't change to %%apache_modules_api
18 %define _apache_modules_api 20020903
19 Summary: The most widely used Web server on the Internet
20 Summary(de): Leading World Wide Web-Server
21 Summary(es): Servidor HTTPD para proveer servicios WWW
22 Summary(fr): Le serveur web le plus utilise sur Internet
23 Summary(pl): Serwer WWW (World Wide Web)
24 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
25 Summary(ru): óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
26 Summary(tr): Lider WWW tarayýcý
30 License: Apache Group License
31 Group: Networking/Daemons
32 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
33 # Source0-md5: 63f16638c18b140b649fab32b54d7f9c
35 Source2: %{name}.logrotate
36 Source3: %{name}-icons.tar.gz
37 # Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
38 Source4: %{name}.sysconfig
39 Source6: %{name}-httpd.conf
40 Source8: %{name}-mod_vhost_alias.conf
41 Source9: %{name}-mod_status.conf
42 Source10: %{name}-mod_proxy.conf
43 Source11: %{name}-mod_info.conf
44 Source12: %{name}-mod_ssl.conf
45 Source13: %{name}-mod_dav.conf
46 Source14: %{name}-mod_dir.conf
47 Source20: %{name}-server.crt
48 Source21: %{name}-server.key
49 Patch0: %{name}-configdir_skip_backups.patch
50 Patch1: %{name}-layout.patch
51 Patch2: %{name}-suexec.patch
52 Patch3: %{name}-nolibs.patch
53 Patch4: %{name}-apr.patch
54 URL: http://httpd.apache.org/
55 BuildRequires: db-devel
56 BuildRequires: expat-devel
57 BuildRequires: gdbm-devel >= 1.8.3
58 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
59 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
60 BuildRequires: perl-devel >= 5.004
61 BuildRequires: rpm-perlprov >= 4.0.4
62 BuildRequires: zlib-devel
63 BuildRequires: libtool >= 1.5
64 BuildRequires: apr-devel >= 1:0.9.3
65 BuildRequires: apr-util-devel >= 1:0.9.3
68 Requires(pre): /bin/id
69 Requires(pre): /usr/bin/getgid
70 Requires(pre): /usr/sbin/groupadd
71 Requires(pre): /usr/sbin/useradd
72 Requires(postun): /usr/sbin/userdel
73 Requires(postun): /usr/sbin/groupdel
74 Requires(post,preun): /sbin/chkconfig
75 Requires(post,postun): /sbin/ldconfig
76 Requires(post): fileutils
77 Requires: /etc/mime.types
79 Requires: psmisc >= 20.1
80 Provides: httpd = %{version}
81 Provides: webserver = %{version}
82 Provides: apache(modules-api) = %{_apache_modules_api}
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
84 Obsoletes: apache-extra
90 %define _sysconfdir /etc/httpd
91 %define _includedir %{_prefix}/include/apache
92 %define _datadir /home/services/httpd
93 %define _libexecdir %{_libdir}/apache
96 Apache is a powerful, full-featured, efficient and freely-available
97 Web server. Apache is also the most popular Web server on the
101 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
102 erhältlich und weit verbreitet ist.
105 El servidor web Apache es el mejor servidor gratuito disponible en el
106 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
107 que browsers web vean documentos y sometan datos remotamente. Puede
108 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
109 caché, y nos ofrece características como monitor de estado, conversión
110 dinámica de tipo, y otras más.
113 Apache est un serveur Web puissant, efficace, gratuit et complet.
114 Apache est aussi le serveur Web le plus populaire sur Internet.
117 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
118 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
120 %description -l pt_BR
121 O servidor web Apache é o melhor servidor gratuito disponível no mundo
122 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
123 que browsers web vejam documentos e submetam dados remotamente. Ele
124 pode executar várias funções diferentes, incluindo funções de proxy e
125 cache, e oferece características como monitor de status, conversão
126 dinâmica de tipo, e mais.
129 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
130 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
133 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
137 Summary: Apache suexec wrapper
138 Summary(pl): Wrapper suexec do serwera WWW Apache
139 Group: Development/Tools
140 Requires: %{name} = %{version}
143 The suEXEC feature provides Apache users the ability to run CGI and
144 SSI programs under user IDs different from the user ID of the calling
145 web-server. Normally, when a CGI or SSI program executes, it runs as
146 the same user who is running the web server.
148 %description suexec -l pl
149 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
150 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
151 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
154 Summary: Apache index.html* files
155 Summary(pl): Pliki Apache index.html*
157 Requires: %{name} = %{version}
160 Apache index.html* files.
162 %description index -l pl
163 Pliki Apache index.html*.
166 Summary: Module development tools for the Apache web server
167 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
168 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
169 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
170 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
171 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
172 Group: Networking/Utilities
173 Requires: %{name} = %{version}
174 Requires: apr-devel >= 1:0.9.3
178 The apache-devel package contains header files for Apache.
180 %description devel -l es
181 Este paquete contiene los archivos de inclusión para el Apache, bien
182 como el utilitario apxs para la construcción de objetos compartidos
183 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
184 o desarrollar módulos adicionales para Apache.
186 %description devel -l fr
187 Le package apache-devel contient le code source pour le serveur Web
188 Apache et le binaire APXS dont vous aurez besoin pour construire des
189 Objets Dynamiques Partages (DSOs) pour Apache.
191 %description devel -l pl
192 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
193 (Dynamic Shared Objects) dla Apache.
195 %description devel -l ru
196 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
198 %description devel -l pt_BR
199 Este pacote contem os arquivos de inclusão para o Apache, bem como o
200 utilitário apxs para a construção de objetos compartilhados dinâmicos
201 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
202 desenvolver módulos adicionais para o Apache.
205 Summary: Static Apache web server libraries
206 Summary(pl): Statyczne biblioteki serwera WWW Apache
207 Group: Development/Libraries
208 Requires: %{name}-devel = %{version}
211 The apache-static package contains static libraries for Apache.
213 %description static -l pl
214 Statyczne biblioteki serwera Apache.
217 Summary: Apache module for run CGI whenever a file of a certain type is requested
218 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
219 Group: Networking/Daemons
220 Requires: %{name} = %{version}
222 %description mod_actions
223 This package contains mod_actions module. This module lets you run CGI
224 scripts whenever a file of a certain type is requested. This makes it
225 much easier to execute scripts that process files.
227 %description mod_actions -l pl
228 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
229 ¿±danie pobrania pliku okre¶lonego typu.
232 Summary: Apache module with user authentication using textual files
233 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
234 Group: Networking/Daemons
235 Requires: %{name} = %{version}
237 %description mod_auth
238 This package contains mod_auth module. It provides for user
239 authentication using textual files.
241 %description mod_auth -l pl
242 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
243 u¿ytkowników na podstawie plików tekstowych.
245 %package mod_auth_anon
246 Summary: Apache module with "anonymous" user access authentication
247 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
248 Group: Networking/Daemons
249 Requires: %{name} = %{version}
251 %description mod_auth_anon
252 This package contains mod_auth_anon module. It allows "anonymous" user
253 access to authenticated areas. It does access control in a manner
254 similar to anonymous-ftp sites; i.e. have a 'magic' user id
255 'anonymous' and the email address as a password. These email addresses
256 can be logged. Combined with other (database) access control methods,
257 this allows for effective user tracking and customization according to
258 a user profile while still keeping the site open for 'unregistered'
259 users. One advantage of using Auth-based user tracking is that, unlike
260 magic-cookies and funny URL pre/postfixes, it is completely browser
261 independent and it allows users to share URLs.
263 %description mod_auth_anon -l pl
264 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
265 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
266 adresu pocztowego u¿ytkownika).
268 %package mod_auth_dbm
269 Summary: Apache module with user authentication which uses DBM files
270 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
271 Group: Networking/Daemons
272 Obsoletes: %{name}-mod_auth_db
273 Requires: %{name} = %{version}
275 %description mod_auth_dbm
276 This module provides for HTTP Basic Authentication, where the
277 usernames and passwords are stored in DBM type database files. It is
278 an alternative to the plain text password files provided by mod_auth.
280 %description mod_auth_dbm -l pl
281 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
282 ich has³a s± trzymane w plikach bazy typu DBM.
284 %package mod_auth_digest
285 Summary: Apache user authentication module using MD5 Digest Authentication
286 Summary(pl): Modu³ Apache'a do autoryzacji MD5
287 Group: Networking/Daemons
288 Obsoletes: apache-mod_digest
289 Requires: %{name} = %{version}
291 %description mod_auth_digest
292 This package contains mod_digest module. It provides user
293 authentication using MD5 Digest Authentication.
295 %description mod_auth_digest -l pl
296 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
300 Summary: Content cache keyed to URIs
301 Summary(pl): Pamiêæ podrêczna wg klucza URI
302 Group: Networking/Daemons
303 Requires: %{name} = %{version}
305 %description mod_cache
306 mod_cache implements an RFC 2616 compliant HTTP content cache that can
307 be used to cache either local or proxied content. Two storage
308 management modules are included in the base Apache distribution:
309 mod_disk_cache implements a disk based storage manager (generally used
310 for proxy caching) and mod_mem_cache implements an in-memory based
311 storage manager (primarily useful for caching local content).
313 %description mod_cache -l pl
314 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
315 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
316 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
317 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
318 (u¿ywane do cacheowania proxy).
321 Summary: Execution of CGI scripts using an external CGI daemon
322 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
323 Group: Networking/Daemons
324 Requires: %{name} = %{version}
326 %description mod_cgid
327 Execution of CGI scripts using an external CGI daemon.
329 %description mod_cgid -l pl
330 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
332 %package mod_charset_lite
333 Summary: Specify character set translation or recoding
334 Summary(pl): Translacja lub przekodowywanie znaków
335 Group: Networking/Daemons
336 Requires: %{name} = %{version}
338 %description mod_charset_lite
339 Specify character set translation or recoding.
341 %description mod_charset_lite -l pl
342 Translacja lub przekodowywanie znaków.
345 Summary: Apache module - Distributed Authoring and Versioning
346 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
347 Group: Networking/Daemons
348 Requires: %{name} = %{version}
351 This module provides class 1 and class 2 WebDAV ('Web-based
352 Distributed Authoring and Versioning') functionality for Apache. This
353 extension to the HTTP protocol allows creating, moving, copying, and
354 deleting resources and collections on a remote web server.
356 %description mod_dav -l pl
357 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
358 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
359 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
360 zdalnym serwerze WWW.
363 Summary: Apache module: Compress content before it is delivered to the client
364 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
365 Group: Networking/Daemons
366 Requires: %{name} = %{version}
368 %description mod_deflate
369 Compress content before it is delivered to the client.
371 %description mod_deflate -l pl
372 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
375 Summary: Apache module for "trailing slash" redirects and serving directory index files
376 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
377 Group: Networking/Daemons
378 Requires: %{name} = %{version}
381 This package contains mod_dir which provides "trailing slash"
382 redirects and serving directory index files.
384 %description mod_dir -l pl
385 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
389 Summary: Apache module allows for the customization of HTTP response headers
390 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
391 Group: Networking/Daemons
392 Requires: %{name} = %{version}
394 %description mod_headers
395 This package contains mod_headers module. The module allows for the
396 customization of HTTP response headers. Headers can be merged,
399 %description mod_headers -l pl
400 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
401 wysy³anych do przegl±darki.
404 Summary: Apache module with imap-file handler
405 Summary(pl): Modu³ z obs³ug± imap-file
406 Group: Networking/Daemons
407 Requires: %{name} = %{version}
409 %description mod_imap
410 This package contains mod_imap module. It provides for .map files,
411 replacing the functionality of the imagemap CGI program. Any directory
412 or document type configured to use the handler imap-file.
414 %description mod_imap -l pl
415 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
418 Summary: Apache module with comprehensive overview of the server configuration
419 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
420 Group: Networking/Daemons
421 Requires: %{name} = %{version}
423 %description mod_info
424 This package contains mod_info module. It provides a comprehensive
425 overview of the server configuration including all installed modules
426 and directives in the configuration files.
428 %description mod_info -l pl
429 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
430 zainstalowanych modu³ach itp.
433 Summary: Apache module with Web proxy
434 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
435 Group: Networking/Daemons
436 Requires: %{name} = %{version}
438 %description mod_proxy
439 This package contains module with implementation a proxy/cache for
440 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
441 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
442 connect to other proxy modules for these and other protocols.
444 %description mod_proxy -l pl
445 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
446 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
450 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
451 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
452 Group: Networking/Daemons
453 Requires: %{name} = %{version}
455 %description mod_rewrite
456 This package contains It provides a rule-based rewriting engine to
457 rewrite requested URLs on the fly.
459 %description mod_rewrite -l pl
460 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
463 Summary: SSL/TLS module for the Apache HTTP server
464 Summary(pl): Modu³ SSL/TSL dla serwera Apache
465 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
466 Group: Networking/Daemons
468 Requires: %{name} = %{version}
471 The mod_ssl module provides strong cryptography for the Apache Web
472 server via the Secure Sockets Layer (SSL) and Transport Layer Security
475 %description mod_ssl -l pl
476 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
477 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
480 %description mod_ssl -l ru
481 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
482 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
485 Summary: Server status report module for apache
486 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
487 Group: Networking/Daemons
488 Requires: %{name} = %{version}
490 %description mod_status
491 The Status module allows a server administrator to find out how well
492 their server is performing. A HTML page is presented that gives the
493 current server statistics in an easily readable form. If required this
494 page can be made to automatically refresh (given a compatible
497 %description mod_status -l pl
498 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
499 pracy serwera apache (w postaci strony HTML).
501 %package mod_usertrack
502 Summary: Apache module for user tracking using cookies
503 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
504 Group: Networking/Daemons
505 Requires: %{name} = %{version}
507 %description mod_usertrack
508 This package contains the user tracking module which did its own
509 logging using CookieLog directory. This module allow multiple log
512 %description mod_usertrack -l pl
513 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
515 %package mod_vhost_alias
516 Summary: Apache module for dynamically configured mass virtual hosting
517 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
518 Group: Networking/Daemons
519 Requires: %{name} = %{version}
521 %description mod_vhost_alias
522 This package contains the mod_vhost_alias. It provides support for
523 dynamically configured mass virtual hosting.
525 %description mod_vhost_alias -l pl
526 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
529 %package mod_unique_id
530 Summary: Apache module which provides a magic token for each request
531 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
532 Group: Networking/Daemons
533 Requires: %{name} = %{version}
535 %description mod_unique_id
536 This package contains the mod_unique_id. This module provides a magic
537 token for each request which is guaranteed to be unique across "all"
538 requests under very specific conditions. The unique identifier is even
539 unique across multiple machines in a properly configured cluster of
540 machines. The environment variable UNIQUE_ID is set to the identifier
541 for each request. Unique identifiers are useful for various reasons
542 which are beyond the scope of this document.
544 %description mod_unique_id -l pl
545 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
546 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
547 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
551 Summary: Apache module which generates Expires HTTP headers
552 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
553 Group: Networking/Daemons
554 Requires: %{name} = %{version}
556 %description mod_expires
557 This module controls the setting of the Expires HTTP header in server
558 responses. The expiration date can set to be relative to either the
559 time the source file was last modified, or to the time of the client
562 %description mod_expires -l pl
563 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
564 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
565 ¼ród³owych lub odwo³ania klienta.
567 %package mod_file_cache
568 Summary: Apache module: Caches a static list of files in memory
569 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
570 Group: Networking/Daemons
571 Obsoletes: %{name}-mmap_static
572 Requires: %{name} = %{version}
574 %description mod_file_cache
575 Caches a static list of files in memory.
577 %description mod_file_cache -l pl
578 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
581 %setup -q -n httpd-%{version}
590 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
591 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
592 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
597 --prefix=%{_libexecdir} \
598 --enable-layout=PLD \
599 --enable-modules=all \
600 --enable-mods-shared=all \
603 --enable-auth-digest \
604 --enable-file-cache \
607 --enable-charset-lite \
609 --enable-disk-cache \
610 --enable-ext-filter \
611 --enable-case-filter \
612 --enable-case-filter-in \
614 --with-z=%{_prefix} \
615 --enable-mime-magic \
622 --enable-proxy-connect \
624 --enable-proxy-http \
625 %{!?_without_ssl:--enable-ssl} \
626 --enable-optional-hook-export \
627 --enable-optional-hook-import \
628 --enable-optional-fn-import \
629 --enable-optional-fn-export \
636 --enable-vhost-alias \
641 --with-suexec-bin=%{_sbindir}/suexec \
642 --with-suexec-caller=http \
643 --with-suexec-docroot=%{_datadir} \
644 --with-suexec-logfile=/var/log/httpd/suexec_log \
645 --with-suexec-uidmin=500 \
646 --with-suexec-gidmin=500 \
647 --with-suexec-umask=077 \
648 --with-apr=%{_bindir} \
649 --with-apr-util=%{_bindir}
654 rm -rf $RPM_BUILD_ROOT
655 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
656 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
659 DESTDIR=$RPM_BUILD_ROOT \
660 installbuilddir=%{_sysconfdir}/build \
661 prefix=%{_sysconfdir}/httpd \
662 libexecdir=%{_libdir}/%{name} \
663 iconsdir=%{_datadir}/icons \
664 errordir=%{_datadir}/error \
665 htdocsdir=%{_datadir}/html \
666 manualdir=%{_datadir}/manual \
667 cgidir=%{_datadir}/cgi-bin \
668 runtimedir=%{_var}/run \
669 logdir=%{_var}/log/httpd \
670 proxycachedir=%{_var}/cache/httpd
672 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
673 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
675 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
676 $RPM_BUILD_ROOT%{_libexecdir}/build
678 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
679 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
680 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
681 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
682 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
683 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
685 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
686 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
687 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
689 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
691 %if %{?_without_ssl:0}%{!?_without_ssl:1}
692 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
693 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
694 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
697 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
699 install %{SOURCE6} $CFG/10_httpd.conf
700 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
701 install %{SOURCE9} $CFG/25_mod_status.conf
702 install %{SOURCE10} $CFG/30_mod_proxy.conf
703 install %{SOURCE11} $CFG/35_mod_info.conf
704 install %{SOURCE12} $CFG/40_mod_ssl.conf
705 install %{SOURCE13} $CFG/45_mod_dav.conf
706 install %{SOURCE14} $CFG/59_mod_dir.conf
708 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
709 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
710 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
711 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
712 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
713 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
714 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
715 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
716 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
717 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
718 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
719 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
720 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
721 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
722 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
723 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
724 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
725 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
727 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
730 rm -rf $RPM_BUILD_ROOT
733 if [ -n "`getgid http`" ]; then
734 if [ "`getgid http`" != "51" ]; then
735 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
739 /usr/sbin/groupadd -g 51 -r -f http
741 if [ -n "`id -u http 2>/dev/null`" ]; then
742 if [ "`id -u http`" != "51" ]; then
743 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
747 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
752 /sbin/chkconfig --add httpd
754 touch /var/log/httpd/{access,error,agent,referer}_log
755 if [ -f /var/lock/subsys/httpd ]; then
756 /etc/rc.d/init.d/httpd restart 1>&2
758 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
762 if [ "$1" = "0" ]; then
763 if [ -f /var/lock/subsys/httpd ]; then
764 /etc/rc.d/init.d/httpd stop 1>&2
766 /sbin/chkconfig --del httpd
771 if [ "$1" = "0" ]; then
772 /usr/sbin/userdel http
773 /usr/sbin/groupdel http
777 if [ -f /var/lock/subsys/httpd ]; then
778 /etc/rc.d/init.d/httpd restart 1>&2
780 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
784 if [ "$1" = "0" ]; then
785 if [ -f /var/lock/subsys/httpd ]; then
786 /etc/rc.d/init.d/httpd restart 1>&2
791 if [ -f /var/lock/subsys/httpd ]; then
792 /etc/rc.d/init.d/httpd restart 1>&2
794 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
798 if [ "$1" = "0" ]; then
799 if [ -f /var/lock/subsys/httpd ]; then
800 /etc/rc.d/init.d/httpd restart 1>&2
805 if [ -f /var/lock/subsys/httpd ]; then
806 /etc/rc.d/init.d/httpd restart 1>&2
808 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
812 if [ "$1" = "0" ]; then
813 if [ -f /var/lock/subsys/httpd ]; then
814 /etc/rc.d/init.d/httpd restart 1>&2
819 if [ -f /var/lock/subsys/httpd ]; then
820 /etc/rc.d/init.d/httpd restart 1>&2
822 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
826 if [ "$1" = "0" ]; then
827 if [ -f /var/lock/subsys/httpd ]; then
828 /etc/rc.d/init.d/httpd restart 1>&2
833 if [ -f /var/lock/subsys/httpd ]; then
834 /etc/rc.d/init.d/httpd restart 1>&2
836 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
840 if [ "$1" = "0" ]; then
841 if [ -f /var/lock/subsys/httpd ]; then
842 /etc/rc.d/init.d/httpd restart 1>&2
847 if [ -f /var/lock/subsys/httpd ]; then
848 /etc/rc.d/init.d/httpd restart 1>&2
850 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
854 if [ "$1" = "0" ]; then
855 if [ -f /var/lock/subsys/httpd ]; then
856 /etc/rc.d/init.d/httpd restart 1>&2
860 %post mod_charset_lite
861 if [ -f /var/lock/subsys/httpd ]; then
862 /etc/rc.d/init.d/httpd restart 1>&2
864 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
867 %preun mod_charset_lite
868 if [ "$1" = "0" ]; then
869 if [ -f /var/lock/subsys/httpd ]; then
870 /etc/rc.d/init.d/httpd restart 1>&2
875 if [ -f /var/lock/subsys/httpd ]; then
876 /etc/rc.d/init.d/httpd restart 1>&2
878 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
882 if [ "$1" = "0" ]; then
883 if [ -f /var/lock/subsys/httpd ]; then
884 /etc/rc.d/init.d/httpd restart 1>&2
888 %post mod_auth_digest
889 if [ -f /var/lock/subsys/httpd ]; then
890 /etc/rc.d/init.d/httpd restart 1>&2
892 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
895 %preun mod_auth_digest
896 if [ "$1" = "0" ]; then
897 if [ -f /var/lock/subsys/httpd ]; then
898 /etc/rc.d/init.d/httpd restart 1>&2
903 if [ -f /var/lock/subsys/httpd ]; then
904 /etc/rc.d/init.d/httpd restart 1>&2
906 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
910 if [ "$1" = "0" ]; then
911 if [ -f /var/lock/subsys/httpd ]; then
912 /etc/rc.d/init.d/httpd restart 1>&2
917 if [ -f /var/lock/subsys/httpd ]; then
918 /etc/rc.d/init.d/httpd restart 1>&2
920 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
924 if [ "$1" = "0" ]; then
925 if [ -f /var/lock/subsys/httpd ]; then
926 /etc/rc.d/init.d/httpd restart 1>&2
931 if [ -f /var/lock/subsys/httpd ]; then
932 /etc/rc.d/init.d/httpd restart 1>&2
934 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
938 if [ "$1" = "0" ]; then
939 if [ -f /var/lock/subsys/httpd ]; then
940 /etc/rc.d/init.d/httpd restart 1>&2
945 if [ -f /var/lock/subsys/httpd ]; then
946 /etc/rc.d/init.d/httpd restart 1>&2
948 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
951 %preun mod_file_cache
952 if [ "$1" = "0" ]; then
953 if [ -f /var/lock/subsys/httpd ]; then
954 /etc/rc.d/init.d/httpd restart 1>&2
959 if [ -f /var/lock/subsys/httpd ]; then
960 /etc/rc.d/init.d/httpd restart 1>&2
962 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
966 if [ "$1" = "0" ]; then
967 if [ -f /var/lock/subsys/httpd ]; then
968 /etc/rc.d/init.d/httpd restart 1>&2
973 if [ -f /var/lock/subsys/httpd ]; then
974 /etc/rc.d/init.d/httpd restart 1>&2
976 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
980 if [ "$1" = "0" ]; then
981 if [ -f /var/lock/subsys/httpd ]; then
982 /etc/rc.d/init.d/httpd restart 1>&2
987 if [ -f /var/lock/subsys/httpd ]; then
988 /etc/rc.d/init.d/httpd restart 1>&2
990 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
994 if [ "$1" = "0" ]; then
995 if [ -f /var/lock/subsys/httpd ]; then
996 /etc/rc.d/init.d/httpd restart 1>&2
1001 if [ -f /var/lock/subsys/httpd ]; then
1002 /etc/rc.d/init.d/httpd restart 1>&2
1004 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1008 if [ "$1" = "0" ]; then
1009 if [ -f /var/lock/subsys/httpd ]; then
1010 /etc/rc.d/init.d/httpd restart 1>&2
1015 if [ -f /var/lock/subsys/httpd ]; then
1016 /etc/rc.d/init.d/httpd restart 1>&2
1018 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1022 if [ "$1" = "0" ]; then
1023 if [ -f /var/lock/subsys/httpd ]; then
1024 /etc/rc.d/init.d/httpd restart 1>&2
1029 if [ -f /var/lock/subsys/httpd ]; then
1030 /etc/rc.d/init.d/httpd restart 1>&2
1032 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1036 if [ "$1" = "0" ]; then
1037 if [ -f /var/lock/subsys/httpd ]; then
1038 /etc/rc.d/init.d/httpd restart 1>&2
1043 if [ -f /var/lock/subsys/httpd ]; then
1044 /etc/rc.d/init.d/httpd restart 1>&2
1046 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1050 if [ "$1" = "0" ]; then
1051 if [ -f /var/lock/subsys/httpd ]; then
1052 /etc/rc.d/init.d/httpd restart 1>&2
1057 if [ -f /var/lock/subsys/httpd ]; then
1058 /etc/rc.d/init.d/httpd restart 1>&2
1060 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1063 %preun mod_usertrack
1064 if [ "$1" = "0" ]; then
1065 if [ -f /var/lock/subsys/httpd ]; then
1066 /etc/rc.d/init.d/httpd restart 1>&2
1071 if [ -f /var/lock/subsys/httpd ]; then
1072 /etc/rc.d/init.d/httpd restart 1>&2
1074 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1077 %preun mod_unique_id
1078 if [ "$1" = "0" ]; then
1079 if [ -f /var/lock/subsys/httpd ]; then
1080 /etc/rc.d/init.d/httpd restart 1>&2
1084 %post mod_vhost_alias
1085 if [ -f /var/lock/subsys/httpd ]; then
1086 /etc/rc.d/init.d/httpd restart 1>&2
1088 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1091 %preun mod_vhost_alias
1092 if [ "$1" = "0" ]; then
1093 if [ -f /var/lock/subsys/httpd ]; then
1094 /etc/rc.d/init.d/httpd restart 1>&2
1099 %defattr(644,root,root,755)
1100 %doc ABOUT_APACHE CHANGES README
1101 %doc docs/conf/mime.types
1103 %attr(754,root,root) /etc/rc.d/init.d/httpd
1105 %attr(750,root,root) %dir %{_sysconfdir}
1106 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1107 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1108 %attr(640,root,root) %{_sysconfdir}/magic
1109 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1110 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1113 %attr(755,root,root) %{_libexecdir}/mod_access.so
1114 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1115 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1116 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1117 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1118 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1119 %attr(755,root,root) %{_libexecdir}/mod_env.so
1120 %attr(755,root,root) %{_libexecdir}/mod_include.so
1121 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1122 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1123 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1124 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1125 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1126 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1127 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1129 # look at TODO on top
1130 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1131 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1132 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1133 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1134 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1135 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1136 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1137 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1139 %attr(755,root,root) %{_sbindir}/htdigest
1141 %attr(755,root,root) %{_sbindir}/ab
1142 %attr(755,root,root) %{_sbindir}/apachectl
1143 %attr(755,root,root) %{_sbindir}/apxs
1144 %attr(755,root,root) %{_sbindir}/checkgid
1145 %attr(755,root,root) %{_sbindir}/httpd
1146 %attr(755,root,root) %{_sbindir}/logresolve
1147 %attr(755,root,root) %{_sbindir}/rotatelogs
1148 %attr(755,root,root) %{_sbindir}/envvars*
1150 %dir %attr(770,root,http) /var/run/apache
1152 %{_mandir}/man1/htdigest.1*
1155 %attr(750,root,root) %dir /var/log/httpd
1156 %attr(750,root,root) %dir /var/log/archiv/httpd
1157 %attr(640,root,root) %ghost /var/log/httpd/*
1160 %dir %{_datadir}/manual
1161 %{_datadir}/manual/LICENSE
1162 %{_datadir}/manual/*.xml
1163 %{_datadir}/manual/*.html.en
1164 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1165 %lang(ja) %{_datadir}/manual/*.xml.ja
1166 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1167 %lang(de) %{_datadir}/manual/*.html.de
1168 %lang(fr) %{_datadir}/manual/*.html.fr
1169 %{_datadir}/manual/developer
1170 %{_datadir}/manual/faq
1171 %dir %{_datadir}/manual/howto
1172 %doc %{_datadir}/manual/howto/*.en
1173 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1174 %dir %{_datadir}/manual/images
1175 %{_datadir}/manual/images/[achips]*
1176 %{_datadir}/manual/misc
1177 %dir %{_datadir}/manual/mod
1178 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1179 %{_datadir}/manual/mod/[acd]*.xml
1180 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1181 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1182 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1183 %{_datadir}/manual/mod/index.xml
1184 %{_datadir}/manual/mod/mpm*.html.en
1185 %{_datadir}/manual/mod/mod_access.html.en
1186 %{_datadir}/manual/mod/mod_alias.html.en
1187 %{_datadir}/manual/mod/mod_asis.html.en
1188 %{_datadir}/manual/mod/mod_autoindex.html.en
1189 %{_datadir}/manual/mod/mod_cern_meta.html.en
1190 %{_datadir}/manual/mod/mod_cgi.html.en
1191 %{_datadir}/manual/mod/mod_env.html.en
1192 %{_datadir}/manual/mod/mod_include.html.en
1193 %{_datadir}/manual/mod/mod_log_config.html.en
1194 %{_datadir}/manual/mod/mod_mime*.html.en
1195 %{_datadir}/manual/mod/mod_negotiation.html.en
1196 %{_datadir}/manual/mod/mod_setenvif.html.en
1197 %{_datadir}/manual/mod/mod_speling.html.en
1198 %{_datadir}/manual/mod/mod_userdir.html.en
1199 %{_datadir}/manual/platform
1200 %{_datadir}/manual/programs
1201 %dir %{_datadir}/manual/search
1202 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1203 %{_datadir}/manual/style
1205 %attr(755,root,root) %dir %{_datadir}/html
1207 %attr(755,root,root) %{_datadir}/cgi-bin
1212 %defattr(644,root,root,755)
1213 %attr(4755,root,root) %{_sbindir}/suexec
1214 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1215 %{_datadir}/manual/mod/mod_suexec.html.en
1218 %defattr(644,root,root,755)
1219 %config(noreplace,missingok) %{_datadir}/html/index.html*
1220 %{_datadir}/html/*.gif
1221 %{_datadir}/html/*.png
1224 %defattr(644,root,root,755)
1225 %{_includedir}/[!a]*
1226 %{_includedir}/ap[!r]*
1227 %{_libexecdir}/*.exp
1228 %attr(755,root,root) %dir %{_libexecdir}/build
1229 %attr(644,root,root) %{_libexecdir}/build/*.mk
1230 %attr(755,root,root) %{_libexecdir}/build/*.sh
1231 %attr(755,root,root) %{_libexecdir}/build/libtool
1234 %defattr(644,root,root,755)
1238 %defattr(644,root,root,755)
1239 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1240 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1241 %{_datadir}/manual/mod/mod_actions.html.en
1244 %defattr(644,root,root,755)
1245 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1246 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1247 %attr(755,root,root) %{_sbindir}/htpasswd
1248 %{_datadir}/manual/mod/mod_auth.html.en
1249 %{_mandir}/man1/htpasswd.1*
1251 %files mod_auth_anon
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1254 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1255 %{_datadir}/manual/mod/mod_auth_anon.html.en
1258 %defattr(644,root,root,755)
1259 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1260 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1261 %attr(755,root,root) %{_sbindir}/dbmmanage
1262 %attr(755,root,root) %{_sbindir}/htdbm
1263 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1264 %{_mandir}/man1/dbmmanage.1*
1266 %files mod_auth_digest
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1269 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1270 %{_datadir}/manual/mod/mod_auth_digest.html.en
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1275 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1276 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1277 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1278 %{_datadir}/manual/mod/mod_cache.html.en
1281 %defattr(644,root,root,755)
1282 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1283 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1284 %{_datadir}/manual/mod/mod_cgid.html.en
1286 %files mod_charset_lite
1287 %defattr(644,root,root,755)
1288 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1289 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1290 %{_datadir}/manual/mod/mod_charset_lite.html.en
1293 %defattr(644,root,root,755)
1294 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1295 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1296 %{_datadir}/manual/mod/mod_dav*.html.en
1299 %defattr(644,root,root,755)
1300 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1301 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1302 %{_datadir}/manual/mod/mod_deflate.html.en
1305 %defattr(644,root,root,755)
1306 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1307 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1308 %{_datadir}/manual/mod/mod_dir.html.en
1311 %defattr(644,root,root,755)
1312 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1313 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1314 %{_datadir}/manual/mod/mod_expires.html.en
1316 %files mod_file_cache
1317 %defattr(644,root,root,755)
1318 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1319 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1320 %{_datadir}/manual/mod/mod_file_cache.html.en
1323 %defattr(644,root,root,755)
1324 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1325 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1326 %{_datadir}/manual/mod/mod_headers.html.en
1329 %defattr(644,root,root,755)
1330 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1331 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1332 %{_datadir}/manual/mod/mod_imap.html.en
1335 %defattr(644,root,root,755)
1336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1337 %attr(755,root,root) %{_libexecdir}/mod_info.so
1338 %{_datadir}/manual/mod/mod_info.html.en
1341 %defattr(644,root,root,755)
1342 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1343 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1344 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1345 %attr(770,root,http) /var/cache/apache
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1350 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1351 %{_datadir}/manual/mod/mod_rewrite.html.en
1352 %{_datadir}/manual/images/mod_rewrite*
1354 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1356 %defattr(644,root,root,755)
1357 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1359 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1360 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1361 %{_datadir}/manual/ssl
1362 %{_datadir}/manual/mod/mod_ssl.html.en
1366 %defattr(644,root,root,755)
1367 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1368 %attr(755,root,root) %{_libexecdir}/mod_status.so
1369 %{_datadir}/manual/mod/mod_status.html.en
1371 %files mod_usertrack
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1374 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1375 %{_datadir}/manual/mod/mod_usertrack.html.en
1377 %files mod_unique_id
1378 %defattr(644,root,root,755)
1379 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1380 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1381 %{_datadir}/manual/mod/mod_unique_id.html.en
1383 %files mod_vhost_alias
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1386 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1387 %{_datadir}/manual/vhosts
1388 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf