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