]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- rel 2; fix segfaults in graceful restarts
[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.159
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 if [ -n "`/usr/bin/getgid http`" ]; then
972         if [ "`/usr/bin/getgid http`" != "51" ]; then
973                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
974                 exit 1
975         fi
976 else
977         /usr/sbin/groupadd -g 51 http
978 fi
979 if [ -n "`/bin/id -u http 2>/dev/null`" ]; then
980         if [ "`/bin/id -u http`" != "51" ]; then
981                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
982                 exit 1
983         fi
984 else
985         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
986 fi
987
988 %post
989 /sbin/chkconfig --add httpd
990 umask 137
991 touch /var/log/httpd/{access,error,agent,referer}_log
992 if [ -f /var/lock/subsys/httpd ]; then
993         /etc/rc.d/init.d/httpd restart 1>&2
994 else
995         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
996 fi
997
998 %preun
999 if [ "$1" = "0" ]; then
1000         if [ -f /var/lock/subsys/httpd ]; then
1001                 /etc/rc.d/init.d/httpd stop 1>&2
1002         fi
1003         /sbin/chkconfig --del httpd
1004 fi
1005
1006 %postun
1007 if [ "$1" = "0" ]; then
1008         %userremove http
1009         %groupremove http
1010 fi
1011
1012 %triggerpostun -- %{name} <= 2.0.50-6
1013 echo "WARNING!!!"
1014 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
1015 echo "If you want to have the same functionality do:"
1016 echo "poldek --upgrade %{name}-mod_autoindex"
1017 echo
1018
1019 %post mod_actions
1020 if [ -f /var/lock/subsys/httpd ]; then
1021         /etc/rc.d/init.d/httpd restart 1>&2
1022 else
1023         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1024 fi
1025
1026 %preun mod_actions
1027 if [ "$1" = "0" ]; then
1028         if [ -f /var/lock/subsys/httpd ]; then
1029                 /etc/rc.d/init.d/httpd restart 1>&2
1030         fi
1031 fi
1032
1033 %post mod_auth
1034 if [ -f /var/lock/subsys/httpd ]; then
1035         /etc/rc.d/init.d/httpd restart 1>&2
1036 else
1037         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1038 fi
1039
1040 %preun mod_auth
1041 if [ "$1" = "0" ]; then
1042         if [ -f /var/lock/subsys/httpd ]; then
1043                 /etc/rc.d/init.d/httpd restart 1>&2
1044         fi
1045 fi
1046
1047 %post mod_auth_anon
1048 if [ -f /var/lock/subsys/httpd ]; then
1049         /etc/rc.d/init.d/httpd restart 1>&2
1050 else
1051         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1052 fi
1053
1054 %preun mod_auth_anon
1055 if [ "$1" = "0" ]; then
1056         if [ -f /var/lock/subsys/httpd ]; then
1057                 /etc/rc.d/init.d/httpd restart 1>&2
1058         fi
1059 fi
1060
1061 %post mod_auth_dbm
1062 if [ -f /var/lock/subsys/httpd ]; then
1063         /etc/rc.d/init.d/httpd restart 1>&2
1064 else
1065         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1066 fi
1067
1068 %preun mod_auth_dbm
1069 if [ "$1" = "0" ]; then
1070         if [ -f /var/lock/subsys/httpd ]; then
1071                 /etc/rc.d/init.d/httpd restart 1>&2
1072         fi
1073 fi
1074
1075 %post mod_autoindex
1076 if [ -f /var/lock/subsys/httpd ]; then
1077         /etc/rc.d/init.d/httpd restart 1>&2
1078 else
1079         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1080 fi
1081
1082 %preun mod_autoindex
1083 if [ "$1" = "0" ]; then
1084         if [ -f /var/lock/subsys/httpd ]; then
1085                 /etc/rc.d/init.d/httpd restart 1>&2
1086         fi
1087 fi
1088
1089 %post mod_cache
1090 if [ -f /var/lock/subsys/httpd ]; then
1091         /etc/rc.d/init.d/httpd restart 1>&2
1092 else
1093         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1094 fi
1095
1096 %preun mod_cache
1097 if [ "$1" = "0" ]; then
1098         if [ -f /var/lock/subsys/httpd ]; then
1099                 /etc/rc.d/init.d/httpd restart 1>&2
1100         fi
1101 fi
1102
1103 %post mod_cgid
1104 if [ -f /var/lock/subsys/httpd ]; then
1105         /etc/rc.d/init.d/httpd restart 1>&2
1106 else
1107         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1108 fi
1109
1110 %preun mod_cgid
1111 if [ "$1" = "0" ]; then
1112         if [ -f /var/lock/subsys/httpd ]; then
1113                 /etc/rc.d/init.d/httpd restart 1>&2
1114         fi
1115 fi
1116
1117 %post mod_charset_lite
1118 if [ -f /var/lock/subsys/httpd ]; then
1119         /etc/rc.d/init.d/httpd restart 1>&2
1120 else
1121         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1122 fi
1123
1124 %preun mod_charset_lite
1125 if [ "$1" = "0" ]; then
1126         if [ -f /var/lock/subsys/httpd ]; then
1127                 /etc/rc.d/init.d/httpd restart 1>&2
1128         fi
1129 fi
1130
1131 %post mod_dav
1132 if [ -f /var/lock/subsys/httpd ]; then
1133         /etc/rc.d/init.d/httpd restart 1>&2
1134 else
1135         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1136 fi
1137
1138 %preun mod_dav
1139 if [ "$1" = "0" ]; then
1140         if [ -f /var/lock/subsys/httpd ]; then
1141                 /etc/rc.d/init.d/httpd restart 1>&2
1142         fi
1143 fi
1144
1145 %post mod_auth_digest
1146 if [ -f /var/lock/subsys/httpd ]; then
1147         /etc/rc.d/init.d/httpd restart 1>&2
1148 else
1149         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1150 fi
1151
1152 %preun mod_auth_digest
1153 if [ "$1" = "0" ]; then
1154         if [ -f /var/lock/subsys/httpd ]; then
1155                 /etc/rc.d/init.d/httpd restart 1>&2
1156         fi
1157 fi
1158
1159 %post mod_deflate
1160 if [ -f /var/lock/subsys/httpd ]; then
1161         /etc/rc.d/init.d/httpd restart 1>&2
1162 else
1163         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1164 fi
1165
1166 %preun mod_deflate
1167 if [ "$1" = "0" ]; then
1168         if [ -f /var/lock/subsys/httpd ]; then
1169                 /etc/rc.d/init.d/httpd restart 1>&2
1170         fi
1171 fi
1172
1173 %post mod_dir
1174 if [ -f /var/lock/subsys/httpd ]; then
1175         /etc/rc.d/init.d/httpd restart 1>&2
1176 else
1177         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1178 fi
1179
1180 %preun mod_dir
1181 if [ "$1" = "0" ]; then
1182         if [ -f /var/lock/subsys/httpd ]; then
1183                 /etc/rc.d/init.d/httpd restart 1>&2
1184         fi
1185 fi
1186
1187 %post mod_expires
1188 if [ -f /var/lock/subsys/httpd ]; then
1189         /etc/rc.d/init.d/httpd restart 1>&2
1190 else
1191         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1192 fi
1193
1194 %preun mod_expires
1195 if [ "$1" = "0" ]; then
1196         if [ -f /var/lock/subsys/httpd ]; then
1197                 /etc/rc.d/init.d/httpd restart 1>&2
1198         fi
1199 fi
1200
1201 %post mod_file_cache
1202 if [ -f /var/lock/subsys/httpd ]; then
1203         /etc/rc.d/init.d/httpd restart 1>&2
1204 else
1205         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1206 fi
1207
1208 %preun mod_file_cache
1209 if [ "$1" = "0" ]; then
1210         if [ -f /var/lock/subsys/httpd ]; then
1211                 /etc/rc.d/init.d/httpd restart 1>&2
1212         fi
1213 fi
1214
1215 %post mod_headers
1216 if [ -f /var/lock/subsys/httpd ]; then
1217         /etc/rc.d/init.d/httpd restart 1>&2
1218 else
1219         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1220 fi
1221
1222 %preun mod_headers
1223 if [ "$1" = "0" ]; then
1224         if [ -f /var/lock/subsys/httpd ]; then
1225                 /etc/rc.d/init.d/httpd restart 1>&2
1226         fi
1227 fi
1228
1229 %post mod_imap
1230 if [ -f /var/lock/subsys/httpd ]; then
1231         /etc/rc.d/init.d/httpd restart 1>&2
1232 else
1233         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1234 fi
1235
1236 %preun mod_imap
1237 if [ "$1" = "0" ]; then
1238         if [ -f /var/lock/subsys/httpd ]; then
1239                 /etc/rc.d/init.d/httpd restart 1>&2
1240         fi
1241 fi
1242
1243 %post mod_info
1244 if [ -f /var/lock/subsys/httpd ]; then
1245         /etc/rc.d/init.d/httpd restart 1>&2
1246 else
1247         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1248 fi
1249
1250 %preun mod_info
1251 if [ "$1" = "0" ]; then
1252         if [ -f /var/lock/subsys/httpd ]; then
1253                 /etc/rc.d/init.d/httpd restart 1>&2
1254         fi
1255 fi
1256
1257 %post mod_proxy
1258 if [ -f /var/lock/subsys/httpd ]; then
1259         /etc/rc.d/init.d/httpd restart 1>&2
1260 else
1261         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1262 fi
1263
1264 %preun mod_proxy
1265 if [ "$1" = "0" ]; then
1266         if [ -f /var/lock/subsys/httpd ]; then
1267                 /etc/rc.d/init.d/httpd restart 1>&2
1268         fi
1269 fi
1270
1271 %post mod_rewrite
1272 if [ -f /var/lock/subsys/httpd ]; then
1273         /etc/rc.d/init.d/httpd restart 1>&2
1274 else
1275         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1276 fi
1277
1278 %preun mod_rewrite
1279 if [ "$1" = "0" ]; then
1280         if [ -f /var/lock/subsys/httpd ]; then
1281                 /etc/rc.d/init.d/httpd restart 1>&2
1282         fi
1283 fi
1284
1285 %post mod_ssl
1286 if [ -f /var/lock/subsys/httpd ]; then
1287         /etc/rc.d/init.d/httpd restart 1>&2
1288 else
1289         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1290 fi
1291
1292 %preun mod_ssl
1293 if [ "$1" = "0" ]; then
1294         if [ -f /var/lock/subsys/httpd ]; then
1295                 /etc/rc.d/init.d/httpd restart 1>&2
1296         fi
1297 fi
1298
1299 %post mod_status
1300 if [ -f /var/lock/subsys/httpd ]; then
1301         /etc/rc.d/init.d/httpd restart 1>&2
1302 else
1303         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1304 fi
1305
1306 %preun mod_status
1307 if [ "$1" = "0" ]; then
1308         if [ -f /var/lock/subsys/httpd ]; then
1309                 /etc/rc.d/init.d/httpd restart 1>&2
1310         fi
1311 fi
1312
1313 %post mod_usertrack
1314 if [ -f /var/lock/subsys/httpd ]; then
1315         /etc/rc.d/init.d/httpd restart 1>&2
1316 else
1317         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1318 fi
1319
1320 %preun mod_usertrack
1321 if [ "$1" = "0" ]; then
1322         if [ -f /var/lock/subsys/httpd ]; then
1323                 /etc/rc.d/init.d/httpd restart 1>&2
1324         fi
1325 fi
1326
1327 %post mod_unique_id
1328 if [ -f /var/lock/subsys/httpd ]; then
1329         /etc/rc.d/init.d/httpd restart 1>&2
1330 else
1331         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1332 fi
1333
1334 %preun mod_unique_id
1335 if [ "$1" = "0" ]; then
1336         if [ -f /var/lock/subsys/httpd ]; then
1337                 /etc/rc.d/init.d/httpd restart 1>&2
1338         fi
1339 fi
1340
1341 %post mod_vhost_alias
1342 if [ -f /var/lock/subsys/httpd ]; then
1343         /etc/rc.d/init.d/httpd restart 1>&2
1344 else
1345         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1346 fi
1347
1348 %preun mod_vhost_alias
1349 if [ "$1" = "0" ]; then
1350         if [ -f /var/lock/subsys/httpd ]; then
1351                 /etc/rc.d/init.d/httpd restart 1>&2
1352         fi
1353 fi
1354
1355 %files
1356 %defattr(644,root,root,755)
1357 %doc ABOUT_APACHE CHANGES README
1358 %doc docs/conf/mime.types
1359
1360 %attr(754,root,root) /etc/rc.d/init.d/httpd
1361
1362 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1363 %attr(750,root,root) %dir %{_sysconfdir}/modules
1364 %attr(750,root,root) %dir %{_sysconfdir}/run
1365 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_httpd.conf
1366 %attr(640,root,root) %{_sysconfdir}/magic
1367 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1368 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
1369 %attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
1370
1371 %attr(755,root,root) %{_libexecdir}/mod_access.so
1372 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1373 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1374 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1375 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1376 %attr(755,root,root) %{_libexecdir}/mod_env.so
1377 %attr(755,root,root) %{_libexecdir}/mod_include.so
1378 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1379 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1380 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1381 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1382 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1383 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1384 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1385 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1386
1387 # look at TODO on top
1388 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1389 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1390 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1391 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1392 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1393 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1394 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1395 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1396
1397 %attr(755,root,root) %{_sbindir}/htdigest
1398
1399 %attr(755,root,root) %{_sbindir}/ab
1400 %attr(755,root,root) %{_sbindir}/apachectl
1401 %attr(755,root,root) %{_sbindir}/checkgid
1402 %attr(755,root,root) %{_sbindir}/httpd
1403 %attr(755,root,root) %{_sbindir}/httpd.*
1404 %attr(755,root,root) %{_sbindir}/logresolve
1405 %attr(755,root,root) %{_sbindir}/rotatelogs
1406
1407 %dir %attr(770,root,http) /var/run/apache
1408 %dir %attr(770,root,http) /var/cache/apache
1409
1410 %{_mandir}/man1/htdigest.1*
1411 %{_mandir}/man8/ab.8*
1412 %{_mandir}/man8/apachectl.8*
1413 %{_mandir}/man8/httpd.8*
1414 %{_mandir}/man8/logresolve.8*
1415 %{_mandir}/man8/rotatelogs.8*
1416
1417 %attr(2750,root,logs) %dir /var/log/httpd
1418 %attr(2750,root,logs) %dir /var/log/archiv/httpd
1419 %attr(640,root,logs) %ghost /var/log/httpd/*
1420
1421 %dir %{_datadir}
1422
1423 %attr(755,root,root) %dir %{_datadir}/html
1424 %{_datadir}/icons
1425 %attr(755,root,root) %{_datadir}/cgi-bin
1426
1427 %{_datadir}/error
1428
1429 %files doc
1430 %defattr(644,root,root,755)
1431 %dir %{_datadir}/manual
1432 %{_datadir}/manual/LICENSE
1433 %{_datadir}/manual/*.html.en
1434 %lang(de) %{_datadir}/manual/*.html.de
1435 %lang(es) %{_datadir}/manual/*.html.es
1436 %lang(fr) %{_datadir}/manual/*.html.fr
1437 %lang(ja) %{_datadir}/manual/*.html.ja*
1438 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1439 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1440 %dir %{_datadir}/manual/developer
1441 %{_datadir}/manual/developer/*.html.en
1442 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1443 %dir %{_datadir}/manual/faq
1444 %{_datadir}/manual/faq/*.html.en
1445 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1446 %dir %{_datadir}/manual/howto
1447 %{_datadir}/manual/howto/*.html.en
1448 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1449 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1450 %dir %{_datadir}/manual/images
1451 %{_datadir}/manual/images/[!m]*
1452 %dir %{_datadir}/manual/misc
1453 %{_datadir}/manual/misc/*.html.en
1454 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1455 %dir %{_datadir}/manual/mod
1456 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1457 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1458 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1459 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1460 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1461 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1462 %{_datadir}/manual/mod/module-dict.html.en
1463 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1464 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1465 %{_datadir}/manual/mod/mpm_common.html.en
1466 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1467 %lang(es) %{_datadir}/manual/mod/mpm_common.html.es
1468 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1469 %{_datadir}/manual/mod/mod_access.html.en
1470 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1471 %{_datadir}/manual/mod/mod_alias.html.en
1472 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1473 %lang(ko) %{_datadir}/manual/mod/mod_alias.html.ko.euc-kr
1474 %{_datadir}/manual/mod/mod_asis.html.en
1475 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1476 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1477 %{_datadir}/manual/mod/mod_autoindex.html.en
1478 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1479 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1480 %{_datadir}/manual/mod/mod_cern_meta.html.en
1481 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1482 %{_datadir}/manual/mod/mod_cgi.html.en
1483 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1484 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1485 %{_datadir}/manual/mod/mod_echo.html.en
1486 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1487 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1488 %{_datadir}/manual/mod/mod_env.html.en
1489 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1490 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1491 %{_datadir}/manual/mod/mod_ext_filter.html.en
1492 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1493 %{_datadir}/manual/mod/mod_include.html.en
1494 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1495 %{_datadir}/manual/mod/mod_log_config.html.en
1496 %lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.euc-jp
1497 %lang(ko) %{_datadir}/manual/mod/mod_log_config.html.ko.euc-kr
1498 %{_datadir}/manual/mod/mod_log_forensic.html.en
1499 %{_datadir}/manual/mod/mod_mime*.html.en
1500 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1501 %{_datadir}/manual/mod/mod_negotiation.html.en
1502 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1503 %{_datadir}/manual/mod/mod_setenvif.html.en
1504 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1505 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1506 %{_datadir}/manual/mod/mod_speling.html.en
1507 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1508 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1509 %{_datadir}/manual/mod/mod_userdir.html.en
1510 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1511 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1512 %dir %{_datadir}/manual/programs
1513 %{_datadir}/manual/programs/*.html.en
1514 %lang(es) %{_datadir}/manual/programs/*.html.es
1515 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1516 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1517 %dir %{_datadir}/manual/style
1518 %{_datadir}/manual/style/css
1519
1520 %{_datadir}/manual/mod/mod_suexec.html.en
1521 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1522 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1523 %{_datadir}/manual/mod/mod_actions.html.en
1524 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1525 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1526 %{_datadir}/manual/mod/mod_auth.html.en
1527 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1528 %{_datadir}/manual/mod/mod_auth_anon.html.en
1529 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1530 %{_datadir}/manual/mod/mod_ldap.html.en
1531 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1532 %{_datadir}/manual/mod/mod_auth_digest.html.en
1533 %lang(ko) %{_datadir}/manual/mod/mod_auth_digest.html.ko.euc-kr
1534 %{_datadir}/manual/mod/mod_cache.html.en
1535 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1536 %{_datadir}/manual/mod/mod_disk_cache.html.en
1537 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1538 %{_datadir}/manual/mod/mod_mem_cache.html.en
1539 %lang(ko) %{_datadir}/manual/mod/mod_mem_cache.html.ko.euc-kr
1540 %{_datadir}/manual/mod/mod_cgid.html.en
1541 %lang(ja) %{_datadir}/manual/mod/mod_cgid.html.ja.euc-jp
1542 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1543 %{_datadir}/manual/mod/mod_charset_lite.html.en
1544 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1545 %{_datadir}/manual/mod/mod_dav*.html.en
1546 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1547 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1548 %{_datadir}/manual/mod/mod_deflate.html.en
1549 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1550 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1551 %{_datadir}/manual/mod/mod_dir.html.en
1552 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1553 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1554 %{_datadir}/manual/mod/mod_expires.html.en
1555 %lang(ja) %{_datadir}/manual/mod/mod_expires.html.ja.euc-jp
1556 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1557 %{_datadir}/manual/mod/mod_file_cache.html.en
1558 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1559 %{_datadir}/manual/mod/mod_headers.html.en
1560 %lang(ko) %{_datadir}/manual/mod/mod_headers.html.ko.euc-kr
1561 %{_datadir}/manual/mod/mod_imap.html.en
1562 %lang(ko) %{_datadir}/manual/mod/mod_imap.html.ko.euc-kr
1563 %{_datadir}/manual/mod/mod_info.html.en
1564 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1565 %lang(ko) %{_datadir}/manual/mod/mod_info.html.ko.euc-kr
1566 %{_datadir}/manual/mod/mod_proxy*.html.en
1567 %{_datadir}/manual/mod/mod_rewrite.html.en
1568 %{_datadir}/manual/mod/mod_so.html.en
1569 %lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.euc-jp
1570 %lang(ko) %{_datadir}/manual/mod/mod_so.html.ko.euc-kr
1571 %{_datadir}/manual/images/mod_rewrite*
1572 %dir %{_datadir}/manual/rewrite
1573 %{_datadir}/manual/rewrite/index.html.en
1574 %{_datadir}/manual/rewrite/rewrite_guide.html.en
1575 %{_datadir}/manual/rewrite/rewrite_guide_advanced.html.en
1576 %{_datadir}/manual/rewrite/rewrite_intro.html.en
1577 %{_datadir}/manual/rewrite/rewrite_tech.html.en
1578 %dir %{_datadir}/manual/ssl
1579 %{_datadir}/manual/ssl/*.html.en
1580 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1581 %{_datadir}/manual/mod/mod_ssl.html.en
1582 %{_datadir}/manual/mod/mod_status.html.en
1583 %lang(ja) %{_datadir}/manual/mod/mod_status.html.ja.euc-jp
1584 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1585 %{_datadir}/manual/mod/mod_usertrack.html.en
1586 %{_datadir}/manual/mod/mod_unique_id.html.en
1587 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1588 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1589 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1590 %dir %{_datadir}/manual/vhosts
1591 %{_datadir}/manual/vhosts/*.html.en
1592 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1593 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1594 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1595 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1596 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1597
1598 %files suexec
1599 %defattr(644,root,root,755)
1600 %attr(4755,root,root) %{_sbindir}/suexec
1601 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1602 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1603 %{_mandir}/man8/suexec.8*
1604
1605 %files index
1606 %defattr(644,root,root,755)
1607 %config(noreplace,missingok) %{_datadir}/html/index.html*
1608 %{_datadir}/html/*.gif
1609 %{_datadir}/html/*.png
1610
1611 %files apxs
1612 %defattr(644,root,root,755)
1613 %attr(755,root,root) %{_sbindir}/apxs
1614 %attr(755,root,root) %{_sbindir}/envvars*
1615 %attr(751,root,root) %dir %{_sysconfdir}
1616 %dir %{_libexecdir}
1617 %dir %{_libexecdir}/build
1618 %{_libexecdir}/build/config_vars.mk
1619 %{_mandir}/man8/apxs.8*
1620
1621 %files devel
1622 %defattr(644,root,root,755)
1623 %{_includedir}
1624 %{_libexecdir}/*.exp
1625 %attr(750,root,root) %dir %{_sysconfdir}/build
1626 %{_libexecdir}/build/[lprs]*.mk
1627 %attr(755,root,root) %{_libexecdir}/build/*.sh
1628 %attr(755,root,root) %{_libexecdir}/build/libtool
1629
1630 %files mod_actions
1631 %defattr(644,root,root,755)
1632 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1633 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1634
1635 %files mod_auth
1636 %defattr(644,root,root,755)
1637 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1638 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1639
1640 %files mod_auth_anon
1641 %defattr(644,root,root,755)
1642 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1643 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1644
1645 %if %{with ldap}
1646 %files mod_auth_ldap
1647 %defattr(644,root,root,755)
1648 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1649 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1650 %endif
1651
1652 %if %{with ldap}
1653 %files mod_ldap
1654 %defattr(644,root,root,755)
1655 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1656 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1657 %endif
1658
1659 %files mod_auth_dbm
1660 %defattr(644,root,root,755)
1661 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1662 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1663 %attr(755,root,root) %{_sbindir}/dbmmanage
1664 %attr(755,root,root) %{_sbindir}/htdbm
1665 %{_mandir}/man1/dbmmanage.1*
1666
1667 %files mod_auth_digest
1668 %defattr(644,root,root,755)
1669 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1670 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1671
1672 %files mod_autoindex
1673 %defattr(644,root,root,755)
1674 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1675 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1676
1677 %files mod_cache
1678 %defattr(644,root,root,755)
1679 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1680 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1681 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1682 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1683
1684 %files mod_cgid
1685 %defattr(644,root,root,755)
1686 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1687 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1688
1689 %files mod_charset_lite
1690 %defattr(644,root,root,755)
1691 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1692 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1693
1694 %files mod_dav
1695 %defattr(644,root,root,755)
1696 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1697 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1698 %dir %attr(770,root,http) /var/lock/mod_dav
1699
1700 %files mod_deflate
1701 %defattr(644,root,root,755)
1702 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1703 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1704
1705 %files mod_dir
1706 %defattr(644,root,root,755)
1707 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1708 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1709
1710 %files mod_expires
1711 %defattr(644,root,root,755)
1712 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1713 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1714
1715 %files mod_file_cache
1716 %defattr(644,root,root,755)
1717 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1718 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1719
1720 %files mod_headers
1721 %defattr(644,root,root,755)
1722 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1723 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1724
1725 %files mod_imap
1726 %defattr(644,root,root,755)
1727 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1728 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1729
1730 %files mod_info
1731 %defattr(644,root,root,755)
1732 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1733 %attr(755,root,root) %{_libexecdir}/mod_info.so
1734
1735 %files mod_proxy
1736 %defattr(644,root,root,755)
1737 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1738 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1739
1740 %files mod_rewrite
1741 %defattr(644,root,root,755)
1742 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1743 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1744
1745 %if %{with ssl}
1746 %files mod_ssl
1747 %defattr(644,root,root,755)
1748 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1749 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
1750 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1751 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1752 %endif
1753
1754 %files mod_status
1755 %defattr(644,root,root,755)
1756 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1757 %attr(755,root,root) %{_libexecdir}/mod_status.so
1758
1759 %files mod_usertrack
1760 %defattr(644,root,root,755)
1761 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1762 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1763
1764 %files mod_unique_id
1765 %defattr(644,root,root,755)
1766 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1767 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1768
1769 %files mod_vhost_alias
1770 %defattr(644,root,root,755)
1771 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1772 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1773
1774 %files -n htpasswd-%{name}
1775 %defattr(644,root,root,755)
1776 %attr(755,root,root) %{_bindir}/htpasswd
1777 %{_sbindir}/htpasswd
1778 %{_mandir}/man1/htpasswd.1*
This page took 0.171754 seconds and 4 git commands to generate.