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