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