]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- from 2.2.0 sources: extra/httpd-userdir.conf
[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.9
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 Source7:        %{name}-common.conf
55 Source8:        %{name}-mod_vhost_alias.conf
56 Source9:        %{name}-mod_status.conf
57 Source10:       %{name}-mod_proxy.conf
58 Source11:       %{name}-mod_info.conf
59 Source12:       %{name}-mod_ssl.conf
60 Source13:       %{name}-mod_dav.conf
61 Source14:       %{name}-mod_dir.conf
62 Source15:       %{name}-mod_suexec.conf
63 Source16:       %{name}-mod_deflate.conf
64 Source17:       %{name}-mod_autoindex.conf
65 Source20:       %{name}-server.crt
66 Source21:       %{name}-server.key
67 Patch0:         %{name}-configdir_skip_backups.patch
68 Patch1:         %{name}-layout.patch
69 Patch2:         %{name}-suexec.patch
70 Patch4:         %{name}-apr.patch
71 # project homepage http://www.metux.de/mpm/en/?patpage=index
72 # http://www.sannes.org/metuxmpm/
73 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
74 # what about this? it isn't applied...
75 Patch6:         httpd-2.0.40-xfsz.patch
76 Patch8:         httpd-2.0.45-encode.patch
77 Patch10:        httpd-2.0.46-dav401dest.patch
78 Patch12:        httpd-2.0.46-sslmutex.patch
79 Patch14:        httpd-2.0.48-corelimit.patch
80 Patch15:        httpd-2.0.48-debuglog.patch
81 Patch18:        %{name}-v6only-ENOPROTOOPT.patch
82 Patch19:        %{name}-conffile-path.patch
83 Patch20:        %{name}-apxs.patch
84 # http://www.telana.com/peruser.php
85 Patch21:        httpd-2.0.52-peruser-0.1.6.patch
86 Patch22:        %{name}-libtool.patch
87 URL:            http://httpd.apache.org/
88 BuildRequires:  apr-devel >= 1:1.0.0
89 BuildRequires:  apr-util-devel >= 1:1.0.0
90 BuildRequires:  automake
91 BuildRequires:  db-devel
92 %{?with_distcache:BuildRequires:        distcache-devel}
93 BuildRequires:  expat-devel
94 BuildRequires:  findutils
95 BuildRequires:  gdbm-devel >= 1.8.3
96 BuildRequires:  libtool >= 2:1.5
97 %{?with_ldap:BuildRequires:     openldap-devel}
98 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
99 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
100 BuildRequires:  pcre-devel
101 BuildRequires:  perl-devel >= 1:5.6
102 BuildRequires:  rpm-build >= 4.4.0
103 BuildRequires:  rpm-perlprov >= 4.1-13
104 BuildRequires:  rpmbuild(macros) >= 1.228
105 BuildRequires:  sed >= 4.0
106 BuildRequires:  zlib-devel
107 Requires(post): fileutils
108 Requires(post,preun):   /sbin/chkconfig
109 Requires(postun):       /usr/sbin/groupdel
110 Requires(postun):       /usr/sbin/userdel
111 Requires(pre):  /bin/id
112 Requires(pre):  /usr/bin/getgid
113 Requires(pre):  /usr/sbin/groupadd
114 Requires(pre):  /usr/sbin/useradd
115 Requires:       %{name}-mod_version = %{version}-%{release}
116 Requires:       /etc/mime.types
117 Requires:       /sbin/chkconfig
118 Requires:       apr >= 1:1.0.0-2
119 Requires:       mailcap
120 Requires:       perl-base
121 Requires:       psmisc >= 20.1
122 Requires:       rc-scripts >= 0.4.0.15
123 Provides:       apache(modules-api) = %{_apache_modules_api}
124 Provides:       apache(mod_alias)
125 Provides:       apache(mod_asis)
126 Provides:       apache(mod_autoindex)
127 Provides:       apache(mod_cern_meta)
128 Provides:       apache(mod_cgi)
129 Provides:       apache(mod_env)
130 Provides:       apache(mod_include)
131 Provides:       apache(mod_log_config)
132 Provides:       apache(mod_mime)
133 Provides:       apache(mod_mime_magic)
134 Provides:       apache(mod_negotiation)
135 Provides:       apache(mod_setenvif)
136 Provides:       apache(mod_speling)
137 Provides:       apache(mod_userdir)
138 Provides:       group(http)
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 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 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
1160
1161 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
1162 # TODO: split by modules
1163 install %{SOURCE7} $CFG/20_common.conf
1164
1165 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
1166 install %{SOURCE9} $CFG/25_mod_status.conf
1167 install %{SOURCE10} $CFG/30_mod_proxy.conf
1168 install %{SOURCE11} $CFG/35_mod_info.conf
1169 install %{SOURCE12} $CFG/40_mod_ssl.conf
1170 install %{SOURCE13} $CFG/45_mod_dav.conf
1171 install %{SOURCE14} $CFG/59_mod_dir.conf
1172 install %{SOURCE15} $CFG/13_mod_suexec.conf
1173 install %{SOURCE16} $CFG/58_mod_deflate.conf
1174 install %{SOURCE17} $CFG/57_mod_autoindex.conf
1175
1176 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
1177 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
1178 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
1179 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
1180 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
1181 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
1182 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
1183 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
1184 #echo "LoadModule auth_ldap_module      %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
1185 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
1186 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
1187 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
1188 #echo "LoadModule imap_module   %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
1189 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
1190 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
1191 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
1192
1193 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
1194 # let's remove trash (yes, *.html without lang suffix also contain trash)
1195 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
1196         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
1197         | xargs rm -f
1198
1199 # drop more
1200 rm -rf $RPM_BUILD_ROOT%{_datadir}/manual/style
1201
1202 # find manual files
1203 :> manual.files
1204 cur=$(pwd)
1205 echo "%{_datadir}/manual/LICENSE" >> "$cur/manual.files"
1206 cd $RPM_BUILD_ROOT
1207 find ./%{_datadir}/manual -type d -printf "%%%%dir %{_datadir}/manual/%%P\n" >> "$cur/manual.files"
1208 find ./%{_datadir}/manual -type f -printf "%{_datadir}/manual/%%P\n" | awk '
1209 /\.(en|map|gif|png|jpg|ico)$/ { print $0; }
1210 /\.de$/ { print "%%lang(de) ", $0; }
1211 /\.es$/ { print "%%lang(es) ", $0; }
1212 /\.fr$/ { print "%%lang(fr) ", $0; }
1213 /\.ja\..*$/ { print "%%lang(ja) ", $0; }
1214 /\.ko\..*$/ { print "%%lang(ko) ", $0; }
1215 /\.pt-br$/ { print "%%lang(pt_BR) ", $0; }
1216 /\.ru\..*$/ { print "%%lang(ru) ", $0; }
1217 ' >> "$cur/manual.files"
1218 cd $cur
1219
1220 # htpasswd goes to %{_bindir}
1221 mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
1222 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
1223
1224 # cgi_test: create config file with ScriptAlias
1225 cat << EOF > $CFG/09_cgi_test.conf
1226 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
1227 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
1228 EOF
1229
1230 # no value
1231 rm $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
1232
1233 %clean
1234 rm -rf $RPM_BUILD_ROOT
1235
1236 %pre
1237 %groupadd -g 51 http
1238 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
1239
1240 %post
1241 /sbin/chkconfig --add httpd
1242 umask 137
1243 touch /var/log/httpd/{access,error,agent,referer}_log
1244
1245 %preun
1246 if [ "$1" = "0" ]; then
1247         if [ -f /var/lock/subsys/httpd ]; then
1248                 /etc/rc.d/init.d/httpd stop 1>&2
1249         fi
1250         # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
1251         [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
1252 fi
1253
1254 %postun
1255 if [ "$1" = "0" ]; then
1256         %userremove http
1257         %groupremove http
1258 fi
1259
1260 %triggerpostun -- %{name} <= 2.0.50-6
1261 %banner %{name}-2.0.50-6 << EOF
1262 WARNING!!!
1263 Since apache-2.0.50-6 autoindex module has been separated to package
1264 %{name}-mod_autoindex If you want to have the same functionality do:
1265 poldek -Uv %{name}-mod_autoindex
1266 EOF
1267
1268 %triggerpostun -- %{name} < 2.0.54-4
1269 %banner %{name}-2.0.54-2 << EOF
1270 WARNING!!!
1271 CGI demo/test programs - printenv and test-cgi, have been released
1272 from package apache into separate subpackage apache-cgi_test. If you
1273 need printenv and/or test-cgi, please install apache-cgi_test package,
1274 e.g. by running poldek -Uv apache-cgi_test
1275 EOF
1276
1277 # update /etc/sysconfig/apache -> httpd rename
1278 if [ -f /etc/sysconfig/apache.rpmsave ]; then
1279         cp -f /etc/sysconfig/httpd{,.rpmnew}
1280         mv -f /etc/sysconfig/{apache.rpmsave,httpd}
1281 fi
1282
1283 %triggerpostun -- %{name} < 2.0.55-3.1
1284 if ! grep -q 'Include webapps.d/' /etc/httpd/httpd.conf/10_httpd.conf; then
1285 # make sure webapps.d is included
1286 cp -f /etc/httpd/httpd.conf/10_httpd.conf{,.rpmsave}
1287 # this file is ugly, so just append new lines
1288 cat <<EOF >> /etc/httpd/httpd.conf/10_httpd.conf
1289 # Include webapps config
1290 Include webapps.d/*.conf
1291 EOF
1292 fi
1293
1294 # rename monitrc to be service name like other files
1295 if [ -f /etc/monit/apache.monitrc.rpmsave ]; then
1296         mv -f /etc/monit/httpd.monitrc{,.rpmnew}
1297         mv -f /etc/monit/{apache.monitrc.rpmsave,httpd.monitrc}
1298 fi
1299
1300 %posttrans
1301 # minimizing apache restarts logics. we restart webserver:
1302 #
1303 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1304 # 2. first install of module (post: $1 = 1)
1305 # 2. uninstall of module (postun: $1 == 0)
1306 #
1307 # the strict internal deps between apache modules and
1308 # main package are very important for all this to work.
1309
1310 # restart webserver at the end of transaction
1311 %service httpd restart
1312
1313 # macro called at module post scriptlet
1314 %define module_post \
1315 if [ "$1" = "1" ]; then \
1316         %service -q httpd restart \
1317 fi
1318
1319 # macro called at module postun scriptlet
1320 %define module_postun \
1321 if [ "$1" = "0" ]; then \
1322         %service -q httpd restart \
1323 fi
1324
1325 %post mod_actions
1326 %module_post
1327
1328 %postun mod_actions
1329 %module_postun
1330
1331 %post mod_auth_basic
1332 %module_post
1333
1334 %postun mod_auth_basic
1335 %module_postun
1336
1337 %post mod_auth_digest
1338 %module_post
1339
1340 %postun mod_auth_digest
1341 %module_postun
1342
1343 %post mod_authn_alias
1344 %module_post
1345
1346 %postun mod_authn_alias
1347 %module_postun
1348
1349 %post mod_authn_anon
1350 %module_post
1351
1352 %postun mod_authn_anon
1353 %module_postun
1354
1355 %post mod_authn_dbd
1356 %module_post
1357
1358 %postun mod_authn_dbd
1359 %module_postun
1360
1361 %post mod_authn_dbm
1362 %module_post
1363
1364 %postun mod_authn_dbm
1365 %module_postun
1366
1367 %post mod_authn_default
1368 %module_post
1369
1370 %postun mod_authn_default
1371 %module_postun
1372
1373 %post mod_authn_file
1374 %module_post
1375
1376 %postun mod_authn_file
1377 %module_postun
1378
1379 %post mod_authnz_ldap
1380 %module_post
1381
1382 %postun mod_authnz_ldap
1383 %module_postun
1384
1385 %post mod_authz_dbm
1386 %module_post
1387
1388 %postun mod_authz_dbm
1389 %module_postun
1390
1391 %post mod_authz_default
1392 %module_post
1393
1394 %postun mod_authz_default
1395 %module_postun
1396
1397 %post mod_authz_groupfile
1398 %module_post
1399
1400 %postun mod_authz_groupfile
1401 %module_postun
1402
1403 %post mod_authz_host
1404 %module_post
1405
1406 %postun mod_authz_host
1407 %module_postun
1408
1409 %post mod_authz_owner
1410 %module_post
1411
1412 %postun mod_authz_owner
1413 %module_postun
1414
1415 %post mod_authz_user
1416 %module_post
1417
1418 %postun mod_authz_user
1419 %module_postun
1420
1421 %post mod_autoindex
1422 %module_post
1423
1424 %postun mod_autoindex
1425 %module_postun
1426
1427 %post mod_bucketeer
1428 %module_post
1429
1430 %postun mod_bucketeer
1431 %module_postun
1432
1433 %post mod_cache
1434 %module_post
1435
1436 %postun mod_cache
1437 %module_postun
1438
1439 %post mod_cgid
1440 %module_post
1441
1442 %postun mod_cgid
1443 %module_postun
1444
1445 %post mod_charset_lite
1446 %module_post
1447
1448 %postun mod_charset_lite
1449 %module_postun
1450
1451 %post mod_dav
1452 %module_post
1453
1454 %postun mod_dav
1455 %module_postun
1456
1457 %post mod_dbd
1458 %module_post
1459
1460 %postun mod_dbd
1461 %module_postun
1462
1463 %post mod_deflate
1464 %module_post
1465
1466 %postun mod_deflate
1467 %module_postun
1468
1469 %post mod_dir
1470 %module_post
1471
1472 %postun mod_dir
1473 %module_postun
1474
1475 %post mod_dumpio
1476 %module_post
1477
1478 %postun mod_dumpio
1479 %module_postun
1480
1481 %post mod_expires
1482 %module_post
1483
1484 %postun mod_expires
1485 %module_postun
1486
1487 %post mod_file_cache
1488 %module_post
1489
1490 %postun mod_file_cache
1491 %module_postun
1492
1493 %post mod_filter
1494 %module_post
1495
1496 %postun mod_filter
1497 %module_postun
1498
1499 %post mod_headers
1500 %module_post
1501
1502 %postun mod_headers
1503 %module_postun
1504
1505 %post mod_ident
1506 %module_post
1507
1508 %postun mod_ident
1509 %module_postun
1510
1511 %post mod_imagemap
1512 %module_post
1513
1514 %postun mod_imagemap
1515 %module_postun
1516
1517 %post mod_info
1518 %module_post
1519
1520 %postun mod_info
1521 %module_postun
1522
1523 %post mod_ldap
1524 %module_post
1525
1526 %postun mod_ldap
1527 %module_postun
1528
1529 %post mod_logio
1530 %module_post
1531
1532 %postun mod_logio
1533 %module_postun
1534
1535 %post mod_proxy
1536 %module_post
1537
1538 %postun mod_proxy
1539 %module_postun
1540
1541 %post mod_rewrite
1542 %module_post
1543
1544 %postun mod_rewrite
1545 %module_postun
1546
1547 %post mod_ssl
1548 %module_post
1549
1550 %postun mod_ssl
1551 %module_postun
1552
1553 %post mod_status
1554 %module_post
1555
1556 %postun mod_status
1557 %module_postun
1558
1559 %post mod_unique_id
1560 %module_post
1561
1562 %postun mod_unique_id
1563 %module_postun
1564
1565 %post mod_usertrack
1566 %module_post
1567
1568 %postun mod_usertrack
1569 %module_postun
1570
1571 %post mod_version
1572 %module_post
1573
1574 %postun mod_version
1575 %module_postun
1576
1577 %post mod_vhost_alias
1578 %module_post
1579
1580 %postun mod_vhost_alias
1581 %module_postun
1582
1583 %post cgi_test
1584 if [ "$1" = "1" ]; then
1585         %service -q httpd reload
1586 fi
1587
1588 %postun cgi_test
1589 if [ "$1" = "0" ]; then
1590         %service -q httpd reload
1591 fi
1592
1593 %files
1594 %defattr(644,root,root,755)
1595 %doc ABOUT_APACHE CHANGES README
1596 %doc docs/conf/mime.types
1597
1598 %attr(754,root,root) /etc/rc.d/init.d/httpd
1599
1600 # TODO: switch to conf.d, instead of confusing *dir* httpd.conf
1601 %attr(751,root,root) %dir %{_sysconfdir}
1602 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1603 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
1604 %attr(750,root,root) %dir %{_sysconfdir}/modules
1605 %attr(750,root,root) %dir %{_sysconfdir}/run
1606 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
1607 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_common.conf
1608 %attr(640,root,root) %{_sysconfdir}/magic
1609 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
1610 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
1611 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
1612
1613 %dir %{_libexecdir}
1614 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1615 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1616 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1617 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1618 %attr(755,root,root) %{_libexecdir}/mod_env.so
1619 %attr(755,root,root) %{_libexecdir}/mod_include.so
1620 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1621 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1622 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1623 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1624 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1625 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1626 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1627 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1628
1629 # look at TODO on top
1630 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1631 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1632 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1633 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1634 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1635 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1636 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1637 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1638
1639 %attr(755,root,root) %{_sbindir}/htdigest
1640
1641 %attr(755,root,root) %{_sbindir}/ab
1642 %attr(755,root,root) %{_sbindir}/apachectl
1643 %attr(755,root,root) %{_sbindir}/checkgid
1644 %attr(755,root,root) %{_sbindir}/httpd
1645 %attr(755,root,root) %{_sbindir}/httpd.*
1646 %attr(755,root,root) %{_sbindir}/logresolve
1647 %attr(755,root,root) %{_sbindir}/rotatelogs
1648
1649 %dir %attr(770,root,http) /var/run/apache
1650 %dir %attr(770,root,http) /var/cache/apache
1651
1652 %{_mandir}/man1/htdigest.1*
1653 %{_mandir}/man8/ab.8*
1654 %{_mandir}/man8/apachectl.8*
1655 %{_mandir}/man8/httpd.8*
1656 %{_mandir}/man8/logresolve.8*
1657 %{_mandir}/man8/rotatelogs.8*
1658
1659 %attr(2750,root,logs) %dir /var/log/httpd
1660 %attr(2750,root,logs) %dir /var/log/archiv/httpd
1661 %attr(640,root,logs) %ghost /var/log/httpd/*
1662
1663 %dir %{_datadir}
1664
1665 %dir %{_datadir}/cgi-bin
1666 %dir %{_datadir}/html
1667 %{_datadir}/icons
1668 %{_datadir}/error
1669
1670 %files doc -f manual.files
1671 %defattr(644,root,root,755)
1672
1673 %files suexec
1674 %defattr(644,root,root,755)
1675 %attr(4755,root,root) %{_sbindir}/suexec
1676 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1677 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1678 %{_mandir}/man8/suexec.8*
1679
1680 %files index
1681 %defattr(644,root,root,755)
1682 %config(noreplace,missingok) %{_datadir}/html/index.html*
1683 %{_datadir}/html/*.gif
1684 %{_datadir}/html/*.png
1685
1686 %files apxs
1687 %defattr(644,root,root,755)
1688 %attr(755,root,root) %{_sbindir}/apxs
1689 %attr(755,root,root) %{_sbindir}/envvars*
1690 %dir %{_libexecdir}/build
1691 %{_libexecdir}/build/config_vars.mk
1692 %{_mandir}/man8/apxs.8*
1693
1694 %files devel
1695 %defattr(644,root,root,755)
1696 %{_includedir}
1697 %{_libexecdir}/*.exp
1698 # is this symlink needed?
1699 %{_sysconfdir}/build
1700 %{_libexecdir}/build/[lprs]*.mk
1701 %attr(755,root,root) %{_libexecdir}/build/*.sh
1702
1703 %files mod_actions
1704 %defattr(644,root,root,755)
1705 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1706 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1707
1708 %files mod_auth
1709 %defattr(644,root,root,755)
1710
1711 %files mod_auth_basic
1712 %defattr(644,root,root,755)
1713 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1714 %attr(755,root,root) %{_libexecdir}/mod_auth_basic.so
1715
1716 %files mod_auth_dbm
1717 %defattr(644,root,root,755)
1718
1719 %files mod_auth_digest
1720 %defattr(644,root,root,755)
1721 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1722 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1723
1724 %files mod_authn_alias
1725 %defattr(644,root,root,755)
1726 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1727 %attr(755,root,root) %{_libexecdir}/mod_authn_alias.so
1728
1729 %files mod_authn_anon
1730 %defattr(644,root,root,755)
1731 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1732 %attr(755,root,root) %{_libexecdir}/mod_authn_anon.so
1733
1734 %files mod_authn_dbd
1735 %defattr(644,root,root,755)
1736 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1737 %attr(755,root,root) %{_libexecdir}/mod_authn_dbd.so
1738
1739 %files mod_authn_dbm
1740 %defattr(644,root,root,755)
1741 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1742 %attr(755,root,root) %{_libexecdir}/mod_authn_dbm.so
1743
1744 %files mod_authn_default
1745 %defattr(644,root,root,755)
1746 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1747 %attr(755,root,root) %{_libexecdir}/mod_authn_default.so
1748
1749 %files mod_authn_file
1750 %defattr(644,root,root,755)
1751 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1752 %attr(755,root,root) %{_libexecdir}/mod_authn_file.so
1753
1754 %if %{with ldap}
1755 %files mod_authnz_ldap
1756 %defattr(644,root,root,755)
1757 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1758 %attr(755,root,root) %{_libexecdir}/mod_authnz_ldap.so
1759 %endif
1760
1761 %files mod_authz_dbm
1762 %defattr(644,root,root,755)
1763 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1764 %attr(755,root,root) %{_libexecdir}/mod_authz_dbm.so
1765
1766 %files mod_authz_default
1767 %defattr(644,root,root,755)
1768 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1769 %attr(755,root,root) %{_libexecdir}/mod_authz_default.so
1770
1771 %files mod_authz_groupfile
1772 %defattr(644,root,root,755)
1773 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1774 %attr(755,root,root) %{_libexecdir}/mod_authz_groupfile.so
1775
1776 %files mod_authz_host
1777 %defattr(644,root,root,755)
1778 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1779 %attr(755,root,root) %{_libexecdir}/mod_authz_host.so
1780
1781 %files mod_authz_owner
1782 %defattr(644,root,root,755)
1783 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1784 %attr(755,root,root) %{_libexecdir}/mod_authz_owner.so
1785
1786 %files mod_authz_user
1787 %defattr(644,root,root,755)
1788 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1789 %attr(755,root,root) %{_libexecdir}/mod_authz_user.so
1790
1791 %files mod_autoindex
1792 %defattr(644,root,root,755)
1793 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1794 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1795
1796 %if %{with bucketeer}
1797 %files mod_bucketeer
1798 %defattr(644,root,root,755)
1799 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1800 %attr(755,root,root) %{_libexecdir}/mod_bucketeer.so
1801 %endif
1802
1803 %files mod_cache
1804 %defattr(644,root,root,755)
1805 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1806 %attr(755,root,root) %{_sbindir}/htcacheclean
1807 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1808 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1809 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1810 %{_mandir}/man8/htcacheclean.8*
1811
1812 %files mod_cgid
1813 %defattr(644,root,root,755)
1814 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1815 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1816
1817 %files mod_charset_lite
1818 %defattr(644,root,root,755)
1819 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1820 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1821
1822 %files mod_dav
1823 %defattr(644,root,root,755)
1824 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1825 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1826 %dir %attr(770,root,http) /var/lock/mod_dav
1827
1828 %files mod_dbd
1829 %defattr(644,root,root,755)
1830 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1831 %attr(755,root,root) %{_libexecdir}/mod_dbd.so
1832
1833 %files mod_deflate
1834 %defattr(644,root,root,755)
1835 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1836 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1837
1838 %files mod_dir
1839 %defattr(644,root,root,755)
1840 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1841 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1842
1843 %files mod_dumpio
1844 %defattr(644,root,root,755)
1845 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1846 %attr(755,root,root) %{_libexecdir}/mod_dumpio.so
1847
1848 %files mod_expires
1849 %defattr(644,root,root,755)
1850 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1851 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1852
1853 %files mod_file_cache
1854 %defattr(644,root,root,755)
1855 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1856 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1857
1858 %files mod_filter
1859 %defattr(644,root,root,755)
1860 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1861 %attr(755,root,root) %{_libexecdir}/mod_filter.so
1862
1863 %files mod_headers
1864 %defattr(644,root,root,755)
1865 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1866 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1867
1868 %files mod_ident
1869 %defattr(644,root,root,755)
1870 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1871 %attr(755,root,root) %{_libexecdir}/mod_ident.so
1872
1873 %files mod_imagemap
1874 %defattr(644,root,root,755)
1875 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1876 %attr(755,root,root) %{_libexecdir}/mod_imagemap.so
1877
1878 %files mod_info
1879 %defattr(644,root,root,755)
1880 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1881 %attr(755,root,root) %{_libexecdir}/mod_info.so
1882
1883 %if %{with ldap}
1884 %files mod_ldap
1885 %defattr(644,root,root,755)
1886 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1887 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1888 %endif
1889
1890 %files mod_logio
1891 %defattr(644,root,root,755)
1892 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1893 %attr(755,root,root) %{_libexecdir}/mod_logio.so
1894
1895 %files mod_proxy
1896 %defattr(644,root,root,755)
1897 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1898 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1899
1900 %files mod_rewrite
1901 %defattr(644,root,root,755)
1902 %attr(755,root,root) %{_sbindir}/httxt2dbm
1903 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1904 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1905
1906 %if %{with ssl}
1907 %files mod_ssl
1908 %defattr(644,root,root,755)
1909 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1910 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
1911 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1912 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1913 %endif
1914
1915 %files mod_status
1916 %defattr(644,root,root,755)
1917 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1918 %attr(755,root,root) %{_libexecdir}/mod_status.so
1919
1920 %files mod_unique_id
1921 %defattr(644,root,root,755)
1922 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1923 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1924
1925 %files mod_usertrack
1926 %defattr(644,root,root,755)
1927 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1928 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1929
1930 %files mod_version
1931 %defattr(644,root,root,755)
1932 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1933 %attr(755,root,root) %{_libexecdir}/mod_version.so
1934
1935 %files mod_vhost_alias
1936 %defattr(644,root,root,755)
1937 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1938 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1939
1940 %files -n htpasswd-%{name}
1941 %defattr(644,root,root,755)
1942 %attr(755,root,root) %{_bindir}/htpasswd
1943 %attr(755,root,root) %{_sbindir}/htpasswd
1944 %{_mandir}/man1/htpasswd.1*
1945
1946 %files dbmtools
1947 %defattr(644,root,root,755)
1948 %attr(755,root,root) %{_sbindir}/dbmmanage
1949 %attr(755,root,root) %{_sbindir}/htdbm
1950 %{_mandir}/man1/dbmmanage.1*
1951 %{_mandir}/man1/htdbm.1*
1952
1953 %files cgi_test
1954 %defattr(644,root,root,755)
1955 %dir %{_cgibindir}
1956 %attr(755,root,root) %{_cgibindir}/*
1957 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/09_cgi_test.conf
This page took 0.181258 seconds and 3 git commands to generate.