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