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