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: 466c63bb71b710d20a5c353df8c1a19c
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: apr-devel >= 1:0.9.4-1
56 BuildRequires: apr-util-devel >= 1:0.9.4-1
57 BuildRequires: db-devel
58 BuildRequires: expat-devel
59 BuildRequires: gdbm-devel >= 1.8.3
60 BuildRequires: libtool >= 1.5
61 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
62 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7c}
63 BuildRequires: perl-devel >= 5.004
64 BuildRequires: rpm-perlprov >= 4.0.4
65 BuildRequires: zlib-devel
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: apr-util >= 1:0.9.4-1
78 Requires: /etc/mime.types
80 Requires: psmisc >= 20.1
81 Provides: httpd = %{version}
82 Provides: webserver = %{version}
83 Provides: apache(modules-api) = %{_apache_modules_api}
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 Obsoletes: apache-extra
91 %define _sysconfdir /etc/httpd
92 %define _includedir %{_prefix}/include/apache
93 %define _datadir /home/services/httpd
94 %define _libexecdir %{_libdir}/apache
97 Apache is a powerful, full-featured, efficient and freely-available
98 Web server. Apache is also the most popular Web server on the
102 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
103 erhältlich und weit verbreitet ist.
106 El servidor web Apache es el mejor servidor gratuito disponible en el
107 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
108 que browsers web vean documentos y sometan datos remotamente. Puede
109 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
110 caché, y nos ofrece características como monitor de estado, conversión
111 dinámica de tipo, y otras más.
114 Apache est un serveur Web puissant, efficace, gratuit et complet.
115 Apache est aussi le serveur Web le plus populaire sur Internet.
118 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
119 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
121 %description -l pt_BR
122 O servidor web Apache é o melhor servidor gratuito disponível no mundo
123 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
124 que browsers web vejam documentos e submetam dados remotamente. Ele
125 pode executar várias funções diferentes, incluindo funções de proxy e
126 cache, e oferece características como monitor de status, conversão
127 dinâmica de tipo, e mais.
130 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
131 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
134 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
138 Summary: Apache suexec wrapper
139 Summary(pl): Wrapper suexec do serwera WWW Apache
140 Group: Development/Tools
141 Requires: %{name} = %{version}
144 The suEXEC feature provides Apache users the ability to run CGI and
145 SSI programs under user IDs different from the user ID of the calling
146 web-server. Normally, when a CGI or SSI program executes, it runs as
147 the same user who is running the web server.
149 %description suexec -l pl
150 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
151 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
152 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
155 Summary: Apache index.html* files
156 Summary(pl): Pliki Apache index.html*
158 Requires: %{name} = %{version}
161 Apache index.html* files.
163 %description index -l pl
164 Pliki Apache index.html*.
167 Summary: Module development tools for the Apache web server
168 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
169 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
170 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
171 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
172 Summary(ru): óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
173 Group: Networking/Utilities
174 Requires: %{name} = %{version}
175 Requires: apr-util-devel >= 1:0.9.4
177 Obsoletes: %{name}-static
180 The apache-devel package contains header files for Apache.
182 %description devel -l es
183 Este paquete contiene los archivos de inclusión para el Apache, bien
184 como el utilitario apxs para la construcción de objetos compartidos
185 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
186 o desarrollar módulos adicionales para Apache.
188 %description devel -l fr
189 Le package apache-devel contient le code source pour le serveur Web
190 Apache et le binaire APXS dont vous aurez besoin pour construire des
191 Objets Dynamiques Partages (DSOs) pour Apache.
193 %description devel -l pl
194 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
195 (Dynamic Shared Objects) dla Apache.
197 %description devel -l ru
198 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
200 %description devel -l pt_BR
201 Este pacote contem os arquivos de inclusão para o Apache, bem como o
202 utilitário apxs para a construção de objetos compartilhados dinâmicos
203 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
204 desenvolver módulos adicionais para o Apache.
207 Summary: Apache module for run CGI whenever a file of a certain type is requested
208 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
209 Group: Networking/Daemons
210 Requires: %{name} = %{version}
212 %description mod_actions
213 This package contains mod_actions module. This module lets you run CGI
214 scripts whenever a file of a certain type is requested. This makes it
215 much easier to execute scripts that process files.
217 %description mod_actions -l pl
218 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
219 ¿±danie pobrania pliku okre¶lonego typu.
222 Summary: Apache module with user authentication using textual files
223 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
224 Group: Networking/Daemons
225 Requires: %{name} = %{version}
227 %description mod_auth
228 This package contains mod_auth module. It provides for user
229 authentication using textual files.
231 %description mod_auth -l pl
232 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
233 u¿ytkowników na podstawie plików tekstowych.
235 %package mod_auth_anon
236 Summary: Apache module with "anonymous" user access authentication
237 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
238 Group: Networking/Daemons
239 Requires: %{name} = %{version}
241 %description mod_auth_anon
242 This package contains mod_auth_anon module. It allows "anonymous" user
243 access to authenticated areas. It does access control in a manner
244 similar to anonymous-ftp sites; i.e. have a 'magic' user id
245 'anonymous' and the email address as a password. These email addresses
246 can be logged. Combined with other (database) access control methods,
247 this allows for effective user tracking and customization according to
248 a user profile while still keeping the site open for 'unregistered'
249 users. One advantage of using Auth-based user tracking is that, unlike
250 magic-cookies and funny URL pre/postfixes, it is completely browser
251 independent and it allows users to share URLs.
253 %description mod_auth_anon -l pl
254 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
255 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
256 adresu pocztowego u¿ytkownika).
258 %package mod_auth_dbm
259 Summary: Apache module with user authentication which uses DBM files
260 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
261 Group: Networking/Daemons
262 Obsoletes: %{name}-mod_auth_db
263 Requires: %{name} = %{version}
265 %description mod_auth_dbm
266 This module provides for HTTP Basic Authentication, where the
267 usernames and passwords are stored in DBM type database files. It is
268 an alternative to the plain text password files provided by mod_auth.
270 %description mod_auth_dbm -l pl
271 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
272 ich has³a s± trzymane w plikach bazy typu DBM.
274 %package mod_auth_digest
275 Summary: Apache user authentication module using MD5 Digest Authentication
276 Summary(pl): Modu³ Apache'a do autoryzacji MD5
277 Group: Networking/Daemons
278 Obsoletes: apache-mod_digest
279 Requires: %{name} = %{version}
281 %description mod_auth_digest
282 This package contains mod_digest module. It provides user
283 authentication using MD5 Digest Authentication.
285 %description mod_auth_digest -l pl
286 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
290 Summary: Content cache keyed to URIs
291 Summary(pl): Pamiêæ podrêczna wg klucza URI
292 Group: Networking/Daemons
293 Requires: %{name} = %{version}
295 %description mod_cache
296 mod_cache implements an RFC 2616 compliant HTTP content cache that can
297 be used to cache either local or proxied content. Two storage
298 management modules are included in the base Apache distribution:
299 mod_disk_cache implements a disk based storage manager (generally used
300 for proxy caching) and mod_mem_cache implements an in-memory based
301 storage manager (primarily useful for caching local content).
303 %description mod_cache -l pl
304 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
305 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
306 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
307 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
308 (u¿ywane do cacheowania proxy).
311 Summary: Execution of CGI scripts using an external CGI daemon
312 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
313 Group: Networking/Daemons
314 Requires: %{name} = %{version}
316 %description mod_cgid
317 Execution of CGI scripts using an external CGI daemon.
319 %description mod_cgid -l pl
320 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
322 %package mod_charset_lite
323 Summary: Specify character set translation or recoding
324 Summary(pl): Translacja lub przekodowywanie znaków
325 Group: Networking/Daemons
326 Requires: %{name} = %{version}
328 %description mod_charset_lite
329 Specify character set translation or recoding.
331 %description mod_charset_lite -l pl
332 Translacja lub przekodowywanie znaków.
335 Summary: Apache module - Distributed Authoring and Versioning
336 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
337 Group: Networking/Daemons
338 Requires: %{name} = %{version}
341 This module provides class 1 and class 2 WebDAV ('Web-based
342 Distributed Authoring and Versioning') functionality for Apache. This
343 extension to the HTTP protocol allows creating, moving, copying, and
344 deleting resources and collections on a remote web server.
346 %description mod_dav -l pl
347 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
348 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
349 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
350 zdalnym serwerze WWW.
353 Summary: Apache module: Compress content before it is delivered to the client
354 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
355 Group: Networking/Daemons
356 Requires: %{name} = %{version}
358 %description mod_deflate
359 Compress content before it is delivered to the client.
361 %description mod_deflate -l pl
362 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
365 Summary: Apache module for "trailing slash" redirects and serving directory index files
366 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
367 Group: Networking/Daemons
368 Requires: %{name} = %{version}
371 This package contains mod_dir which provides "trailing slash"
372 redirects and serving directory index files.
374 %description mod_dir -l pl
375 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
379 Summary: Apache module allows for the customization of HTTP response headers
380 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
381 Group: Networking/Daemons
382 Requires: %{name} = %{version}
384 %description mod_headers
385 This package contains mod_headers module. The module allows for the
386 customization of HTTP response headers. Headers can be merged,
389 %description mod_headers -l pl
390 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
391 wysy³anych do przegl±darki.
394 Summary: Apache module with imap-file handler
395 Summary(pl): Modu³ z obs³ug± imap-file
396 Group: Networking/Daemons
397 Requires: %{name} = %{version}
399 %description mod_imap
400 This package contains mod_imap module. It provides for .map files,
401 replacing the functionality of the imagemap CGI program. Any directory
402 or document type configured to use the handler imap-file.
404 %description mod_imap -l pl
405 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
408 Summary: Apache module with comprehensive overview of the server configuration
409 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
410 Group: Networking/Daemons
411 Requires: %{name} = %{version}
413 %description mod_info
414 This package contains mod_info module. It provides a comprehensive
415 overview of the server configuration including all installed modules
416 and directives in the configuration files.
418 %description mod_info -l pl
419 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
420 zainstalowanych modu³ach itp.
423 Summary: Apache module with Web proxy
424 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
425 Group: Networking/Daemons
426 Requires: %{name} = %{version}
428 %description mod_proxy
429 This package contains module with implementation a proxy/cache for
430 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
431 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
432 connect to other proxy modules for these and other protocols.
434 %description mod_proxy -l pl
435 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
436 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
440 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
441 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
442 Group: Networking/Daemons
443 Requires: %{name} = %{version}
445 %description mod_rewrite
446 This package contains It provides a rule-based rewriting engine to
447 rewrite requested URLs on the fly.
449 %description mod_rewrite -l pl
450 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
453 Summary: SSL/TLS module for the Apache HTTP server
454 Summary(pl): Modu³ SSL/TSL dla serwera Apache
455 Summary(ru): íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
456 Group: Networking/Daemons
458 Requires: %{name} = %{version}
461 The mod_ssl module provides strong cryptography for the Apache Web
462 server via the Secure Sockets Layer (SSL) and Transport Layer Security
465 %description mod_ssl -l pl
466 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
467 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
470 %description mod_ssl -l ru
471 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
472 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
475 Summary: Server status report module for apache
476 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
477 Group: Networking/Daemons
478 Requires: %{name} = %{version}
480 %description mod_status
481 The Status module allows a server administrator to find out how well
482 their server is performing. A HTML page is presented that gives the
483 current server statistics in an easily readable form. If required this
484 page can be made to automatically refresh (given a compatible
487 %description mod_status -l pl
488 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
489 pracy serwera apache (w postaci strony HTML).
491 %package mod_usertrack
492 Summary: Apache module for user tracking using cookies
493 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
494 Group: Networking/Daemons
495 Requires: %{name} = %{version}
497 %description mod_usertrack
498 This package contains the user tracking module which did its own
499 logging using CookieLog directory. This module allow multiple log
502 %description mod_usertrack -l pl
503 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
505 %package mod_vhost_alias
506 Summary: Apache module for dynamically configured mass virtual hosting
507 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
508 Group: Networking/Daemons
509 Requires: %{name} = %{version}
511 %description mod_vhost_alias
512 This package contains the mod_vhost_alias. It provides support for
513 dynamically configured mass virtual hosting.
515 %description mod_vhost_alias -l pl
516 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
519 %package mod_unique_id
520 Summary: Apache module which provides a magic token for each request
521 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
522 Group: Networking/Daemons
523 Requires: %{name} = %{version}
525 %description mod_unique_id
526 This package contains the mod_unique_id. This module provides a magic
527 token for each request which is guaranteed to be unique across "all"
528 requests under very specific conditions. The unique identifier is even
529 unique across multiple machines in a properly configured cluster of
530 machines. The environment variable UNIQUE_ID is set to the identifier
531 for each request. Unique identifiers are useful for various reasons
532 which are beyond the scope of this document.
534 %description mod_unique_id -l pl
535 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
536 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
537 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
541 Summary: Apache module which generates Expires HTTP headers
542 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
543 Group: Networking/Daemons
544 Requires: %{name} = %{version}
546 %description mod_expires
547 This module controls the setting of the Expires HTTP header in server
548 responses. The expiration date can set to be relative to either the
549 time the source file was last modified, or to the time of the client
552 %description mod_expires -l pl
553 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
554 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
555 ¼ród³owych lub odwo³ania klienta.
557 %package mod_file_cache
558 Summary: Apache module: Caches a static list of files in memory
559 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
560 Group: Networking/Daemons
561 Obsoletes: %{name}-mmap_static
562 Requires: %{name} = %{version}
564 %description mod_file_cache
565 Caches a static list of files in memory.
567 %description mod_file_cache -l pl
568 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
571 %setup -q -n httpd-%{version}
580 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
581 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
582 echo "Set %%_apache_modules_api to $MODILES_API and rerun."
587 --prefix=%{_libexecdir} \
588 --enable-layout=PLD \
589 --enable-modules=all \
590 --enable-mods-shared=all \
593 --enable-auth-digest \
594 --enable-file-cache \
597 --enable-charset-lite \
599 --enable-disk-cache \
600 --enable-ext-filter \
601 --enable-case-filter \
602 --enable-case-filter-in \
604 --with-z=%{_prefix} \
605 --enable-mime-magic \
612 --enable-proxy-connect \
614 --enable-proxy-http \
615 %{!?_without_ssl:--enable-ssl} \
616 --enable-optional-hook-export \
617 --enable-optional-hook-import \
618 --enable-optional-fn-import \
619 --enable-optional-fn-export \
626 --enable-vhost-alias \
631 --with-suexec-bin=%{_sbindir}/suexec \
632 --with-suexec-caller=http \
633 --with-suexec-docroot=%{_datadir} \
634 --with-suexec-logfile=/var/log/httpd/suexec_log \
635 --with-suexec-uidmin=500 \
636 --with-suexec-gidmin=500 \
637 --with-suexec-umask=077 \
638 --with-apr=%{_bindir} \
639 --with-apr-util=%{_bindir}
644 rm -rf $RPM_BUILD_ROOT
645 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
646 $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
649 DESTDIR=$RPM_BUILD_ROOT \
650 installbuilddir=%{_sysconfdir}/build \
651 prefix=%{_sysconfdir}/httpd \
652 libexecdir=%{_libdir}/%{name} \
653 iconsdir=%{_datadir}/icons \
654 errordir=%{_datadir}/error \
655 htdocsdir=%{_datadir}/html \
656 manualdir=%{_datadir}/manual \
657 cgidir=%{_datadir}/cgi-bin \
658 runtimedir=%{_var}/run \
659 logdir=%{_var}/log/httpd \
660 proxycachedir=%{_var}/cache/httpd
662 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
663 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
665 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
666 $RPM_BUILD_ROOT%{_libexecdir}/build
668 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
669 perl -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
670 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
671 perl -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
672 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
673 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
675 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
676 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
677 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
679 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
681 %if %{?_without_ssl:0}%{!?_without_ssl:1}
682 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
683 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
684 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
687 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
689 install %{SOURCE6} $CFG/10_httpd.conf
690 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
691 install %{SOURCE9} $CFG/25_mod_status.conf
692 install %{SOURCE10} $CFG/30_mod_proxy.conf
693 install %{SOURCE11} $CFG/35_mod_info.conf
694 install %{SOURCE12} $CFG/40_mod_ssl.conf
695 install %{SOURCE13} $CFG/45_mod_dav.conf
696 install %{SOURCE14} $CFG/59_mod_dir.conf
698 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
699 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
700 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
701 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
702 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
703 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
704 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
705 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
706 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
707 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
708 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
709 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
710 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
711 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
712 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
713 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
714 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
715 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
717 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
720 rm -rf $RPM_BUILD_ROOT
723 if [ -n "`getgid http`" ]; then
724 if [ "`getgid http`" != "51" ]; then
725 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
729 /usr/sbin/groupadd -g 51 -r -f http
731 if [ -n "`id -u http 2>/dev/null`" ]; then
732 if [ "`id -u http`" != "51" ]; then
733 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
737 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
742 /sbin/chkconfig --add httpd
744 touch /var/log/httpd/{access,error,agent,referer}_log
745 if [ -f /var/lock/subsys/httpd ]; then
746 /etc/rc.d/init.d/httpd restart 1>&2
748 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
752 if [ "$1" = "0" ]; then
753 if [ -f /var/lock/subsys/httpd ]; then
754 /etc/rc.d/init.d/httpd stop 1>&2
756 /sbin/chkconfig --del httpd
761 if [ "$1" = "0" ]; then
762 /usr/sbin/userdel http
763 /usr/sbin/groupdel http
767 if [ -f /var/lock/subsys/httpd ]; then
768 /etc/rc.d/init.d/httpd restart 1>&2
770 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
774 if [ "$1" = "0" ]; then
775 if [ -f /var/lock/subsys/httpd ]; then
776 /etc/rc.d/init.d/httpd restart 1>&2
781 if [ -f /var/lock/subsys/httpd ]; then
782 /etc/rc.d/init.d/httpd restart 1>&2
784 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
788 if [ "$1" = "0" ]; then
789 if [ -f /var/lock/subsys/httpd ]; then
790 /etc/rc.d/init.d/httpd restart 1>&2
795 if [ -f /var/lock/subsys/httpd ]; then
796 /etc/rc.d/init.d/httpd restart 1>&2
798 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
802 if [ "$1" = "0" ]; then
803 if [ -f /var/lock/subsys/httpd ]; then
804 /etc/rc.d/init.d/httpd restart 1>&2
809 if [ -f /var/lock/subsys/httpd ]; then
810 /etc/rc.d/init.d/httpd restart 1>&2
812 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
816 if [ "$1" = "0" ]; then
817 if [ -f /var/lock/subsys/httpd ]; then
818 /etc/rc.d/init.d/httpd restart 1>&2
823 if [ -f /var/lock/subsys/httpd ]; then
824 /etc/rc.d/init.d/httpd restart 1>&2
826 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
830 if [ "$1" = "0" ]; then
831 if [ -f /var/lock/subsys/httpd ]; then
832 /etc/rc.d/init.d/httpd restart 1>&2
837 if [ -f /var/lock/subsys/httpd ]; then
838 /etc/rc.d/init.d/httpd restart 1>&2
840 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
844 if [ "$1" = "0" ]; then
845 if [ -f /var/lock/subsys/httpd ]; then
846 /etc/rc.d/init.d/httpd restart 1>&2
850 %post mod_charset_lite
851 if [ -f /var/lock/subsys/httpd ]; then
852 /etc/rc.d/init.d/httpd restart 1>&2
854 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
857 %preun mod_charset_lite
858 if [ "$1" = "0" ]; then
859 if [ -f /var/lock/subsys/httpd ]; then
860 /etc/rc.d/init.d/httpd restart 1>&2
865 if [ -f /var/lock/subsys/httpd ]; then
866 /etc/rc.d/init.d/httpd restart 1>&2
868 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
872 if [ "$1" = "0" ]; then
873 if [ -f /var/lock/subsys/httpd ]; then
874 /etc/rc.d/init.d/httpd restart 1>&2
878 %post mod_auth_digest
879 if [ -f /var/lock/subsys/httpd ]; then
880 /etc/rc.d/init.d/httpd restart 1>&2
882 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
885 %preun mod_auth_digest
886 if [ "$1" = "0" ]; then
887 if [ -f /var/lock/subsys/httpd ]; then
888 /etc/rc.d/init.d/httpd restart 1>&2
893 if [ -f /var/lock/subsys/httpd ]; then
894 /etc/rc.d/init.d/httpd restart 1>&2
896 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 if [ "$1" = "0" ]; then
901 if [ -f /var/lock/subsys/httpd ]; then
902 /etc/rc.d/init.d/httpd restart 1>&2
907 if [ -f /var/lock/subsys/httpd ]; then
908 /etc/rc.d/init.d/httpd restart 1>&2
910 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
914 if [ "$1" = "0" ]; then
915 if [ -f /var/lock/subsys/httpd ]; then
916 /etc/rc.d/init.d/httpd restart 1>&2
921 if [ -f /var/lock/subsys/httpd ]; then
922 /etc/rc.d/init.d/httpd restart 1>&2
924 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
928 if [ "$1" = "0" ]; then
929 if [ -f /var/lock/subsys/httpd ]; then
930 /etc/rc.d/init.d/httpd restart 1>&2
935 if [ -f /var/lock/subsys/httpd ]; then
936 /etc/rc.d/init.d/httpd restart 1>&2
938 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
941 %preun mod_file_cache
942 if [ "$1" = "0" ]; then
943 if [ -f /var/lock/subsys/httpd ]; then
944 /etc/rc.d/init.d/httpd restart 1>&2
949 if [ -f /var/lock/subsys/httpd ]; then
950 /etc/rc.d/init.d/httpd restart 1>&2
952 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
956 if [ "$1" = "0" ]; then
957 if [ -f /var/lock/subsys/httpd ]; then
958 /etc/rc.d/init.d/httpd restart 1>&2
963 if [ -f /var/lock/subsys/httpd ]; then
964 /etc/rc.d/init.d/httpd restart 1>&2
966 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
970 if [ "$1" = "0" ]; then
971 if [ -f /var/lock/subsys/httpd ]; then
972 /etc/rc.d/init.d/httpd restart 1>&2
977 if [ -f /var/lock/subsys/httpd ]; then
978 /etc/rc.d/init.d/httpd restart 1>&2
980 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
984 if [ "$1" = "0" ]; then
985 if [ -f /var/lock/subsys/httpd ]; then
986 /etc/rc.d/init.d/httpd restart 1>&2
991 if [ -f /var/lock/subsys/httpd ]; then
992 /etc/rc.d/init.d/httpd restart 1>&2
994 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
998 if [ "$1" = "0" ]; then
999 if [ -f /var/lock/subsys/httpd ]; then
1000 /etc/rc.d/init.d/httpd restart 1>&2
1005 if [ -f /var/lock/subsys/httpd ]; then
1006 /etc/rc.d/init.d/httpd restart 1>&2
1008 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1012 if [ "$1" = "0" ]; then
1013 if [ -f /var/lock/subsys/httpd ]; then
1014 /etc/rc.d/init.d/httpd restart 1>&2
1019 if [ -f /var/lock/subsys/httpd ]; then
1020 /etc/rc.d/init.d/httpd restart 1>&2
1022 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1026 if [ "$1" = "0" ]; then
1027 if [ -f /var/lock/subsys/httpd ]; then
1028 /etc/rc.d/init.d/httpd restart 1>&2
1033 if [ -f /var/lock/subsys/httpd ]; then
1034 /etc/rc.d/init.d/httpd restart 1>&2
1036 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1040 if [ "$1" = "0" ]; then
1041 if [ -f /var/lock/subsys/httpd ]; then
1042 /etc/rc.d/init.d/httpd restart 1>&2
1047 if [ -f /var/lock/subsys/httpd ]; then
1048 /etc/rc.d/init.d/httpd restart 1>&2
1050 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1053 %preun mod_usertrack
1054 if [ "$1" = "0" ]; then
1055 if [ -f /var/lock/subsys/httpd ]; then
1056 /etc/rc.d/init.d/httpd restart 1>&2
1061 if [ -f /var/lock/subsys/httpd ]; then
1062 /etc/rc.d/init.d/httpd restart 1>&2
1064 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1067 %preun mod_unique_id
1068 if [ "$1" = "0" ]; then
1069 if [ -f /var/lock/subsys/httpd ]; then
1070 /etc/rc.d/init.d/httpd restart 1>&2
1074 %post mod_vhost_alias
1075 if [ -f /var/lock/subsys/httpd ]; then
1076 /etc/rc.d/init.d/httpd restart 1>&2
1078 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1081 %preun mod_vhost_alias
1082 if [ "$1" = "0" ]; then
1083 if [ -f /var/lock/subsys/httpd ]; then
1084 /etc/rc.d/init.d/httpd restart 1>&2
1089 %defattr(644,root,root,755)
1090 %doc ABOUT_APACHE CHANGES README
1091 %doc docs/conf/mime.types
1093 %attr(754,root,root) /etc/rc.d/init.d/httpd
1095 %attr(750,root,root) %dir %{_sysconfdir}
1096 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1097 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1098 %attr(640,root,root) %{_sysconfdir}/magic
1099 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1100 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1103 %attr(755,root,root) %{_libexecdir}/mod_access.so
1104 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1105 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1106 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1107 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1108 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1109 %attr(755,root,root) %{_libexecdir}/mod_env.so
1110 %attr(755,root,root) %{_libexecdir}/mod_include.so
1111 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1112 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1113 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1114 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1115 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1116 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1117 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1119 # look at TODO on top
1120 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1121 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1122 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1123 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1124 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1126 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1127 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1129 %attr(755,root,root) %{_sbindir}/htdigest
1131 %attr(755,root,root) %{_sbindir}/ab
1132 %attr(755,root,root) %{_sbindir}/apachectl
1133 %attr(755,root,root) %{_sbindir}/apxs
1134 %attr(755,root,root) %{_sbindir}/checkgid
1135 %attr(755,root,root) %{_sbindir}/httpd
1136 %attr(755,root,root) %{_sbindir}/logresolve
1137 %attr(755,root,root) %{_sbindir}/rotatelogs
1138 %attr(755,root,root) %{_sbindir}/envvars*
1140 %dir %attr(770,root,http) /var/run/apache
1142 %{_mandir}/man1/htdigest.1*
1145 %attr(750,root,root) %dir /var/log/httpd
1146 %attr(750,root,root) %dir /var/log/archiv/httpd
1147 %attr(640,root,root) %ghost /var/log/httpd/*
1150 %dir %{_datadir}/manual
1151 %{_datadir}/manual/LICENSE
1152 %{_datadir}/manual/*.xml
1153 %{_datadir}/manual/*.html.en
1154 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1155 %lang(ja) %{_datadir}/manual/*.xml.ja
1156 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1157 %lang(de) %{_datadir}/manual/*.html.de
1158 %lang(fr) %{_datadir}/manual/*.html.fr
1159 %{_datadir}/manual/developer
1160 %{_datadir}/manual/faq
1161 %dir %{_datadir}/manual/howto
1162 %doc %{_datadir}/manual/howto/*.en
1163 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1164 %dir %{_datadir}/manual/images
1165 %{_datadir}/manual/images/[achips]*
1166 %{_datadir}/manual/misc
1167 %dir %{_datadir}/manual/mod
1168 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1169 %{_datadir}/manual/mod/[acd]*.xml
1170 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1171 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1172 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1173 %{_datadir}/manual/mod/index.xml
1174 %{_datadir}/manual/mod/mpm*.html.en
1175 %{_datadir}/manual/mod/mod_access.html.en
1176 %{_datadir}/manual/mod/mod_alias.html.en
1177 %{_datadir}/manual/mod/mod_asis.html.en
1178 %{_datadir}/manual/mod/mod_autoindex.html.en
1179 %{_datadir}/manual/mod/mod_cern_meta.html.en
1180 %{_datadir}/manual/mod/mod_cgi.html.en
1181 %{_datadir}/manual/mod/mod_env.html.en
1182 %{_datadir}/manual/mod/mod_include.html.en
1183 %{_datadir}/manual/mod/mod_log_config.html.en
1184 %{_datadir}/manual/mod/mod_mime*.html.en
1185 %{_datadir}/manual/mod/mod_negotiation.html.en
1186 %{_datadir}/manual/mod/mod_setenvif.html.en
1187 %{_datadir}/manual/mod/mod_speling.html.en
1188 %{_datadir}/manual/mod/mod_userdir.html.en
1189 %{_datadir}/manual/platform
1190 %{_datadir}/manual/programs
1191 %dir %{_datadir}/manual/search
1192 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1193 %{_datadir}/manual/style
1195 %attr(755,root,root) %dir %{_datadir}/html
1197 %attr(755,root,root) %{_datadir}/cgi-bin
1202 %defattr(644,root,root,755)
1203 %attr(4755,root,root) %{_sbindir}/suexec
1204 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1205 %{_datadir}/manual/mod/mod_suexec.html.en
1208 %defattr(644,root,root,755)
1209 %config(noreplace,missingok) %{_datadir}/html/index.html*
1210 %{_datadir}/html/*.gif
1211 %{_datadir}/html/*.png
1214 %defattr(644,root,root,755)
1216 %{_libexecdir}/*.exp
1217 %attr(755,root,root) %dir %{_libexecdir}/build
1218 %attr(644,root,root) %{_libexecdir}/build/*.mk
1219 %attr(755,root,root) %{_libexecdir}/build/*.sh
1220 %attr(755,root,root) %{_libexecdir}/build/libtool
1223 %defattr(644,root,root,755)
1224 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1225 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1226 %{_datadir}/manual/mod/mod_actions.html.en
1229 %defattr(644,root,root,755)
1230 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1231 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1232 %attr(755,root,root) %{_sbindir}/htpasswd
1233 %{_datadir}/manual/mod/mod_auth.html.en
1234 %{_mandir}/man1/htpasswd.1*
1236 %files mod_auth_anon
1237 %defattr(644,root,root,755)
1238 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1239 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1240 %{_datadir}/manual/mod/mod_auth_anon.html.en
1243 %defattr(644,root,root,755)
1244 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1245 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1246 %attr(755,root,root) %{_sbindir}/dbmmanage
1247 %attr(755,root,root) %{_sbindir}/htdbm
1248 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1249 %{_mandir}/man1/dbmmanage.1*
1251 %files mod_auth_digest
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1254 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1255 %{_datadir}/manual/mod/mod_auth_digest.html.en
1258 %defattr(644,root,root,755)
1259 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1260 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1261 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1262 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1263 %{_datadir}/manual/mod/mod_cache.html.en
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1268 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1269 %{_datadir}/manual/mod/mod_cgid.html.en
1271 %files mod_charset_lite
1272 %defattr(644,root,root,755)
1273 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1274 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1275 %{_datadir}/manual/mod/mod_charset_lite.html.en
1278 %defattr(644,root,root,755)
1279 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1280 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1281 %{_datadir}/manual/mod/mod_dav*.html.en
1284 %defattr(644,root,root,755)
1285 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1286 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1287 %{_datadir}/manual/mod/mod_deflate.html.en
1290 %defattr(644,root,root,755)
1291 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1292 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1293 %{_datadir}/manual/mod/mod_dir.html.en
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1298 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1299 %{_datadir}/manual/mod/mod_expires.html.en
1301 %files mod_file_cache
1302 %defattr(644,root,root,755)
1303 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1304 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1305 %{_datadir}/manual/mod/mod_file_cache.html.en
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1310 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1311 %{_datadir}/manual/mod/mod_headers.html.en
1314 %defattr(644,root,root,755)
1315 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1316 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1317 %{_datadir}/manual/mod/mod_imap.html.en
1320 %defattr(644,root,root,755)
1321 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1322 %attr(755,root,root) %{_libexecdir}/mod_info.so
1323 %{_datadir}/manual/mod/mod_info.html.en
1326 %defattr(644,root,root,755)
1327 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1328 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1329 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1330 %attr(770,root,http) /var/cache/apache
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1335 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1336 %{_datadir}/manual/mod/mod_rewrite.html.en
1337 %{_datadir}/manual/images/mod_rewrite*
1339 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1341 %defattr(644,root,root,755)
1342 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1344 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1345 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1346 %{_datadir}/manual/ssl
1347 %{_datadir}/manual/mod/mod_ssl.html.en
1351 %defattr(644,root,root,755)
1352 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1353 %attr(755,root,root) %{_libexecdir}/mod_status.so
1354 %{_datadir}/manual/mod/mod_status.html.en
1356 %files mod_usertrack
1357 %defattr(644,root,root,755)
1358 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1359 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1360 %{_datadir}/manual/mod/mod_usertrack.html.en
1362 %files mod_unique_id
1363 %defattr(644,root,root,755)
1364 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1365 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1366 %{_datadir}/manual/mod/mod_unique_id.html.en
1368 %files mod_vhost_alias
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1371 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1372 %{_datadir}/manual/vhosts
1373 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf