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