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