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