4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
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)
21 %bcond_without ssl # build without SSL support
22 %bcond_without ldap # build without LDAP support
23 %bcond_without metuxmpm
24 %bcond_without peruser
27 %bcond_with bucketeer # debug one
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ý
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
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
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)
140 Provides: webserver = apache
141 Obsoletes: apache-extra
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)
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}
154 Apache is a powerful, full-featured, efficient and freely-available
155 Web server. Apache is also the most popular Web server on the
159 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
160 erhältlich und weit verbreitet ist.
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.
171 Apache est un serveur Web puissant, efficace, gratuit et complet.
172 Apache est aussi le serveur Web le plus populaire sur Internet.
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.
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.
187 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
188 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
191 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
195 Summary: Apache suexec wrapper
196 Summary(pl): Wrapper suexec do serwera WWW Apache
197 Group: Networking/Daemons
198 Requires: %{name} = %{version}-%{release}
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.
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.
212 Summary: Apache index.html* files
213 Summary(pl): Pliki Apache index.html*
215 Requires: %{name} = %{version}-%{release}
219 Apache index.html* files.
221 %description index -l pl
222 Pliki index.html* Apache'a.
225 Summary: Apache manual
226 Summary(pl): Podrêcznik Apache'a
228 Requires: %{name} = %{version}-%{release}
233 %description doc -l pl
237 Summary: APache eXtenSion tool
238 Summary(pl): Narzêdzie do rozszerzania Apache'a
239 Group: Development/Tools
242 APache eXtenSion tool.
244 %description apxs -l pl
245 Narzêdzie do rozszerzania Apache'a.
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
258 Obsoletes: apache-static
261 The apache-devel package contains header files for Apache.
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.
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.
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.
278 %description devel -l ru
279 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
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.
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}
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.
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.
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}
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.
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}
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.
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}
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.
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}
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.
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}
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.
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}
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
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.
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}
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
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}
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
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}
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.
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}
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
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}
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
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.
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}
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
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}
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.
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}
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
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}
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.
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}
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.
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}
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.
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}
508 %description mod_autoindex
509 This package contains mod_autoindex module. It provides generation
512 %description mod_autoindex -l pl
513 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
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}
521 %description mod_bucketeer
522 Split buckets whenever we find a control-char.
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}
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).
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).
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}
553 %description mod_cgid
554 Execution of CGI scripts using an external CGI daemon.
556 %description mod_cgid -l pl
557 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
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}
566 %description mod_charset_lite
567 Specify character set translation or recoding.
569 %description mod_charset_lite -l pl
570 Translacja lub przekodowywanie znaków.
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}
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.
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.
592 Summary: Manages SQL database connections
593 Group: Networking/Daemons
594 Provides: apache(mod_dbd) = %{version}-%{release}
595 Requires: %{name} = %{version}-%{release}
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.
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}
611 %description mod_deflate
612 Compress content before it is delivered to the client.
614 %description mod_deflate -l pl
615 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
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}
625 This package contains mod_dir which provides "trailing slash"
626 redirects and serving directory index files.
628 %description mod_dir -l pl
629 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
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}
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
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
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}
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
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.
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}
674 %description mod_file_cache
675 Caches a static list of files in memory.
677 %description mod_file_cache -l pl
678 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
681 Summary: Context-sensitive smart filter configuration module
682 Group: Networking/Daemons
683 Provides: apache(mod_filter) = %{version}-%{release}
684 Requires: %{name} = %{version}-%{release}
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).
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}
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,
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.
709 Summary: RFC 1413 ident lookups
710 Group: Networking/Daemons
711 Provides: apache(mod_ident) = %{version}-%{release}
712 Requires: %{name} = %{version}-%{release}
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.
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}
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.
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}
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.
743 %description mod_info -l pl
744 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
745 zainstalowanych modu³ach itp.
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}
754 %description mod_ldap
755 Apache module to use LDAP connections.
757 %description mod_ldap -l pl
758 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
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}
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.
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}
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.
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,
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}
800 %description mod_rewrite
801 This package contains It provides a rule-based rewriting engine to
802 rewrite requested URLs on the fly.
804 %description mod_rewrite -l pl
805 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
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
813 Provides: apache(mod_ssl) = 1:%{version}-%{release}
814 Requires: %{name} = %{version}-%{release}
817 The mod_ssl module provides strong cryptography for the Apache Web
818 server via the Secure Sockets Layer (SSL) and Transport Layer Security
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
826 %description mod_ssl -l ru
827 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
828 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
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}
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
844 %description mod_status -l pl
845 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
846 pracy serwera Apache (w postaci strony HTML).
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}
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.
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±
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}
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
882 %description mod_usertrack -l pl
883 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
886 Summary: Version dependent configuration
887 Group: Networking/Daemons
888 Provides: apache(mod_version) = %{version}-%{release}
889 Requires: %{name} = %{version}-%{release}
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
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}
905 %description mod_vhost_alias
906 This package contains the mod_vhost_alias. It provides support for
907 dynamically configured mass virtual hosting.
909 %description mod_vhost_alias -l pl
910 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
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
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.
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.
934 Summary: Apache 2 tools for manipulating DBM files
935 Group: Networking/Utilities
936 Requires: %{name} = %{version}-%{release}
938 %description dbmtools
939 Apache 2 tools for manipulating DBM files.
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
948 %description cgi_test
949 Two cgi test/demo programs: test-cgi and print-env.
951 %description cgi_test -l pl
952 Dwa programy testowe/przyk³adowe cgi: test-cgi and print-env.
955 %setup -q -n httpd-%{version}
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
978 sed -i -e '1s@#!.*local/bin/perl@#!%{__perl}@' docs/cgi-examples/printenv
980 # fix location of build dir in generated apxs
982 s:@exp_installbuilddir@:%{_libdir}/apache/build:g
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."
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
1000 : fixing timestamps for mod_ssl sources
1002 touch ssl_expr_parse.y
1004 touch ssl_expr_parse.c ssl_expr_parse.h ssl_expr_scan.l
1006 touch ssl_expr_scan.c
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}"
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 \
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 \
1030 --enable-disk-cache \
1031 --enable-mem-cache \
1033 %{?with_bucketeer:--enable-bucketeer} \
1036 --enable-charset-lite \
1038 %{?with_ldap:--enable-ldap} \
1039 --enable-ext-filter \
1040 --enable-case-filter \
1041 --enable-case-filter-in \
1042 --enable-log-forensic \
1044 --with-z=%{_prefix} \
1045 --enable-mime-magic \
1046 --enable-cern-meta \
1050 --enable-usertrack \
1051 --enable-unique-id \
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 \
1071 --enable-vhost-alias \
1076 --with-program-name=httpd.${mpm} \
1080 $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
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 \
1095 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
1097 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
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."
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
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
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}
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
1140 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
1141 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
1143 mv $RPM_BUILD_ROOT{%{_sysconfdir},%{_libexecdir}}/build
1144 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
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
1151 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
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
1159 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
1161 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
1162 # TODO: split by modules
1163 install %{SOURCE7} $CFG/20_common.conf
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
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
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' \
1200 rm -rf $RPM_BUILD_ROOT%{_datadir}/manual/style
1205 echo "%{_datadir}/manual/LICENSE" >> "$cur/manual.files"
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"
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}/
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
1231 rm $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
1234 rm -rf $RPM_BUILD_ROOT
1237 %groupadd -g 51 http
1238 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
1241 /sbin/chkconfig --add httpd
1243 touch /var/log/httpd/{access,error,agent,referer}_log
1246 if [ "$1" = "0" ]; then
1247 if [ -f /var/lock/subsys/httpd ]; then
1248 /etc/rc.d/init.d/httpd stop 1>&2
1250 # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
1251 [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
1255 if [ "$1" = "0" ]; then
1260 %triggerpostun -- %{name} <= 2.0.50-6
1261 %banner %{name}-2.0.50-6 << EOF
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
1268 %triggerpostun -- %{name} < 2.0.54-4
1269 %banner %{name}-2.0.54-2 << EOF
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
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}
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
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}
1301 # minimizing apache restarts logics. we restart webserver:
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)
1307 # the strict internal deps between apache modules and
1308 # main package are very important for all this to work.
1310 # restart webserver at the end of transaction
1311 %service httpd restart
1313 # macro called at module post scriptlet
1314 %define module_post \
1315 if [ "$1" = "1" ]; then \
1316 %service -q httpd restart \
1319 # macro called at module postun scriptlet
1320 %define module_postun \
1321 if [ "$1" = "0" ]; then \
1322 %service -q httpd restart \
1331 %post mod_auth_basic
1334 %postun mod_auth_basic
1337 %post mod_auth_digest
1340 %postun mod_auth_digest
1343 %post mod_authn_alias
1346 %postun mod_authn_alias
1349 %post mod_authn_anon
1352 %postun mod_authn_anon
1358 %postun mod_authn_dbd
1364 %postun mod_authn_dbm
1367 %post mod_authn_default
1370 %postun mod_authn_default
1373 %post mod_authn_file
1376 %postun mod_authn_file
1379 %post mod_authnz_ldap
1382 %postun mod_authnz_ldap
1388 %postun mod_authz_dbm
1391 %post mod_authz_default
1394 %postun mod_authz_default
1397 %post mod_authz_groupfile
1400 %postun mod_authz_groupfile
1403 %post mod_authz_host
1406 %postun mod_authz_host
1409 %post mod_authz_owner
1412 %postun mod_authz_owner
1415 %post mod_authz_user
1418 %postun mod_authz_user
1424 %postun mod_autoindex
1430 %postun mod_bucketeer
1445 %post mod_charset_lite
1448 %postun mod_charset_lite
1487 %post mod_file_cache
1490 %postun mod_file_cache
1514 %postun mod_imagemap
1562 %postun mod_unique_id
1568 %postun mod_usertrack
1577 %post mod_vhost_alias
1580 %postun mod_vhost_alias
1584 if [ "$1" = "1" ]; then
1585 %service -q httpd reload
1589 if [ "$1" = "0" ]; then
1590 %service -q httpd reload
1594 %defattr(644,root,root,755)
1595 %doc ABOUT_APACHE CHANGES README
1596 %doc docs/conf/mime.types
1598 %attr(754,root,root) /etc/rc.d/init.d/httpd
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
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
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
1639 %attr(755,root,root) %{_sbindir}/htdigest
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
1649 %dir %attr(770,root,http) /var/run/apache
1650 %dir %attr(770,root,http) /var/cache/apache
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*
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/*
1665 %dir %{_datadir}/cgi-bin
1666 %dir %{_datadir}/html
1670 %files doc -f manual.files
1671 %defattr(644,root,root,755)
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*
1681 %defattr(644,root,root,755)
1682 %config(noreplace,missingok) %{_datadir}/html/index.html*
1683 %{_datadir}/html/*.gif
1684 %{_datadir}/html/*.png
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*
1695 %defattr(644,root,root,755)
1697 %{_libexecdir}/*.exp
1698 # is this symlink needed?
1699 %{_sysconfdir}/build
1700 %{_libexecdir}/build/[lprs]*.mk
1701 %attr(755,root,root) %{_libexecdir}/build/*.sh
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
1709 %defattr(644,root,root,755)
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
1717 %defattr(644,root,root,755)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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*
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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*
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*
1954 %defattr(644,root,root,755)
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