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