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