]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- added --with external_pcre on behalf of dobrek; fix for Apache bug #27550
[packages/apache.git] / apache.spec
1 # TODO:
2 # - mod_case_filter
3 # - mod_case_filter_in
4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
6 # - mod_ext_filter
7 # - mod_echo
8 # - config examples for mod_*
9 # - check if all modules are (de)registered in %%post/%%postun
10 # - find smart way to deregister module if its moved from main package
11 #   to subpackage (maybe test -f ?)
12 # - add %%post/%%postun to suexec
13 # - --with-suexec-gidmin=500 or =100 ?
14 # - --with-suexec-uidmin=500 or =1000 ?
15 # - subpackages for MPMs
16 # - check if all modules (*.so) are exactly the same for different MPMs
17 #
18 # Conditional build:
19 %bcond_without  ssl             # build without SSL support
20 %bcond_without  ldap            # build without LDAP support
21 %bcond_with     external_pcre   # build with external PCRE support (Apache bug #27550)
22 #
23 %include        /usr/lib/rpm/macros.perl
24 # this is internal macro, don't change to %%apache_modules_api
25 %define         _apache_modules_api 20020903
26 Summary:        The most widely used Web server on the Internet
27 Summary(de):    Leading World Wide Web-Server
28 Summary(es):    Servidor HTTPD para proveer servicios WWW
29 Summary(fr):    Le serveur web le plus utilise sur Internet
30 Summary(pl):    Serwer WWW (World Wide Web)
31 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
32 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
33 Summary(tr):    Lider WWW tarayýcý
34 Name:           apache
35 Version:        2.0.52
36 Release:        10
37 License:        Apache Group License
38 Group:          Networking/Daemons
39 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
40 # Source0-md5:  eba528fa8613dc5bfb0615a69c11f053
41 # Source0-size: 6918995
42 Source1:        %{name}.init
43 Source2:        %{name}.logrotate
44 Source3:        %{name}-icons.tar.gz
45 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
46 # Source3-size: 46320
47 Source4:        %{name}.sysconfig
48 Source5:        %{name}.monitrc
49 Source6:        %{name}-httpd.conf
50 Source8:        %{name}-mod_vhost_alias.conf
51 Source9:        %{name}-mod_status.conf
52 Source10:       %{name}-mod_proxy.conf
53 Source11:       %{name}-mod_info.conf
54 Source12:       %{name}-mod_ssl.conf
55 Source13:       %{name}-mod_dav.conf
56 Source14:       %{name}-mod_dir.conf
57 Source15:       %{name}-mod_suexec.conf
58 Source16:       %{name}-mod_deflate.conf
59 Source17:       %{name}-mod_autoindex.conf
60 Source20:       %{name}-server.crt
61 Source21:       %{name}-server.key
62 Patch0:         %{name}-configdir_skip_backups.patch
63 Patch1:         %{name}-layout.patch
64 Patch2:         %{name}-suexec.patch
65 Patch3:         %{name}-nolibs.patch
66 Patch4:         %{name}-apr.patch
67 # project homepage http://www.metux.de/mpm/en/?patpage=index
68 # http://www.sannes.org/metuxmpm/
69 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
70 Patch6:         httpd-2.0.40-xfsz.patch
71 Patch7:         httpd-2.0.45-davetag.patch
72 Patch8:         httpd-2.0.45-encode.patch
73 Patch9:         httpd-2.0.45-export.patch
74 Patch10:        httpd-2.0.46-dav401dest.patch
75 Patch11:        httpd-2.0.46-md5dig.patch
76 Patch13:        httpd-2.0.46-sslmutex.patch
77 Patch14:        httpd-2.0.47-sslcleanup.patch
78 Patch15:        httpd-2.0.48-corelimit.patch
79 Patch16:        httpd-2.0.48-debuglog.patch
80 Patch17:        httpd-2.0.48-dynlimit.patch
81 Patch18:        httpd-2.0.48-sslpphrase.patch
82 Patch19:        %{name}-v6only-ENOPROTOOPT.patch
83 Patch20:        %{name}-conffile-path.patch
84 Patch21:        %{name}-apxs.patch
85 # http://www.telana.com/peruser.php
86 Patch22:        httpd-2.0.50-peruser-r3.patch
87 Patch23:        %{name}-apr1.patch
88 Patch24:        %{name}-normalize-path.patch
89 Patch25:        %{name}-CAN-2004-0942.patch
90 # http://issues.apache.org/bugzilla/attachment.cgi?id=13377 external pcre
91 Patch26:        %{name}2-pcre-patch.diff         
92 URL:            http://httpd.apache.org/
93 BuildRequires:  automake
94 BuildRequires:  apr-devel >= 1:1.0.0
95 BuildRequires:  apr-util-devel >= 1:1.0.0
96 BuildRequires:  db-devel
97 BuildRequires:  expat-devel
98 BuildRequires:  gdbm-devel >= 1.8.3
99 BuildRequires:  libtool >= 2:1.5
100 %{?with_ldap:BuildRequires:     openldap-devel}
101 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
102 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
103 %{?with_external_pcre:BuildRequires:    pcre-devel}
104 BuildRequires:  perl-devel >= 1:5.6
105 BuildRequires:  rpm-perlprov >= 4.1-13
106 BuildRequires:  rpmbuild(macros) >= 1.159
107 BuildRequires:  zlib-devel
108 PreReq:         perl-base
109 PreReq:         rc-scripts
110 Requires(pre):  /bin/id
111 Requires(pre):  /usr/bin/getgid
112 Requires(pre):  /usr/sbin/groupadd
113 Requires(pre):  /usr/sbin/useradd
114 Requires(postun):       /usr/sbin/userdel
115 Requires(postun):       /usr/sbin/groupdel
116 Requires(post,preun):   /sbin/chkconfig
117 Requires(post,postun):  /sbin/ldconfig
118 Requires(post): fileutils
119 Requires:       /etc/mime.types
120 Requires:       apr >= 1:1.0.0-2
121 Requires:       %{name}-apxs = %{version}-%{release}
122 Requires:       mailcap
123 Requires:       psmisc >= 20.1
124 Provides:       apache(modules-api) = %{_apache_modules_api}
125 Provides:       group(http)
126 Provides:       httpd = %{version}
127 Provides:       user(http)
128 Provides:       webserver = apache
129 Obsoletes:      apache-extra
130 Obsoletes:      apache6
131 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
132
133 %define         _sysconfdir     /etc/httpd
134 %define         _includedir     %{_prefix}/include/apache
135 %define         _datadir        /home/services/httpd
136 %define         _libexecdir     %{_libdir}/apache
137
138 %description
139 Apache is a powerful, full-featured, efficient and freely-available
140 Web server. Apache is also the most popular Web server on the
141 Internet.
142
143 %description -l de
144 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
145 erhältlich und weit verbreitet ist.
146
147 %description -l es
148 El servidor web Apache es el mejor servidor gratuito disponible en el
149 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
150 que browsers web vean documentos y sometan datos remotamente. Puede
151 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
152 caché, y nos ofrece características como monitor de estado, conversión
153 dinámica de tipo, y otras más.
154
155 %description -l fr
156 Apache est un serveur Web puissant, efficace, gratuit et complet.
157 Apache est aussi le serveur Web le plus populaire sur Internet.
158
159 %description -l pl
160 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
161 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
162
163 %description -l pt_BR
164 O servidor web Apache é o melhor servidor gratuito disponível no mundo
165 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
166 que browsers web vejam documentos e submetam dados remotamente. Ele
167 pode executar várias funções diferentes, incluindo funções de proxy e
168 cache, e oferece características como monitor de status, conversão
169 dinâmica de tipo, e mais.
170
171 %description -l ru
172 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
173 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
174
175 %description -l tr
176 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
177 sunucusudur.
178
179 %package suexec
180 Summary:        Apache suexec wrapper
181 Summary(pl):    Wrapper suexec do serwera WWW Apache
182 Group:          Development/Tools
183 Requires:       %{name} = %{version}-%{release}
184
185 %description suexec
186 The suEXEC feature provides Apache users the ability to run CGI and
187 SSI programs under user IDs different from the user ID of the calling
188 web-server. Normally, when a CGI or SSI program executes, it runs as
189 the same user who is running the web server.
190
191 %description suexec -l pl
192 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
193 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
194 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
195
196 %package index
197 Summary:        Apache index.html* files
198 Summary(pl):    Pliki Apache index.html*
199 Group:          Documentation
200 Requires:       %{name} = %{version}-%{release}
201 Obsoletes:      indexhtml
202
203 %description index
204 Apache index.html* files.
205
206 %description index -l pl
207 Pliki Apache index.html*.
208
209 %package doc
210 Summary:        Apache manual
211 Summary(pl):    Podrêcznik Apache'a
212 Group:          Documentation
213 Requires:       %{name} = %{version}-%{release}
214
215 %description doc
216 Apache manual.
217
218 %description doc -l pl
219 Podrêcznik Apache'a.
220
221 %package apxs
222 Summary:        APache eXtenSion tool
223 Summary(pl):    Narzêdzie do rozszerzania Apache'a
224 Group:          Development/Tools
225
226 %description apxs
227 APache eXtenSion tool.
228
229 %description apxs -l pl
230 Narzêdzie do rozszerzania Apache'a.
231  
232 %package devel
233 Summary:        Module development tools for the Apache web server
234 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
235 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
236 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
237 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
238 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
239 Group:          Networking/Utilities
240 Requires:       %{name}-apxs = %{version}-%{release}
241 Requires:       apr-util-devel >= 1:1.0.0
242 Requires:       libtool
243 Obsoletes:      apache-static
244
245 %description devel
246 The apache-devel package contains header files for Apache.
247
248 %description devel -l es
249 Este paquete contiene los archivos de inclusión para el Apache, bien
250 como el utilitario apxs para la construcción de objetos compartidos
251 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
252 o desarrollar módulos adicionales para Apache.
253
254 %description devel -l fr
255 Le package apache-devel contient le code source pour le serveur Web
256 Apache et le binaire APXS dont vous aurez besoin pour construire des
257 Objets Dynamiques Partages (DSOs) pour Apache.
258
259 %description devel -l pl
260 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
261 (Dynamic Shared Objects) dla Apache.
262
263 %description devel -l ru
264 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
265
266 %description devel -l pt_BR
267 Este pacote contem os arquivos de inclusão para o Apache, bem como o
268 utilitário apxs para a construção de objetos compartilhados dinâmicos
269 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
270 desenvolver módulos adicionais para o Apache.
271
272 %package mod_actions
273 Summary:        Apache module for run CGI whenever a file of a certain type is requested
274 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
275 Group:          Networking/Daemons
276 Requires:       %{name} = %{version}-%{release}
277
278 %description mod_actions
279 This package contains mod_actions module. This module lets you run CGI
280 scripts whenever a file of a certain type is requested. This makes it
281 much easier to execute scripts that process files.
282
283 %description mod_actions -l pl
284 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
285 ¿±danie pobrania pliku okre¶lonego typu.
286
287 %package mod_auth
288 Summary:        Apache module with user authentication using textual files
289 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
290 Group:          Networking/Daemons
291 Requires:       %{name} = %{version}-%{release}
292
293 %description mod_auth
294 This package contains mod_auth module. It provides for user
295 authentication using textual files.
296
297 %description mod_auth -l pl
298 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
299 u¿ytkowników na podstawie plików tekstowych.
300
301 %package mod_auth_anon
302 Summary:        Apache module with "anonymous" user access authentication
303 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
304 Group:          Networking/Daemons
305 Requires:       %{name} = %{version}-%{release}
306
307 %description mod_auth_anon
308 This package contains mod_auth_anon module. It allows "anonymous" user
309 access to authenticated areas. It does access control in a manner
310 similar to anonymous FTP sites; i.e. have a 'magic' user id
311 'anonymous' and the email address as a password. These email addresses
312 can be logged. Combined with other (database) access control methods,
313 this allows for effective user tracking and customization according to
314 a user profile while still keeping the site open for 'unregistered'
315 users. One advantage of using Auth-based user tracking is that, unlike
316 magic-cookies and funny URL pre/postfixes, it is completely browser
317 independent and it allows users to share URLs.
318
319 %description mod_auth_anon -l pl
320 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
321 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
322 adresu pocztowego u¿ytkownika).
323
324 %package mod_auth_ldap
325 Summary:        Apache module with LDAP user access authentication
326 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
327 Group:          Networking/Daemons
328 Requires:       %{name} = %{version}-%{release}
329 Requires:       %{name}-mod_ldap = %{version}-%{release}
330
331 %description mod_auth_ldap
332 Apache module with LDAP user access authentication.
333
334 %description mod_auth_ldap -l pl
335 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
336
337 %package mod_auth_dbm
338 Summary:        Apache module with user authentication which uses DBM files
339 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
340 Group:          Networking/Daemons
341 Obsoletes:      apache-mod_auth_db
342 Requires:       %{name} = %{version}-%{release}
343
344 %description mod_auth_dbm
345 This module provides for HTTP Basic Authentication, where the
346 usernames and passwords are stored in DBM type database files. It is
347 an alternative to the plain text password files provided by mod_auth.
348
349 %description mod_auth_dbm -l pl
350 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
351 ich has³a s± trzymane w plikach bazy typu DBM.
352
353 %package mod_auth_digest
354 Summary:        Apache user authentication module using MD5 Digest Authentication
355 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
356 Group:          Networking/Daemons
357 Obsoletes:      apache-mod_digest
358 Requires:       %{name} = %{version}-%{release}
359
360 %description mod_auth_digest
361 This package contains mod_digest module. It provides user
362 authentication using MD5 Digest Authentication.
363
364 %description mod_auth_digest -l pl
365 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
366 Authentication.
367
368 %package mod_autoindex
369 Summary:        Apache module - display index of files
370 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
371 Group:          Networking/Daemons
372 Requires:       %{name} = %{version}-%{release}
373
374 %description mod_autoindex
375 This package contains mod_autoindex module. It provides
376 generation index of files.
377
378 %description mod_autoindex -l pl
379 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
380
381 %package mod_cache
382 Summary:        Content cache keyed to URIs
383 Summary(pl):    Pamiêæ podrêczna wg klucza URI
384 Group:          Networking/Daemons
385 Requires:       %{name} = %{version}-%{release}
386
387 %description mod_cache
388 mod_cache implements an RFC 2616 compliant HTTP content cache that can
389 be used to cache either local or proxied content. Two storage
390 management modules are included in the base Apache distribution:
391 mod_disk_cache implements a disk based storage manager (generally used
392 for proxy caching) and mod_mem_cache implements an in-memory based
393 storage manager (primarily useful for caching local content).
394
395 %description mod_cache -l pl
396 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
397 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
398 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
399 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
400 (u¿ywane do cacheowania proxy).
401
402 %package mod_cgid
403 Summary:        Execution of CGI scripts using an external CGI daemon
404 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
405 Group:          Networking/Daemons
406 Requires:       %{name} = %{version}-%{release}
407
408 %description mod_cgid
409 Execution of CGI scripts using an external CGI daemon.
410
411 %description mod_cgid -l pl
412 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
413
414 %package mod_charset_lite
415 Summary:        Specify character set translation or recoding
416 Summary(pl):    Translacja lub przekodowywanie znaków
417 Group:          Networking/Daemons
418 Requires:       %{name} = %{version}-%{release}
419
420 %description mod_charset_lite
421 Specify character set translation or recoding.
422
423 %description mod_charset_lite -l pl
424 Translacja lub przekodowywanie znaków.
425
426 %package mod_dav
427 Summary:        Apache module - Distributed Authoring and Versioning
428 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
429 Group:          Networking/Daemons
430 Requires:       %{name} = %{version}-%{release}
431
432 %description mod_dav
433 This module provides class 1 and class 2 WebDAV ('Web-based
434 Distributed Authoring and Versioning') functionality for Apache. This
435 extension to the HTTP protocol allows creating, moving, copying, and
436 deleting resources and collections on a remote web server.
437
438 %description mod_dav -l pl
439 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
440 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
441 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
442 zdalnym serwerze WWW.
443
444 %package mod_deflate
445 Summary:        Apache module: Compress content before it is delivered to the client
446 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
447 Group:          Networking/Daemons
448 Requires:       %{name} = %{version}-%{release}
449 Requires:       %{name}-mod_headers = %{version}-%{release}
450
451 %description mod_deflate
452 Compress content before it is delivered to the client.
453
454 %description mod_deflate -l pl
455 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
456
457 %package mod_dir
458 Summary:        Apache module for "trailing slash" redirects and serving directory index files
459 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
460 Group:          Networking/Daemons
461 Requires:       %{name} = %{version}-%{release}
462
463 %description mod_dir
464 This package contains mod_dir which provides "trailing slash"
465 redirects and serving directory index files.
466
467 %description mod_dir -l pl
468 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
469 katalogu.
470
471 %package mod_headers
472 Summary:        Apache module allows for the customization of HTTP response headers
473 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
474 Group:          Networking/Daemons
475 Requires:       %{name} = %{version}-%{release}
476
477 %description mod_headers
478 This package contains mod_headers module. The module allows for the
479 customization of HTTP response headers. Headers can be merged,
480 replaced or removed.
481
482 %description mod_headers -l pl
483 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
484 wysy³anych do przegl±darki.
485
486 %package mod_imap
487 Summary:        Apache module with imap-file handler
488 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
489 Group:          Networking/Daemons
490 Requires:       %{name} = %{version}-%{release}
491
492 %description mod_imap
493 This package contains mod_imap module. It provides for .map files,
494 replacing the functionality of the imagemap CGI program. Any directory
495 or document type configured to use the handler imap-file.
496
497 %description mod_imap -l pl
498 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
499
500 %package mod_info
501 Summary:        Apache module with comprehensive overview of the server configuration
502 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
503 Group:          Networking/Daemons
504 Requires:       %{name} = %{version}-%{release}
505
506 %description mod_info
507 This package contains mod_info module. It provides a comprehensive
508 overview of the server configuration including all installed modules
509 and directives in the configuration files.
510
511 %description mod_info -l pl
512 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
513 zainstalowanych modu³ach itp.
514
515 %package mod_ldap
516 Summary:        Apache module to use LDAP connections
517 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
518 Group:          Networking/Daemons
519 Requires:       %{name} = %{version}-%{release}
520
521 %description mod_ldap
522 Apache module to use LDAP connections.
523
524 %description mod_ldap -l pl
525 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
526
527 %package mod_proxy
528 Summary:        Apache module with Web proxy
529 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
530 Group:          Networking/Daemons
531 Requires:       %{name} = %{version}-%{release}
532
533 %description mod_proxy
534 This package contains module with implementation a proxy/cache for
535 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
536 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
537 connect to other proxy modules for these and other protocols.
538
539 %description mod_proxy -l pl
540 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
541 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
542 HTTP/1.0 i HTTP/1.1.
543
544 %package mod_rewrite
545 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
546 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
547 Group:          Networking/Daemons
548 Requires:       %{name} = %{version}-%{release}
549
550 %description mod_rewrite
551 This package contains It provides a rule-based rewriting engine to
552 rewrite requested URLs on the fly.
553
554 %description mod_rewrite -l pl
555 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
556
557 %package mod_ssl
558 Summary:        SSL/TLS module for the Apache HTTP server
559 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
560 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
561 Group:          Networking/Daemons
562 Epoch:          1
563 Requires:       %{name} = %{version}-%{release}
564
565 %description mod_ssl
566 The mod_ssl module provides strong cryptography for the Apache Web
567 server via the Secure Sockets Layer (SSL) and Transport Layer Security
568 (TLS) protocols.
569
570 %description mod_ssl -l pl
571 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
572 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
573 Security).
574
575 %description mod_ssl -l ru
576 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
577 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
578
579 %package mod_status
580 Summary:        Server status report module for Apache
581 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
582 Group:          Networking/Daemons
583 Requires:       %{name} = %{version}-%{release}
584
585 %description mod_status
586 The Status module allows a server administrator to find out how well
587 their server is performing. A HTML page is presented that gives the
588 current server statistics in an easily readable form. If required this
589 page can be made to automatically refresh (given a compatible
590 browser).
591
592 %description mod_status -l pl
593 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
594 pracy serwera apache (w postaci strony HTML).
595
596 %package mod_usertrack
597 Summary:        Apache module for user tracking using cookies
598 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
599 Group:          Networking/Daemons
600 Requires:       %{name} = %{version}-%{release}
601
602 %description mod_usertrack
603 This package contains the user tracking module which did its own
604 logging using CookieLog directory. This module allow multiple log
605 files.
606
607 %description mod_usertrack -l pl
608 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
609
610 %package mod_vhost_alias
611 Summary:        Apache module for dynamically configured mass virtual hosting
612 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
613 Group:          Networking/Daemons
614 Requires:       %{name} = %{version}-%{release}
615
616 %description mod_vhost_alias
617 This package contains the mod_vhost_alias. It provides support for
618 dynamically configured mass virtual hosting.
619
620 %description mod_vhost_alias -l pl
621 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
622 wirtualnych.
623
624 %package mod_unique_id
625 Summary:        Apache module which provides a magic token for each request
626 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
627 Group:          Networking/Daemons
628 Requires:       %{name} = %{version}-%{release}
629
630 %description mod_unique_id
631 This package contains the mod_unique_id. This module provides a magic
632 token for each request which is guaranteed to be unique across "all"
633 requests under very specific conditions. The unique identifier is even
634 unique across multiple machines in a properly configured cluster of
635 machines. The environment variable UNIQUE_ID is set to the identifier
636 for each request. Unique identifiers are useful for various reasons
637 which are beyond the scope of this document.
638
639 %description mod_unique_id -l pl
640 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
641 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
642 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
643 UNIQUE_ID.
644
645 %package mod_expires
646 Summary:        Apache module which generates Expires HTTP headers
647 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
648 Group:          Networking/Daemons
649 Requires:       %{name} = %{version}-%{release}
650
651 %description mod_expires
652 This module controls the setting of the Expires HTTP header in server
653 responses. The expiration date can set to be relative to either the
654 time the source file was last modified, or to the time of the client
655 access.
656
657 %description mod_expires -l pl
658 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
659 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
660 ¼ród³owych lub odwo³ania klienta.
661
662 %package mod_file_cache
663 Summary:        Apache module: caches a static list of files in memory
664 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
665 Group:          Networking/Daemons
666 Obsoletes:      apache-mmap_static
667 Requires:       %{name} = %{version}-%{release}
668
669 %description mod_file_cache
670 Caches a static list of files in memory.
671
672 %description mod_file_cache -l pl
673 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
674
675 %prep
676 %setup -q -n httpd-%{version}
677 %patch0 -p1
678 %patch1 -p1
679 %patch2 -p1
680 %patch3 -p1
681 %patch4 -p1
682 %patch5 -p1
683 %patch7 -p1
684 %patch8 -p1
685 %patch9 -p1
686 %patch10 -p1
687 %patch11 -p1
688 %patch13 -p1
689 %patch14 -p1
690 %patch15 -p1
691 %patch16 -p1
692 %patch17 -p1
693 %patch18 -p1
694 %patch19 -p1
695 %patch20 -p1
696 %patch21 -p1
697 %patch22 -p1
698 %patch23 -p1
699 %patch24 -p1
700 %patch25 -p1
701 %{?with_external_pcre:%patch26 -p2}
702
703 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
704 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
705 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
706
707 %build
708 # sanity check
709 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
710 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
711         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
712         exit 1
713 fi
714 ./buildconf
715 rm -rf srclib/apr*
716 # Before configure; fix location of build dir in generated apxs
717 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
718         support/apxs.in
719 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
720 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
721 install /usr/share/automake/config.* build/
722 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
723 for mpm in metuxmpm peruser perchild prefork worker; do
724 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
725 ../%configure \
726         --prefix=%{_sysconfdir} \
727         --exec-prefix=%{_libexecdir} \
728         --with-installbuilddir=%{_libdir}/apache/build \
729         --enable-layout=PLD \
730         --enable-modules=all \
731         --enable-mods-shared=all \
732         --enable-auth-anon \
733         --enable-auth-dbm \
734         --enable-auth-digest \
735         --enable-file-cache \
736         --enable-echo \
737         --enable-cache \
738         --enable-charset-lite \
739         --enable-mem-cache \
740         --enable-disk-cache \
741         --enable-ext-filter \
742         --enable-case-filter \
743         --enable-case-filter-in \
744         --enable-deflate \
745         --with-z=%{_prefix} \
746         --enable-mime-magic \
747         --enable-cern-meta \
748         --enable-expires \
749         --enable-headers \
750         --enable-usertrack \
751         --enable-unique-id \
752         --enable-proxy \
753         --enable-proxy-connect \
754         --enable-proxy-ftp \
755         --enable-proxy-http \
756         %{?with_ssl:--enable-ssl} \
757         --enable-optional-hook-export \
758         --enable-optional-hook-import \
759         --enable-optional-fn-import \
760         --enable-optional-fn-export \
761         %{?with_ldap:--enable-ldap} \
762         %{?with_ldap:--enable-auth-ldap} \
763         --enable-dav \
764         --enable-info \
765         --enable-suexec \
766         --enable-cgi \
767         --enable-cgid \
768         --enable-dav-fs \
769         --enable-vhost-alias \
770         --enable-speling \
771         --enable-rewrite \
772         --enable-so \
773         --with-program-name=httpd.${mpm} \
774         --with-mpm=${mpm} \
775 %ifarch %{ix86}
776 %ifnarch i386 i486
777         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
778 %endif
779 %endif
780         --with-suexec-bin=%{_sbindir}/suexec \
781         --with-suexec-caller=http \
782         --with-suexec-docroot=%{_datadir} \
783         --with-suexec-logfile=/var/log/httpd/suexec_log \
784         --with-suexec-uidmin=500 \
785         --with-suexec-gidmin=500 \
786         --with-suexec-umask=077 \
787         --with-apr=%{_bindir}/apr-1-config \
788         --with-apr-util=%{_bindir}/apu-1-config \
789         %{?_with_external_pcre:--with-external-pcre}
790 %{__make}
791 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
792
793 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
794
795 cd ..
796 done
797
798 for mpm in metuxmpm peruser perchild worker; do
799         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
800                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
801                 echo "Build failed."
802                 exit 1
803         fi
804 done
805
806 %install
807 rm -rf $RPM_BUILD_ROOT
808 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
809         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
810
811 # prefork is default one
812 %{__make} -C buildmpm-prefork install \
813         DESTDIR=$RPM_BUILD_ROOT \
814         installbuilddir=%{_sysconfdir}/build \
815         prefix=%{_sysconfdir}/httpd \
816         libexecdir=%{_libdir}/%{name} \
817         iconsdir=%{_datadir}/icons \
818         errordir=%{_datadir}/error \
819         htdocsdir=%{_datadir}/html \
820         manualdir=%{_datadir}/manual \
821         cgidir=%{_datadir}/cgi-bin \
822         runtimedir=%{_var}/run \
823         logdir=%{_var}/log/httpd \
824         proxycachedir=%{_var}/cache/httpd
825
826 for mpm in metuxmpm peruser perchild worker; do
827         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
828         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
829 done
830
831 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
832
833 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
834 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
835 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
836
837 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
838 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
839
840 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
841         $RPM_BUILD_ROOT%{_libexecdir}/build
842
843 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
844 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
845 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
846 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
847 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
848 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
849
850 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
851 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
852 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
853 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
854
855 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
856
857 %if %{with ssl}
858 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
859 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
860 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
861 %endif
862
863 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
864
865 install %{SOURCE6} $CFG/10_httpd.conf
866 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
867 install %{SOURCE9} $CFG/25_mod_status.conf
868 install %{SOURCE10} $CFG/30_mod_proxy.conf
869 install %{SOURCE11} $CFG/35_mod_info.conf
870 install %{SOURCE12} $CFG/40_mod_ssl.conf
871 install %{SOURCE13} $CFG/45_mod_dav.conf
872 install %{SOURCE14} $CFG/59_mod_dir.conf
873 install %{SOURCE15} $CFG/13_mod_suexec.conf
874 install %{SOURCE16} $CFG/58_mod_deflate.conf
875 install %{SOURCE17} $CFG/57_mod_autoindex.conf
876
877 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
878 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
879 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
880 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
881 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
882 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
883 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
884 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
885 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
886 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
887 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
888 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
889 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
890 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
891 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
892 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
893 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
894 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
895 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
896
897 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
898 # let's remove trash (yes, *.html without lang suffix also contain trash)
899 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
900         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
901         | xargs rm -f
902
903 %clean
904 rm -rf $RPM_BUILD_ROOT
905
906 %pre
907 if [ -n "`getgid http`" ]; then
908         if [ "`getgid http`" != "51" ]; then
909                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
910                 exit 1
911         fi
912 else
913         /usr/sbin/groupadd -g 51 -r -f http
914 fi
915 if [ -n "`id -u http 2>/dev/null`" ]; then
916         if [ "`id -u http`" != "51" ]; then
917                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
918                 exit 1
919         fi
920 else
921         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
922 fi
923
924 %post
925 /sbin/ldconfig
926 /sbin/chkconfig --add httpd
927 umask 137
928 touch /var/log/httpd/{access,error,agent,referer}_log
929 if [ -f /var/lock/subsys/httpd ]; then
930         /etc/rc.d/init.d/httpd restart 1>&2
931 else
932         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
933 fi
934
935 %preun
936 if [ "$1" = "0" ]; then
937         if [ -f /var/lock/subsys/httpd ]; then
938                 /etc/rc.d/init.d/httpd stop 1>&2
939         fi
940         /sbin/chkconfig --del httpd
941 fi
942
943 %postun
944 /sbin/ldconfig
945 if [ "$1" = "0" ]; then
946         %userremove http
947         %groupremove http
948 fi
949
950 %triggerpostun -- %{name} <= 2.0.50-6
951 echo "WARNING!!!"
952 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
953 echo "If you want to have the same functionality do:"
954 echo "poldek --upgrade %{name}-mod_autoindex"
955 echo
956
957 %post mod_actions
958 if [ -f /var/lock/subsys/httpd ]; then
959         /etc/rc.d/init.d/httpd restart 1>&2
960 else
961         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
962 fi
963
964 %preun mod_actions
965 if [ "$1" = "0" ]; then
966         if [ -f /var/lock/subsys/httpd ]; then
967                 /etc/rc.d/init.d/httpd restart 1>&2
968         fi
969 fi
970
971 %post mod_auth
972 if [ -f /var/lock/subsys/httpd ]; then
973         /etc/rc.d/init.d/httpd restart 1>&2
974 else
975         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
976 fi
977
978 %preun mod_auth
979 if [ "$1" = "0" ]; then
980         if [ -f /var/lock/subsys/httpd ]; then
981                 /etc/rc.d/init.d/httpd restart 1>&2
982         fi
983 fi
984
985 %post mod_auth_anon
986 if [ -f /var/lock/subsys/httpd ]; then
987         /etc/rc.d/init.d/httpd restart 1>&2
988 else
989         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
990 fi
991
992 %preun mod_auth_anon
993 if [ "$1" = "0" ]; then
994         if [ -f /var/lock/subsys/httpd ]; then
995                 /etc/rc.d/init.d/httpd restart 1>&2
996         fi
997 fi
998
999 %post mod_auth_dbm
1000 if [ -f /var/lock/subsys/httpd ]; then
1001         /etc/rc.d/init.d/httpd restart 1>&2
1002 else
1003         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1004 fi
1005
1006 %preun mod_auth_dbm
1007 if [ "$1" = "0" ]; then
1008         if [ -f /var/lock/subsys/httpd ]; then
1009                 /etc/rc.d/init.d/httpd restart 1>&2
1010         fi
1011 fi
1012
1013 %post mod_autoindex
1014 if [ -f /var/lock/subsys/httpd ]; then
1015         /etc/rc.d/init.d/httpd restart 1>&2
1016 else
1017         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1018 fi
1019
1020 %preun mod_autoindex
1021 if [ "$1" = "0" ]; then
1022         if [ -f /var/lock/subsys/httpd ]; then
1023                 /etc/rc.d/init.d/httpd restart 1>&2
1024         fi
1025 fi
1026
1027 %post mod_cache
1028 if [ -f /var/lock/subsys/httpd ]; then
1029         /etc/rc.d/init.d/httpd restart 1>&2
1030 else
1031         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1032 fi
1033
1034 %preun mod_cache
1035 if [ "$1" = "0" ]; then
1036         if [ -f /var/lock/subsys/httpd ]; then
1037                 /etc/rc.d/init.d/httpd restart 1>&2
1038         fi
1039 fi
1040
1041 %post mod_cgid
1042 if [ -f /var/lock/subsys/httpd ]; then
1043         /etc/rc.d/init.d/httpd restart 1>&2
1044 else
1045         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1046 fi
1047
1048 %preun mod_cgid
1049 if [ "$1" = "0" ]; then
1050         if [ -f /var/lock/subsys/httpd ]; then
1051                 /etc/rc.d/init.d/httpd restart 1>&2
1052         fi
1053 fi
1054
1055 %post mod_charset_lite
1056 if [ -f /var/lock/subsys/httpd ]; then
1057         /etc/rc.d/init.d/httpd restart 1>&2
1058 else
1059         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1060 fi
1061
1062 %preun mod_charset_lite
1063 if [ "$1" = "0" ]; then
1064         if [ -f /var/lock/subsys/httpd ]; then
1065                 /etc/rc.d/init.d/httpd restart 1>&2
1066         fi
1067 fi
1068
1069 %post mod_dav
1070 if [ -f /var/lock/subsys/httpd ]; then
1071         /etc/rc.d/init.d/httpd restart 1>&2
1072 else
1073         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1074 fi
1075
1076 %preun mod_dav
1077 if [ "$1" = "0" ]; then
1078         if [ -f /var/lock/subsys/httpd ]; then
1079                 /etc/rc.d/init.d/httpd restart 1>&2
1080         fi
1081 fi
1082
1083 %post mod_auth_digest
1084 if [ -f /var/lock/subsys/httpd ]; then
1085         /etc/rc.d/init.d/httpd restart 1>&2
1086 else
1087         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1088 fi
1089
1090 %preun mod_auth_digest
1091 if [ "$1" = "0" ]; then
1092         if [ -f /var/lock/subsys/httpd ]; then
1093                 /etc/rc.d/init.d/httpd restart 1>&2
1094         fi
1095 fi
1096
1097 %post mod_deflate
1098 if [ -f /var/lock/subsys/httpd ]; then
1099         /etc/rc.d/init.d/httpd restart 1>&2
1100 else
1101         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1102 fi
1103
1104 %preun mod_deflate
1105 if [ "$1" = "0" ]; then
1106         if [ -f /var/lock/subsys/httpd ]; then
1107                 /etc/rc.d/init.d/httpd restart 1>&2
1108         fi
1109 fi
1110
1111 %post mod_dir
1112 if [ -f /var/lock/subsys/httpd ]; then
1113         /etc/rc.d/init.d/httpd restart 1>&2
1114 else
1115         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1116 fi
1117
1118 %preun mod_dir
1119 if [ "$1" = "0" ]; then
1120         if [ -f /var/lock/subsys/httpd ]; then
1121                 /etc/rc.d/init.d/httpd restart 1>&2
1122         fi
1123 fi
1124
1125 %post mod_expires
1126 if [ -f /var/lock/subsys/httpd ]; then
1127         /etc/rc.d/init.d/httpd restart 1>&2
1128 else
1129         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1130 fi
1131
1132 %preun mod_expires
1133 if [ "$1" = "0" ]; then
1134         if [ -f /var/lock/subsys/httpd ]; then
1135                 /etc/rc.d/init.d/httpd restart 1>&2
1136         fi
1137 fi
1138
1139 %post mod_file_cache
1140 if [ -f /var/lock/subsys/httpd ]; then
1141         /etc/rc.d/init.d/httpd restart 1>&2
1142 else
1143         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1144 fi
1145
1146 %preun mod_file_cache
1147 if [ "$1" = "0" ]; then
1148         if [ -f /var/lock/subsys/httpd ]; then
1149                 /etc/rc.d/init.d/httpd restart 1>&2
1150         fi
1151 fi
1152
1153 %post mod_headers
1154 if [ -f /var/lock/subsys/httpd ]; then
1155         /etc/rc.d/init.d/httpd restart 1>&2
1156 else
1157         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1158 fi
1159
1160 %preun mod_headers
1161 if [ "$1" = "0" ]; then
1162         if [ -f /var/lock/subsys/httpd ]; then
1163                 /etc/rc.d/init.d/httpd restart 1>&2
1164         fi
1165 fi
1166
1167 %post mod_imap
1168 if [ -f /var/lock/subsys/httpd ]; then
1169         /etc/rc.d/init.d/httpd restart 1>&2
1170 else
1171         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1172 fi
1173
1174 %preun mod_imap
1175 if [ "$1" = "0" ]; then
1176         if [ -f /var/lock/subsys/httpd ]; then
1177                 /etc/rc.d/init.d/httpd restart 1>&2
1178         fi
1179 fi
1180
1181 %post mod_info
1182 if [ -f /var/lock/subsys/httpd ]; then
1183         /etc/rc.d/init.d/httpd restart 1>&2
1184 else
1185         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1186 fi
1187
1188 %preun mod_info
1189 if [ "$1" = "0" ]; then
1190         if [ -f /var/lock/subsys/httpd ]; then
1191                 /etc/rc.d/init.d/httpd restart 1>&2
1192         fi
1193 fi
1194
1195 %post mod_proxy
1196 if [ -f /var/lock/subsys/httpd ]; then
1197         /etc/rc.d/init.d/httpd restart 1>&2
1198 else
1199         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1200 fi
1201
1202 %preun mod_proxy
1203 if [ "$1" = "0" ]; then
1204         if [ -f /var/lock/subsys/httpd ]; then
1205                 /etc/rc.d/init.d/httpd restart 1>&2
1206         fi
1207 fi
1208
1209 %post mod_rewrite
1210 if [ -f /var/lock/subsys/httpd ]; then
1211         /etc/rc.d/init.d/httpd restart 1>&2
1212 else
1213         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1214 fi
1215
1216 %preun mod_rewrite
1217 if [ "$1" = "0" ]; then
1218         if [ -f /var/lock/subsys/httpd ]; then
1219                 /etc/rc.d/init.d/httpd restart 1>&2
1220         fi
1221 fi
1222
1223 %post mod_ssl
1224 if [ -f /var/lock/subsys/httpd ]; then
1225         /etc/rc.d/init.d/httpd restart 1>&2
1226 else
1227         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1228 fi
1229
1230 %preun mod_ssl
1231 if [ "$1" = "0" ]; then
1232         if [ -f /var/lock/subsys/httpd ]; then
1233                 /etc/rc.d/init.d/httpd restart 1>&2
1234         fi
1235 fi
1236
1237 %post mod_status
1238 if [ -f /var/lock/subsys/httpd ]; then
1239         /etc/rc.d/init.d/httpd restart 1>&2
1240 else
1241         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1242 fi
1243
1244 %preun mod_status
1245 if [ "$1" = "0" ]; then
1246         if [ -f /var/lock/subsys/httpd ]; then
1247                 /etc/rc.d/init.d/httpd restart 1>&2
1248         fi
1249 fi
1250
1251 %post mod_usertrack
1252 if [ -f /var/lock/subsys/httpd ]; then
1253         /etc/rc.d/init.d/httpd restart 1>&2
1254 else
1255         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1256 fi
1257
1258 %preun mod_usertrack
1259 if [ "$1" = "0" ]; then
1260         if [ -f /var/lock/subsys/httpd ]; then
1261                 /etc/rc.d/init.d/httpd restart 1>&2
1262         fi
1263 fi
1264
1265 %post mod_unique_id
1266 if [ -f /var/lock/subsys/httpd ]; then
1267         /etc/rc.d/init.d/httpd restart 1>&2
1268 else
1269         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1270 fi
1271
1272 %preun mod_unique_id
1273 if [ "$1" = "0" ]; then
1274         if [ -f /var/lock/subsys/httpd ]; then
1275                 /etc/rc.d/init.d/httpd restart 1>&2
1276         fi
1277 fi
1278
1279 %post mod_vhost_alias
1280 if [ -f /var/lock/subsys/httpd ]; then
1281         /etc/rc.d/init.d/httpd restart 1>&2
1282 else
1283         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1284 fi
1285
1286 %preun mod_vhost_alias
1287 if [ "$1" = "0" ]; then
1288         if [ -f /var/lock/subsys/httpd ]; then
1289                 /etc/rc.d/init.d/httpd restart 1>&2
1290         fi
1291 fi
1292
1293 %files
1294 %defattr(644,root,root,755)
1295 %doc ABOUT_APACHE CHANGES README
1296 %doc docs/conf/mime.types
1297
1298 %attr(754,root,root) /etc/rc.d/init.d/httpd
1299
1300 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1301 %attr(750,root,root) %dir %{_sysconfdir}/modules
1302 %attr(750,root,root) %dir %{_sysconfdir}/run
1303 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1304 %attr(640,root,root) %{_sysconfdir}/magic
1305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1306 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
1307 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1308
1309 %attr(755,root,root) %{_libexecdir}/mod_access.so
1310 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1311 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1312 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1313 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1314 %attr(755,root,root) %{_libexecdir}/mod_env.so
1315 %attr(755,root,root) %{_libexecdir}/mod_include.so
1316 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1317 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1318 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1319 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1320 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1321 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1322 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1323 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1324
1325 # look at TODO on top
1326 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1327 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1328 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1329 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1330 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1331 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1332 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1333 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1334
1335 %attr(755,root,root) %{_sbindir}/htdigest
1336
1337 %attr(755,root,root) %{_sbindir}/ab
1338 %attr(755,root,root) %{_sbindir}/apachectl
1339 %attr(755,root,root) %{_sbindir}/checkgid
1340 %attr(755,root,root) %{_sbindir}/httpd
1341 %attr(755,root,root) %{_sbindir}/httpd.*
1342 %attr(755,root,root) %{_sbindir}/logresolve
1343 %attr(755,root,root) %{_sbindir}/rotatelogs
1344
1345 %dir %attr(770,root,http) /var/run/apache
1346 %dir %attr(770,root,http) /var/cache/apache
1347
1348 %{_mandir}/man1/htdigest.1*
1349 %{_mandir}/man8/ab.8*
1350 %{_mandir}/man8/apachectl.8*
1351 %{_mandir}/man8/httpd.8*
1352 %{_mandir}/man8/logresolve.8*
1353 %{_mandir}/man8/rotatelogs.8*
1354
1355 %attr(750,root,logs) %dir /var/log/httpd
1356 %attr(750,root,logs) %dir /var/log/archiv/httpd
1357 %attr(640,root,logs) %ghost /var/log/httpd/*
1358
1359 %dir %{_datadir}
1360
1361 %attr(755,root,root) %dir %{_datadir}/html
1362 %{_datadir}/icons
1363 %attr(755,root,root) %{_datadir}/cgi-bin
1364
1365 %{_datadir}/error
1366
1367 %files doc
1368 %defattr(644,root,root,755)
1369 %dir %{_datadir}/manual
1370 %{_datadir}/manual/LICENSE
1371 %{_datadir}/manual/*.html.en
1372 %lang(de) %{_datadir}/manual/*.html.de
1373 %lang(es) %{_datadir}/manual/*.html.es
1374 %lang(fr) %{_datadir}/manual/*.html.fr
1375 %lang(ja) %{_datadir}/manual/*.html.ja*
1376 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1377 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1378 %dir %{_datadir}/manual/developer
1379 %{_datadir}/manual/developer/*.html.en
1380 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1381 %dir %{_datadir}/manual/faq
1382 %{_datadir}/manual/faq/*.html.en
1383 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1384 %dir %{_datadir}/manual/howto
1385 %{_datadir}/manual/howto/*.html.en
1386 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1387 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1388 %dir %{_datadir}/manual/images
1389 %{_datadir}/manual/images/[!m]*
1390 %dir %{_datadir}/manual/misc
1391 %{_datadir}/manual/misc/*.html.en
1392 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1393 %dir %{_datadir}/manual/mod
1394 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1395 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1396 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1397 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1398 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1399 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1400 %{_datadir}/manual/mod/module-dict.html.en
1401 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1402 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1403 %{_datadir}/manual/mod/mpm_common.html.en
1404 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1405 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1406 %{_datadir}/manual/mod/mod_access.html.en
1407 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1408 %{_datadir}/manual/mod/mod_alias.html.en
1409 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1410 %{_datadir}/manual/mod/mod_asis.html.en
1411 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1412 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1413 %{_datadir}/manual/mod/mod_autoindex.html.en
1414 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1415 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1416 %{_datadir}/manual/mod/mod_cern_meta.html.en
1417 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1418 %{_datadir}/manual/mod/mod_cgi.html.en
1419 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1420 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1421 %{_datadir}/manual/mod/mod_echo.html.en
1422 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1423 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1424 %{_datadir}/manual/mod/mod_env.html.en
1425 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1426 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1427 %{_datadir}/manual/mod/mod_ext_filter.html.en
1428 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1429 %{_datadir}/manual/mod/mod_include.html.en
1430 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1431 %{_datadir}/manual/mod/mod_log_config.html.en
1432 %{_datadir}/manual/mod/mod_log_forensic.html.en
1433 %{_datadir}/manual/mod/mod_mime*.html.en
1434 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1435 %{_datadir}/manual/mod/mod_negotiation.html.en
1436 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1437 %{_datadir}/manual/mod/mod_setenvif.html.en
1438 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1439 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1440 %{_datadir}/manual/mod/mod_speling.html.en
1441 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1442 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1443 %{_datadir}/manual/mod/mod_userdir.html.en
1444 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1445 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1446 %dir %{_datadir}/manual/programs
1447 %{_datadir}/manual/programs/*.html.en
1448 %lang(es) %{_datadir}/manual/programs/*.html.es
1449 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1450 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1451 %dir %{_datadir}/manual/style
1452 %{_datadir}/manual/style/css
1453
1454 %{_datadir}/manual/mod/mod_suexec.html.en
1455 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1456 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1457 %{_datadir}/manual/mod/mod_actions.html.en
1458 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1459 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1460 %{_datadir}/manual/mod/mod_auth.html.en
1461 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1462 %{_datadir}/manual/mod/mod_auth_anon.html.en
1463 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1464 %{_datadir}/manual/mod/mod_ldap.html.en
1465 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1466 %{_datadir}/manual/mod/mod_auth_digest.html.en
1467 %{_datadir}/manual/mod/mod_cache.html.en
1468 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1469 %{_datadir}/manual/mod/mod_disk_cache.html.en
1470 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1471 %{_datadir}/manual/mod/mod_mem_cache.html.en
1472 %{_datadir}/manual/mod/mod_cgid.html.en
1473 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1474 %{_datadir}/manual/mod/mod_charset_lite.html.en
1475 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1476 %{_datadir}/manual/mod/mod_dav*.html.en
1477 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1478 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1479 %{_datadir}/manual/mod/mod_deflate.html.en
1480 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1481 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1482 %{_datadir}/manual/mod/mod_dir.html.en
1483 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1484 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1485 %{_datadir}/manual/mod/mod_expires.html.en
1486 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1487 %{_datadir}/manual/mod/mod_file_cache.html.en
1488 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1489 %{_datadir}/manual/mod/mod_headers.html.en
1490 %{_datadir}/manual/mod/mod_imap.html.en
1491 %{_datadir}/manual/mod/mod_info.html.en
1492 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1493 %{_datadir}/manual/mod/mod_proxy*.html.en
1494 %{_datadir}/manual/mod/mod_rewrite.html.en
1495 %{_datadir}/manual/images/mod_rewrite*
1496 %dir %{_datadir}/manual/ssl
1497 %{_datadir}/manual/ssl/*.gif
1498 %{_datadir}/manual/ssl/*.png
1499 %{_datadir}/manual/ssl/*.html.en
1500 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1501 %{_datadir}/manual/mod/mod_ssl.html.en
1502 %{_datadir}/manual/mod/mod_status.html.en
1503 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1504 %{_datadir}/manual/mod/mod_usertrack.html.en
1505 %{_datadir}/manual/mod/mod_unique_id.html.en
1506 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1507 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1508 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1509 %dir %{_datadir}/manual/vhosts
1510 %{_datadir}/manual/vhosts/*.html.en
1511 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1512 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1513 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1514 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1515 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1516
1517 %files suexec
1518 %defattr(644,root,root,755)
1519 %attr(4755,root,root) %{_sbindir}/suexec
1520 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1521 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1522 %{_mandir}/man8/suexec.8*
1523
1524 %files index
1525 %defattr(644,root,root,755)
1526 %config(noreplace,missingok) %{_datadir}/html/index.html*
1527 %{_datadir}/html/*.gif
1528 %{_datadir}/html/*.png
1529
1530 %files apxs
1531 %defattr(644,root,root,755)
1532 %attr(755,root,root) %{_sbindir}/apxs
1533 %attr(755,root,root) %{_sbindir}/envvars*
1534 %attr(751,root,root) %dir %{_sysconfdir}
1535 %dir %{_libexecdir}
1536 %dir %{_libexecdir}/build
1537 %{_libexecdir}/build/config_vars.mk
1538 %{_mandir}/man8/apxs.8*
1539
1540 %files devel
1541 %defattr(644,root,root,755)
1542 %{_includedir}
1543 %{_libexecdir}/*.exp
1544 %attr(750,root,root) %dir %{_sysconfdir}/build
1545 %{_libexecdir}/build/[lprs]*.mk
1546 %attr(755,root,root) %{_libexecdir}/build/*.sh
1547 %attr(755,root,root) %{_libexecdir}/build/libtool
1548
1549 %files mod_actions
1550 %defattr(644,root,root,755)
1551 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1552 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1553
1554 %files mod_auth
1555 %defattr(644,root,root,755)
1556 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1557 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1558 %attr(755,root,root) %{_sbindir}/htpasswd
1559 %{_mandir}/man1/htpasswd.1*
1560
1561 %files mod_auth_anon
1562 %defattr(644,root,root,755)
1563 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1564 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1565
1566 %if %{with ldap}
1567 %files mod_auth_ldap
1568 %defattr(644,root,root,755)
1569 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1570 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1571 %endif
1572
1573 %if %{with ldap}
1574 %files mod_ldap
1575 %defattr(644,root,root,755)
1576 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1577 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1578 %endif
1579
1580 %files mod_auth_dbm
1581 %defattr(644,root,root,755)
1582 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1583 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1584 %attr(755,root,root) %{_sbindir}/dbmmanage
1585 %attr(755,root,root) %{_sbindir}/htdbm
1586 %{_mandir}/man1/dbmmanage.1*
1587
1588 %files mod_auth_digest
1589 %defattr(644,root,root,755)
1590 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1591 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1592
1593 %files mod_autoindex
1594 %defattr(644,root,root,755)
1595 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1596 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1597
1598 %files mod_cache
1599 %defattr(644,root,root,755)
1600 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1601 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1602 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1603 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1604
1605 %files mod_cgid
1606 %defattr(644,root,root,755)
1607 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1608 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1609
1610 %files mod_charset_lite
1611 %defattr(644,root,root,755)
1612 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1613 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1614
1615 %files mod_dav
1616 %defattr(644,root,root,755)
1617 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1618 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1619
1620 %files mod_deflate
1621 %defattr(644,root,root,755)
1622 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1623 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1624
1625 %files mod_dir
1626 %defattr(644,root,root,755)
1627 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1628 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1629
1630 %files mod_expires
1631 %defattr(644,root,root,755)
1632 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1633 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1634
1635 %files mod_file_cache
1636 %defattr(644,root,root,755)
1637 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1638 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1639
1640 %files mod_headers
1641 %defattr(644,root,root,755)
1642 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1643 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1644
1645 %files mod_imap
1646 %defattr(644,root,root,755)
1647 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1648 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1649
1650 %files mod_info
1651 %defattr(644,root,root,755)
1652 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1653 %attr(755,root,root) %{_libexecdir}/mod_info.so
1654
1655 %files mod_proxy
1656 %defattr(644,root,root,755)
1657 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1658 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1659
1660 %files mod_rewrite
1661 %defattr(644,root,root,755)
1662 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1663 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1664
1665 %if %{with ssl}
1666 %files mod_ssl
1667 %defattr(644,root,root,755)
1668 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1669 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1670 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1671 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1672 %endif
1673
1674 %files mod_status
1675 %defattr(644,root,root,755)
1676 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1677 %attr(755,root,root) %{_libexecdir}/mod_status.so
1678
1679 %files mod_usertrack
1680 %defattr(644,root,root,755)
1681 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1682 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1683
1684 %files mod_unique_id
1685 %defattr(644,root,root,755)
1686 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1687 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1688
1689 %files mod_vhost_alias
1690 %defattr(644,root,root,755)
1691 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1692 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 0.140878 seconds and 3 git commands to generate.