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