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