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