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