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