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-util-devel >= 1:0.9.3
176 Obsoletes: %{name}-static
179 The apache-devel package contains header files for Apache.
181 %description devel -l es
182 Este paquete contiene los archivos de inclusión para el Apache, bien
183 como el utilitario apxs para la construcción de objetos compartidos
184 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
185 o desarrollar módulos adicionales para Apache.
187 %description devel -l fr
188 Le package apache-devel contient le code source pour le serveur Web
189 Apache et le binaire APXS dont vous aurez besoin pour construire des
190 Objets Dynamiques Partages (DSOs) pour Apache.
192 %description devel -l pl
193 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
194 (Dynamic Shared Objects) dla Apache.
196 %description devel -l ru
197 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
199 %description devel -l pt_BR
200 Este pacote contem os arquivos de inclusão para o Apache, bem como o
201 utilitário apxs para a construção de objetos compartilhados dinâmicos
202 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
203 desenvolver módulos adicionais para o Apache.
206 Summary: Apache module for run CGI whenever a file of a certain type is requested
207 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
208 Group: Networking/Daemons
209 Requires: %{name} = %{version}
211 %description mod_actions
212 This package contains mod_actions module. This module lets you run CGI
213 scripts whenever a file of a certain type is requested. This makes it
214 much easier to execute scripts that process files.
216 %description mod_actions -l pl
217 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
218 ¿±danie pobrania pliku okre¶lonego typu.
221 Summary: Apache module with user authentication using textual files
222 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
223 Group: Networking/Daemons
224 Requires: %{name} = %{version}
226 %description mod_auth
227 This package contains mod_auth module. It provides for user
228 authentication using textual files.
230 %description mod_auth -l pl
231 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
232 u¿ytkowników na podstawie plików tekstowych.
234 %package mod_auth_anon
235 Summary: Apache module with "anonymous" user access authentication
236 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
237 Group: Networking/Daemons
238 Requires: %{name} = %{version}
240 %description mod_auth_anon
241 This package contains mod_auth_anon module. It allows "anonymous" user
242 access to authenticated areas. It does access control in a manner
243 similar to anonymous-ftp sites; i.e. have a 'magic' user id
244 'anonymous' and the email address as a password. These email addresses
245 can be logged. Combined with other (database) access control methods,
246 this allows for effective user tracking and customization according to
247 a user profile while still keeping the site open for 'unregistered'
248 users. One advantage of using Auth-based user tracking is that, unlike
249 magic-cookies and funny URL pre/postfixes, it is completely browser
250 independent and it allows users to share URLs.
252 %description mod_auth_anon -l pl
253 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
254 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
255 adresu pocztowego u¿ytkownika).
257 %package mod_auth_dbm
258 Summary: Apache module with user authentication which uses DBM files
259 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
260 Group: Networking/Daemons
261 Obsoletes: %{name}-mod_auth_db
262 Requires: %{name} = %{version}
264 %description mod_auth_dbm
265 This module provides for HTTP Basic Authentication, where the
266 usernames and passwords are stored in DBM type database files. It is
267 an alternative to the plain text password files provided by mod_auth.
269 %description mod_auth_dbm -l pl
270 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
271 ich has³a s± trzymane w plikach bazy typu DBM.
273 %package mod_auth_digest
274 Summary: Apache user authentication module using MD5 Digest Authentication
275 Summary(pl): Modu³ Apache'a do autoryzacji MD5
276 Group: Networking/Daemons
277 Obsoletes: apache-mod_digest
278 Requires: %{name} = %{version}
280 %description mod_auth_digest
281 This package contains mod_digest module. It provides user
282 authentication using MD5 Digest Authentication.
284 %description mod_auth_digest -l pl
285 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
289 Summary: Content cache keyed to URIs
290 Summary(pl): Pamiêæ podrêczna wg klucza URI
291 Group: Networking/Daemons
292 Requires: %{name} = %{version}
294 %description mod_cache
295 mod_cache implements an RFC 2616 compliant HTTP content cache that can
296 be used to cache either local or proxied content. Two storage
297 management modules are included in the base Apache distribution:
298 mod_disk_cache implements a disk based storage manager (generally used
299 for proxy caching) and mod_mem_cache implements an in-memory based
300 storage manager (primarily useful for caching local content).
302 %description mod_cache -l pl
303 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
304 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
305 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
306 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
307 (u¿ywane do cacheowania proxy).
310 Summary: Execution of CGI scripts using an external CGI daemon
311 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
312 Group: Networking/Daemons
313 Requires: %{name} = %{version}
315 %description mod_cgid
316 Execution of CGI scripts using an external CGI daemon.
318 %description mod_cgid -l pl
319 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
321 %package mod_charset_lite
322 Summary: Specify character set translation or recoding
323 Summary(pl): Translacja lub przekodowywanie znaków
324 Group: Networking/Daemons
325 Requires: %{name} = %{version}
327 %description mod_charset_lite
328 Specify character set translation or recoding.
330 %description mod_charset_lite -l pl
331 Translacja lub przekodowywanie znaków.
334 Summary: Apache module - Distributed Authoring and Versioning
335 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
336 Group: Networking/Daemons
337 Requires: %{name} = %{version}
340 This module provides class 1 and class 2 WebDAV ('Web-based
341 Distributed Authoring and Versioning') functionality for Apache. This
342 extension to the HTTP protocol allows creating, moving, copying, and
343 deleting resources and collections on a remote web server.
345 %description mod_dav -l pl
346 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
347 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
348 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
349 zdalnym serwerze WWW.
352 Summary: Apache module: Compress content before it is delivered to the client
353 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
354 Group: Networking/Daemons
355 Requires: %{name} = %{version}
357 %description mod_deflate
358 Compress content before it is delivered to the client.
360 %description mod_deflate -l pl
361 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
364 Summary: Apache module for "trailing slash" redirects and serving directory index files
365 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
366 Group: Networking/Daemons
367 Requires: %{name} = %{version}
370 This package contains mod_dir which provides "trailing slash"
371 redirects and serving directory index files.
373 %description mod_dir -l pl
374 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
378 Summary: Apache module allows for the customization of HTTP response headers
379 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
380 Group: Networking/Daemons
381 Requires: %{name} = %{version}
383 %description mod_headers
384 This package contains mod_headers module. The module allows for the
385 customization of HTTP response headers. Headers can be merged,
388 %description mod_headers -l pl
389 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
390 wysy³anych do przegl±darki.
393 Summary: Apache module with imap-file handler
394 Summary(pl): Modu³ z obs³ug± imap-file
395 Group: Networking/Daemons
396 Requires: %{name} = %{version}
398 %description mod_imap
399 This package contains mod_imap module. It provides for .map files,
400 replacing the functionality of the imagemap CGI program. Any directory
401 or document type configured to use the handler imap-file.
403 %description mod_imap -l pl
404 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
407 Summary: Apache module with comprehensive overview of the server configuration
408 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
409 Group: Networking/Daemons
410 Requires: %{name} = %{version}
412 %description mod_info
413 This package contains mod_info module. It provides a comprehensive
414 overview of the server configuration including all installed modules
415 and directives in the configuration files.
417 %description mod_info -l pl
418 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
419 zainstalowanych modu³ach itp.
422 Summary: Apache module with Web proxy
423 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
424 Group: Networking/Daemons
425 Requires: %{name} = %{version}
427 %description mod_proxy
428 This package contains module with implementation a proxy/cache for
429 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
430 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
431 connect to other proxy modules for these and other protocols.
433 %description mod_proxy -l pl
434 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
435 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
439 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
440 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
441 Group: Networking/Daemons
442 Requires: %{name} = %{version}
444 %description mod_rewrite
445 This package contains It provides a rule-based rewriting engine to
446 rewrite requested URLs on the fly.
448 %description mod_rewrite -l pl
449 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
452 Summary: SSL/TLS module for the Apache HTTP server
453 Summary(pl): Modu³ SSL/TSL dla serwera Apache
454 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
455 Group: Networking/Daemons
457 Requires: %{name} = %{version}
460 The mod_ssl module provides strong cryptography for the Apache Web
461 server via the Secure Sockets Layer (SSL) and Transport Layer Security
464 %description mod_ssl -l pl
465 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
466 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
469 %description mod_ssl -l ru
470 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
471 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
474 Summary: Server status report module for apache
475 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
476 Group: Networking/Daemons
477 Requires: %{name} = %{version}
479 %description mod_status
480 The Status module allows a server administrator to find out how well
481 their server is performing. A HTML page is presented that gives the
482 current server statistics in an easily readable form. If required this
483 page can be made to automatically refresh (given a compatible
486 %description mod_status -l pl
487 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
488 pracy serwera apache (w postaci strony HTML).
490 %package mod_usertrack
491 Summary: Apache module for user tracking using cookies
492 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
493 Group: Networking/Daemons
494 Requires: %{name} = %{version}
496 %description mod_usertrack
497 This package contains the user tracking module which did its own
498 logging using CookieLog directory. This module allow multiple log
501 %description mod_usertrack -l pl
502 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
504 %package mod_vhost_alias
505 Summary: Apache module for dynamically configured mass virtual hosting
506 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
507 Group: Networking/Daemons
508 Requires: %{name} = %{version}
510 %description mod_vhost_alias
511 This package contains the mod_vhost_alias. It provides support for
512 dynamically configured mass virtual hosting.
514 %description mod_vhost_alias -l pl
515 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
518 %package mod_unique_id
519 Summary: Apache module which provides a magic token for each request
520 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
521 Group: Networking/Daemons
522 Requires: %{name} = %{version}
524 %description mod_unique_id
525 This package contains the mod_unique_id. This module provides a magic
526 token for each request which is guaranteed to be unique across "all"
527 requests under very specific conditions. The unique identifier is even
528 unique across multiple machines in a properly configured cluster of
529 machines. The environment variable UNIQUE_ID is set to the identifier
530 for each request. Unique identifiers are useful for various reasons
531 which are beyond the scope of this document.
533 %description mod_unique_id -l pl
534 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
535 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
536 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
540 Summary: Apache module which generates Expires HTTP headers
541 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
542 Group: Networking/Daemons
543 Requires: %{name} = %{version}
545 %description mod_expires
546 This module controls the setting of the Expires HTTP header in server
547 responses. The expiration date can set to be relative to either the
548 time the source file was last modified, or to the time of the client
551 %description mod_expires -l pl
552 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
553 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
554 ¼ród³owych lub odwo³ania klienta.
556 %package mod_file_cache
557 Summary: Apache module: Caches a static list of files in memory
558 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
559 Group: Networking/Daemons
560 Obsoletes: %{name}-mmap_static
561 Requires: %{name} = %{version}
563 %description mod_file_cache
564 Caches a static list of files in memory.
566 %description mod_file_cache -l pl
567 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
570 %setup -q -n httpd-%{version}
579 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
580 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
581 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
586 --prefix=%{_libexecdir} \
587 --enable-layout=PLD \
588 --enable-modules=all \
589 --enable-mods-shared=all \
592 --enable-auth-digest \
593 --enable-file-cache \
596 --enable-charset-lite \
598 --enable-disk-cache \
599 --enable-ext-filter \
600 --enable-case-filter \
601 --enable-case-filter-in \
603 --with-z=%{_prefix} \
604 --enable-mime-magic \
611 --enable-proxy-connect \
613 --enable-proxy-http \
614 %{!?_without_ssl:--enable-ssl} \
615 --enable-optional-hook-export \
616 --enable-optional-hook-import \
617 --enable-optional-fn-import \
618 --enable-optional-fn-export \
625 --enable-vhost-alias \
630 --with-suexec-bin=%{_sbindir}/suexec \
631 --with-suexec-caller=http \
632 --with-suexec-docroot=%{_datadir} \
633 --with-suexec-logfile=/var/log/httpd/suexec_log \
634 --with-suexec-uidmin=500 \
635 --with-suexec-gidmin=500 \
636 --with-suexec-umask=077 \
637 --with-apr=%{_bindir} \
638 --with-apr-util=%{_bindir}
643 rm -rf $RPM_BUILD_ROOT
644 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
645 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
648 DESTDIR=$RPM_BUILD_ROOT \
649 installbuilddir=%{_sysconfdir}/build \
650 prefix=%{_sysconfdir}/httpd \
651 libexecdir=%{_libdir}/%{name} \
652 iconsdir=%{_datadir}/icons \
653 errordir=%{_datadir}/error \
654 htdocsdir=%{_datadir}/html \
655 manualdir=%{_datadir}/manual \
656 cgidir=%{_datadir}/cgi-bin \
657 runtimedir=%{_var}/run \
658 logdir=%{_var}/log/httpd \
659 proxycachedir=%{_var}/cache/httpd
661 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
662 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
664 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
665 $RPM_BUILD_ROOT%{_libexecdir}/build
667 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
668 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
669 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
670 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
671 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
672 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
674 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
675 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
676 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
678 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
680 %if %{?_without_ssl:0}%{!?_without_ssl:1}
681 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
682 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
683 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
686 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
688 install %{SOURCE6} $CFG/10_httpd.conf
689 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
690 install %{SOURCE9} $CFG/25_mod_status.conf
691 install %{SOURCE10} $CFG/30_mod_proxy.conf
692 install %{SOURCE11} $CFG/35_mod_info.conf
693 install %{SOURCE12} $CFG/40_mod_ssl.conf
694 install %{SOURCE13} $CFG/45_mod_dav.conf
695 install %{SOURCE14} $CFG/59_mod_dir.conf
697 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
698 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
699 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
700 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
701 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
702 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
703 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
704 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
705 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
706 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
707 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
708 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
709 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
710 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
711 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
712 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
713 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
714 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
716 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
719 rm -rf $RPM_BUILD_ROOT
722 if [ -n "`getgid http`" ]; then
723 if [ "`getgid http`" != "51" ]; then
724 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
728 /usr/sbin/groupadd -g 51 -r -f http
730 if [ -n "`id -u http 2>/dev/null`" ]; then
731 if [ "`id -u http`" != "51" ]; then
732 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
736 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
741 /sbin/chkconfig --add httpd
743 touch /var/log/httpd/{access,error,agent,referer}_log
744 if [ -f /var/lock/subsys/httpd ]; then
745 /etc/rc.d/init.d/httpd restart 1>&2
747 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
751 if [ "$1" = "0" ]; then
752 if [ -f /var/lock/subsys/httpd ]; then
753 /etc/rc.d/init.d/httpd stop 1>&2
755 /sbin/chkconfig --del httpd
760 if [ "$1" = "0" ]; then
761 /usr/sbin/userdel http
762 /usr/sbin/groupdel http
766 if [ -f /var/lock/subsys/httpd ]; then
767 /etc/rc.d/init.d/httpd restart 1>&2
769 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
773 if [ "$1" = "0" ]; then
774 if [ -f /var/lock/subsys/httpd ]; then
775 /etc/rc.d/init.d/httpd restart 1>&2
780 if [ -f /var/lock/subsys/httpd ]; then
781 /etc/rc.d/init.d/httpd restart 1>&2
783 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
787 if [ "$1" = "0" ]; then
788 if [ -f /var/lock/subsys/httpd ]; then
789 /etc/rc.d/init.d/httpd restart 1>&2
794 if [ -f /var/lock/subsys/httpd ]; then
795 /etc/rc.d/init.d/httpd restart 1>&2
797 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
801 if [ "$1" = "0" ]; then
802 if [ -f /var/lock/subsys/httpd ]; then
803 /etc/rc.d/init.d/httpd restart 1>&2
808 if [ -f /var/lock/subsys/httpd ]; then
809 /etc/rc.d/init.d/httpd restart 1>&2
811 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
815 if [ "$1" = "0" ]; then
816 if [ -f /var/lock/subsys/httpd ]; then
817 /etc/rc.d/init.d/httpd restart 1>&2
822 if [ -f /var/lock/subsys/httpd ]; then
823 /etc/rc.d/init.d/httpd restart 1>&2
825 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
829 if [ "$1" = "0" ]; then
830 if [ -f /var/lock/subsys/httpd ]; then
831 /etc/rc.d/init.d/httpd restart 1>&2
836 if [ -f /var/lock/subsys/httpd ]; then
837 /etc/rc.d/init.d/httpd restart 1>&2
839 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
843 if [ "$1" = "0" ]; then
844 if [ -f /var/lock/subsys/httpd ]; then
845 /etc/rc.d/init.d/httpd restart 1>&2
849 %post mod_charset_lite
850 if [ -f /var/lock/subsys/httpd ]; then
851 /etc/rc.d/init.d/httpd restart 1>&2
853 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
856 %preun mod_charset_lite
857 if [ "$1" = "0" ]; then
858 if [ -f /var/lock/subsys/httpd ]; then
859 /etc/rc.d/init.d/httpd restart 1>&2
864 if [ -f /var/lock/subsys/httpd ]; then
865 /etc/rc.d/init.d/httpd restart 1>&2
867 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
871 if [ "$1" = "0" ]; then
872 if [ -f /var/lock/subsys/httpd ]; then
873 /etc/rc.d/init.d/httpd restart 1>&2
877 %post mod_auth_digest
878 if [ -f /var/lock/subsys/httpd ]; then
879 /etc/rc.d/init.d/httpd restart 1>&2
881 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
884 %preun mod_auth_digest
885 if [ "$1" = "0" ]; then
886 if [ -f /var/lock/subsys/httpd ]; then
887 /etc/rc.d/init.d/httpd restart 1>&2
892 if [ -f /var/lock/subsys/httpd ]; then
893 /etc/rc.d/init.d/httpd restart 1>&2
895 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
899 if [ "$1" = "0" ]; then
900 if [ -f /var/lock/subsys/httpd ]; then
901 /etc/rc.d/init.d/httpd restart 1>&2
906 if [ -f /var/lock/subsys/httpd ]; then
907 /etc/rc.d/init.d/httpd restart 1>&2
909 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
913 if [ "$1" = "0" ]; then
914 if [ -f /var/lock/subsys/httpd ]; then
915 /etc/rc.d/init.d/httpd restart 1>&2
920 if [ -f /var/lock/subsys/httpd ]; then
921 /etc/rc.d/init.d/httpd restart 1>&2
923 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
927 if [ "$1" = "0" ]; then
928 if [ -f /var/lock/subsys/httpd ]; then
929 /etc/rc.d/init.d/httpd restart 1>&2
934 if [ -f /var/lock/subsys/httpd ]; then
935 /etc/rc.d/init.d/httpd restart 1>&2
937 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
940 %preun mod_file_cache
941 if [ "$1" = "0" ]; then
942 if [ -f /var/lock/subsys/httpd ]; then
943 /etc/rc.d/init.d/httpd restart 1>&2
948 if [ -f /var/lock/subsys/httpd ]; then
949 /etc/rc.d/init.d/httpd restart 1>&2
951 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
955 if [ "$1" = "0" ]; then
956 if [ -f /var/lock/subsys/httpd ]; then
957 /etc/rc.d/init.d/httpd restart 1>&2
962 if [ -f /var/lock/subsys/httpd ]; then
963 /etc/rc.d/init.d/httpd restart 1>&2
965 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
969 if [ "$1" = "0" ]; then
970 if [ -f /var/lock/subsys/httpd ]; then
971 /etc/rc.d/init.d/httpd restart 1>&2
976 if [ -f /var/lock/subsys/httpd ]; then
977 /etc/rc.d/init.d/httpd restart 1>&2
979 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
983 if [ "$1" = "0" ]; then
984 if [ -f /var/lock/subsys/httpd ]; then
985 /etc/rc.d/init.d/httpd restart 1>&2
990 if [ -f /var/lock/subsys/httpd ]; then
991 /etc/rc.d/init.d/httpd restart 1>&2
993 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
997 if [ "$1" = "0" ]; then
998 if [ -f /var/lock/subsys/httpd ]; then
999 /etc/rc.d/init.d/httpd restart 1>&2
1004 if [ -f /var/lock/subsys/httpd ]; then
1005 /etc/rc.d/init.d/httpd restart 1>&2
1007 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1011 if [ "$1" = "0" ]; then
1012 if [ -f /var/lock/subsys/httpd ]; then
1013 /etc/rc.d/init.d/httpd restart 1>&2
1018 if [ -f /var/lock/subsys/httpd ]; then
1019 /etc/rc.d/init.d/httpd restart 1>&2
1021 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1025 if [ "$1" = "0" ]; then
1026 if [ -f /var/lock/subsys/httpd ]; then
1027 /etc/rc.d/init.d/httpd restart 1>&2
1032 if [ -f /var/lock/subsys/httpd ]; then
1033 /etc/rc.d/init.d/httpd restart 1>&2
1035 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1039 if [ "$1" = "0" ]; then
1040 if [ -f /var/lock/subsys/httpd ]; then
1041 /etc/rc.d/init.d/httpd restart 1>&2
1046 if [ -f /var/lock/subsys/httpd ]; then
1047 /etc/rc.d/init.d/httpd restart 1>&2
1049 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1052 %preun mod_usertrack
1053 if [ "$1" = "0" ]; then
1054 if [ -f /var/lock/subsys/httpd ]; then
1055 /etc/rc.d/init.d/httpd restart 1>&2
1060 if [ -f /var/lock/subsys/httpd ]; then
1061 /etc/rc.d/init.d/httpd restart 1>&2
1063 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1066 %preun mod_unique_id
1067 if [ "$1" = "0" ]; then
1068 if [ -f /var/lock/subsys/httpd ]; then
1069 /etc/rc.d/init.d/httpd restart 1>&2
1073 %post mod_vhost_alias
1074 if [ -f /var/lock/subsys/httpd ]; then
1075 /etc/rc.d/init.d/httpd restart 1>&2
1077 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1080 %preun mod_vhost_alias
1081 if [ "$1" = "0" ]; then
1082 if [ -f /var/lock/subsys/httpd ]; then
1083 /etc/rc.d/init.d/httpd restart 1>&2
1088 %defattr(644,root,root,755)
1089 %doc ABOUT_APACHE CHANGES README
1090 %doc docs/conf/mime.types
1092 %attr(754,root,root) /etc/rc.d/init.d/httpd
1094 %attr(750,root,root) %dir %{_sysconfdir}
1095 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1096 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1097 %attr(640,root,root) %{_sysconfdir}/magic
1098 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1099 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1102 %attr(755,root,root) %{_libexecdir}/mod_access.so
1103 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1104 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1105 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1106 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1107 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1108 %attr(755,root,root) %{_libexecdir}/mod_env.so
1109 %attr(755,root,root) %{_libexecdir}/mod_include.so
1110 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1111 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1112 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1113 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1114 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1115 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1116 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1118 # look at TODO on top
1119 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1120 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1121 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1122 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1123 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1126 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1128 %attr(755,root,root) %{_sbindir}/htdigest
1130 %attr(755,root,root) %{_sbindir}/ab
1131 %attr(755,root,root) %{_sbindir}/apachectl
1132 %attr(755,root,root) %{_sbindir}/apxs
1133 %attr(755,root,root) %{_sbindir}/checkgid
1134 %attr(755,root,root) %{_sbindir}/httpd
1135 %attr(755,root,root) %{_sbindir}/logresolve
1136 %attr(755,root,root) %{_sbindir}/rotatelogs
1137 %attr(755,root,root) %{_sbindir}/envvars*
1139 %dir %attr(770,root,http) /var/run/apache
1141 %{_mandir}/man1/htdigest.1*
1144 %attr(750,root,root) %dir /var/log/httpd
1145 %attr(750,root,root) %dir /var/log/archiv/httpd
1146 %attr(640,root,root) %ghost /var/log/httpd/*
1149 %dir %{_datadir}/manual
1150 %{_datadir}/manual/LICENSE
1151 %{_datadir}/manual/*.xml
1152 %{_datadir}/manual/*.html.en
1153 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1154 %lang(ja) %{_datadir}/manual/*.xml.ja
1155 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1156 %lang(de) %{_datadir}/manual/*.html.de
1157 %lang(fr) %{_datadir}/manual/*.html.fr
1158 %{_datadir}/manual/developer
1159 %{_datadir}/manual/faq
1160 %dir %{_datadir}/manual/howto
1161 %doc %{_datadir}/manual/howto/*.en
1162 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1163 %dir %{_datadir}/manual/images
1164 %{_datadir}/manual/images/[achips]*
1165 %{_datadir}/manual/misc
1166 %dir %{_datadir}/manual/mod
1167 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1168 %{_datadir}/manual/mod/[acd]*.xml
1169 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1170 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1171 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1172 %{_datadir}/manual/mod/index.xml
1173 %{_datadir}/manual/mod/mpm*.html.en
1174 %{_datadir}/manual/mod/mod_access.html.en
1175 %{_datadir}/manual/mod/mod_alias.html.en
1176 %{_datadir}/manual/mod/mod_asis.html.en
1177 %{_datadir}/manual/mod/mod_autoindex.html.en
1178 %{_datadir}/manual/mod/mod_cern_meta.html.en
1179 %{_datadir}/manual/mod/mod_cgi.html.en
1180 %{_datadir}/manual/mod/mod_env.html.en
1181 %{_datadir}/manual/mod/mod_include.html.en
1182 %{_datadir}/manual/mod/mod_log_config.html.en
1183 %{_datadir}/manual/mod/mod_mime*.html.en
1184 %{_datadir}/manual/mod/mod_negotiation.html.en
1185 %{_datadir}/manual/mod/mod_setenvif.html.en
1186 %{_datadir}/manual/mod/mod_speling.html.en
1187 %{_datadir}/manual/mod/mod_userdir.html.en
1188 %{_datadir}/manual/platform
1189 %{_datadir}/manual/programs
1190 %dir %{_datadir}/manual/search
1191 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1192 %{_datadir}/manual/style
1194 %attr(755,root,root) %dir %{_datadir}/html
1196 %attr(755,root,root) %{_datadir}/cgi-bin
1201 %defattr(644,root,root,755)
1202 %attr(4755,root,root) %{_sbindir}/suexec
1203 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1204 %{_datadir}/manual/mod/mod_suexec.html.en
1207 %defattr(644,root,root,755)
1208 %config(noreplace,missingok) %{_datadir}/html/index.html*
1209 %{_datadir}/html/*.gif
1210 %{_datadir}/html/*.png
1213 %defattr(644,root,root,755)
1215 %{_libexecdir}/*.exp
1216 %attr(755,root,root) %dir %{_libexecdir}/build
1217 %attr(644,root,root) %{_libexecdir}/build/*.mk
1218 %attr(755,root,root) %{_libexecdir}/build/*.sh
1219 %attr(755,root,root) %{_libexecdir}/build/libtool
1222 %defattr(644,root,root,755)
1223 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1224 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1225 %{_datadir}/manual/mod/mod_actions.html.en
1228 %defattr(644,root,root,755)
1229 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1230 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1231 %attr(755,root,root) %{_sbindir}/htpasswd
1232 %{_datadir}/manual/mod/mod_auth.html.en
1233 %{_mandir}/man1/htpasswd.1*
1235 %files mod_auth_anon
1236 %defattr(644,root,root,755)
1237 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1238 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1239 %{_datadir}/manual/mod/mod_auth_anon.html.en
1242 %defattr(644,root,root,755)
1243 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1244 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1245 %attr(755,root,root) %{_sbindir}/dbmmanage
1246 %attr(755,root,root) %{_sbindir}/htdbm
1247 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1248 %{_mandir}/man1/dbmmanage.1*
1250 %files mod_auth_digest
1251 %defattr(644,root,root,755)
1252 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1253 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1254 %{_datadir}/manual/mod/mod_auth_digest.html.en
1257 %defattr(644,root,root,755)
1258 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1259 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1260 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1261 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1262 %{_datadir}/manual/mod/mod_cache.html.en
1265 %defattr(644,root,root,755)
1266 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1267 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1268 %{_datadir}/manual/mod/mod_cgid.html.en
1270 %files mod_charset_lite
1271 %defattr(644,root,root,755)
1272 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1273 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1274 %{_datadir}/manual/mod/mod_charset_lite.html.en
1277 %defattr(644,root,root,755)
1278 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1279 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1280 %{_datadir}/manual/mod/mod_dav*.html.en
1283 %defattr(644,root,root,755)
1284 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1285 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1286 %{_datadir}/manual/mod/mod_deflate.html.en
1289 %defattr(644,root,root,755)
1290 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1291 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1292 %{_datadir}/manual/mod/mod_dir.html.en
1295 %defattr(644,root,root,755)
1296 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1297 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1298 %{_datadir}/manual/mod/mod_expires.html.en
1300 %files mod_file_cache
1301 %defattr(644,root,root,755)
1302 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1303 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1304 %{_datadir}/manual/mod/mod_file_cache.html.en
1307 %defattr(644,root,root,755)
1308 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1309 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1310 %{_datadir}/manual/mod/mod_headers.html.en
1313 %defattr(644,root,root,755)
1314 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1315 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1316 %{_datadir}/manual/mod/mod_imap.html.en
1319 %defattr(644,root,root,755)
1320 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1321 %attr(755,root,root) %{_libexecdir}/mod_info.so
1322 %{_datadir}/manual/mod/mod_info.html.en
1325 %defattr(644,root,root,755)
1326 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1327 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1328 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1329 %attr(770,root,http) /var/cache/apache
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1334 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1335 %{_datadir}/manual/mod/mod_rewrite.html.en
1336 %{_datadir}/manual/images/mod_rewrite*
1338 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1340 %defattr(644,root,root,755)
1341 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1342 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1344 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1345 %{_datadir}/manual/ssl
1346 %{_datadir}/manual/mod/mod_ssl.html.en
1350 %defattr(644,root,root,755)
1351 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1352 %attr(755,root,root) %{_libexecdir}/mod_status.so
1353 %{_datadir}/manual/mod/mod_status.html.en
1355 %files mod_usertrack
1356 %defattr(644,root,root,755)
1357 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1358 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1359 %{_datadir}/manual/mod/mod_usertrack.html.en
1361 %files mod_unique_id
1362 %defattr(644,root,root,755)
1363 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1364 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1365 %{_datadir}/manual/mod/mod_unique_id.html.en
1367 %files mod_vhost_alias
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1370 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1371 %{_datadir}/manual/vhosts
1372 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf