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