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