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