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 Summary: The most widely used Web server on the Internet
18 Summary(de): Leading World Wide Web-Server
19 Summary(es): Servidor HTTPD para proveer servicios WWW
20 Summary(fr): Le serveur web le plus utilise sur Internet
21 Summary(pl): Serwer WWW (World Wide Web)
22 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
23 Summary(tr): Lider WWW tarayýcý
27 License: Apache Group License
28 Group: Networking/Daemons
29 URL: http://httpd.apache.org/
30 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
32 Source2: %{name}.logrotate
33 Source3: %{name}-icons.tar.gz
34 Source4: %{name}.sysconfig
35 Source6: %{name}-httpd.conf
36 Source8: %{name}-mod_vhost_alias.conf
37 Source9: %{name}-mod_status.conf
38 Source10: %{name}-mod_proxy.conf
39 Source11: %{name}-mod_info.conf
40 Source12: %{name}-mod_ssl.conf
41 Source13: %{name}-mod_dav.conf
42 Source14: %{name}-mod_dir.conf
43 Source20: %{name}-server.crt
44 Source21: %{name}-server.key
45 Patch0: %{name}-apxs.patch
46 Patch1: %{name}-configdir_skip_backups.patch
47 Patch2: %{name}-layout.patch
48 Patch3: %{name}-suexec.patch
49 BuildRequires: db-devel
50 BuildRequires: expat-devel
51 BuildRequires: gdbm-devel >= 1.8.3
52 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
53 %{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
54 BuildRequires: perl-devel >= 5.004
55 BuildRequires: rpm-perlprov >= 4.0.4
56 BuildRequires: zlib-devel
57 BuildRequires: libtool
60 Requires(pre): /usr/bin/getgid
61 Requires(pre): /bin/id
62 Requires(pre): /usr/sbin/groupadd
63 Requires(pre): /usr/sbin/useradd
64 Requires(post,preun): /sbin/chkconfig
65 Requires(post,postun): /sbin/ldconfig
66 Requires(post): fileutils
67 Requires(postun): /usr/sbin/userdel
68 Requires(postun): /usr/sbin/groupdel
70 Requires: /etc/mime.types
71 Requires: psmisc >= 20.1
72 Provides: httpd = %{version}
73 Provides: webserver = %{version}
74 Obsoletes: apache-extra
78 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80 %define _sysconfdir /etc/httpd
81 %define _includedir %{_prefix}/include/apache
82 %define _datadir /home/services/httpd
83 %define _libexecdir %{_libdir}/apache
86 Apache is a powerful, full-featured, efficient and freely-available
87 Web server. Apache is also the most popular Web server on the
91 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
92 erhältlich und weit verbreitet ist.
95 El servidor web Apache es el mejor servidor gratuito disponible en el
96 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
97 que browsers web vean documentos y sometan datos remotamente. Puede
98 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
99 caché, y nos ofrece características como monitor de estado, conversión
100 dinámica de tipo, y otras más.
103 Apache est un serveur Web puissant, efficace, gratuit et complet.
104 Apache est aussi le serveur Web le plus populaire sur Internet.
107 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
108 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
110 %description -l pt_BR
111 O servidor web Apache é o melhor servidor gratuito disponível no mundo
112 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
113 que browsers web vejam documentos e submetam dados remotamente. Ele
114 pode executar várias funções diferentes, incluindo funções de proxy e
115 cache, e oferece características como monitor de status, conversão
116 dinâmica de tipo, e mais.
119 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
123 Summary: Apache suexec wrapper
124 Summary(pl): Suexec wrapper do serwera WWW Apache
125 Group: Development/Tools
126 Requires: %{name} = %{version}
129 The suEXEC feature provides Apache users the ability to run CGI and
130 SSI programs under user IDs different from the user ID of the calling
131 web-server. Normally, when a CGI or SSI program executes, it runs as
132 the same user who is running the web server.
134 %description suexec -l pl
135 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
136 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
137 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
140 Summary: Module development tools for the Apache web server
141 Summary(es): Archivos de inclusión del Apache para desarrollo de módulos
142 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
143 Summary(pl): Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
144 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
145 Group: Networking/Utilities
146 Requires: %{name} = %{version}
147 Requires: apr-devel = %{version}
150 The apache-devel package contains header files for Apache.
152 %description devel -l es
153 Este paquete contiene los archivos de inclusión para el Apache, bien
154 como el utilitario apxs para la construcción de objetos compartidos
155 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
156 o desarrollar módulos adicionales para Apache.
158 %description devel -l fr
159 Le package apache-devel contient le code source pour le serveur Web
160 Apache et le binaire APXS dont vous aurez besoin pour construire des
161 Objets Dynamiques Partages (DSOs) pour Apache.
163 %description devel -l pl
164 Pliki nag³ówkowe dla serwera WWW Apache.
166 %description devel -l pt_BR
167 Este pacote contem os arquivos de inclusão para o Apache, bem como o
168 utilitário apxs para a construção de objetos compartilhados dinâmicos
169 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
170 desenvolver módulos adicionais para o Apache.
173 Summary: Static Apache web server libraries
174 Summary(pl): Statyczne biblioteki serwera WWW Apache
175 Group: Development/Libraries
176 Requires: %{name}-devel = %{version}
179 The apache-static package contains static libraries for Apache.
181 %description static -l pl
182 Styatyczne biblioteki serwera Apache.
185 Summary: Apache module for run CGI whenever a file of a certain type is requested
186 Summary(pl): Modu³ Apache'a do uruchamiania skryptów CGI
187 Group: Networking/Daemons
188 Requires: %{name} = %{version}
190 %description mod_actions
191 This package contains mod_actions module. This module lets you run CGI
192 scripts whenever a file of a certain type is requested. This makes it
193 much easier to execute scripts that process files.
195 %description mod_actions -l pl
196 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
197 ¿±danie pobrania pliku okre¶lonego typu.
200 Summary: Apache module with user authentication using textual files
201 Summary(pl): Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
202 Group: Networking/Daemons
203 Requires: %{name} = %{version}
205 %description mod_auth
206 This package contains mod_auth module. It provides for user
207 authentication using textual files.
209 %description mod_auth -l pl
210 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
211 u¿ytkowników na podstawie plików tekstowych.
213 %package mod_auth_anon
214 Summary: Apache module with "anonymous" user access authentication
215 Summary(pl): Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
216 Group: Networking/Daemons
217 Requires: %{name} = %{version}
219 %description mod_auth_anon
220 This package contains mod_auth_anon module. It allows "anonymous" user
221 access to authenticated areas. It does access control in a manner
222 similar to anonymous-ftp sites; i.e. have a 'magic' user id
223 'anonymous' and the email address as a password. These email addresses
224 can be logged. Combined with other (database) access control methods,
225 this allows for effective user tracking and customization according to
226 a user profile while still keeping the site open for 'unregistered'
227 users. One advantage of using Auth-based user tracking is that, unlike
228 magic-cookies and funny URL pre/postfixes, it is completely browser
229 independent and it allows users to share URLs.
231 %description mod_auth_anon -l pl
232 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
233 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
234 adresu pocztowego u¿ytkownika).
236 %package mod_auth_dbm
237 Summary: Apache module with user authentication which uses DBM files
238 Summary(pl): Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
239 Group: Networking/Daemons
240 Obsoletes: %{name}-mod_auth_db
241 Requires: %{name} = %{version}
243 %description mod_auth_dbm
244 This module provides for HTTP Basic Authentication, where the
245 usernames and passwords are stored in DBM type database files. It is
246 an alternative to the plain text password files provided by mod_auth.
248 %description mod_auth_dbm -l pl
249 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
250 ich has³a s± trzymane w plikach bazy typu DBM.
252 %package mod_auth_digest
253 Summary: Apache user authentication module using MD5 Digest Authentication
254 Summary(pl): Modu³ Apache'a do autoryzacji MD5
255 Group: Networking/Daemons
256 Obsoletes: apache-mod_digest
257 Requires: %{name} = %{version}
259 %description mod_auth_digest
260 This package contains mod_digest module. It provides user
261 authentication using MD5 Digest Authentication.
263 %description mod_auth_digest -l pl
264 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
268 Summary: Content cache keyed to URIs
269 Summary(pl): Pamiêæ podrêczna wg klucza URI
270 Group: Networking/Daemons
271 Requires: %{name} = %{version}
273 %description mod_cache
274 mod_cache implements an RFC 2616 compliant HTTP content cache that can
275 be used to cache either local or proxied content. Two storage
276 management modules are included in the base Apache distribution:
277 mod_disk_cache implements a disk based storage manager (generally used
278 for proxy caching) and mod_mem_cache implements an in-memory based
279 storage manager (primarily useful for caching local content).
281 %description mod_cache -l pl
282 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
283 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
284 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
285 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
286 (u¿ywane do cacheowania proxy).
289 Summary: Execution of CGI scripts using an external CGI daemon
290 Summary(pl): Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
291 Group: Networking/Daemons
292 Requires: %{name} = %{version}
294 %description mod_cgid
295 Execution of CGI scripts using an external CGI daemon.
297 %description mod_cgid -l pl
298 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
300 %package mod_charset_lite
301 Summary: Specify character set translation or recoding
302 Summary(pl): Translacja lub przekodowywanie znaków
303 Group: Networking/Daemons
304 Requires: %{name} = %{version}
306 %description mod_charset_lite
307 Specify character set translation or recoding.
309 %description mod_charset_lite -l pl
310 Translacja lub przekodowywanie znaków.
313 Summary: Apache module - Distributed Authoring and Versioning
314 Summary(pl): Modu³ Apache'a - Rozproszone autorstwo i wersjonowanie
315 Group: Networking/Daemons
316 Requires: %{name} = %{version}
319 This module provides class 1 and class 2 WebDAV ('Web-based
320 Distributed Authoring and Versioning') functionality for Apache. This
321 extension to the HTTP protocol allows creating, moving, copying, and
322 deleting resources and collections on a remote web server.
324 %description mod_dav -l pl
325 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
326 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
327 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
328 zdalnym serwerze WWW.
331 Summary: Apache module: Compress content before it is delivered to the client
332 Summary(pl): Modu³ kompresuj±cy dane przed przes³aniem ich do klienta
333 Group: Networking/Daemons
334 Requires: %{name} = %{version}
336 %description mod_deflate
337 Compress content before it is delivered to the client.
339 %description mod_deflate -l pl
340 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
343 Summary: Apache module for "trailing slash" redirects and serving directory index files
344 Summary(pl): Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
345 Group: Networking/Daemons
346 Requires: %{name} = %{version}
349 This package contains mod_dir which provides "trailing slash"
350 redirects and serving directory index files.
352 %description mod_dir -l pl
353 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
357 Summary: Apache module allows for the customization of HTTP response headers
358 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
359 Group: Networking/Daemons
360 Requires: %{name} = %{version}
362 %description mod_headers
363 This package contains mod_headers module. The module allows for the
364 customization of HTTP response headers. Headers can be merged,
367 %description mod_headers -l pl
368 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
369 wysy³anych do przegl±darki.
372 Summary: Apache module with imap-file handler
373 Summary(pl): Modu³ z obs³ug± imap-file
374 Group: Networking/Daemons
375 Requires: %{name} = %{version}
377 %description mod_imap
378 This package contains mod_imap module. It provides for .map files,
379 replacing the functionality of the imagemap CGI program. Any directory
380 or document type configured to use the handler imap-file.
382 %description mod_imap -l pl
383 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
386 Summary: Apache module with comprehensive overview of the server configuration
387 Summary(pl): Modu³ udostêpniaj±cy informacje o serwerze
388 Group: Networking/Daemons
389 Requires: %{name} = %{version}
391 %description mod_info
392 This package contains mod_info module. It provides a comprehensive
393 overview of the server configuration including all installed modules
394 and directives in the configuration files.
396 %description mod_info -l pl
397 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
398 zainstalowanych modu³ach itp.
401 Summary: Apache module with Web proxy
402 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
403 Group: Networking/Daemons
404 Requires: %{name} = %{version}
406 %description mod_proxy
408 This package contains module with implementation a proxy/cache for
409 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
410 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
411 connect to other proxy modules for these and other protocols.
413 %description mod_proxy -l pl
414 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
415 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
419 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
420 Summary(pl): Modu³ do "przepisywania" adresów URL w locie
421 Group: Networking/Daemons
422 Requires: %{name} = %{version}
424 %description mod_rewrite
425 This package contains It provides a rule-based rewriting engine to
426 rewrite requested URLs on the fly.
428 %description mod_rewrite -l pl
429 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
432 Summary: Apache module: Strong cryptography using the Secure Sockets Layer (SSL)
433 Summary(pl): Modu³ Apache'a: Silna kryptografia z u¿yciem SSL
434 Group: Networking/Daemons
436 Requires: %{name} = %{version}
439 Strong cryptography using the Secure Sockets Layer (SSL).
441 %description mod_ssl -l pl
442 Silna kryptografia z u¿yciem SSL.
445 Summary: Server status report module for apache
446 Summary(pl): Modu³ udostêpniaj±cy informacje statystyczne z serwera
447 Group: Networking/Daemons
448 Requires: %{name} = %{version}
450 %description mod_status
451 The Status module allows a server administrator to find out how well
452 their server is performing. A HTML page is presented that gives the
453 current server statistics in an easily readable form. If required this
454 page can be made to automatically refresh (given a compatible
457 %description mod_status -l pl
458 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
459 pracy serwera apache (w postaci strony HTML).
461 %package mod_usertrack
462 Summary: Apache module for user tracking using cookies
463 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia "ciasteczek"
464 Group: Networking/Daemons
465 Requires: %{name} = %{version}
467 %description mod_usertrack
468 This package contains the user tracking module which did its own
469 logging using CookieLog directory. This module allow multiple log
472 %description mod_usertrack -l pl
473 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
475 %package mod_vhost_alias
476 Summary: Apache module for dynamically configured mass virtual hosting
477 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych
478 Group: Networking/Daemons
479 Requires: %{name} = %{version}
481 %description mod_vhost_alias
482 This package contains the mod_vhost_alias. It provides support for
483 dynamically configured mass virtual hosting.
485 %description mod_vhost_alias -l pl
486 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
489 %package mod_unique_id
490 Summary: Apache module which provides a magic token for each request
491 Summary(pl): Modu³ nadaj±cy ka¿demu zapytaniu unikalny token
492 Group: Networking/Daemons
493 Requires: %{name} = %{version}
495 %description mod_unique_id
496 This package contains the mod_unique_id. This module provides a magic
497 token for each request which is guaranteed to be unique across "all"
498 requests under very specific conditions. The unique identifier is even
499 unique across multiple machines in a properly configured cluster of
500 machines. The environment variable UNIQUE_ID is set to the identifier
501 for each request. Unique identifiers are useful for various reasons
502 which are beyond the scope of this document.
504 %description mod_unique_id -l pl
505 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
506 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
507 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
511 Summary: Apache module which generates Expires HTTP headers
512 Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
513 Group: Networking/Daemons
514 Requires: %{name} = %{version}
516 %description mod_expires
517 This module controls the setting of the Expires HTTP header in server
518 responses. The expiration date can set to be relative to either the
519 time the source file was last modified, or to the time of the client
522 %description mod_expires -l pl
523 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
524 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
525 ¼ród³owych lub odwo³ania klienta.
527 %package mod_file_cache
528 Summary: Apache module: Caches a static list of files in memory
529 Summary(pl): Modu³ cache'uj±cy statyczn± listê plików w pamiêci
530 Group: Networking/Daemons
531 Obsoletes: %{name}-mmap_static
532 Requires: %{name} = %{version}
534 %description mod_file_cache
535 Caches a static list of files in memory.
537 %description mod_file_cache -l pl
538 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
541 Summary: The Apache Portable Runtime library
542 Summary(pl): Przeno¶na biblioteka Apache
546 The Apache Portable Run-time libraries have been designed to provide a
547 common interface to low level routines across any platform.
549 %description -n apr -l pl
550 Przeno¶na biblioteka Apache zosta³a zaprojektowana w celu
551 udostêpnienia popularnego i jednolitego interfejsu do niskopoziomowych
552 funkcji na dowolnej platformie.
554 %package -n apr-devel
555 Summary: The includes and linker libraries for development with APR
556 Summary(pl): Pliki nag³ówkowe, biblioteki dla konsolidatora APR
557 Group: Development/Libraries
558 Requires: apr = %{version}
560 %description -n apr-devel
561 The includes and linker libraries for development with APR.
563 %description -n apr-devel -l pl
564 Pliki nag³ówkowe, biblioteki dla konsolidatora APR.
566 %package -n apr-static
567 Summary: Static APR libraries
568 Summary(pl): Statyczne biblioteki APR
569 Group: Development/Libraries
570 Requires: apr-devel = %{version}
572 %description -n apr-static
573 Static APR libraries.
575 %description -n apr-static -l pl
576 Statyczne biblioteki APR.
579 %setup -q -n httpd-%{version}
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
641 rm -rf $RPM_BUILD_ROOT
642 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
643 install -d $RPM_BUILD_ROOT%{_var}/log/{httpd,archiv/httpd}
644 install -d $RPM_BUILD_ROOT%{_var}/{run,cache}/apache
646 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
647 installbuilddir=%{_sysconfdir}/build \
648 prefix=%{_sysconfdir}/httpd \
649 libexecdir=%{_libdir}/%{name} \
650 iconsdir=%{_datadir}/icons \
651 errordir=%{_datadir}/error \
652 htdocsdir=%{_datadir}/html \
653 manualdir=%{_datadir}/manual \
654 cgidir=%{_datadir}/cgi-bin \
655 runtimedir=%{_var}/run \
656 logdir=%{_var}/log/httpd \
657 proxycachedir=%{_var}/cache/httpd
659 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
660 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
662 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
663 $RPM_BUILD_ROOT%{_libexecdir}/build
665 perl -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/config_vars.mk
666 perl -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
668 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
669 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
670 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
672 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
674 %if %{?_without_ssl:0}%{!?_without_ssl:1}
675 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
676 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
677 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
680 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
682 install %{SOURCE6} $CFG/10_httpd.conf
683 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
684 install %{SOURCE9} $CFG/25_mod_status.conf
685 install %{SOURCE10} $CFG/30_mod_proxy.conf
686 install %{SOURCE11} $CFG/35_mod_info.conf
687 install %{SOURCE12} $CFG/40_mod_ssl.conf
688 install %{SOURCE13} $CFG/45_mod_dav.conf
689 install %{SOURCE14} $CFG/59_mod_dir.conf
691 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
692 echo "LoadModule auth_module %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
693 echo "LoadModule auth_anon_module %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
694 echo "LoadModule auth_dbm_module %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
695 echo "LoadModule auth_digest_module %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
696 echo "LoadModule cache_module %{_libexecdir}/mod_cache.so
697 LoadModule mem_cache_module %{_libexecdir}/mod_mem_cache.so
698 LoadModule disk_cache_module %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
699 echo "LoadModule cgid_module %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
700 echo "LoadModule charset_lite_module %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
701 echo "LoadModule deflate_module %{_libexecdir}/mod_deflate.so" > $CFG/58_mod_deflate.conf
702 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
703 echo "LoadModule file_cache_module %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
704 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
705 echo "LoadModule imap_module %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
706 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
707 echo "LoadModule usertrack_module %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
708 echo "LoadModule unique_id_module %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
710 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
713 rm -rf $RPM_BUILD_ROOT
716 if [ -n "`getgid http`" ]; then
717 if [ "`getgid http`" != "51" ]; then
718 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
722 /usr/sbin/groupadd -g 51 -r -f http
724 if [ -n "`id -u http 2>/dev/null`" ]; then
725 if [ "`id -u http`" != "51" ]; then
726 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
730 /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
735 /sbin/chkconfig --add httpd
737 touch /var/log/httpd/{access,error,agent,referer}_log
738 if [ -f /var/lock/subsys/httpd ]; then
739 /etc/rc.d/init.d/httpd restart 1>&2
741 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
745 if [ "$1" = "0" ]; then
746 if [ -f /var/lock/subsys/httpd ]; then
747 /etc/rc.d/init.d/httpd stop 1>&2
749 /sbin/chkconfig --del httpd
754 if [ "$1" = "0" ]; then
755 /usr/sbin/userdel http
756 /usr/sbin/groupdel http
760 if [ -f /var/lock/subsys/httpd ]; then
761 /etc/rc.d/init.d/httpd restart 1>&2
763 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
767 if [ "$1" = "0" ]; then
768 if [ -f /var/lock/subsys/httpd ]; then
769 /etc/rc.d/init.d/httpd restart 1>&2
774 if [ -f /var/lock/subsys/httpd ]; then
775 /etc/rc.d/init.d/httpd restart 1>&2
777 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
781 if [ "$1" = "0" ]; then
782 if [ -f /var/lock/subsys/httpd ]; then
783 /etc/rc.d/init.d/httpd restart 1>&2
788 if [ -f /var/lock/subsys/httpd ]; then
789 /etc/rc.d/init.d/httpd restart 1>&2
791 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
795 if [ "$1" = "0" ]; then
796 if [ -f /var/lock/subsys/httpd ]; then
797 /etc/rc.d/init.d/httpd restart 1>&2
802 if [ -f /var/lock/subsys/httpd ]; then
803 /etc/rc.d/init.d/httpd restart 1>&2
805 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
809 if [ "$1" = "0" ]; then
810 if [ -f /var/lock/subsys/httpd ]; then
811 /etc/rc.d/init.d/httpd restart 1>&2
816 if [ -f /var/lock/subsys/httpd ]; then
817 /etc/rc.d/init.d/httpd restart 1>&2
819 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
823 if [ "$1" = "0" ]; then
824 if [ -f /var/lock/subsys/httpd ]; then
825 /etc/rc.d/init.d/httpd restart 1>&2
830 if [ -f /var/lock/subsys/httpd ]; then
831 /etc/rc.d/init.d/httpd restart 1>&2
833 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
837 if [ "$1" = "0" ]; then
838 if [ -f /var/lock/subsys/httpd ]; then
839 /etc/rc.d/init.d/httpd restart 1>&2
843 %post mod_charset_lite
844 if [ -f /var/lock/subsys/httpd ]; then
845 /etc/rc.d/init.d/httpd restart 1>&2
847 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
850 %preun mod_charset_lite
851 if [ "$1" = "0" ]; then
852 if [ -f /var/lock/subsys/httpd ]; then
853 /etc/rc.d/init.d/httpd restart 1>&2
858 if [ -f /var/lock/subsys/httpd ]; then
859 /etc/rc.d/init.d/httpd restart 1>&2
861 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
865 if [ "$1" = "0" ]; then
866 if [ -f /var/lock/subsys/httpd ]; then
867 /etc/rc.d/init.d/httpd restart 1>&2
871 %post mod_auth_digest
872 if [ -f /var/lock/subsys/httpd ]; then
873 /etc/rc.d/init.d/httpd restart 1>&2
875 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
878 %preun mod_auth_digest
879 if [ "$1" = "0" ]; then
880 if [ -f /var/lock/subsys/httpd ]; then
881 /etc/rc.d/init.d/httpd restart 1>&2
886 if [ -f /var/lock/subsys/httpd ]; then
887 /etc/rc.d/init.d/httpd restart 1>&2
889 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
893 if [ "$1" = "0" ]; then
894 if [ -f /var/lock/subsys/httpd ]; then
895 /etc/rc.d/init.d/httpd restart 1>&2
900 if [ -f /var/lock/subsys/httpd ]; then
901 /etc/rc.d/init.d/httpd restart 1>&2
903 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
907 if [ "$1" = "0" ]; then
908 if [ -f /var/lock/subsys/httpd ]; then
909 /etc/rc.d/init.d/httpd restart 1>&2
914 if [ -f /var/lock/subsys/httpd ]; then
915 /etc/rc.d/init.d/httpd restart 1>&2
917 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
921 if [ "$1" = "0" ]; then
922 if [ -f /var/lock/subsys/httpd ]; then
923 /etc/rc.d/init.d/httpd restart 1>&2
928 if [ -f /var/lock/subsys/httpd ]; then
929 /etc/rc.d/init.d/httpd restart 1>&2
931 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
934 %preun mod_file_cache
935 if [ "$1" = "0" ]; then
936 if [ -f /var/lock/subsys/httpd ]; then
937 /etc/rc.d/init.d/httpd restart 1>&2
942 if [ -f /var/lock/subsys/httpd ]; then
943 /etc/rc.d/init.d/httpd restart 1>&2
945 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
949 if [ "$1" = "0" ]; then
950 if [ -f /var/lock/subsys/httpd ]; then
951 /etc/rc.d/init.d/httpd restart 1>&2
956 if [ -f /var/lock/subsys/httpd ]; then
957 /etc/rc.d/init.d/httpd restart 1>&2
959 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
963 if [ "$1" = "0" ]; then
964 if [ -f /var/lock/subsys/httpd ]; then
965 /etc/rc.d/init.d/httpd restart 1>&2
970 if [ -f /var/lock/subsys/httpd ]; then
971 /etc/rc.d/init.d/httpd restart 1>&2
973 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
977 if [ "$1" = "0" ]; then
978 if [ -f /var/lock/subsys/httpd ]; then
979 /etc/rc.d/init.d/httpd restart 1>&2
984 if [ -f /var/lock/subsys/httpd ]; then
985 /etc/rc.d/init.d/httpd restart 1>&2
987 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
991 if [ "$1" = "0" ]; then
992 if [ -f /var/lock/subsys/httpd ]; then
993 /etc/rc.d/init.d/httpd restart 1>&2
998 if [ -f /var/lock/subsys/httpd ]; then
999 /etc/rc.d/init.d/httpd restart 1>&2
1001 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1005 if [ "$1" = "0" ]; then
1006 if [ -f /var/lock/subsys/httpd ]; then
1007 /etc/rc.d/init.d/httpd restart 1>&2
1012 if [ -f /var/lock/subsys/httpd ]; then
1013 /etc/rc.d/init.d/httpd restart 1>&2
1015 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1019 if [ "$1" = "0" ]; then
1020 if [ -f /var/lock/subsys/httpd ]; then
1021 /etc/rc.d/init.d/httpd restart 1>&2
1026 if [ -f /var/lock/subsys/httpd ]; then
1027 /etc/rc.d/init.d/httpd restart 1>&2
1029 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1033 if [ "$1" = "0" ]; then
1034 if [ -f /var/lock/subsys/httpd ]; then
1035 /etc/rc.d/init.d/httpd restart 1>&2
1040 if [ -f /var/lock/subsys/httpd ]; then
1041 /etc/rc.d/init.d/httpd restart 1>&2
1043 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1046 %preun mod_usertrack
1047 if [ "$1" = "0" ]; then
1048 if [ -f /var/lock/subsys/httpd ]; then
1049 /etc/rc.d/init.d/httpd restart 1>&2
1054 if [ -f /var/lock/subsys/httpd ]; then
1055 /etc/rc.d/init.d/httpd restart 1>&2
1057 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1060 %preun mod_unique_id
1061 if [ "$1" = "0" ]; then
1062 if [ -f /var/lock/subsys/httpd ]; then
1063 /etc/rc.d/init.d/httpd restart 1>&2
1067 %post mod_vhost_alias
1068 if [ -f /var/lock/subsys/httpd ]; then
1069 /etc/rc.d/init.d/httpd restart 1>&2
1071 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1074 %preun mod_vhost_alias
1075 if [ "$1" = "0" ]; then
1076 if [ -f /var/lock/subsys/httpd ]; then
1077 /etc/rc.d/init.d/httpd restart 1>&2
1081 %post -n apr -p /sbin/ldconfig
1082 %postun -n apr -p /sbin/ldconfig
1085 %defattr(644,root,root,755)
1086 %doc ABOUT_APACHE CHANGES README
1087 %doc docs/conf/mime.types
1089 %attr(754,root,root) /etc/rc.d/init.d/httpd
1091 %attr(750,root,root) %dir %{_sysconfdir}
1092 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1093 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1094 %attr(640,root,root) %{_sysconfdir}/magic
1095 %attr(755,root,root) %dir %{_libexecdir}/build
1096 %attr(755,root,root) %{_libexecdir}/build/*.mk
1097 %attr(755,root,root) %{_libexecdir}/build/*.sh
1098 %attr(755,root,root) %{_libexecdir}/build/libtool
1100 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1101 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1104 %attr(755,root,root) %{_libexecdir}/mod_access.so
1105 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1106 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1107 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1108 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1109 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1110 %attr(755,root,root) %{_libexecdir}/mod_env.so
1111 %attr(755,root,root) %{_libexecdir}/mod_include.so
1112 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1113 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1114 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1115 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1116 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1117 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1118 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1120 # look at TODO on top
1121 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1122 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1123 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1124 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1125 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1126 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1127 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1128 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1130 %attr(755,root,root) %{_sbindir}/htdigest
1132 %attr(755,root,root) %{_sbindir}/ab
1133 %attr(755,root,root) %{_sbindir}/apachectl
1134 %attr(755,root,root) %{_sbindir}/apxs
1135 %attr(755,root,root) %{_sbindir}/checkgid
1136 %attr(755,root,root) %{_sbindir}/httpd
1137 %attr(755,root,root) %{_sbindir}/logresolve
1138 %attr(755,root,root) %{_sbindir}/rotatelogs
1139 %attr(755,root,root) %{_sbindir}/envvars*
1141 %dir %attr(770,root,http) /var/run/apache
1143 %{_mandir}/man1/htdigest.1*
1146 %attr(750,root,root) %dir /var/log/httpd
1147 %attr(750,root,root) %dir /var/log/archiv/httpd
1148 %attr(640,root,root) %ghost /var/log/httpd/*
1151 %dir %{_datadir}/manual
1152 %{_datadir}/manual/LICENSE
1153 %{_datadir}/manual/*.html
1154 %{_datadir}/manual/*.xml
1155 %{_datadir}/manual/*.html.en
1156 %lang(ja) %{_datadir}/manual/*.html.ja.jis
1157 %lang(ja) %{_datadir}/manual/*.xml.ja
1158 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1159 %lang(de) %{_datadir}/manual/*.html.de
1160 %lang(fr) %{_datadir}/manual/*.html.fr
1161 %{_datadir}/manual/developer
1162 %{_datadir}/manual/faq
1163 %dir %{_datadir}/manual/howto
1164 %doc %{_datadir}/manual/howto/*.en
1165 %{_datadir}/manual/howto/*.html
1166 %lang(ja) %{_datadir}/manual/howto/*.ja.jis
1167 %dir %{_datadir}/manual/images
1168 %{_datadir}/manual/images/[achips]*
1169 %{_datadir}/manual/misc
1170 %dir %{_datadir}/manual/mod
1171 %{_datadir}/manual/mod/[fh]*.html
1172 %{_datadir}/manual/mod/[cdfhipw]*.html.en
1173 %{_datadir}/manual/mod/[acd]*.xml
1174 %lang(ja) %{_datadir}/manual/mod/[ad]*.xml.ja*
1175 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1176 %lang(ja) %{_datadir}/manual/mod/index.xml.ja
1177 %{_datadir}/manual/mod/index.xml
1178 %{_datadir}/manual/mod/mpm*.html.en
1179 %{_datadir}/manual/mod/mod_access.html.en
1180 %{_datadir}/manual/mod/mod_alias.html.en
1181 %{_datadir}/manual/mod/mod_asis.html.en
1182 %{_datadir}/manual/mod/mod_autoindex.html.en
1183 %{_datadir}/manual/mod/mod_cern_meta.html.en
1184 %{_datadir}/manual/mod/mod_cgi.html.en
1185 %{_datadir}/manual/mod/mod_env.html.en
1186 %{_datadir}/manual/mod/mod_include.html.en
1187 %{_datadir}/manual/mod/mod_log_config.html.en
1188 %{_datadir}/manual/mod/mod_mime*.html.en
1189 %{_datadir}/manual/mod/mod_negotiation.html.en
1190 %{_datadir}/manual/mod/mod_setenvif.html.en
1191 %{_datadir}/manual/mod/mod_speling.html.en
1192 %{_datadir}/manual/mod/mod_userdir.html.en
1193 %{_datadir}/manual/platform
1194 %{_datadir}/manual/programs
1195 %dir %{_datadir}/manual/search
1196 %doc%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1197 %{_datadir}/manual/style
1199 # Having all index.html.LANG files here is very bad idea.
1200 %attr(755,root,root) %dir %{_datadir}/html
1201 %config(noreplace,missingok) %{_datadir}/html/index.html
1202 %config(noreplace,missingok) %{_datadir}/html/index.html.en
1203 %{_datadir}/html/*.gif
1204 %{_datadir}/html/*.png
1206 %attr(755,root,root) %{_datadir}/cgi-bin
1211 %defattr(644,root,root,755)
1212 %attr(4755,root,root) %{_sbindir}/suexec
1213 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1214 %{_datadir}/manual/mod/mod_suexec.html.en
1217 %defattr(644,root,root,755)
1218 %{_includedir}/[!a]*
1219 %{_includedir}/ap[!r]*
1220 %{_libexecdir}/*.exp
1223 %defattr(644,root,root,755)
1227 %defattr(644,root,root,755)
1228 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1229 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1230 %{_datadir}/manual/mod/mod_actions.html.en
1233 %defattr(644,root,root,755)
1234 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1235 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1236 %attr(755,root,root) %{_sbindir}/htpasswd
1237 %{_datadir}/manual/mod/mod_auth.html.en
1238 %{_mandir}/man1/htpasswd.1*
1240 %files mod_auth_anon
1241 %defattr(644,root,root,755)
1242 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1243 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1244 %{_datadir}/manual/mod/mod_auth_anon.html.en
1247 %defattr(644,root,root,755)
1248 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1249 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1250 %attr(755,root,root) %{_sbindir}/dbmmanage
1251 %attr(755,root,root) %{_sbindir}/htdbm
1252 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1253 %{_mandir}/man1/dbmmanage.1*
1255 %files mod_auth_digest
1256 %defattr(644,root,root,755)
1257 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1258 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1259 %{_datadir}/manual/mod/mod_auth_digest.html.en
1262 %defattr(644,root,root,755)
1263 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1264 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1265 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1266 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1267 %{_datadir}/manual/mod/mod_cache.html.en
1270 %defattr(644,root,root,755)
1271 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1272 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1273 %{_datadir}/manual/mod/mod_cgid.html.en
1275 %files mod_charset_lite
1276 %defattr(644,root,root,755)
1277 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1278 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1279 %{_datadir}/manual/mod/mod_charset_lite.html.en
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1284 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1285 %{_datadir}/manual/mod/mod_dav*.html.en
1288 %defattr(644,root,root,755)
1289 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1290 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1291 %{_datadir}/manual/mod/mod_deflate.html.en
1294 %defattr(644,root,root,755)
1295 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1296 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1297 %{_datadir}/manual/mod/mod_dir.html.en
1300 %defattr(644,root,root,755)
1301 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1302 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1303 %{_datadir}/manual/mod/mod_expires.html.en
1305 %files mod_file_cache
1306 %defattr(644,root,root,755)
1307 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1308 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1309 %{_datadir}/manual/mod/mod_file_cache.html.en
1312 %defattr(644,root,root,755)
1313 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1314 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1315 %{_datadir}/manual/mod/mod_headers.html.en
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1320 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1321 %{_datadir}/manual/mod/mod_imap.html.en
1324 %defattr(644,root,root,755)
1325 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1326 %attr(755,root,root) %{_libexecdir}/mod_info.so
1327 %{_datadir}/manual/mod/mod_info.html.en
1330 %defattr(644,root,root,755)
1331 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1332 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1333 %doc %{_datadir}/manual/mod/mod_proxy*.html.en
1334 %attr(770,root,http) /var/cache/apache
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1339 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1340 %{_datadir}/manual/mod/mod_rewrite.html.en
1341 %{_datadir}/manual/images/mod_rewrite*
1343 %if %{!?_without_ssl:1}%{?_without_ssl:0}
1345 %defattr(644,root,root,755)
1346 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1347 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1348 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1349 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1350 %{_datadir}/manual/ssl
1351 %{_datadir}/manual/mod/mod_ssl.html.en
1355 %defattr(644,root,root,755)
1356 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1357 %attr(755,root,root) %{_libexecdir}/mod_status.so
1358 %{_datadir}/manual/mod/mod_status.html.en
1360 %files mod_usertrack
1361 %defattr(644,root,root,755)
1362 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1363 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1364 %{_datadir}/manual/mod/mod_usertrack.html.en
1366 %files mod_unique_id
1367 %defattr(644,root,root,755)
1368 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1369 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1370 %{_datadir}/manual/mod/mod_unique_id.html.en
1372 %files mod_vhost_alias
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1375 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1376 %{_datadir}/manual/vhosts
1377 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_libdir}/libapr*.so.*
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_bindir}/apr-config
1386 %attr(755,root,root) %{_bindir}/apu-config
1388 %{_includedir}/apr*.h
1389 #%%{_libdir}/APRVARS
1391 %attr(755,root,root) %{_libdir}/libapr*.so
1392 %{_libdir}/libapr*.la
1394 %files -n apr-static
1395 %defattr(644,root,root,755)