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