]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- don't stat() every documentroot
[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 # - find smart way to deregister module if its moved from main package
10 #   to subpackage (maybe test -f ?)
11 # - add %%post/%%postun to suexec
12 # - --with-suexec-gidmin=500 or =100 ?
13 # - --with-suexec-uidmin=500 or =1000 ?
14 # - subpackages for MPMs
15 # - check if all modules (*.so) are exactly the same for different MPMs
16 # - install stage fails with distcc (make -jN)
17 # - /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)
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.59
37 Release:        2
38 License:        Apache Group License
39 Group:          Networking/Daemons
40 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
41 # Source0-md5:  35a4cebaa6b4548f9a48375ea9629c8f
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.52-peruser-0.1.6.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 Patch25:        %{name}-bug-40970.patch
92 URL:            http://httpd.apache.org/
93 BuildRequires:  apr-devel >= 1:1.0.0
94 BuildRequires:  apr-util-devel >= 1:1.0.0
95 BuildRequires:  automake
96 BuildRequires:  db-devel
97 BuildRequires:  expat-devel
98 BuildRequires:  gdbm-devel >= 1.8.3
99 BuildRequires:  libtool >= 2:1.5
100 %{?with_ldap:BuildRequires:     openldap-devel}
101 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
102 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
103 %{?with_external_pcre:BuildRequires:    pcre-devel}
104 BuildRequires:  perl-devel >= 1:5.6
105 BuildRequires:  rpm-build >= 4.4.0
106 BuildRequires:  rpm-perlprov >= 4.1-13
107 BuildRequires:  rpmbuild(macros) >= 1.228
108 BuildRequires:  zlib-devel
109 Requires(post): fileutils
110 Requires(post,preun):   /sbin/chkconfig
111 Requires(postun):       /usr/sbin/groupdel
112 Requires(postun):       /usr/sbin/userdel
113 Requires(pre):  /bin/id
114 Requires(pre):  /usr/bin/getgid
115 Requires(pre):  /usr/sbin/groupadd
116 Requires(pre):  /usr/sbin/useradd
117 Requires:       /etc/mime.types
118 Requires:       /sbin/chkconfig
119 Requires:       apr >= 1:1.0.0-2
120 Requires:       mailcap
121 Requires:       perl-base
122 Requires:       psmisc >= 20.1
123 Requires:       rc-scripts >= 0.4.0.15
124 Provides:       apache(mod_access)
125 Provides:       apache(mod_alias)
126 Provides:       apache(mod_asis)
127 Provides:       apache(mod_cern_meta)
128 Provides:       apache(mod_cgi)
129 Provides:       apache(mod_env)
130 Provides:       apache(mod_include)
131 Provides:       apache(mod_log_config)
132 Provides:       apache(mod_mime)
133 Provides:       apache(mod_mime_magic)
134 Provides:       apache(mod_negotiation)
135 Provides:       apache(mod_setenvif)
136 Provides:       apache(mod_speling)
137 Provides:       apache(mod_userdir)
138 Provides:       apache(modules-api) = %{_apache_modules_api}
139 Provides:       apache-mod_mime = %{version}-%{release}
140 Provides:       group(http)
141 Provides:       httpd = %{version}
142 Provides:       user(http)
143 Provides:       webserver = apache
144 Obsoletes:      apache-extra
145 Obsoletes:      apache6
146 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
147 Conflicts:      rpm < 4.4.2-0.2
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 Requires:       %{name} = %{version}-%{release}
295 Provides:       apache(mod_actions) = %{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 Requires:       %{name} = %{version}-%{release}
311 Requires:       htpasswd
312 Provides:       apache(mod_auth) = %{version}-%{release}
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 Requires:       %{name} = %{version}-%{release}
327 Provides:       apache(mod_auth_anon) = %{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 Requires:       %{name} = %{version}-%{release}
351 Requires:       %{name}-mod_ldap = %{version}-%{release}
352 Provides:       apache(mod_auth_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 Requires:       %{name} = %{version}-%{release}
365 Provides:       apache(mod_auth_dbm) = %{version}-%{release}
366 Obsoletes:      apache-mod_auth_db
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 Requires:       %{name} = %{version}-%{release}
382 Provides:       apache(mod_auth_digest) = %{version}-%{release}
383 Obsoletes:      apache-mod_digest
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 Requires:       %{name} = %{version}-%{release}
398 Provides:       apache(mod_autoindex) = %{version}-%{release}
399
400 %description mod_autoindex
401 This package contains mod_autoindex module. It provides generation
402 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 Requires:       %{name} = %{version}-%{release}
412 Provides:       apache(mod_cache) = %{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 Requires:       %{name} = %{version}-%{release}
434 Provides:       apache(mod_cgid) = %{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 Requires:       %{name} = %{version}-%{release}
447 Provides:       apache(mod_charset_lite) = %{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 Requires:       %{name} = %{version}-%{release}
460 Provides:       apache(mod_dav) = %{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 Requires:       %{name} = %{version}-%{release}
479 Requires:       %{name}-mod_headers = %{version}-%{release}
480 Provides:       apache(mod_deflate) = %{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 Requires:       %{name} = %{version}-%{release}
493 Provides:       apache(mod_dir) = %{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 Requires:       %{name} = %{version}-%{release}
508 Provides:       apache(mod_headers) = %{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 Requires:       %{name} = %{version}-%{release}
524 Provides:       apache(mod_imap) = %{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 Requires:       %{name} = %{version}-%{release}
539 Provides:       apache(mod_info) = %{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 Requires:       %{name} = %{version}-%{release}
555 Provides:       apache(mod_ldap) = %{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_logio
564 Summary:        Apache module for logging of input and output bytes per request
565 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy logowanie liczby bajtów odebranych oraz wys³anych
566 Group:          Networking/Daemons
567 Requires:       %{name} = %{version}-%{release}
568 Provides:       apache(mod_logio) = %{version}-%{release}
569
570 %description mod_logio
571 This package contains mod_logio module. It allows to log number of
572 input and output bytes per request.
573
574 %description mod_logio -l pl
575 Modu³ pozwalaj±cy logowaæ ile bajtów zosta³o wys³anych lub odebranych
576 w danym zapytaniu.
577
578 %package mod_proxy
579 Summary:        Apache module with Web proxy
580 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
581 Group:          Networking/Daemons
582 Requires:       %{name} = %{version}-%{release}
583 Provides:       apache(mod_proxy) = %{version}-%{release}
584
585 %description mod_proxy
586 This package contains module with implementation a proxy/cache for
587 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
588 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
589 connect to other proxy modules for these and other protocols.
590
591 %description mod_proxy -l pl
592 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
593 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
594 HTTP/1.0 i HTTP/1.1.
595
596 %package mod_rewrite
597 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
598 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
599 Group:          Networking/Daemons
600 Requires:       %{name} = %{version}-%{release}
601 Provides:       apache(mod_rewrite) = %{version}-%{release}
602
603 %description mod_rewrite
604 This package contains It provides a rule-based rewriting engine to
605 rewrite requested URLs on the fly.
606
607 %description mod_rewrite -l pl
608 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
609
610 %package mod_ssl
611 Summary:        SSL/TLS module for the Apache HTTP server
612 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
613 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
614 Group:          Networking/Daemons
615 Epoch:          1
616 Requires:       %{name} = %{version}-%{release}
617 Provides:       apache(mod_ssl) = 1:%{version}-%{release}
618
619 %description mod_ssl
620 The mod_ssl module provides strong cryptography for the Apache Web
621 server via the Secure Sockets Layer (SSL) and Transport Layer Security
622 (TLS) protocols.
623
624 %description mod_ssl -l pl
625 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
626 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
627 Security).
628
629 %description mod_ssl -l ru
630 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
631 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
632
633 %package mod_status
634 Summary:        Server status report module for Apache
635 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
636 Group:          Networking/Daemons
637 Requires:       %{name} = %{version}-%{release}
638 Provides:       apache(mod_status) = %{version}-%{release}
639
640 %description mod_status
641 The Status module allows a server administrator to find out how well
642 their server is performing. A HTML page is presented that gives the
643 current server statistics in an easily readable form. If required this
644 page can be made to automatically refresh (given a compatible
645 browser).
646
647 %description mod_status -l pl
648 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
649 pracy serwera Apache (w postaci strony HTML).
650
651 %package mod_usertrack
652 Summary:        Apache module for user tracking using cookies
653 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
654 Group:          Networking/Daemons
655 Requires:       %{name} = %{version}-%{release}
656 Provides:       apache(mod_usertrack) = %{version}-%{release}
657
658 %description mod_usertrack
659 This package contains the user tracking module which did its own
660 logging using CookieLog directory. This module allow multiple log
661 files.
662
663 %description mod_usertrack -l pl
664 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
665
666 %package mod_vhost_alias
667 Summary:        Apache module for dynamically configured mass virtual hosting
668 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
669 Group:          Networking/Daemons
670 Requires:       %{name} = %{version}-%{release}
671 Provides:       apache(mod_vhost_alias) = %{version}-%{release}
672
673 %description mod_vhost_alias
674 This package contains the mod_vhost_alias. It provides support for
675 dynamically configured mass virtual hosting.
676
677 %description mod_vhost_alias -l pl
678 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
679 wirtualnych.
680
681 %package mod_unique_id
682 Summary:        Apache module which provides a magic token for each request
683 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
684 Group:          Networking/Daemons
685 Requires:       %{name} = %{version}-%{release}
686 Provides:       apache(mod_unique_id) = %{version}-%{release}
687
688 %description mod_unique_id
689 This package contains the mod_unique_id. This module provides a magic
690 token for each request which is guaranteed to be unique across "all"
691 requests under very specific conditions. The unique identifier is even
692 unique across multiple machines in a properly configured cluster of
693 machines. The environment variable UNIQUE_ID is set to the identifier
694 for each request. Unique identifiers are useful for various reasons
695 which are beyond the scope of this document.
696
697 %description mod_unique_id -l pl
698 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
699 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
700 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
701 UNIQUE_ID.
702
703 %package mod_expires
704 Summary:        Apache module which generates Expires HTTP headers
705 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
706 Group:          Networking/Daemons
707 Requires:       %{name} = %{version}-%{release}
708 Provides:       apache(mod_expires) = %{version}-%{release}
709
710 %description mod_expires
711 This module controls the setting of the Expires HTTP header in server
712 responses. The expiration date can set to be relative to either the
713 time the source file was last modified, or to the time of the client
714 access.
715
716 %description mod_expires -l pl
717 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
718 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
719 ¼ród³owych lub odwo³ania klienta.
720
721 %package mod_file_cache
722 Summary:        Apache module: caches a static list of files in memory
723 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
724 Group:          Networking/Daemons
725 Requires:       %{name} = %{version}-%{release}
726 Provides:       apache(mod_file_cache) = %{version}-%{release}
727 Obsoletes:      apache-mmap_static
728
729 %description mod_file_cache
730 Caches a static list of files in memory.
731
732 %description mod_file_cache -l pl
733 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
734
735 %package -n htpasswd-%{name}
736 Summary:        Apache 2 htpasswd utility: manage user files for basic authentication
737 Summary(pl):    Narzêdzie htpasswd z Apache'a 2 do zarz±dzania plikami uwierzytelnienia basic
738 Group:          Networking/Utilities
739 Provides:       htpasswd
740 Obsoletes:      htpasswd
741
742 %description -n htpasswd-%{name}
743 htpasswd is used to create and update the flat-files used to store
744 usernames and password for basic authentication of HTTP users. This
745 package contains htpasswd from Apache 2; this version supports
746 plaintext passwords and CRYPT (default), MD5 and SHA1 encryptions.
747
748 %description -n htpasswd-%{name} -l pl
749 htpasswd s³u¿y do tworzenia i uaktualniania plików tekstowych
750 s³u¿±cych do przechowywania nazw u¿ytkowników i hase³ do podstawowego
751 uwierzytelnienia u¿ytkowników HTTP. Ten pakiet zawiera htpasswd z
752 Apache'a 2; ta wersja obs³uguje has³a zapisane czystym tekstem oraz
753 zakodowane algorytmami CRYPT (domy¶lnym), MD5 i SHA1.
754
755 %package cgi_test
756 Summary:        cgi test/demo programs
757 Summary(pl):    Programy testowe/przyk³adowe cgi
758 Group:          Networking/Utilities
759 Requires:       %{name} = %{version}-%{release}
760 Requires:       FHS >= 2.3-12
761
762 %description cgi_test
763 Two cgi test/demo programs: test-cgi and print-env.
764
765 %description cgi_test -l pl
766 Dwa programy testowe/przyk³adowe cgi: test-cgi and print-env.
767
768 %prep
769 %setup -q -n httpd-%{version}
770 %patch0 -p1
771 %patch1 -p1
772 %patch2 -p1
773 %patch3 -p1
774 %patch4 -p1
775 %patch5 -p1
776 %patch7 -p1
777 %patch8 -p1
778 %patch9 -p1
779 %patch10 -p1
780 %patch11 -p1
781 %patch12 -p1
782 %patch13 -p1
783 %patch14 -p1
784 %patch15 -p1
785 %patch16 -p1
786 %patch17 -p1
787 %patch18 -p1
788 %patch19 -p1
789 %patch20 -p1
790 %patch21 -p1
791 %patch22 -p1
792 %patch23 -p1
793 %{?with_external_pcre:%patch24 -p2}
794 %patch25 -p0
795
796 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
797 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
798 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
799
800 %build
801 # sanity check
802 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
803 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
804         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
805         exit 1
806 fi
807 ./buildconf
808 rm -rf srclib/apr*
809 # Before configure; fix location of build dir in generated apxs
810 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
811         support/apxs.in
812 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
813 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
814 install /usr/share/automake/config.* build/
815 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
816 for mpm in metuxmpm peruser perchild prefork worker; do
817 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
818 ../%configure \
819         --prefix=%{_sysconfdir} \
820         --exec-prefix=%{_libexecdir} \
821         --with-installbuilddir=%{_libdir}/apache/build \
822         --enable-layout=PLD \
823         --enable-modules=all \
824         --enable-mods-shared=all \
825         --enable-auth-anon \
826         --enable-auth-dbm \
827         --enable-auth-digest \
828         --enable-file-cache \
829         --enable-echo \
830         --enable-cache \
831         --enable-charset-lite \
832         --enable-mem-cache \
833         --enable-disk-cache \
834         --enable-ext-filter \
835         --enable-case-filter \
836         --enable-case-filter-in \
837         --enable-deflate \
838         --with-z=%{_prefix} \
839         --enable-mime-magic \
840         --enable-cern-meta \
841         --enable-expires \
842         --enable-headers \
843         --enable-usertrack \
844         --enable-unique-id \
845         --enable-proxy \
846         --enable-proxy-connect \
847         --enable-proxy-ftp \
848         --enable-proxy-http \
849         %{?with_ssl:--enable-ssl} \
850         --enable-logio \
851         --enable-optional-hook-export \
852         --enable-optional-hook-import \
853         --enable-optional-fn-import \
854         --enable-optional-fn-export \
855         %{?with_ldap:--enable-ldap} \
856         %{?with_ldap:--enable-auth-ldap} \
857         --enable-dav \
858         --enable-info \
859         --enable-suexec \
860         --enable-cgi \
861         --enable-cgid \
862         --enable-dav-fs \
863         --enable-vhost-alias \
864         --enable-speling \
865         --enable-rewrite \
866         --enable-so \
867         --with-program-name=httpd.${mpm} \
868         --with-mpm=${mpm} \
869 %ifarch %{ix86}
870 %ifnarch i386 i486
871         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
872 %endif
873 %endif
874         --with-suexec-bin=%{_sbindir}/suexec \
875         --with-suexec-caller=http \
876         --with-suexec-docroot=%{_datadir} \
877         --with-suexec-logfile=/var/log/httpd/suexec_log \
878         --with-suexec-uidmin=500 \
879         --with-suexec-gidmin=500 \
880         --with-suexec-umask=077 \
881         --with-apr=%{_bindir}/apr-1-config \
882         --with-apr-util=%{_bindir}/apu-1-config \
883         %{?with_external_pcre:--with-external-pcre}
884
885 %{__make}
886 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
887
888 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
889
890 cd ..
891 done
892
893 for mpm in metuxmpm peruser perchild worker; do
894         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
895                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
896                 echo "Build failed."
897                 exit 1
898         fi
899 done
900
901 %install
902 rm -rf $RPM_BUILD_ROOT
903 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
904         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache,lock/mod_dav} \
905         $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d} \
906         $RPM_BUILD_ROOT%{_datadir}/cgi-bin
907
908 # prefork is default one
909 %{__make} -C buildmpm-prefork install \
910         DESTDIR=$RPM_BUILD_ROOT \
911         installbuilddir=%{_sysconfdir}/build \
912         prefix=%{_sysconfdir}/httpd \
913         libexecdir=%{_libdir}/%{name} \
914         iconsdir=%{_datadir}/icons \
915         errordir=%{_datadir}/error \
916         htdocsdir=%{_datadir}/html \
917         manualdir=%{_datadir}/manual \
918         cgidir=%{_cgibindir} \
919         runtimedir=%{_var}/run \
920         logdir=%{_var}/log/httpd \
921         proxycachedir=%{_var}/cache/httpd
922
923 for mpm in metuxmpm peruser perchild worker; do
924         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
925         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
926 done
927
928 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
929
930 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
931 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
932 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
933
934 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
935 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
936
937 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
938         $RPM_BUILD_ROOT%{_libexecdir}/build
939
940 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
941 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
942 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
943 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
944 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
945 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
946
947 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
948 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
949 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/httpd
950 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit/httpd.monitrc
951
952 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
953
954 %if %{with ssl}
955 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
956 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
957 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
958 %endif
959
960 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
961
962 install %{SOURCE6} $CFG/10_httpd.conf
963 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
964 install %{SOURCE9} $CFG/25_mod_status.conf
965 install %{SOURCE10} $CFG/30_mod_proxy.conf
966 install %{SOURCE11} $CFG/35_mod_info.conf
967 install %{SOURCE12} $CFG/40_mod_ssl.conf
968 install %{SOURCE13} $CFG/45_mod_dav.conf
969 install %{SOURCE14} $CFG/59_mod_dir.conf
970 install %{SOURCE15} $CFG/13_mod_suexec.conf
971 install %{SOURCE16} $CFG/58_mod_deflate.conf
972 install %{SOURCE17} $CFG/57_mod_autoindex.conf
973
974 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
975 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
976 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
977 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
978 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
979 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
980 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
981 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
982 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
983 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
984 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
985 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
986 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
987 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
988 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
989 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
990 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
991 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
992 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
993 echo "LoadModule logio_module   %{_libexecdir}/mod_logio.so" > $CFG/67_mod_logio.conf
994
995 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
996 # let's remove trash (yes, *.html without lang suffix also contain trash)
997 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
998         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
999         | xargs rm -f
1000
1001 # htpasswd goes to %{_bindir}
1002 mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
1003 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
1004
1005 # cgi_test: create config file with ScriptAlias
1006 cat << EOF > $CFG/09_cgi_test.conf
1007 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
1008 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
1009 EOF
1010
1011 %clean
1012 rm -rf $RPM_BUILD_ROOT
1013
1014 %pre
1015 %groupadd -g 51 http
1016 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
1017
1018 %post
1019 /sbin/chkconfig --add httpd
1020 umask 137
1021 touch /var/log/httpd/{access,error,agent,referer}_log
1022
1023 %preun
1024 if [ "$1" = "0" ]; then
1025         if [ -f /var/lock/subsys/httpd ]; then
1026                 /etc/rc.d/init.d/httpd stop 1>&2
1027         fi
1028         # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
1029         [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
1030 fi
1031
1032 %postun
1033 if [ "$1" = "0" ]; then
1034         %userremove http
1035         %groupremove http
1036 fi
1037
1038 %triggerpostun -- %{name} <= 2.0.50-6
1039 %banner %{name}-2.0.50-6 << EOF
1040 WARNING!!!
1041 Since apache-2.0.50-6 autoindex module has been separated to package
1042 %{name}-mod_autoindex If you want to have the same functionality do:
1043 poldek -Uv %{name}-mod_autoindex
1044 EOF
1045
1046 %triggerpostun -- %{name} < 2.0.54-4
1047 %banner %{name}-2.0.54-2 << EOF
1048 WARNING!!!
1049 CGI demo/test programs - printenv and test-cgi, have been released
1050 from package apache into separate subpackage apache-cgi_test. If you
1051 need printenv and/or test-cgi, please install apache-cgi_test package,
1052 e.g. by running poldek -Uv apache-cgi_test
1053 EOF
1054
1055 # update /etc/sysconfig/apache -> httpd rename
1056 if [ -f /etc/sysconfig/apache.rpmsave ]; then
1057         cp -f /etc/sysconfig/httpd{,.rpmnew}
1058         mv -f /etc/sysconfig/{apache.rpmsave,httpd}
1059 fi
1060
1061 %triggerpostun -- %{name} < 2.0.55-3.1
1062 if ! grep -q 'Include webapps.d/' /etc/httpd/httpd.conf/10_httpd.conf; then
1063 # make sure webapps.d is included
1064 cp -f /etc/httpd/httpd.conf/10_httpd.conf{,.rpmsave}
1065 # this file is ugly, so just append new lines
1066 cat <<EOF >> /etc/httpd/httpd.conf/10_httpd.conf
1067 # Include webapps config
1068 Include webapps.d/*.conf
1069 EOF
1070 fi
1071
1072 # rename monitrc to be service name like other files
1073 if [ -f /etc/monit/apache.monitrc.rpmsave ]; then
1074         mv -f /etc/monit/httpd.monitrc{,.rpmnew}
1075         mv -f /etc/monit/{apache.monitrc.rpmsave,httpd.monitrc}
1076 fi
1077
1078 %posttrans
1079 # minimizing apache restarts logics. we restart webserver:
1080 #
1081 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1082 # 2. first install of module (post: $1 = 1)
1083 # 2. uninstall of module (postun: $1 == 0)
1084 #
1085 # the strict internal deps between apache modules and
1086 # main package are very important for all this to work.
1087
1088 # restart webserver at the end of transaction
1089 %service httpd restart
1090
1091 # macro called at module post scriptlet
1092 %define module_post \
1093 if [ "$1" = "1" ]; then \
1094         %service -q httpd restart \
1095 fi
1096
1097 # macro called at module postun scriptlet
1098 %define module_postun \
1099 if [ "$1" = "0" ]; then \
1100         %service -q httpd restart \
1101 fi
1102
1103 %post mod_actions
1104 %module_post
1105
1106 %postun mod_actions
1107 %module_postun
1108
1109 %post mod_auth
1110 %module_post
1111
1112 %postun mod_auth
1113 %module_postun
1114
1115 %post mod_auth_anon
1116 %module_post
1117
1118 %postun mod_auth_anon
1119 %module_postun
1120
1121 %post mod_auth_dbm
1122 %module_post
1123
1124 %postun mod_auth_dbm
1125 %module_postun
1126
1127 %post mod_autoindex
1128 %module_post
1129
1130 %postun mod_autoindex
1131 %module_postun
1132
1133 %post mod_cache
1134 %module_post
1135
1136 %postun mod_cache
1137 %module_postun
1138
1139 %post mod_cgid
1140 %module_post
1141
1142 %postun mod_cgid
1143 %module_postun
1144
1145 %post mod_charset_lite
1146 %module_post
1147
1148 %postun mod_charset_lite
1149 %module_postun
1150
1151 %post mod_dav
1152 %module_post
1153
1154 %postun mod_dav
1155 %module_postun
1156
1157 %post mod_auth_digest
1158 %module_post
1159
1160 %postun mod_auth_digest
1161 %module_postun
1162
1163 %post mod_deflate
1164 %module_post
1165
1166 %postun mod_deflate
1167 %module_postun
1168
1169 %post mod_dir
1170 %module_post
1171
1172 %postun mod_dir
1173 %module_postun
1174
1175 %post mod_expires
1176 %module_post
1177
1178 %postun mod_expires
1179 %module_postun
1180
1181 %post mod_file_cache
1182 %module_post
1183
1184 %postun mod_file_cache
1185 %module_postun
1186
1187 %post mod_headers
1188 %module_post
1189
1190 %postun mod_headers
1191 %module_postun
1192
1193 %post mod_imap
1194 %module_post
1195
1196 %postun mod_imap
1197 %module_postun
1198
1199 %post mod_info
1200 %module_post
1201
1202 %postun mod_info
1203 %module_postun
1204
1205 %post mod_logio
1206 %module_post
1207
1208 %postun mod_logio
1209 %module_postun
1210
1211 %post mod_proxy
1212 %module_post
1213
1214 %postun mod_proxy
1215 %module_postun
1216
1217 %post mod_rewrite
1218 %module_post
1219
1220 %postun mod_rewrite
1221 %module_postun
1222
1223 %post mod_ssl
1224 %module_post
1225
1226 %postun mod_ssl
1227 %module_postun
1228
1229 %post mod_status
1230 %module_post
1231
1232 %postun mod_status
1233 %module_postun
1234
1235 %post mod_usertrack
1236 %module_post
1237
1238 %postun mod_usertrack
1239 %module_postun
1240
1241 %post mod_unique_id
1242 %module_post
1243
1244 %postun mod_unique_id
1245 %module_postun
1246
1247 %post mod_vhost_alias
1248 %module_post
1249
1250 %postun mod_vhost_alias
1251 %module_postun
1252
1253 %post cgi_test
1254 if [ "$1" = "1" ]; then
1255         %service -q httpd reload
1256 fi
1257
1258 %postun cgi_test
1259 if [ "$1" = "0" ]; then
1260         %service -q httpd reload
1261 fi
1262
1263 %files
1264 %defattr(644,root,root,755)
1265 %doc ABOUT_APACHE CHANGES README
1266 %doc docs/conf/mime.types
1267
1268 %attr(754,root,root) /etc/rc.d/init.d/httpd
1269
1270 # TODO: switch to conf.d, instead of confusing *dir* httpd.conf
1271 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1272 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
1273 %attr(750,root,root) %dir %{_sysconfdir}/modules
1274 %attr(750,root,root) %dir %{_sysconfdir}/run
1275 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_httpd.conf
1276 %attr(640,root,root) %{_sysconfdir}/magic
1277 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
1278 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
1279 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
1280
1281 %attr(755,root,root) %{_libexecdir}/mod_access.so
1282 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1283 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1284 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1285 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1286 %attr(755,root,root) %{_libexecdir}/mod_env.so
1287 %attr(755,root,root) %{_libexecdir}/mod_include.so
1288 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1289 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1290 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1291 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1292 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1293 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1294 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1295 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1296
1297 # look at TODO on top
1298 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1299 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1300 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1301 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1302 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1303 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1304 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1305 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1306
1307 %attr(755,root,root) %{_sbindir}/htdigest
1308
1309 %attr(755,root,root) %{_sbindir}/ab
1310 %attr(755,root,root) %{_sbindir}/apachectl
1311 %attr(755,root,root) %{_sbindir}/checkgid
1312 %attr(755,root,root) %{_sbindir}/httpd
1313 %attr(755,root,root) %{_sbindir}/httpd.*
1314 %attr(755,root,root) %{_sbindir}/logresolve
1315 %attr(755,root,root) %{_sbindir}/rotatelogs
1316
1317 %dir %attr(770,root,http) /var/run/apache
1318 %dir %attr(770,root,http) /var/cache/apache
1319
1320 %{_mandir}/man1/htdigest.1*
1321 %{_mandir}/man8/ab.8*
1322 %{_mandir}/man8/apachectl.8*
1323 %{_mandir}/man8/httpd.8*
1324 %{_mandir}/man8/logresolve.8*
1325 %{_mandir}/man8/rotatelogs.8*
1326
1327 %attr(2750,root,logs) %dir /var/log/httpd
1328 %attr(2750,root,logs) %dir /var/log/archiv/httpd
1329 %attr(640,root,logs) %ghost /var/log/httpd/*
1330
1331 %dir %{_datadir}
1332
1333 %dir %{_datadir}/cgi-bin
1334 %dir %{_datadir}/html
1335 %{_datadir}/icons
1336 %{_datadir}/error
1337
1338 %files doc
1339 %defattr(644,root,root,755)
1340 %dir %{_datadir}/manual
1341 %{_datadir}/manual/LICENSE
1342 %{_datadir}/manual/*.html.en
1343 %lang(de) %{_datadir}/manual/*.html.de
1344 %lang(es) %{_datadir}/manual/*.html.es
1345 %lang(fr) %{_datadir}/manual/*.html.fr
1346 %lang(ja) %{_datadir}/manual/*.html.ja*
1347 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1348 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1349 %dir %{_datadir}/manual/developer
1350 %{_datadir}/manual/developer/*.html.en
1351 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1352 %dir %{_datadir}/manual/faq
1353 %{_datadir}/manual/faq/*.html.en
1354 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1355 %dir %{_datadir}/manual/howto
1356 %{_datadir}/manual/howto/*.html.en
1357 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1358 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1359 %dir %{_datadir}/manual/images
1360 %{_datadir}/manual/images/[!m]*
1361 %dir %{_datadir}/manual/misc
1362 %{_datadir}/manual/misc/*.html.en
1363 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1364 %dir %{_datadir}/manual/mod
1365 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1366 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1367 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1368 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1369 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1370 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1371 %{_datadir}/manual/mod/module-dict.html.en
1372 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1373 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1374 %{_datadir}/manual/mod/mpm_common.html.en
1375 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1376 %lang(es) %{_datadir}/manual/mod/mpm_common.html.es
1377 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1378 %{_datadir}/manual/mod/mod_access.html.en
1379 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1380 %{_datadir}/manual/mod/mod_alias.html.en
1381 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1382 %lang(ko) %{_datadir}/manual/mod/mod_alias.html.ko.euc-kr
1383 %{_datadir}/manual/mod/mod_asis.html.en
1384 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1385 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1386 %{_datadir}/manual/mod/mod_autoindex.html.en
1387 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1388 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1389 %{_datadir}/manual/mod/mod_cern_meta.html.en
1390 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1391 %{_datadir}/manual/mod/mod_cgi.html.en
1392 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1393 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1394 %{_datadir}/manual/mod/mod_echo.html.en
1395 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1396 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1397 %{_datadir}/manual/mod/mod_env.html.en
1398 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1399 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1400 %{_datadir}/manual/mod/mod_ext_filter.html.en
1401 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1402 %{_datadir}/manual/mod/mod_include.html.en
1403 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1404 %{_datadir}/manual/mod/mod_log_config.html.en
1405 %lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.euc-jp
1406 %lang(ko) %{_datadir}/manual/mod/mod_log_config.html.ko.euc-kr
1407 %{_datadir}/manual/mod/mod_log_forensic.html.en
1408 %{_datadir}/manual/mod/mod_mime*.html.en
1409 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1410 %{_datadir}/manual/mod/mod_negotiation.html.en
1411 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1412 %{_datadir}/manual/mod/mod_setenvif.html.en
1413 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1414 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1415 %{_datadir}/manual/mod/mod_speling.html.en
1416 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1417 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1418 %{_datadir}/manual/mod/mod_userdir.html.en
1419 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1420 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1421 %dir %{_datadir}/manual/programs
1422 %{_datadir}/manual/programs/*.html.en
1423 %lang(es) %{_datadir}/manual/programs/*.html.es
1424 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1425 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1426 %dir %{_datadir}/manual/style
1427 %{_datadir}/manual/style/css
1428
1429 %{_datadir}/manual/mod/mod_suexec.html.en
1430 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1431 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1432 %{_datadir}/manual/mod/mod_actions.html.en
1433 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1434 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1435 %{_datadir}/manual/mod/mod_auth.html.en
1436 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1437 %{_datadir}/manual/mod/mod_auth_anon.html.en
1438 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1439 %{_datadir}/manual/mod/mod_ldap.html.en
1440 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1441 %{_datadir}/manual/mod/mod_auth_digest.html.en
1442 %lang(ko) %{_datadir}/manual/mod/mod_auth_digest.html.ko.euc-kr
1443 %{_datadir}/manual/mod/mod_cache.html.en
1444 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1445 %{_datadir}/manual/mod/mod_disk_cache.html.en
1446 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1447 %{_datadir}/manual/mod/mod_mem_cache.html.en
1448 %lang(ko) %{_datadir}/manual/mod/mod_mem_cache.html.ko.euc-kr
1449 %{_datadir}/manual/mod/mod_cgid.html.en
1450 %lang(ja) %{_datadir}/manual/mod/mod_cgid.html.ja.euc-jp
1451 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1452 %{_datadir}/manual/mod/mod_charset_lite.html.en
1453 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1454 %{_datadir}/manual/mod/mod_dav*.html.en
1455 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1456 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1457 %{_datadir}/manual/mod/mod_deflate.html.en
1458 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1459 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1460 %{_datadir}/manual/mod/mod_dir.html.en
1461 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1462 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1463 %{_datadir}/manual/mod/mod_expires.html.en
1464 %lang(ja) %{_datadir}/manual/mod/mod_expires.html.ja.euc-jp
1465 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1466 %{_datadir}/manual/mod/mod_file_cache.html.en
1467 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1468 %{_datadir}/manual/mod/mod_headers.html.en
1469 %lang(ko) %{_datadir}/manual/mod/mod_headers.html.ko.euc-kr
1470 %{_datadir}/manual/mod/mod_imap.html.en
1471 %lang(ko) %{_datadir}/manual/mod/mod_imap.html.ko.euc-kr
1472 %{_datadir}/manual/mod/mod_info.html.en
1473 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1474 %lang(ko) %{_datadir}/manual/mod/mod_info.html.ko.euc-kr
1475 %{_datadir}/manual/mod/mod_proxy*.html.en
1476 %{_datadir}/manual/mod/mod_rewrite.html.en
1477 %{_datadir}/manual/mod/mod_so.html.en
1478 %lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.euc-jp
1479 %lang(ko) %{_datadir}/manual/mod/mod_so.html.ko.euc-kr
1480 %{_datadir}/manual/images/mod_rewrite*
1481 %dir %{_datadir}/manual/rewrite
1482 %{_datadir}/manual/rewrite/index.html.en
1483 %{_datadir}/manual/rewrite/rewrite_guide.html.en
1484 %{_datadir}/manual/rewrite/rewrite_guide_advanced.html.en
1485 %{_datadir}/manual/rewrite/rewrite_intro.html.en
1486 %{_datadir}/manual/rewrite/rewrite_tech.html.en
1487 %dir %{_datadir}/manual/ssl
1488 %{_datadir}/manual/ssl/*.html.en
1489 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1490 %{_datadir}/manual/mod/mod_ssl.html.en
1491 %{_datadir}/manual/mod/mod_status.html.en
1492 %lang(ja) %{_datadir}/manual/mod/mod_status.html.ja.euc-jp
1493 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1494 %{_datadir}/manual/mod/mod_usertrack.html.en
1495 %{_datadir}/manual/mod/mod_unique_id.html.en
1496 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1497 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1498 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1499 %dir %{_datadir}/manual/vhosts
1500 %{_datadir}/manual/vhosts/*.html.en
1501 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1502 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1503 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1504 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1505 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1506
1507 %files suexec
1508 %defattr(644,root,root,755)
1509 %attr(4755,root,root) %{_sbindir}/suexec
1510 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1511 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1512 %{_mandir}/man8/suexec.8*
1513
1514 %files index
1515 %defattr(644,root,root,755)
1516 %config(noreplace,missingok) %{_datadir}/html/index.html*
1517 %{_datadir}/html/*.gif
1518 %{_datadir}/html/*.png
1519
1520 %files apxs
1521 %defattr(644,root,root,755)
1522 %attr(755,root,root) %{_sbindir}/apxs
1523 %attr(755,root,root) %{_sbindir}/envvars*
1524 %attr(751,root,root) %dir %{_sysconfdir}
1525 %dir %{_libexecdir}
1526 %dir %{_libexecdir}/build
1527 %{_libexecdir}/build/config_vars.mk
1528 %{_mandir}/man8/apxs.8*
1529
1530 %files devel
1531 %defattr(644,root,root,755)
1532 %{_includedir}
1533 %{_libexecdir}/*.exp
1534 %attr(750,root,root) %dir %{_sysconfdir}/build
1535 %{_libexecdir}/build/[lprs]*.mk
1536 %attr(755,root,root) %{_libexecdir}/build/*.sh
1537 %attr(755,root,root) %{_libexecdir}/build/libtool
1538
1539 %files mod_actions
1540 %defattr(644,root,root,755)
1541 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1542 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1543
1544 %files mod_auth
1545 %defattr(644,root,root,755)
1546 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1547 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1548
1549 %files mod_auth_anon
1550 %defattr(644,root,root,755)
1551 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1552 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1553
1554 %if %{with ldap}
1555 %files mod_auth_ldap
1556 %defattr(644,root,root,755)
1557 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1558 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1559 %endif
1560
1561 %if %{with ldap}
1562 %files mod_ldap
1563 %defattr(644,root,root,755)
1564 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1565 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1566 %endif
1567
1568 %files mod_auth_dbm
1569 %defattr(644,root,root,755)
1570 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1571 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1572 %attr(755,root,root) %{_sbindir}/dbmmanage
1573 %attr(755,root,root) %{_sbindir}/htdbm
1574 %{_mandir}/man1/dbmmanage.1*
1575 %{_mandir}/man1/htdbm.1*
1576
1577 %files mod_auth_digest
1578 %defattr(644,root,root,755)
1579 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1580 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1581
1582 %files mod_autoindex
1583 %defattr(644,root,root,755)
1584 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1585 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1586
1587 %files mod_cache
1588 %defattr(644,root,root,755)
1589 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1590 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1591 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1592 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1593
1594 %files mod_cgid
1595 %defattr(644,root,root,755)
1596 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1597 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1598
1599 %files mod_charset_lite
1600 %defattr(644,root,root,755)
1601 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1602 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1603
1604 %files mod_dav
1605 %defattr(644,root,root,755)
1606 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1607 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1608 %dir %attr(770,root,http) /var/lock/mod_dav
1609
1610 %files mod_deflate
1611 %defattr(644,root,root,755)
1612 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1613 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1614
1615 %files mod_dir
1616 %defattr(644,root,root,755)
1617 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1618 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1619
1620 %files mod_expires
1621 %defattr(644,root,root,755)
1622 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1623 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1624
1625 %files mod_file_cache
1626 %defattr(644,root,root,755)
1627 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1628 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1629
1630 %files mod_headers
1631 %defattr(644,root,root,755)
1632 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1633 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1634
1635 %files mod_imap
1636 %defattr(644,root,root,755)
1637 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1638 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1639
1640 %files mod_info
1641 %defattr(644,root,root,755)
1642 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1643 %attr(755,root,root) %{_libexecdir}/mod_info.so
1644
1645 %files mod_logio
1646 %defattr(644,root,root,755)
1647 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_logio.conf
1648 %attr(755,root,root) %{_libexecdir}/mod_logio.so
1649
1650 %files mod_proxy
1651 %defattr(644,root,root,755)
1652 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1653 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1654
1655 %files mod_rewrite
1656 %defattr(644,root,root,755)
1657 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1658 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1659
1660 %if %{with ssl}
1661 %files mod_ssl
1662 %defattr(644,root,root,755)
1663 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1664 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
1665 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1666 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1667 %endif
1668
1669 %files mod_status
1670 %defattr(644,root,root,755)
1671 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1672 %attr(755,root,root) %{_libexecdir}/mod_status.so
1673
1674 %files mod_usertrack
1675 %defattr(644,root,root,755)
1676 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1677 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1678
1679 %files mod_unique_id
1680 %defattr(644,root,root,755)
1681 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1682 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1683
1684 %files mod_vhost_alias
1685 %defattr(644,root,root,755)
1686 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1687 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1688
1689 %files -n htpasswd-%{name}
1690 %defattr(644,root,root,755)
1691 %attr(755,root,root) %{_bindir}/htpasswd
1692 %{_sbindir}/htpasswd
1693 %{_mandir}/man1/htpasswd.1*
1694
1695 %files cgi_test
1696 %defattr(644,root,root,755)
1697 %dir %{_cgibindir}
1698 %attr(755,root,root) %{_cgibindir}/*
1699 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/09_cgi_test.conf
This page took 0.189498 seconds and 3 git commands to generate.