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