]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- BuildRequires: postgresql-devel (thx to kamyk for noticing that one)
[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 # - review: http://securitytracker.com/alerts/2005/Aug/1014826.html
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.54
39 Release:        6
40 License:        Apache Group License
41 Group:          Networking/Daemons
42 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
43 # Source0-md5:  772503748ffb85301385d47fb2b96eca
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 # http://issues.apache.org/bugzilla/attachment.cgi?id=16102 DoS
94 Patch25:        %{name}2-byterange.patch
95 URL:            http://httpd.apache.org/
96 BuildRequires:  automake
97 BuildRequires:  apr-devel >= 1:1.0.0
98 BuildRequires:  apr-util-devel >= 1:1.0.0
99 BuildRequires:  db-devel
100 BuildRequires:  expat-devel
101 BuildRequires:  gdbm-devel >= 1.8.3
102 BuildRequires:  libtool >= 2:1.5
103 %{?with_ldap:BuildRequires:     openldap-devel}
104 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
105 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
106 %{?with_external_pcre:BuildRequires:    pcre-devel}
107 BuildRequires:  perl-devel >= 1:5.6
108 BuildRequires:  postgresql-devel
109 BuildRequires:  rpm-perlprov >= 4.1-13
110 BuildRequires:  rpmbuild(macros) >= 1.202
111 BuildRequires:  zlib-devel
112 PreReq:         perl-base
113 PreReq:         rc-scripts >= 0.4.0.15
114 Requires(pre):  /bin/id
115 Requires(pre):  /usr/bin/getgid
116 Requires(pre):  /usr/sbin/groupadd
117 Requires(pre):  /usr/sbin/useradd
118 Requires(postun):       /usr/sbin/userdel
119 Requires(postun):       /usr/sbin/groupdel
120 Requires(post,preun):   /sbin/chkconfig
121 Requires(post): fileutils
122 Requires:       /etc/mime.types
123 Requires:       apr >= 1:1.0.0-2
124 Requires:       %{name}-apxs = %{version}-%{release}
125 Requires:       FHS >= 2.3-12
126 Requires:       mailcap
127 Requires:       psmisc >= 20.1
128 Provides:       apache(modules-api) = %{_apache_modules_api}
129 Provides:       apache(mod_access)
130 Provides:       apache(mod_alias)
131 Provides:       apache(mod_asis)
132 Provides:       apache(mod_autoindex)
133 Provides:       apache(mod_cern_meta)
134 Provides:       apache(mod_cgi)
135 Provides:       apache(mod_env)
136 Provides:       apache(mod_include)
137 Provides:       apache(mod_log_config)
138 Provides:       apache(mod_mime)
139 Provides:       apache(mod_mime_magic)
140 Provides:       apache(mod_negotiation)
141 Provides:       apache(mod_setenvif)
142 Provides:       apache(mod_speling)
143 Provides:       apache(mod_userdir)
144 Provides:       group(http)
145 Provides:       httpd = %{version}
146 Provides:       user(http)
147 Provides:       webserver = apache
148 Obsoletes:      apache-extra
149 Obsoletes:      apache6
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) = %{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 %patch25 -p0
781
782 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
783 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
784 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
785
786 %build
787 # sanity check
788 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
789 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
790         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
791         exit 1
792 fi
793 ./buildconf
794 rm -rf srclib/apr*
795 # Before configure; fix location of build dir in generated apxs
796 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
797         support/apxs.in
798 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
799 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
800 install /usr/share/automake/config.* build/
801 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
802 for mpm in metuxmpm peruser perchild prefork worker; do
803 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
804 ../%configure \
805         --prefix=%{_sysconfdir} \
806         --exec-prefix=%{_libexecdir} \
807         --with-installbuilddir=%{_libdir}/apache/build \
808         --enable-layout=PLD \
809         --enable-modules=all \
810         --enable-mods-shared=all \
811         --enable-auth-anon \
812         --enable-auth-dbm \
813         --enable-auth-digest \
814         --enable-file-cache \
815         --enable-echo \
816         --enable-cache \
817         --enable-charset-lite \
818         --enable-mem-cache \
819         --enable-disk-cache \
820         --enable-ext-filter \
821         --enable-case-filter \
822         --enable-case-filter-in \
823         --enable-deflate \
824         --with-z=%{_prefix} \
825         --enable-mime-magic \
826         --enable-cern-meta \
827         --enable-expires \
828         --enable-headers \
829         --enable-usertrack \
830         --enable-unique-id \
831         --enable-proxy \
832         --enable-proxy-connect \
833         --enable-proxy-ftp \
834         --enable-proxy-http \
835         %{?with_ssl:--enable-ssl} \
836         --enable-optional-hook-export \
837         --enable-optional-hook-import \
838         --enable-optional-fn-import \
839         --enable-optional-fn-export \
840         %{?with_ldap:--enable-ldap} \
841         %{?with_ldap:--enable-auth-ldap} \
842         --enable-dav \
843         --enable-info \
844         --enable-suexec \
845         --enable-cgi \
846         --enable-cgid \
847         --enable-dav-fs \
848         --enable-vhost-alias \
849         --enable-speling \
850         --enable-rewrite \
851         --enable-so \
852         --with-program-name=httpd.${mpm} \
853         --with-mpm=${mpm} \
854 %ifarch %{ix86}
855 %ifnarch i386 i486
856         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
857 %endif
858 %endif
859         --with-suexec-bin=%{_sbindir}/suexec \
860         --with-suexec-caller=http \
861         --with-suexec-docroot=%{_datadir} \
862         --with-suexec-logfile=/var/log/httpd/suexec_log \
863         --with-suexec-uidmin=500 \
864         --with-suexec-gidmin=500 \
865         --with-suexec-umask=077 \
866         --with-apr=%{_bindir}/apr-1-config \
867         --with-apr-util=%{_bindir}/apu-1-config \
868         %{?with_external_pcre:--with-external-pcre}
869
870 %{__make}
871 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
872
873 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
874
875 cd ..
876 done
877
878 for mpm in metuxmpm peruser perchild worker; do
879         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
880                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
881                 echo "Build failed."
882                 exit 1
883         fi
884 done
885
886 %install
887 rm -rf $RPM_BUILD_ROOT
888 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
889         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache,lock/mod_dav} \
890         $RPM_BUILD_ROOT%{_datadir}/cgi-bin
891
892 # prefork is default one
893 %{__make} -C buildmpm-prefork install \
894         DESTDIR=$RPM_BUILD_ROOT \
895         installbuilddir=%{_sysconfdir}/build \
896         prefix=%{_sysconfdir}/httpd \
897         libexecdir=%{_libdir}/%{name} \
898         iconsdir=%{_datadir}/icons \
899         errordir=%{_datadir}/error \
900         htdocsdir=%{_datadir}/html \
901         manualdir=%{_datadir}/manual \
902         cgidir=%{_cgibindir} \
903         runtimedir=%{_var}/run \
904         logdir=%{_var}/log/httpd \
905         proxycachedir=%{_var}/cache/httpd
906
907 for mpm in metuxmpm peruser perchild worker; do
908         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
909         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
910 done
911
912 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
913
914 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
915 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
916 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
917
918 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
919 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
920
921 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
922         $RPM_BUILD_ROOT%{_libexecdir}/build
923
924 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
925 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
926 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
927 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
928 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
929 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
930
931 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
932 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
933 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/httpd
934 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
935
936 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
937
938 %if %{with ssl}
939 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
940 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
941 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
942 %endif
943
944 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
945
946 install %{SOURCE6} $CFG/10_httpd.conf
947 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
948 install %{SOURCE9} $CFG/25_mod_status.conf
949 install %{SOURCE10} $CFG/30_mod_proxy.conf
950 install %{SOURCE11} $CFG/35_mod_info.conf
951 install %{SOURCE12} $CFG/40_mod_ssl.conf
952 install %{SOURCE13} $CFG/45_mod_dav.conf
953 install %{SOURCE14} $CFG/59_mod_dir.conf
954 install %{SOURCE15} $CFG/13_mod_suexec.conf
955 install %{SOURCE16} $CFG/58_mod_deflate.conf
956 install %{SOURCE17} $CFG/57_mod_autoindex.conf
957
958 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
959 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
960 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
961 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
962 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
963 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
964 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
965 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
966 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
967 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
968 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
969 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
970 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
971 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
972 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
973 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
974 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
975 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
976 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
977
978 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
979 # let's remove trash (yes, *.html without lang suffix also contain trash)
980 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
981         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
982         | xargs rm -f
983
984 # htpasswd goes to %{_bindir}
985 mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
986 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
987
988 # cgi_test: create config file with ScriptAlias
989 cat << EOF > $CFG/09_cgi_test.conf
990 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
991 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
992 EOF
993
994 %clean
995 rm -rf $RPM_BUILD_ROOT
996
997 %pre
998 %groupadd -g 51 http
999 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
1000
1001 %post
1002 /sbin/chkconfig --add httpd
1003 umask 137
1004 touch /var/log/httpd/{access,error,agent,referer}_log
1005 if [ -f /var/lock/subsys/httpd ]; then
1006         /etc/rc.d/init.d/httpd restart 1>&2
1007 else
1008         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1009 fi
1010
1011 %preun
1012 if [ "$1" = "0" ]; then
1013         if [ -f /var/lock/subsys/httpd ]; then
1014                 /etc/rc.d/init.d/httpd stop 1>&2
1015         fi
1016         # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
1017         [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
1018 fi
1019
1020 %postun
1021 if [ "$1" = "0" ]; then
1022         %userremove http
1023         %groupremove http
1024 fi
1025
1026 %triggerpostun -- %{name} <= 2.0.50-6
1027 %banner %{name}-2.0.50-6 << EOF
1028 WARNING!!!
1029 Since apache-2.0.50-6 autoindex module has been separated to package
1030 %{name}-mod_autoindex If you want to have the same functionality do:
1031 poldek -Uv %{name}-mod_autoindex
1032 EOF
1033
1034 %triggerpostun -- %{name} < 2.0.54-4
1035 %banner %{name}-2.0.54-2 << EOF
1036 WARNING!!!
1037 CGI demo/test programs - printenv and test-cgi, have been released
1038 from package apache into separate subpackage apache-cgi_test. If you
1039 need printenv and/or test-cgi, please install apache-cgi_test package,
1040 e.g. by running poldek -Uv apache-cgi_test
1041 EOF
1042
1043 # update /etc/sysconfig/apache -> httpd rename
1044 if [ -f /etc/sysconfig/apache.rpmsave ]; then
1045         cp -f /etc/sysconfig/httpd{,.rpmnew}
1046         mv -f /etc/sysconfig/{apache.rpmsave,httpd}
1047 fi
1048
1049 %post mod_actions
1050 if [ -f /var/lock/subsys/httpd ]; then
1051         /etc/rc.d/init.d/httpd restart 1>&2
1052 else
1053         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1054 fi
1055
1056 %preun mod_actions
1057 if [ "$1" = "0" ]; then
1058         if [ -f /var/lock/subsys/httpd ]; then
1059                 /etc/rc.d/init.d/httpd restart 1>&2
1060         fi
1061 fi
1062
1063 %post mod_auth
1064 if [ -f /var/lock/subsys/httpd ]; then
1065         /etc/rc.d/init.d/httpd restart 1>&2
1066 else
1067         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1068 fi
1069
1070 %preun mod_auth
1071 if [ "$1" = "0" ]; then
1072         if [ -f /var/lock/subsys/httpd ]; then
1073                 /etc/rc.d/init.d/httpd restart 1>&2
1074         fi
1075 fi
1076
1077 %post mod_auth_anon
1078 if [ -f /var/lock/subsys/httpd ]; then
1079         /etc/rc.d/init.d/httpd restart 1>&2
1080 else
1081         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1082 fi
1083
1084 %preun mod_auth_anon
1085 if [ "$1" = "0" ]; then
1086         if [ -f /var/lock/subsys/httpd ]; then
1087                 /etc/rc.d/init.d/httpd restart 1>&2
1088         fi
1089 fi
1090
1091 %post mod_auth_dbm
1092 if [ -f /var/lock/subsys/httpd ]; then
1093         /etc/rc.d/init.d/httpd restart 1>&2
1094 else
1095         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1096 fi
1097
1098 %preun mod_auth_dbm
1099 if [ "$1" = "0" ]; then
1100         if [ -f /var/lock/subsys/httpd ]; then
1101                 /etc/rc.d/init.d/httpd restart 1>&2
1102         fi
1103 fi
1104
1105 %post mod_autoindex
1106 if [ -f /var/lock/subsys/httpd ]; then
1107         /etc/rc.d/init.d/httpd restart 1>&2
1108 else
1109         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1110 fi
1111
1112 %preun mod_autoindex
1113 if [ "$1" = "0" ]; then
1114         if [ -f /var/lock/subsys/httpd ]; then
1115                 /etc/rc.d/init.d/httpd restart 1>&2
1116         fi
1117 fi
1118
1119 %post mod_cache
1120 if [ -f /var/lock/subsys/httpd ]; then
1121         /etc/rc.d/init.d/httpd restart 1>&2
1122 else
1123         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1124 fi
1125
1126 %preun mod_cache
1127 if [ "$1" = "0" ]; then
1128         if [ -f /var/lock/subsys/httpd ]; then
1129                 /etc/rc.d/init.d/httpd restart 1>&2
1130         fi
1131 fi
1132
1133 %post mod_cgid
1134 if [ -f /var/lock/subsys/httpd ]; then
1135         /etc/rc.d/init.d/httpd restart 1>&2
1136 else
1137         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1138 fi
1139
1140 %preun mod_cgid
1141 if [ "$1" = "0" ]; then
1142         if [ -f /var/lock/subsys/httpd ]; then
1143                 /etc/rc.d/init.d/httpd restart 1>&2
1144         fi
1145 fi
1146
1147 %post mod_charset_lite
1148 if [ -f /var/lock/subsys/httpd ]; then
1149         /etc/rc.d/init.d/httpd restart 1>&2
1150 else
1151         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1152 fi
1153
1154 %preun mod_charset_lite
1155 if [ "$1" = "0" ]; then
1156         if [ -f /var/lock/subsys/httpd ]; then
1157                 /etc/rc.d/init.d/httpd restart 1>&2
1158         fi
1159 fi
1160
1161 %post mod_dav
1162 if [ -f /var/lock/subsys/httpd ]; then
1163         /etc/rc.d/init.d/httpd restart 1>&2
1164 else
1165         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1166 fi
1167
1168 %preun mod_dav
1169 if [ "$1" = "0" ]; then
1170         if [ -f /var/lock/subsys/httpd ]; then
1171                 /etc/rc.d/init.d/httpd restart 1>&2
1172         fi
1173 fi
1174
1175 %post mod_auth_digest
1176 if [ -f /var/lock/subsys/httpd ]; then
1177         /etc/rc.d/init.d/httpd restart 1>&2
1178 else
1179         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1180 fi
1181
1182 %preun mod_auth_digest
1183 if [ "$1" = "0" ]; then
1184         if [ -f /var/lock/subsys/httpd ]; then
1185                 /etc/rc.d/init.d/httpd restart 1>&2
1186         fi
1187 fi
1188
1189 %post mod_deflate
1190 if [ -f /var/lock/subsys/httpd ]; then
1191         /etc/rc.d/init.d/httpd restart 1>&2
1192 else
1193         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1194 fi
1195
1196 %preun mod_deflate
1197 if [ "$1" = "0" ]; then
1198         if [ -f /var/lock/subsys/httpd ]; then
1199                 /etc/rc.d/init.d/httpd restart 1>&2
1200         fi
1201 fi
1202
1203 %post mod_dir
1204 if [ -f /var/lock/subsys/httpd ]; then
1205         /etc/rc.d/init.d/httpd restart 1>&2
1206 else
1207         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1208 fi
1209
1210 %preun mod_dir
1211 if [ "$1" = "0" ]; then
1212         if [ -f /var/lock/subsys/httpd ]; then
1213                 /etc/rc.d/init.d/httpd restart 1>&2
1214         fi
1215 fi
1216
1217 %post mod_expires
1218 if [ -f /var/lock/subsys/httpd ]; then
1219         /etc/rc.d/init.d/httpd restart 1>&2
1220 else
1221         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1222 fi
1223
1224 %preun mod_expires
1225 if [ "$1" = "0" ]; then
1226         if [ -f /var/lock/subsys/httpd ]; then
1227                 /etc/rc.d/init.d/httpd restart 1>&2
1228         fi
1229 fi
1230
1231 %post mod_file_cache
1232 if [ -f /var/lock/subsys/httpd ]; then
1233         /etc/rc.d/init.d/httpd restart 1>&2
1234 else
1235         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1236 fi
1237
1238 %preun mod_file_cache
1239 if [ "$1" = "0" ]; then
1240         if [ -f /var/lock/subsys/httpd ]; then
1241                 /etc/rc.d/init.d/httpd restart 1>&2
1242         fi
1243 fi
1244
1245 %post mod_headers
1246 if [ -f /var/lock/subsys/httpd ]; then
1247         /etc/rc.d/init.d/httpd restart 1>&2
1248 else
1249         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1250 fi
1251
1252 %preun mod_headers
1253 if [ "$1" = "0" ]; then
1254         if [ -f /var/lock/subsys/httpd ]; then
1255                 /etc/rc.d/init.d/httpd restart 1>&2
1256         fi
1257 fi
1258
1259 %post mod_imap
1260 if [ -f /var/lock/subsys/httpd ]; then
1261         /etc/rc.d/init.d/httpd restart 1>&2
1262 else
1263         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1264 fi
1265
1266 %preun mod_imap
1267 if [ "$1" = "0" ]; then
1268         if [ -f /var/lock/subsys/httpd ]; then
1269                 /etc/rc.d/init.d/httpd restart 1>&2
1270         fi
1271 fi
1272
1273 %post mod_info
1274 if [ -f /var/lock/subsys/httpd ]; then
1275         /etc/rc.d/init.d/httpd restart 1>&2
1276 else
1277         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1278 fi
1279
1280 %preun mod_info
1281 if [ "$1" = "0" ]; then
1282         if [ -f /var/lock/subsys/httpd ]; then
1283                 /etc/rc.d/init.d/httpd restart 1>&2
1284         fi
1285 fi
1286
1287 %post mod_proxy
1288 if [ -f /var/lock/subsys/httpd ]; then
1289         /etc/rc.d/init.d/httpd restart 1>&2
1290 else
1291         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1292 fi
1293
1294 %preun mod_proxy
1295 if [ "$1" = "0" ]; then
1296         if [ -f /var/lock/subsys/httpd ]; then
1297                 /etc/rc.d/init.d/httpd restart 1>&2
1298         fi
1299 fi
1300
1301 %post mod_rewrite
1302 if [ -f /var/lock/subsys/httpd ]; then
1303         /etc/rc.d/init.d/httpd restart 1>&2
1304 else
1305         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1306 fi
1307
1308 %preun mod_rewrite
1309 if [ "$1" = "0" ]; then
1310         if [ -f /var/lock/subsys/httpd ]; then
1311                 /etc/rc.d/init.d/httpd restart 1>&2
1312         fi
1313 fi
1314
1315 %post mod_ssl
1316 if [ -f /var/lock/subsys/httpd ]; then
1317         /etc/rc.d/init.d/httpd restart 1>&2
1318 else
1319         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1320 fi
1321
1322 %preun mod_ssl
1323 if [ "$1" = "0" ]; then
1324         if [ -f /var/lock/subsys/httpd ]; then
1325                 /etc/rc.d/init.d/httpd restart 1>&2
1326         fi
1327 fi
1328
1329 %post mod_status
1330 if [ -f /var/lock/subsys/httpd ]; then
1331         /etc/rc.d/init.d/httpd restart 1>&2
1332 else
1333         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1334 fi
1335
1336 %preun mod_status
1337 if [ "$1" = "0" ]; then
1338         if [ -f /var/lock/subsys/httpd ]; then
1339                 /etc/rc.d/init.d/httpd restart 1>&2
1340         fi
1341 fi
1342
1343 %post mod_usertrack
1344 if [ -f /var/lock/subsys/httpd ]; then
1345         /etc/rc.d/init.d/httpd restart 1>&2
1346 else
1347         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1348 fi
1349
1350 %preun mod_usertrack
1351 if [ "$1" = "0" ]; then
1352         if [ -f /var/lock/subsys/httpd ]; then
1353                 /etc/rc.d/init.d/httpd restart 1>&2
1354         fi
1355 fi
1356
1357 %post mod_unique_id
1358 if [ -f /var/lock/subsys/httpd ]; then
1359         /etc/rc.d/init.d/httpd restart 1>&2
1360 else
1361         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1362 fi
1363
1364 %preun mod_unique_id
1365 if [ "$1" = "0" ]; then
1366         if [ -f /var/lock/subsys/httpd ]; then
1367                 /etc/rc.d/init.d/httpd restart 1>&2
1368         fi
1369 fi
1370
1371 %post mod_vhost_alias
1372 if [ -f /var/lock/subsys/httpd ]; then
1373         /etc/rc.d/init.d/httpd restart 1>&2
1374 else
1375         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1376 fi
1377
1378 %preun mod_vhost_alias
1379 if [ "$1" = "0" ]; then
1380         if [ -f /var/lock/subsys/httpd ]; then
1381                 /etc/rc.d/init.d/httpd restart 1>&2
1382         fi
1383 fi
1384
1385 %post cgi_test
1386 if [ -f /var/lock/subsys/httpd ]; then
1387         /etc/rc.d/init.d/httpd restart 1>&2
1388 else
1389         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache HTTP daemon."
1390 fi
1391
1392 %preun cgi_test
1393 if [ "$1" = "0" ]; then
1394         if [ -f /var/lock/subsys/httpd ]; then
1395                 /etc/rc.d/init.d/httpd restart 1>&2
1396         fi
1397 fi
1398
1399 %files
1400 %defattr(644,root,root,755)
1401 %doc ABOUT_APACHE CHANGES README
1402 %doc docs/conf/mime.types
1403
1404 %attr(754,root,root) /etc/rc.d/init.d/httpd
1405
1406 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1407 %attr(750,root,root) %dir %{_sysconfdir}/modules
1408 %attr(750,root,root) %dir %{_sysconfdir}/run
1409 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_httpd.conf
1410 %attr(640,root,root) %{_sysconfdir}/magic
1411 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
1412 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
1413 %attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
1414
1415 %attr(755,root,root) %{_libexecdir}/mod_access.so
1416 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1417 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1418 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1419 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1420 %attr(755,root,root) %{_libexecdir}/mod_env.so
1421 %attr(755,root,root) %{_libexecdir}/mod_include.so
1422 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1423 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1424 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1425 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1426 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1427 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1428 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1429 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1430
1431 # look at TODO on top
1432 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1433 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1434 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1435 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1436 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1437 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1438 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1439 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1440
1441 %attr(755,root,root) %{_sbindir}/htdigest
1442
1443 %attr(755,root,root) %{_sbindir}/ab
1444 %attr(755,root,root) %{_sbindir}/apachectl
1445 %attr(755,root,root) %{_sbindir}/checkgid
1446 %attr(755,root,root) %{_sbindir}/httpd
1447 %attr(755,root,root) %{_sbindir}/httpd.*
1448 %attr(755,root,root) %{_sbindir}/logresolve
1449 %attr(755,root,root) %{_sbindir}/rotatelogs
1450
1451 %dir %attr(770,root,http) /var/run/apache
1452 %dir %attr(770,root,http) /var/cache/apache
1453
1454 %{_mandir}/man1/htdigest.1*
1455 %{_mandir}/man8/ab.8*
1456 %{_mandir}/man8/apachectl.8*
1457 %{_mandir}/man8/httpd.8*
1458 %{_mandir}/man8/logresolve.8*
1459 %{_mandir}/man8/rotatelogs.8*
1460
1461 %attr(2750,root,logs) %dir /var/log/httpd
1462 %attr(2750,root,logs) %dir /var/log/archiv/httpd
1463 %attr(640,root,logs) %ghost /var/log/httpd/*
1464
1465 %dir %{_datadir}
1466
1467 %dir %{_datadir}/cgi-bin
1468 %dir %{_datadir}/html
1469 %{_datadir}/icons
1470 %{_datadir}/error
1471
1472 %files doc
1473 %defattr(644,root,root,755)
1474 %dir %{_datadir}/manual
1475 %{_datadir}/manual/LICENSE
1476 %{_datadir}/manual/*.html.en
1477 %lang(de) %{_datadir}/manual/*.html.de
1478 %lang(es) %{_datadir}/manual/*.html.es
1479 %lang(fr) %{_datadir}/manual/*.html.fr
1480 %lang(ja) %{_datadir}/manual/*.html.ja*
1481 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1482 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1483 %dir %{_datadir}/manual/developer
1484 %{_datadir}/manual/developer/*.html.en
1485 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1486 %dir %{_datadir}/manual/faq
1487 %{_datadir}/manual/faq/*.html.en
1488 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1489 %dir %{_datadir}/manual/howto
1490 %{_datadir}/manual/howto/*.html.en
1491 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1492 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1493 %dir %{_datadir}/manual/images
1494 %{_datadir}/manual/images/[!m]*
1495 %dir %{_datadir}/manual/misc
1496 %{_datadir}/manual/misc/*.html.en
1497 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1498 %dir %{_datadir}/manual/mod
1499 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1500 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1501 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1502 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1503 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1504 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1505 %{_datadir}/manual/mod/module-dict.html.en
1506 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1507 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1508 %{_datadir}/manual/mod/mpm_common.html.en
1509 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1510 %lang(es) %{_datadir}/manual/mod/mpm_common.html.es
1511 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1512 %{_datadir}/manual/mod/mod_access.html.en
1513 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1514 %{_datadir}/manual/mod/mod_alias.html.en
1515 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1516 %lang(ko) %{_datadir}/manual/mod/mod_alias.html.ko.euc-kr
1517 %{_datadir}/manual/mod/mod_asis.html.en
1518 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1519 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1520 %{_datadir}/manual/mod/mod_autoindex.html.en
1521 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1522 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1523 %{_datadir}/manual/mod/mod_cern_meta.html.en
1524 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1525 %{_datadir}/manual/mod/mod_cgi.html.en
1526 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1527 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1528 %{_datadir}/manual/mod/mod_echo.html.en
1529 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1530 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1531 %{_datadir}/manual/mod/mod_env.html.en
1532 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1533 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1534 %{_datadir}/manual/mod/mod_ext_filter.html.en
1535 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1536 %{_datadir}/manual/mod/mod_include.html.en
1537 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1538 %{_datadir}/manual/mod/mod_log_config.html.en
1539 %lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.euc-jp
1540 %lang(ko) %{_datadir}/manual/mod/mod_log_config.html.ko.euc-kr
1541 %{_datadir}/manual/mod/mod_log_forensic.html.en
1542 %{_datadir}/manual/mod/mod_mime*.html.en
1543 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1544 %{_datadir}/manual/mod/mod_negotiation.html.en
1545 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1546 %{_datadir}/manual/mod/mod_setenvif.html.en
1547 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1548 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1549 %{_datadir}/manual/mod/mod_speling.html.en
1550 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1551 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1552 %{_datadir}/manual/mod/mod_userdir.html.en
1553 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1554 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1555 %dir %{_datadir}/manual/programs
1556 %{_datadir}/manual/programs/*.html.en
1557 %lang(es) %{_datadir}/manual/programs/*.html.es
1558 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1559 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1560 %dir %{_datadir}/manual/style
1561 %{_datadir}/manual/style/css
1562
1563 %{_datadir}/manual/mod/mod_suexec.html.en
1564 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1565 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1566 %{_datadir}/manual/mod/mod_actions.html.en
1567 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1568 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1569 %{_datadir}/manual/mod/mod_auth.html.en
1570 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1571 %{_datadir}/manual/mod/mod_auth_anon.html.en
1572 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1573 %{_datadir}/manual/mod/mod_ldap.html.en
1574 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1575 %{_datadir}/manual/mod/mod_auth_digest.html.en
1576 %lang(ko) %{_datadir}/manual/mod/mod_auth_digest.html.ko.euc-kr
1577 %{_datadir}/manual/mod/mod_cache.html.en
1578 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1579 %{_datadir}/manual/mod/mod_disk_cache.html.en
1580 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1581 %{_datadir}/manual/mod/mod_mem_cache.html.en
1582 %lang(ko) %{_datadir}/manual/mod/mod_mem_cache.html.ko.euc-kr
1583 %{_datadir}/manual/mod/mod_cgid.html.en
1584 %lang(ja) %{_datadir}/manual/mod/mod_cgid.html.ja.euc-jp
1585 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1586 %{_datadir}/manual/mod/mod_charset_lite.html.en
1587 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1588 %{_datadir}/manual/mod/mod_dav*.html.en
1589 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1590 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1591 %{_datadir}/manual/mod/mod_deflate.html.en
1592 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1593 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1594 %{_datadir}/manual/mod/mod_dir.html.en
1595 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1596 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1597 %{_datadir}/manual/mod/mod_expires.html.en
1598 %lang(ja) %{_datadir}/manual/mod/mod_expires.html.ja.euc-jp
1599 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1600 %{_datadir}/manual/mod/mod_file_cache.html.en
1601 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1602 %{_datadir}/manual/mod/mod_headers.html.en
1603 %lang(ko) %{_datadir}/manual/mod/mod_headers.html.ko.euc-kr
1604 %{_datadir}/manual/mod/mod_imap.html.en
1605 %lang(ko) %{_datadir}/manual/mod/mod_imap.html.ko.euc-kr
1606 %{_datadir}/manual/mod/mod_info.html.en
1607 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1608 %lang(ko) %{_datadir}/manual/mod/mod_info.html.ko.euc-kr
1609 %{_datadir}/manual/mod/mod_proxy*.html.en
1610 %{_datadir}/manual/mod/mod_rewrite.html.en
1611 %{_datadir}/manual/mod/mod_so.html.en
1612 %lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.euc-jp
1613 %lang(ko) %{_datadir}/manual/mod/mod_so.html.ko.euc-kr
1614 %{_datadir}/manual/images/mod_rewrite*
1615 %dir %{_datadir}/manual/rewrite
1616 %{_datadir}/manual/rewrite/index.html.en
1617 %{_datadir}/manual/rewrite/rewrite_guide.html.en
1618 %{_datadir}/manual/rewrite/rewrite_guide_advanced.html.en
1619 %{_datadir}/manual/rewrite/rewrite_intro.html.en
1620 %{_datadir}/manual/rewrite/rewrite_tech.html.en
1621 %dir %{_datadir}/manual/ssl
1622 %{_datadir}/manual/ssl/*.html.en
1623 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1624 %{_datadir}/manual/mod/mod_ssl.html.en
1625 %{_datadir}/manual/mod/mod_status.html.en
1626 %lang(ja) %{_datadir}/manual/mod/mod_status.html.ja.euc-jp
1627 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1628 %{_datadir}/manual/mod/mod_usertrack.html.en
1629 %{_datadir}/manual/mod/mod_unique_id.html.en
1630 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1631 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1632 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1633 %dir %{_datadir}/manual/vhosts
1634 %{_datadir}/manual/vhosts/*.html.en
1635 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1636 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1637 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1638 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1639 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1640
1641 %files suexec
1642 %defattr(644,root,root,755)
1643 %attr(4755,root,root) %{_sbindir}/suexec
1644 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1645 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1646 %{_mandir}/man8/suexec.8*
1647
1648 %files index
1649 %defattr(644,root,root,755)
1650 %config(noreplace,missingok) %{_datadir}/html/index.html*
1651 %{_datadir}/html/*.gif
1652 %{_datadir}/html/*.png
1653
1654 %files apxs
1655 %defattr(644,root,root,755)
1656 %attr(755,root,root) %{_sbindir}/apxs
1657 %attr(755,root,root) %{_sbindir}/envvars*
1658 %attr(751,root,root) %dir %{_sysconfdir}
1659 %dir %{_libexecdir}
1660 %dir %{_libexecdir}/build
1661 %{_libexecdir}/build/config_vars.mk
1662 %{_mandir}/man8/apxs.8*
1663
1664 %files devel
1665 %defattr(644,root,root,755)
1666 %{_includedir}
1667 %{_libexecdir}/*.exp
1668 %attr(750,root,root) %dir %{_sysconfdir}/build
1669 %{_libexecdir}/build/[lprs]*.mk
1670 %attr(755,root,root) %{_libexecdir}/build/*.sh
1671 %attr(755,root,root) %{_libexecdir}/build/libtool
1672
1673 %files mod_actions
1674 %defattr(644,root,root,755)
1675 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1676 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1677
1678 %files mod_auth
1679 %defattr(644,root,root,755)
1680 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1681 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1682
1683 %files mod_auth_anon
1684 %defattr(644,root,root,755)
1685 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1686 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1687
1688 %if %{with ldap}
1689 %files mod_auth_ldap
1690 %defattr(644,root,root,755)
1691 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1692 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1693 %endif
1694
1695 %if %{with ldap}
1696 %files mod_ldap
1697 %defattr(644,root,root,755)
1698 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1699 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1700 %endif
1701
1702 %files mod_auth_dbm
1703 %defattr(644,root,root,755)
1704 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1705 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1706 %attr(755,root,root) %{_sbindir}/dbmmanage
1707 %attr(755,root,root) %{_sbindir}/htdbm
1708 %{_mandir}/man1/dbmmanage.1*
1709
1710 %files mod_auth_digest
1711 %defattr(644,root,root,755)
1712 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1713 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1714
1715 %files mod_autoindex
1716 %defattr(644,root,root,755)
1717 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1718 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1719
1720 %files mod_cache
1721 %defattr(644,root,root,755)
1722 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1723 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1724 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1725 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1726
1727 %files mod_cgid
1728 %defattr(644,root,root,755)
1729 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1730 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1731
1732 %files mod_charset_lite
1733 %defattr(644,root,root,755)
1734 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1735 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1736
1737 %files mod_dav
1738 %defattr(644,root,root,755)
1739 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1740 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1741 %dir %attr(770,root,http) /var/lock/mod_dav
1742
1743 %files mod_deflate
1744 %defattr(644,root,root,755)
1745 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1746 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1747
1748 %files mod_dir
1749 %defattr(644,root,root,755)
1750 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1751 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1752
1753 %files mod_expires
1754 %defattr(644,root,root,755)
1755 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1756 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1757
1758 %files mod_file_cache
1759 %defattr(644,root,root,755)
1760 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1761 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1762
1763 %files mod_headers
1764 %defattr(644,root,root,755)
1765 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1766 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1767
1768 %files mod_imap
1769 %defattr(644,root,root,755)
1770 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1771 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1772
1773 %files mod_info
1774 %defattr(644,root,root,755)
1775 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1776 %attr(755,root,root) %{_libexecdir}/mod_info.so
1777
1778 %files mod_proxy
1779 %defattr(644,root,root,755)
1780 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1781 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1782
1783 %files mod_rewrite
1784 %defattr(644,root,root,755)
1785 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1786 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1787
1788 %if %{with ssl}
1789 %files mod_ssl
1790 %defattr(644,root,root,755)
1791 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1792 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
1793 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1794 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1795 %endif
1796
1797 %files mod_status
1798 %defattr(644,root,root,755)
1799 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1800 %attr(755,root,root) %{_libexecdir}/mod_status.so
1801
1802 %files mod_usertrack
1803 %defattr(644,root,root,755)
1804 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1805 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1806
1807 %files mod_unique_id
1808 %defattr(644,root,root,755)
1809 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1810 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1811
1812 %files mod_vhost_alias
1813 %defattr(644,root,root,755)
1814 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1815 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1816
1817 %files -n htpasswd-%{name}
1818 %defattr(644,root,root,755)
1819 %attr(755,root,root) %{_bindir}/htpasswd
1820 %{_sbindir}/htpasswd
1821 %{_mandir}/man1/htpasswd.1*
1822
1823 %files cgi_test
1824 %defattr(644,root,root,755)
1825 %dir %{_cgibindir}
1826 %attr(755,root,root) %{_cgibindir}/*
1827 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/09_cgi_test.conf
This page took 0.182938 seconds and 4 git commands to generate.