]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- separated autoindex module
[packages/apache.git] / apache.spec
1 #
2 # Conditional build:
3 # _with_rewrite_ldap    - enable ldap map support for mod_rewrite (alpha)
4 # _without_ipv6         - disable IPv6 support
5 #
6 %include        /usr/lib/rpm/macros.perl
7 Summary:        The most widely used Web server on the Internet
8 Summary(cs):    Nejroz¹íøenìj¹í WWW server v Internetu
9 Summary(da):    Den mest brugte web-tjener på Internet
10 Summary(de):    Der am häufigsten verwendete Web-Server im Internet
11 Summary(es):    El servidor web más conocido y usado en Internet
12 Summary(fr):    Le serveur Web le plus utilisé sur Internet
13 Summary(id):    Web server yang paling banyak digunakan di Internet
14 Summary(is):    Vinsælasti vefþjónninn á Netinu
15 Summary(it):    Il web server più diffuso su Internet
16 Summary(ja):    ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍѤµ¤ì¤Æ¤¤¤ë Web ¥µ¡¼¥Ð¡¼
17 Summary(no):    Den mest utbredte web-tjeneren på Internett
18 Summary(pl):    Serwer WWW (World Wide Web)
19 Summary(pt):    O servidor Web mais largamente utilizado em toda a Internet
20 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
21 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ Web-Server
22 Summary(sk):    Najviac pou¾ívaný Web server na Internete
23 Summary(sl):    Najbolj uporabljani spletni stre¾nik interneta
24 Summary(sv):    Den mest använda webbservern på Internet
25 Summary(tr):    Lider WWW tarayýcý
26 Summary(uk):    îÁÊÐÏÐÕÌÑÒΦÛÉÊ Web-Server
27 Summary(zh_CN): Internet ÉÏÓ¦ÓÃ×î¹ã·ºµÄ Web ·þÎñ³ÌÐò¡£
28 Name:           apache
29 Version:        1.3.31
30 Release:        2.1
31 License:        Apache Group
32 Group:          Networking/Daemons
33 Source0:        http://www.apache.org/dist/httpd/%{name}_%{version}.tar.gz
34 # Source0-md5:  bd548a06ac48dda496b4e613572bb020
35 Source1:        %{name}.init
36 Source2:        %{name}.logrotate
37 Source3:        %{name}-icons.tar.gz
38 Source4:        %{name}.sysconfig
39 Source5:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
40 # Source5-md5:  74ff6e8d8a7b365b48ed10a52fbeb84e
41 Source6:        %{name}-httpd.conf
42 Source7:        %{name}.monitrc
43 Source8:        %{name}-mod_vhost_alias.conf
44 Source9:        %{name}-mod_status.conf
45 Source10:       %{name}-mod_proxy.conf
46 Source11:       %{name}-mod_autoindex.conf
47 Patch0:         %{name}-PLD.patch
48 Patch1:         %{name}-suexec.patch
49 Patch2:         %{name}-errordocs.patch
50 Patch3:         %{name}-apxs.patch
51 Patch4:         %{name}-mod_ssl-addon.patch
52 Patch5:         %{name}-mod_ssl-eapi.patch
53 # http://allafrica.com/tools/apache/mod_proxy/mod_proxy-khk_1.3.26-patch.diff with eapi duplicates removed
54 Patch6:         %{name}-mod_proxy-khk.patch
55 Patch7:         %{name}-EAPI_MM_CORE_PATH-correction.patch
56 Patch8:         %{name}-EAPI_MM=SYSTEM.patch
57 Patch9:         %{name}-ipv6-PLD.patch
58 Patch10:        %{name}-modules_symbols.patch
59 Patch11:        %{name}-apxs_force_rm_cp.patch
60 Patch12:        %{name}-db3.patch
61 Patch13:        %{name}-lookup_map_ldap.patch
62 Patch14:        %{name}-man.patch
63 Patch15:        %{name}-fpic.patch
64 Patch16:        %{name}-buff.patch
65 Patch17:        %{name}-mkstemp.patch
66 Patch18:        %{name}-EAPI-missing_files.patch
67 Patch19:        %{name}-PLD-nov6.patch
68 Patch20:        %{name}-configdir_skip_backups.patch
69 Patch21:        %{name}-apxs-quiet.patch
70 URL:            http://www.apache.org/
71 BuildRequires:  db3-devel
72 BuildRequires:  mm-devel >= 1.1.3
73 %{?_with_rewrite_ldap:BuildRequires: openldap-devel}
74 PreReq:         mm
75 PreReq:         perl
76 PreReq:         rc-scripts
77 Requires(pre):  /bin/id
78 Requires(pre):  /usr/bin/getgid
79 Requires(pre):  /usr/sbin/useradd
80 Requires(post,preun):   /sbin/chkconfig
81 Requires(postun):       /usr/sbin/groupdel
82 Requires(postun):       /usr/sbin/userdel
83 Requires:       /etc/mime.types
84 Requires:       mailcap
85 Requires:       psmisc >= 20.1
86 Provides:       %{name}(EAPI) = %{version}
87 Provides:       httpd
88 Provides:       webserver
89 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 Obsoletes:      httpd
91 Obsoletes:      webserver
92 Obsoletes:      apache-extra
93 Obsoletes:      apache6
94 Obsoletes:      apache-doc
95 Obsoletes:      indexhtml
96
97 %define         _sysconfdir     /etc/httpd
98 %define         _includedir     %{_prefix}/include/apache
99 %define         _datadir        /home/httpd
100 %define         _libexecdir     %{_prefix}/lib/apache
101 %define         apxs            /usr/sbin/apxs
102
103 %description
104 Apache is a powerful, full-featured, efficient and freely-available
105 Web server. Apache is also the most popular Web server on the
106 Internet.
107
108 %description -l cs
109 Apache je výkonný plnì funkèní efektivní a volnì dostupný WWW server.
110 Je to nejpopulárnìj¹í WWW server v Internetu.
111
112 %description -l da
113 Apache er en stærk, funktionsrig, effektiv og frit tilgængelig
114 web-tjener. Apache er også den mest populære web-tjener på Internet.
115
116 %description -l de
117 Apache ist ein leistungsfähiger, frei verfügbarer und effizienter
118 Web-Server mit umfassenden Funktionen. Apache ist zudem der populärste
119 Web-Server im Internet.
120
121 %description -l es
122 El servidor web Apache es el mejor servidor gratuito disponible en el
123 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
124 que browsers web vean documentos y sometan datos remotamente. Puede
125 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
126 caché, y nos ofrece características como monitor de estado, conversión
127 dinámica de tipo, y otras más.
128
129 %description -l fr
130 Apache est un serveur Web puissant, efficace, gratuit et complet.
131 Apache est aussi le serveur Web le plus populaire sur Internet.
132
133 %description -l id
134 Apache adalah Web server yang powerful, efisien, kaya akan feature,
135 dan tersedia dengan free. Apache juga merupakan Web server yang paling
136 populer di Internet.
137
138 %description -l is
139 Apache er mjög öflugur og háþróaður vefþjónn sem er ókeypis. Apache er
140 einnig mest notaði vefþjónninn á Internetinu.
141
142 %description -l it
143 Apache è un Web server potente, dotato di tutte le caratteristiche,
144 efficiente e gratuito. Ed è anche il web server più diffuso su
145 Internet.
146
147 %description -l ja
148 Apache ¤Ï¶¯ÎϤǽ¼¼Â¤·¤¿µ¡Ç½¤ò»ý¤Ä̵½þ¤Î Web ¥µ¡¼¥Ð¡¼
149 ¤Ç¤¹¡£¤Þ¤¿¡¢apache ¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍÑ ¤µ¤ì¤Æ¤¤¤ë Web
150 ¥µ¡¼¥Ð¡¼¤Ç¤¹¡£
151
152 %description -l no
153 Apache er en kraftig, funksjonsrik, effektiv og fritt tilgjengelig
154 web-tjener. Apache er også den mest populære web-tjeneren på Internet.
155
156 %description -l pl
157 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
158 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
159
160 %description -l pt
161 O Apache é um servidor de Web poderoso, cheio de potencialidades,
162 eficiente e gratuito. O Apache é também o servidor Web mais conhecido
163 na Internet.
164
165 %description -l pt_BR
166 O servidor web Apache é o melhor servidor gratuito disponível no mundo
167 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
168 que browsers web vejam documentos e submetam dados remotamente. Ele
169 pode executar várias funções diferentes, incluindo funções de proxy e
170 cache, e oferece características como monitor de status, conversão
171 dinâmica de tipo, e mais.
172
173 %description -l ru
174 Apache - ÜÔÏ ÍÏÝÎÙÊ, ÐÏÌÎÏÆÕÎËÃÉÏÎÁÌØÎÙÊ, ÜÆÆÅËÔÉ×ÎÙÊ, Ó×ÏÂÏÄÎÏ
175 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ É ÓÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ × Internet WWW-ÓÅÒ×ÅÒ.
176
177 %description -l sk
178 Apache je výkonný, efektívny a voµne dostupný Web server, bohatý na
179 funkcie. Apache je tie¾ najpopulárnej¹ím Web serverom na Internete.
180
181 %description -l sv
182 Apache är en kraftfull, finessrik, effektiv och fritt tillgänglig
183 webbserver. Apache är också den populäraste webbservern på Internet.
184
185 %description -l tr
186 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
187 sunucusudur.
188
189 %description -l zh_CN
190 Apache Êǹ¦ÄÜÇ¿¾¢ÆëÈ«¡¢¸ßЧÇÒÃâ·ÑÌṩµÄ Web ·þÎñ³ÌÐò£¬ Í¬Ê±Ò²ÊÇ
191 Internet ÉÏ×îÁ÷ÐеĠWeb ·þÎñ³ÌÐò¡£
192
193 Èç¹ûÄúÐèÒª Web ·þÎñ³ÌÐò£¬Çë°²×° apache Èí¼þ°ü¡£
194
195 %package suexec
196 Summary:        Apache suexec wrapper
197 Summary(pl):    Suexec wrapper do serwera www Apache
198 Summary(ru):    Apache suEXEC CGI wrapper
199 Summary(uk):    Apache suEXEC CGI wrapper
200 Group:          Development/Tools
201 Requires:       %{name}(EAPI) = %{version}
202
203 %description suexec
204 The suEXEC feature provides Apache users the ability to run CGI and
205 SSI programs under user IDs different from the user ID of the calling
206 web-server. Normally, when a CGI or SSI program executes, it runs as
207 the same user who is running the web server.
208
209 %description suexec -l pl
210 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
211 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
212 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
213
214 %description suexec -l ru
215 ðÁËÅÔ suEXEC ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ CGI-ÐÒÏÇÒÁÍÍÙ ÐÏÄ user-id, ÏÔÌÉÞÎÙÍÉ
216 ÏÔ ÔÏÇÏ, ÐÏÄ ËÏÔÏÒÙÍ ÒÁÂÏÔÁÅÔ ×ÙÚÙ×ÁÀÝÉÊ ÉÈ web-ÓÅÒ×ÅÒ. âÕÄÕÞÉ
217 ÐÒÁ×ÉÌØÎÏ ÉÓÐÏÌØÚÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÐÏÚ×ÏÌÑÅÔ ÚÁÍÅÔÎÏ ÓÎÉÚÉÔØ ÒÉÓË
218 ÎÁÒÕÛÅÎÉÑ ÓÉÓÔÅÍÎÏÊ ÂÅÚÏÐÁÓÎÏÓÔÉ, ×ÙÚ×ÁÎÎÙÊ ÒÁÚÒÅÛÅÎÉÅÍ ÚÁÐÕÓËÁ
219 ÐÏÌØÚÏ×ÁÔÅÌÑÍ CGI-ÐÒÏÇÒÁÍÍ. ÷ÍÅÓÔÅ Ó ÔÅÍ, ÂÕÄÕÞÉ ÎÅÐÒÁ×ÉÌØÎÏ
220 ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÍÏÖÅÔ ÒÁÚÒÕÛÉÔØ ×ÁÛÕ ÓÉÓÔÅÍÕ, ÓÖÅÞØ ×ÁÛ
221 ÄÏÍ É ÕËÒÁÓÔØ ÄÅÎØÇÉ ÉÚ ×ÁÛÅÇÏ ÐÅÎÓÉÏÎÎÏÇÏ ÆÏÎÄÁ :)). åÓÌÉ ×Ù ÎÅ
222 ÉÍÅÅÔÅ ÏÐÙÔÁ ÒÁÂÏÔÙ Ó setuid root ÐÒÏÇÒÁÍÍÁÍÉ É ÐÒÏÂÌÅÍÁÍÉ ÓÉÓÔÅÍÎÏÊ
223 ÂÅÚÏÐÁÓÎÏÓÔÉ, ÐÏÒÏÖÄÅÎÎÙÍÉ ÉÈ ÐÒÉÍÅÎÅÎÉÅÍ, ÎÁÓÔÏÑÔÅÌØÎÏ ÒÅËÏÍÅÎÄÕÅÍ ÎÅ
224 ÉÓÐÏÌØÚÏ×ÁÔØ ÜÔÏÇÏ ÐÁËÅÔÁ...
225
226 %description suexec -l uk
227 ðÁËÅÔ suEXEC ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ CGI-ÐÒÏÇÒÁÍɠЦĠuser-id, ×¦ÄͦÎÎÉÍ
228 צĠÔÏÇÏ, Ð¦Ä ÑËÉÍ ÐÒÁÃÀ¤ ÓÅÒ×ÅÒ. ðÒÉ ÐÒÁ×ÉÌØÎÏÍÕ ×ÉËÏÒÉÓÔÁÎΦ, ÃÅÊ
229 ÐÁËÅÔ ÄÏÚ×ÏÌѤ ÐÏͦÔÎÏ ÚÎÉÚÉÔÉ ÒÉÚÉË ÐÏÒÕÛÅÎÎÑ ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ,
230 ×ÉËÌÉËÁÎÉÊ ÄÏÚ×ÏÌÏÍ ÚÁÐÕÓËÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ CGI-ÐÒÏÇÒÁÍ. òÁÚÏÍ Ú ÔÉÍ,
231 ÐÒÉ ÎÅצÒÎÏÍÕ ËÏÎƦÇÕÒÕ×ÁÎΦ, ÃÅÊ ÐÁËÅÔ ÍÏÖÅ ÚÒÕÊÎÕ×ÁÔÉ ×ÁÛÉ ÓÉÓÔÅÍÕ,
232 ÓÐÁÌÉÔÉ ×Á۠Ħ͠¦ ×ËÒÁÓÔÉ ÇÒÏÛ¦ Ú ×ÁÛÏÇÏ ÐÅÎÓ¦ÊÎÏÇÏ ÆÏÎÄÕ :)). ñËÝÏ ×É
233 ÎÅ ÍÁ¤ÔÅ ÄÏÓצÄÕ ÒÏÂÏÔÉ Ú setuid root ÐÒÏÇÒÁÍÁÍÉ ÔÁ ÐÒÏÂÌÅÍÁÍÉ
234 ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ, ËÏÔÒ¦ ÐÏÒÏÄÖÅΦ ×ÉËÏÒÉÓÔÁÎÎÑÍ ÔÁËÉÈ ÐÒÏÇÒÁÍ,
235 ÎÁÓÔ¦ÊÌÉ×Ï ÒÁÄÉÍÏ ÎÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÃØÏÇÏ ÐÁËÅÔÕ...
236
237 %package devel
238 Summary:        Module development tools for the Apache web server
239 Summary(cs):    Hlavièkové soubory pro Apache Web server
240 Summary(da):    Header-filer for Apache webserveren
241 Summary(de):    Include-Dateien für den Apache Web-Server
242 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
243 Summary(fr):    Fichiers à inclure pour le serveur Web Apache
244 Summary(id):    File header untuk Apache Web server
245 Summary(is):    Hausaskrár með Apache vefþjóninum
246 Summary(it):    File include per il web server Apache
247 Summary(ja):    Apache Web ¥µ¡¼¥Ð¡¼ÍѤγ«È¯¥Ä¡¼¥ë
248 Summary(no):    Headerfiler for webtjeneren Apache
249 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
250 Summary(pt):    Ficheiros de inclusão para o servidor Web Apache
251 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
252 Summary(ru):    æÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ web server'Á Apache
253 Summary(sk):    Hlavièkové súbory pre Apache Web server
254 Summary(sl):    Glave za spletni stre¾nik Apache
255 Summary(sv):    Huvudfiler för webbservern Apache
256 Summary(uk):    úÁÓÏÂÉ ÓÔ×ÏÒÅÎÎÑ ÍÏÄÕ̦נÄÌÑ web server'Õ Apache
257 Summary(zh_CN): ÓÃÓÚ Apache Web ·þÎñ³ÌÐòµÄ¿ª·¢¹¤¾ß¡£
258 Group:          Networking/Utilities
259 Requires:       %{name}(EAPI) = %{version}
260 Provides:       %{name}(EAPI)-devel = %{version}
261
262 %description devel
263 The apache-devel package contains header files for Apache.
264
265 %description devel -l cs
266 Balíèek apache-devel obsahuje hlavièkové soubory pro Apache.
267
268 %description devel -l da
269 Apache-devel pakken indeholder headerfiler for Apache.
270
271 %description devel -l de
272 Das Paket apache-devel enthält Header-Dateien für Apache.
273
274 %description devel -l es
275 Este paquete contiene los archivos de inclusión para el Apache.
276
277 %description devel -l fr
278 Le package apache-devel contient le code source pour le serveur Web
279 Apache.
280
281 %description devel -l id
282 Package apache-devel berisi source code dari Apache Web server.
283
284 %description devel -l is
285 Apache-devel pakkinn inniheldur frumkóða Apache vefþjónsins.
286
287 %description devel -l it
288 Il pacchetto apache-devel contiene i file header per Apache.
289
290 %description devel -l no
291 Apache-devel pakken inneholder headerfiler for Apache.
292
293 %description devel -l pl
294 Pliki nag³ówkowe dla serwera WWW Apache.
295
296 %description devel -l pt
297 O pacote apache-devel contém outros ficheiros para o Apache.
298
299 %description devel -l pt_BR
300 Este pacote contem os arquivos de inclusão para o Apache.
301
302 %description devel -l ru
303 ðÁËÅÔ apache-devel ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ ÄÌÑ Web Server'Á.
304
305 %description devel -l sk
306 Balík apache-devel obsahuje zdrojový kód Apache Web servera.
307
308 %description devel -l sv
309 Paketet apache-devel innehåller huvudfilerna för Apache.
310
311 %description devel -l uk
312 ðÁËÅÔ apache-devel Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÄÌÑ Web Server'Á.
313
314 %package mod_actions
315 Summary:        Apache module for run CGI whenever a file of a certain type is requested
316 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
317 Group:          Networking/Daemons
318 Prereq:         %{_sbindir}/apxs
319 Prereq:         perl
320 Requires:       %{name}(EAPI) = %{version}
321
322 %description mod_actions
323 This package contains mod_actions module. This module lets you run CGI
324 scripts whenever a file of a certain type is requested. This makes it
325 much easier to execute scripts that process files.
326
327 %description mod_actions -l pl
328 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
329 ¿±danie pobrania pliku okre¶lonego typu.
330
331 %package mod_auth
332 Summary:        Apache module with user authentication using textual files
333 Summary(pl):    Modu³ autentykacji u¿ytkownika przy u¿yciu plików tekstowych dla Apache
334 Group:          Networking/Daemons
335 Prereq:         %{_sbindir}/apxs
336 Prereq:         perl
337 Requires:       %{name}(EAPI) = %{version}
338
339 %description mod_auth
340 This package contains mod_auth module. It provides for user
341 authentication using textual files.
342
343 %description mod_auth -l pl
344 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
345 u¿yciu plików tekstowych.
346
347 %package mod_auth_anon
348 Summary:        Apache module with "anonymous" user access authentication
349 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
350 Group:          Networking/Daemons
351 Prereq:         %{_sbindir}/apxs
352 Prereq:         perl
353 Requires:       %{name}(EAPI) = %{version}
354
355 %description mod_auth_anon
356 This package contains mod_auth_anon module. It allows "anonymous" user
357 access to authenticated areas. It does access control in a manner
358 similar to anonymous-ftp sites; i.e. have a 'magic' user id
359 'anonymous' and the email address as a password. These email addresses
360 can be logged. Combined with other (database) access control methods,
361 this allows for effective user tracking and customization according to
362 a user profile while still keeping the site open for 'unregistered'
363 users. One advantage of using Auth-based user tracking is that, unlike
364 magic-cookies and funny URL pre/postfixes, it is completely browser
365 independent and it allows users to share URLs.
366
367 %description mod_auth_anon -l pl
368 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
369 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
370 postaci adresu pocztowego u¿ytkownika).
371
372 %package mod_auth_db
373 Summary:        Apache module with user authentication which uses Berkeley DB files
374 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
375 Group:          Networking/Daemons
376 Prereq:         %{_sbindir}/apxs
377 Prereq:         perl
378 Requires:       %{name}(EAPI) = %{version}
379
380 %description mod_auth_db
381 This package contains mod_auth_db module. It provides for user
382 authentication using Berkeley DB files. It is an alternative to DBM
383 files for those systems which support DB and not DBM. It is only
384 available in Apache 1.1 and later.
385
386 %description mod_auth_db -l pl
387 Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
388 ale jako plików danych u¿ywa Berkeley DB.
389
390 %package mod_auth_digest
391 Summary:        Apache user authentication module using MD5 Digest Authentication
392 Summary(pl):    Modu³ apache do autoryzacji MD5
393 Group:          Networking/Daemons
394 Prereq:         %{_sbindir}/apxs
395 Prereq:         perl
396 Requires:       %{name}(EAPI) = %{version}
397 Obsoletes:      %{name}-mod_digest
398
399 %description mod_auth_digest
400 This package contains mod_digest module. It provides user
401 authentication using MD5 Digest Authentication.
402
403 %description mod_auth_digest -l pl
404 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
405 Authentication.
406
407 %package mod_autoindex
408 Summary:        Apache module - display index of files
409 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
410 Group:          Networking/Daemons
411 Requires(post,preun):   %{apxs}
412 Requires:       %{name}(EAPI) = %{version}-%{release}
413 Obsoletes:      Apache-Gallery
414
415 %description mod_autoindex
416 This package contains mod_autoindex module. It provides
417 generation index of files.
418
419 %description mod_autoindex -l pl
420 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
421
422 %package mod_define
423 Summary:        Apache module - authentication variables for arbitrary directives
424 Summary(pl):    Modu³ apache do definiowania zmiennych
425 Group:          Networking/Daemons
426 Prereq:         %{_sbindir}/apxs
427 Prereq:         perl
428 Requires:       %{name}(EAPI) = %{version}
429
430 %description mod_define
431 It provides the definition variables for arbitrary directives, i.e.
432 variables which can be expanded on any(!) directive line.
433
434 %description mod_define -l pl
435 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
436
437 %package mod_digest
438 Summary:        Older version of apache user authentication module using MD5 Digest Authentication
439 Summary(pl):    Starsza wersja modu³u apache do autoryzacji MD5
440 Group:          Networking/Daemons
441 Prereq:         %{_sbindir}/apxs
442 Prereq:         perl
443 Requires:       %{name}(EAPI) = %{version}
444
445 %description mod_digest
446 This package contains mod_digest module. It provides user
447 authentication using MD5 Digest Authentication. It implements an older
448 version of the MD5 Digest Authentication specification which will
449 probably not work with modern browsers. Please take a look at
450 mod_auth_digest which implements the most recent version of the
451 standard.
452
453 %description mod_digest -l pl
454 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
455 Authentication. Implementuje on jedynie starsz± wersjê specyfikacji
456 autentykacji MD5, i mo¿e nie dzia³aæ z nowoczesnymi przegl±darkami.
457 Sprawd¼ mod_auth_digest je¶li potrzebujesz implementacji najnowszej
458 wersji standardu.
459
460 %package mod_dir
461 Summary:        Apache module for "trailing slash" redirects and serving directory index files
462 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
463 Group:          Networking/Daemons
464 Prereq:         %{_sbindir}/apxs
465 Prereq:         perl
466 Requires:       %{name}(EAPI) = %{version}
467
468 %description mod_dir
469 This package contains mod_dir which provides "trailing slash"
470 redirects and serving directory index files.
471
472 %description mod_dir -l pl
473 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
474
475 %package mod_headers
476 Summary:        Apache module allows for the customization of HTTP response headers
477 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
478 Group:          Networking/Daemons
479 Prereq:         %{_sbindir}/apxs
480 Prereq:         perl
481 Requires:       %{name}(EAPI) = %{version}
482
483 %description mod_headers
484 This package contains mod_headers module. The module allows for the
485 customization of HTTP response headers. Headers can be merged,
486 replaced or removed.
487
488 %description mod_headers -l pl
489 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
490 wysy³anych do przegl±darki.
491
492 %package mod_mmap_static
493 Summary:        Apache module for mmap()ing statically configured list files
494 Summary(pl):    Modu³ s³u¿±cy do mmap()owania plików.
495 Group:          Networking/Daemons
496 Prereq:         %{_sbindir}/apxs
497 Prereq:         perl
498 Requires:       %{name}(EAPI) = %{version}
499
500 %description mod_mmap_static
501 This package contains mod_mmap_static module. It provides mmap()ing of
502 a statically configured list of frequently requested but not changed
503 files.
504
505 %description mod_mmap_static -l pl
506 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
507 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
508
509 %package mod_imap
510 Summary:        Apache module with imap-file handler
511 Summary(pl):    Modu³ z obs³ug± imap-file
512 Group:          Networking/Daemons
513 Prereq:         %{_sbindir}/apxs
514 Prereq:         perl
515 Requires:       %{name}(EAPI) = %{version}
516
517 %description mod_imap
518 This package contains mod_imap module. It provides for .map files,
519 replacing the functionality of the imagemap CGI program. Any directory
520 or document type configured to use the handler imap-file.
521
522 %description mod_imap -l pl
523 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
524
525 %package mod_info
526 Summary:        Apache module with comprehensive overview of the server configuration
527 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
528 Group:          Networking/Daemons
529 Prereq:         %{_sbindir}/apxs
530 Prereq:         perl
531 Requires:       %{name}(EAPI) = %{version}
532
533 %description mod_info
534 This package contains mod_info module. It provides a comprehensive
535 overview of the server configuration including all installed modules
536 and directives in the configuration files.
537
538 %description mod_info -l pl
539 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
540 modu³ach itp.
541
542 %package mod_proxy
543 Summary:        Apache module with Web proxy
544 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
545 Group:          Networking/Daemons
546 Prereq:         %{_sbindir}/apxs
547 Prereq:         perl
548 Requires:       %{name}(EAPI) = %{version}
549
550 %description mod_proxy
551 This package contains module with implementation a proxy/cache for
552 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
553 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
554 other proxy modules for these and other protocols.
555 Contains patch from: http://allafrica.com/tools/apache/mod_proxy/
556
557 %description mod_proxy -l pl
558 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
559 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
560 HTTP/1.0.
561 Zawiera ³atê z: http://allafrica.com/tools/apache/mod_proxy/
562
563 %package mod_rewrite
564 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
565 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
566 Group:          Networking/Daemons
567 Prereq:         %{_sbindir}/apxs
568 Prereq:         perl
569 Requires:       %{name}(EAPI) = %{version}
570
571 %description mod_rewrite
572 This package contains It provides a rule-based rewriting engine to
573 rewrite requested URLs on the fly.
574
575 %description mod_rewrite -l pl
576 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
577
578 %package mod_status
579 Summary:        Server status report module for apache
580 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
581 Group:          Networking/Daemons
582 Prereq:         %{_sbindir}/apxs
583 Prereq:         perl
584 Requires:       %{name}(EAPI) = %{version}
585
586 %description mod_status
587 The Status module allows a server administrator to find out how well
588 their server is performing. A HTML page is presented that gives the
589 current server statistics in an easily readable form. If required this
590 page can be made to automatically refresh (given a compatible
591 browser).
592
593 %description mod_status -l pl
594 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
595 pracy serwera apache (w postaci strony HTML).
596
597 %package mod_usertrack
598 Summary:        Apache module for user tracking using cookies
599 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
600 Group:          Networking/Daemons
601 Prereq:         %{_sbindir}/apxs
602 Prereq:         perl
603 Requires:       %{name}(EAPI) = %{version}
604
605 %description mod_usertrack
606 This package contains the user tracking module which did its own
607 logging using CookieLog directory. This module allow multiple log
608 files.
609
610 %description mod_usertrack -l pl
611 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
612
613 %package mod_vhost_alias
614 Summary:        Apache module for dynamically configured mass virtual hosting
615 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
616 Group:          Networking/Daemons
617 Prereq:         %{_sbindir}/apxs
618 Prereq:         perl
619 Requires:       %{name}(EAPI) = %{version}
620
621 %description mod_vhost_alias
622 This package contains the mod_vhost_alias. It provides support for
623 dynamically configured mass virtual hosting.
624
625 %description mod_vhost_alias -l pl
626 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
627 wirtualnych.
628
629 %package mod_unique_id
630 Summary:        Apache module which provides a magic token for each request
631 Summary(pl):    Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
632 Group:          Networking/Daemons
633 Prereq:         %{_sbindir}/apxs
634 Prereq:         perl
635 Requires:       %{name}(EAPI) = %{version}
636
637 %description mod_unique_id
638 This package contains the mod_unique_id. This module provides a magic
639 token for each request which is guaranteed to be unique across "all"
640 requests under very specific conditions. The unique identifier is even
641 unique across multiple machines in a properly configured cluster of
642 machines. The environment variable UNIQUE_ID is set to the identifier
643 for each request. Unique identifiers are useful for various reasons
644 which are beyond the scope of this document.
645
646 %description mod_unique_id -l pl
647 Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
648 ¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
649 maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
650 UNIQUE_ID.
651
652 %package mod_expires
653 Summary:        Apache module which generates Expires HTTP headers
654 Summary(pl):    Modu³ generuj±cy nag³ówki HTTP Expires
655 Group:          Networking/Daemons
656 Prereq:         %{_sbindir}/apxs
657 Prereq:         perl
658 Requires:       %{name}(EAPI) = %{version}
659
660 %description mod_expires
661 This module controls the setting of the Expires HTTP header in server
662 responses. The expiration date can set to be relative to either the
663 time the source file was last modified, or to the time of the client
664 access.
665
666 %description mod_expires -l pl
667 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
668 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
669 ¼ród³owych lub odwo³ania klienta.
670
671 %package mod_log_forensic
672 Summary:        Apache module for forensic logging of the requests
673 Summary:        Modu³ Apache'a do logowania ¿±dañ w celu pó¼niejszej analizy
674 Group:          Networking/Daemons
675 Prereq:         %{_sbindir}/apxs
676 Prereq:         perl
677 Requires:       %{name}(EAPI) = %{version}
678
679 %description mod_log_forensic
680 This module provides for forensic logging of client requests. Logging
681 is done before and after processing a request.
682
683 %description mod_log_forensic -l pl
684 Ten modu³ pozwala na logowanie ¿±dañ w celu pó¼niejszej analizy.
685 Logowanie jest wykonywane przed i po przetworzeniu ¿±dania.
686
687 %prep
688 %setup -q -n apache_%{version} -a3
689 %patch0 -p1
690 %patch1 -p1
691 %patch2 -p1
692 %patch3 -p1
693 %patch4 -p0
694 %patch5 -p0
695 %patch6 -p1
696 %patch7 -p1
697 %patch8 -p1
698 %{!?_without_ipv6:%patch9 -p1}
699 %patch10 -p1
700 %patch11 -p1
701 %patch12 -p1
702 %{?_with_rewrite_ldap:%patch13 -p1}
703 %patch14 -p1
704 %patch15 -p1
705 %patch16 -p1
706 %patch17 -p1
707 %patch18 -p1
708 %{?_without_ipv6:%patch19 -p1}
709 %patch20 -p1
710 %patch21 -p1
711
712 %build
713 OPTIM="%{rpmcflags} -DHARD_SERVER_LIMIT=2048 -DBIG_SECURITY_HOLE=1" \
714 ./configure \
715         --prefix=%{_prefix} \
716         --sysconfdir=%{_sysconfdir} \
717         --includedir=%{_includedir} \
718         --sbindir=%{_sbindir} \
719         --libexecdir=%{_libexecdir} \
720         --datadir=%{_datadir} \
721         --manualdir=%{_datadir}/html/manual \
722         --localstatedir=/var \
723         --runtimedir=/var/run \
724         --logfiledir=/var/log/httpd \
725         --with-layout=PLD \
726         --without-confadjust \
727         --enable-module=all \
728         --enable-module=auth_digest \
729         --enable-shared=max \
730         --proxycachedir=/var/cache/apache \
731         --with-perl=%{_bindir}/perl \
732         --enable-suexec \
733         --suexec-caller=http \
734         --suexec-uidmin=500 \
735         --suexec-gidmin=500 \
736         --suexec-docroot=%{_datadir} \
737         --disable-rule=WANTHSREGEX \
738         --enable-rule=EAPI \
739         %{!?_without_ipv6:--enable-rule=INET6}
740
741 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
742
743 rm -f src/modules/standard/mod_auth_db.so
744 %{__make} -C src/modules/standard mod_auth_db.so \
745         LIBS_SHLIB="-ldb"
746
747 rm -f src/modules/standard/mod_rewrite.so
748 %{__make} -C src/modules/standard mod_rewrite.so \
749         LIBS_SHLIB="-ldb %{?_with_rewrite_ldap:-lldap -llber}"
750
751 %install
752 rm -rf $RPM_BUILD_ROOT
753 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
754         $RPM_BUILD_ROOT%{_datadir}/errordocs \
755         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
756
757 %{__make} install-quiet \
758         root=$RPM_BUILD_ROOT
759
760 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
761
762 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
763 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
764 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
765 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
766
767 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
768
769 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
770
771 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
772 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
773 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
774 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
775 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/mod_autoindex.conf
776 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/monit
777
778 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
779
780 %clean
781 rm -rf $RPM_BUILD_ROOT
782
783 %pre
784 if [ -n "`getgid http`" ]; then
785         if [ "`getgid http`" != "51" ]; then
786                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
787                 exit 1
788         fi
789 else
790         echo "Adding group http GID=51."
791         /usr/sbin/groupadd -g 51 -r -f http
792 fi
793 if [ -n "`id -u http 2>/dev/null`" ]; then
794         if [ "`id -u http`" != "51" ]; then
795                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
796                 exit 1
797         fi
798 else
799         echo "Adding user http UID=51."
800         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
801 fi
802
803 %post
804 /sbin/chkconfig --add httpd
805 %{apxs} -e -a -n access %{_libexecdir}/mod_access.so 1>&2
806 %{apxs} -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
807 %{apxs} -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
808 %{apxs} -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
809 %{apxs} -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
810 %{apxs} -e -a -n env %{_libexecdir}/mod_env.so 1>&2
811 %{apxs} -e -a -n include %{_libexecdir}/mod_include.so 1>&2
812 %{apxs} -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
813 %{apxs} -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
814 %{apxs} -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
815 %{apxs} -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
816 %{apxs} -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
817 %{apxs} -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
818 %{apxs} -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
819 %{apxs} -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
820 %{apxs} -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
821 umask 137
822 touch /var/log/httpd/{access,error,agent,referer}_log
823 if [ -f /var/lock/subsys/httpd ]; then
824         /etc/rc.d/init.d/httpd restart 1>&2
825 else
826         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
827 fi
828
829 %preun
830 if [ "$1" = "0" ]; then
831         %{apxs} -e -A -n access %{_libexecdir}/mod_access.so 1>&2
832         %{apxs} -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
833         %{apxs} -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
834         %{apxs} -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
835         %{apxs} -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
836         %{apxs} -e -A -n env %{_libexecdir}/mod_env.so 1>&2
837         %{apxs} -e -A -n include %{_libexecdir}/mod_include.so 1>&2
838         %{apxs} -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
839         %{apxs} -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
840         %{apxs} -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
841         %{apxs} -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
842         %{apxs} -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
843         %{apxs} -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
844         %{apxs} -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
845         %{apxs} -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
846         %{apxs} -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
847         if [ -f /var/lock/subsys/httpd ]; then
848                 /etc/rc.d/init.d/httpd stop 1>&2
849         fi
850         /sbin/chkconfig --del httpd
851 fi
852
853 %postun
854 if [ "$1" = "0" ]; then
855         echo "Removing user http."
856         /usr/sbin/userdel http
857         echo "Removing group http."
858         /usr/sbin/groupdel http
859 fi
860
861 %post mod_actions
862 %{apxs} -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
863 if [ -f /var/lock/subsys/httpd ]; then
864         /etc/rc.d/init.d/httpd restart 1>&2
865 else
866         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
867 fi
868
869 %preun mod_actions
870 if [ "$1" = "0" ]; then
871         %{apxs} -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
872         if [ -f /var/lock/subsys/httpd ]; then
873                 /etc/rc.d/init.d/httpd restart 1>&2
874         fi
875 fi
876
877 %post mod_auth
878 %{apxs} -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
879 if [ -f /var/lock/subsys/httpd ]; then
880         /etc/rc.d/init.d/httpd restart 1>&2
881 else
882         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
883 fi
884
885 %preun mod_auth
886 if [ "$1" = "0" ]; then
887         %{apxs} -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
888         if [ -f /var/lock/subsys/httpd ]; then
889                 /etc/rc.d/init.d/httpd restart 1>&2
890         fi
891 fi
892
893 %post mod_auth_anon
894 %{apxs} -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
895 if [ -f /var/lock/subsys/httpd ]; then
896         /etc/rc.d/init.d/httpd restart 1>&2
897 else
898         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
899 fi
900
901 %preun mod_auth_anon
902 if [ "$1" = "0" ]; then
903         %{apxs} -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
904         if [ -f /var/lock/subsys/httpd ]; then
905                 /etc/rc.d/init.d/httpd restart 1>&2
906         fi
907 fi
908
909 %post mod_auth_db
910 %{apxs} -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
911 if [ -f /var/lock/subsys/httpd ]; then
912         /etc/rc.d/init.d/httpd restart 1>&2
913 else
914         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 fi
916
917 %preun mod_auth_db
918 if [ "$1" = "0" ]; then
919         %{apxs} -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
920         if [ -f /var/lock/subsys/httpd ]; then
921                 /etc/rc.d/init.d/httpd restart 1>&2
922         fi
923 fi
924
925 %post mod_auth_digest
926 %{apxs} -e -a -n auth_digest %{_libexecdir}/mod_auth_digest.so 1>&2
927 if [ -f /var/lock/subsys/httpd ]; then
928         /etc/rc.d/init.d/httpd restart 1>&2
929 else
930         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
931 fi
932
933 %preun mod_auth_digest
934 if [ "$1" = "0" ]; then
935         %{apxs} -e -A -n auth_digest %{_libexecdir}/mod_auth_digest.so 1>&2
936         if [ -f /var/lock/subsys/httpd ]; then
937                 /etc/rc.d/init.d/httpd restart 1>&2
938         fi
939 fi
940
941 %triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2
942 %{apxs} -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
943
944 %post mod_autoindex
945 if [ "$1" = "0" ]; then
946         if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_autoindex.conf" /etc/httpd/httpd.conf; then
947                 echo "Include /etc/httpd/mod_autoindex.conf" >> /etc/httpd/httpd.conf
948         fi
949         %{apxs} -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
950         if [ -f /var/lock/subsys/httpd ]; then
951                 /etc/rc.d/init.d/httpd restart 1>&2
952         fi
953 fi
954
955 %preun mod_autoindex
956 if [ "$1" = "0" ]; then
957         umask 027
958         %{apxs} -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
959         grep -v "^Include.*mod_autoindex.conf" /etc/httpd/httpd.conf > \
960                 /etc/httpd/httpd.conf.tmp
961         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
962         if [ -f /var/lock/subsys/httpd ]; then
963                 /etc/rc.d/init.d/httpd restart 1>&2
964         fi
965 fi
966
967 %post mod_define
968 if [ "$1" = "0" ]; then
969         %{apxs} -e -a -n define %{_libexecdir}/mod_define.so 1>&2
970         if [ -f /var/lock/subsys/httpd ]; then
971                 /etc/rc.d/init.d/httpd restart 1>&2
972         else
973                 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
974         fi
975 fi
976
977 %preun mod_define
978 if [ "$1" = "0" ]; then
979         %{apxs} -e -A -n define %{_libexecdir}/mod_define.so 1>&2
980         if [ -f /var/lock/subsys/httpd ]; then
981                 /etc/rc.d/init.d/httpd restart 1>&2
982         fi
983 fi
984
985 %post mod_digest
986 %{apxs} -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
987 if [ -f /var/lock/subsys/httpd ]; then
988         /etc/rc.d/init.d/httpd restart 1>&2
989 else
990         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
991 fi
992
993 %preun mod_digest
994 if [ "$1" = "0" ]; then
995         %{apxs} -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
996         if [ -f /var/lock/subsys/httpd ]; then
997                 /etc/rc.d/init.d/httpd restart 1>&2
998         fi
999 fi
1000
1001 %post mod_dir
1002 %{apxs} -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
1003 if [ -f /var/lock/subsys/httpd ]; then
1004         /etc/rc.d/init.d/httpd restart 1>&2
1005 else
1006         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1007 fi
1008
1009 %preun mod_dir
1010 if [ "$1" = "0" ]; then
1011         %{apxs} -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
1012         if [ -f /var/lock/subsys/httpd ]; then
1013                 /etc/rc.d/init.d/httpd restart 1>&2
1014         fi
1015 fi
1016
1017 %post mod_expires
1018 %{apxs} -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
1019 if [ -f /var/lock/subsys/httpd ]; then
1020         /etc/rc.d/init.d/httpd restart 1>&2
1021 else
1022         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1023 fi
1024
1025 %preun mod_expires
1026 if [ "$1" = "0" ]; then
1027         %{apxs} -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
1028         if [ -f /var/lock/subsys/httpd ]; then
1029                 /etc/rc.d/init.d/httpd restart 1>&2
1030         fi
1031 fi
1032
1033 %post mod_headers
1034 %{apxs} -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
1035 if [ -f /var/lock/subsys/httpd ]; then
1036         /etc/rc.d/init.d/httpd restart 1>&2
1037 else
1038         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1039 fi
1040
1041 %preun mod_headers
1042 if [ "$1" = "0" ]; then
1043         %{apxs} -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
1044         if [ -f /var/lock/subsys/httpd ]; then
1045                 /etc/rc.d/init.d/httpd restart 1>&2
1046         fi
1047 fi
1048
1049 %post mod_mmap_static
1050 %{apxs} -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
1051 if [ -f /var/lock/subsys/httpd ]; then
1052         /etc/rc.d/init.d/httpd restart 1>&2
1053 else
1054         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1055 fi
1056
1057 %preun mod_mmap_static
1058 if [ "$1" = "0" ]; then
1059         %{apxs} -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
1060         if [ -f /var/lock/subsys/httpd ]; then
1061                 /etc/rc.d/init.d/httpd restart 1>&2
1062         fi
1063 fi
1064
1065 %post mod_imap
1066 %{apxs} -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
1067 if [ -f /var/lock/subsys/httpd ]; then
1068         /etc/rc.d/init.d/httpd restart 1>&2
1069 else
1070         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1071 fi
1072
1073 %preun mod_imap
1074 if [ "$1" = "0" ]; then
1075         %{apxs} -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
1076         if [ -f /var/lock/subsys/httpd ]; then
1077                 /etc/rc.d/init.d/httpd restart 1>&2
1078         fi
1079 fi
1080
1081 %post mod_info
1082 %{apxs} -e -a -n info %{_libexecdir}/mod_info.so 1>&2
1083 if [ -f /var/lock/subsys/httpd ]; then
1084         /etc/rc.d/init.d/httpd restart 1>&2
1085 else
1086         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1087 fi
1088
1089 %preun mod_info
1090 if [ "$1" = "0" ]; then
1091         %{apxs} -e -A -n info %{_libexecdir}/mod_info.so 1>&2
1092         if [ -f /var/lock/subsys/httpd ]; then
1093                 /etc/rc.d/init.d/httpd restart 1>&2
1094         fi
1095 fi
1096
1097 %post mod_log_forensic
1098 %{apxs} -e -a -n log_forensic %{_libexecdir}/mod_log_forensic.so 1>&2
1099 if [ -f /var/lock/subsys/httpd ]; then
1100         /etc/rc.d/init.d/httpd restart 1>&2
1101 else
1102         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1103 fi
1104
1105 %preun mod_log_forensic
1106 if [ "$1" = "0" ]; then
1107         %{apxs} -e -A -n log_forensic %{_libexecdir}/mod_log_forensic.so 1>&2
1108         if [ -f /var/lock/subsys/httpd ]; then
1109                 /etc/rc.d/init.d/httpd restart 1>&2
1110         fi
1111 fi
1112
1113 %post mod_proxy
1114 %{apxs} -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
1115 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
1116         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
1117 fi
1118 if [ -f /var/lock/subsys/httpd ]; then
1119         /etc/rc.d/init.d/httpd restart 1>&2
1120 else
1121         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1122 fi
1123
1124 %preun mod_proxy
1125 if [ "$1" = "0" ]; then
1126         %{apxs} -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
1127         grep -v "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
1128                 /etc/httpd/httpd.conf.tmp
1129         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
1130         if [ -f /var/lock/subsys/httpd ]; then
1131                 /etc/rc.d/init.d/httpd restart 1>&2
1132         fi
1133 fi
1134
1135 %post mod_rewrite
1136 %{apxs} -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
1137 if [ -f /var/lock/subsys/httpd ]; then
1138         /etc/rc.d/init.d/httpd restart 1>&2
1139 else
1140         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1141 fi
1142
1143 %preun mod_rewrite
1144 if [ "$1" = "0" ]; then
1145         %{apxs} -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
1146         if [ -f /var/lock/subsys/httpd ]; then
1147                 /etc/rc.d/init.d/httpd restart 1>&2
1148         fi
1149 fi
1150
1151 %post mod_status
1152 %{apxs} -e -a -n status %{_libexecdir}/mod_status.so 1>&2
1153 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
1154         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
1155 fi
1156 if [ -f /var/lock/subsys/httpd ]; then
1157         /etc/rc.d/init.d/httpd restart 1>&2
1158 else
1159         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1160 fi
1161
1162 %preun mod_status
1163 if [ "$1" = "0" ]; then
1164         %{apxs} -e -A -n status %{_libexecdir}/mod_status.so 1>&2
1165         grep -v "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
1166                 /etc/httpd/httpd.conf.tmp
1167         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
1168         if [ -f /var/lock/subsys/httpd ]; then
1169                 /etc/rc.d/init.d/httpd restart 1>&2
1170         fi
1171 fi
1172
1173 %post mod_usertrack
1174 %{apxs} -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
1175 if [ -f /var/lock/subsys/httpd ]; then
1176         /etc/rc.d/init.d/httpd restart 1>&2
1177 else
1178         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1179 fi
1180
1181 %preun mod_usertrack
1182 if [ "$1" = "0" ]; then
1183         %{apxs} -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
1184         if [ -f /var/lock/subsys/httpd ]; then
1185                 /etc/rc.d/init.d/httpd restart 1>&2
1186         fi
1187 fi
1188
1189 %post mod_unique_id
1190 %{apxs} -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
1191 if [ -f /var/lock/subsys/httpd ]; then
1192         /etc/rc.d/init.d/httpd restart 1>&2
1193 else
1194         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1195 fi
1196
1197 %preun mod_unique_id
1198 if [ "$1" = "0" ]; then
1199         %{apxs} -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
1200         if [ -f /var/lock/subsys/httpd ]; then
1201                 /etc/rc.d/init.d/httpd restart 1>&2
1202         fi
1203 fi
1204
1205 %post mod_vhost_alias
1206 %{apxs} -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
1207 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
1208         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
1209 fi
1210 if [ -f /var/lock/subsys/httpd ]; then
1211         /etc/rc.d/init.d/httpd restart 1>&2
1212 else
1213         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1214 fi
1215
1216 %preun mod_vhost_alias
1217 if [ "$1" = "0" ]; then
1218         %{apxs} -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
1219         grep -v "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
1220                 /etc/httpd/httpd.conf.tmp
1221         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
1222         if [ -f /var/lock/subsys/httpd ]; then
1223                 /etc/rc.d/init.d/httpd restart 1>&2
1224         fi
1225 fi
1226
1227 %files
1228 %defattr(644,root,root,755)
1229 %doc ABOUT_APACHE src/CHANGES README
1230 %doc conf/mime.types
1231
1232 %attr(754,root,root) /etc/rc.d/init.d/httpd
1233
1234 %attr(750,root,root) %dir %{_sysconfdir}
1235 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
1236 %attr(640,root,root) %{_sysconfdir}/magic
1237
1238 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1239 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
1240 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1241
1242 %dir %{_libexecdir}
1243 %attr(755,root,root) %{_libexecdir}/mod_access.so
1244 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1245 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1246 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1247 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1248 %attr(755,root,root) %{_libexecdir}/mod_env.so
1249 %attr(755,root,root) %{_libexecdir}/mod_include.so
1250 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1251 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1252 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1253 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1254 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1255 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1256 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1257 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1258 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1259
1260 %attr(755,root,root) %{_bindir}/checkgid
1261 %attr(755,root,root) %{_bindir}/htdigest
1262
1263 %attr(755,root,root) %{_sbindir}/ab
1264 %attr(755,root,root) %{_sbindir}/apachectl
1265 %attr(755,root,root) %{_sbindir}/apxs
1266 %attr(755,root,root) %{_sbindir}/httpd
1267 %attr(755,root,root) %{_sbindir}/logresolve
1268 %attr(755,root,root) %{_sbindir}/rotatelogs
1269
1270 %dir %attr(1773,root,http) /var/run/apache
1271
1272 %{_mandir}/man1/htdigest.1*
1273 %{_mandir}/man8/*
1274 %lang(hu) %{_mandir}/hu/man8/*
1275 %lang(ko) %{_mandir}/ko/man8/*
1276 %lang(pl) %{_mandir}/pl/man8/*
1277
1278 %attr(750,root,root) %dir /var/log/httpd
1279 %attr(750,root,root) %dir /var/log/archiv/httpd
1280 %attr(640,root,root) %ghost /var/log/httpd/*
1281
1282 %dir %{_datadir}
1283 %dir %{_datadir}/manual
1284 %dir %{_datadir}/manual/images/
1285 %{_datadir}/manual/images/apache_header.gif
1286 %{_datadir}/manual/images/custom_errordocs.gif
1287 %{_datadir}/manual/images/home.gif
1288 %{_datadir}/manual/images/index.gif
1289 %{_datadir}/manual/images/pixel.gif
1290 %{_datadir}/manual/images/sub.gif
1291 %{_datadir}/manual/misc
1292 %{_datadir}/manual/LICENSE
1293 %{_datadir}/manual/bind.html.html
1294 %{_datadir}/manual/bind.html.en
1295 %lang(fr) %{_datadir}/manual/bind.html.fr
1296 %lang(ja) %{_datadir}/manual/bind.html.ja.jis
1297 %{_datadir}/manual/cgi_path.html.html
1298 %{_datadir}/manual/cgi_path.html.en
1299 %lang(fr) %{_datadir}/manual/cgi_path.html.fr
1300 %lang(ja) %{_datadir}/manual/cgi_path.html.ja.jis
1301 %{_datadir}/manual/configuring.html.html
1302 %{_datadir}/manual/configuring.html.en
1303 %lang(fr) %{_datadir}/manual/configuring.html.fr
1304 %lang(ja) %{_datadir}/manual/configuring.html.ja.jis
1305 %{_datadir}/manual/content-negotiation.html.html
1306 %{_datadir}/manual/content-negotiation.html.en
1307 %lang(ja) %{_datadir}/manual/content-negotiation.html.ja.jis
1308 %{_datadir}/manual/custom-error.html.html
1309 %{_datadir}/manual/custom-error.html.en
1310 %lang(fr) %{_datadir}/manual/custom-error.html.fr
1311 %lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
1312 %{_datadir}/manual/dns-caveats.html.html
1313 %{_datadir}/manual/dns-caveats.html.en
1314 %lang(fr) %{_datadir}/manual/dns-caveats.html.fr
1315 %{_datadir}/manual/dso.html
1316 %{_datadir}/manual/env.html.html
1317 %{_datadir}/manual/env.html.en
1318 %lang(ja) %{_datadir}/manual/env.html.ja.jis
1319 %{_datadir}/manual/footer.html
1320 %{_datadir}/manual/handler.html.html
1321 %{_datadir}/manual/handler.html.en
1322 %lang(ja) %{_datadir}/manual/handler.html.ja.jis
1323 %{_datadir}/manual/header.html
1324 %{_datadir}/manual/index.html.html
1325 %{_datadir}/manual/index.html.en
1326 %lang(fr) %{_datadir}/manual/index.html.fr
1327 %lang(ja) %{_datadir}/manual/index.html.ja.jis
1328 %{_datadir}/manual/install.html.html
1329 %{_datadir}/manual/install.html.en
1330 %lang(es) %{_datadir}/manual/install.html.es
1331 %lang(fr) %{_datadir}/manual/install.html.fr
1332 %lang(ja) %{_datadir}/manual/install.html.ja.jis
1333 %{_datadir}/manual/invoking.html.html
1334 %{_datadir}/manual/invoking.html.en
1335 %lang(fr) %{_datadir}/manual/invoking.html.fr
1336 %{_datadir}/manual/keepalive.html.html
1337 %{_datadir}/manual/keepalive.html.en
1338 %lang(ja) %{_datadir}/manual/keepalive.html.ja.jis
1339 %{_datadir}/manual/location.html.html
1340 %{_datadir}/manual/location.html.en
1341 %lang(ja) %{_datadir}/manual/location.html.ja.jis
1342 %{_datadir}/manual/logs.html
1343 %{_datadir}/manual/multilogs.html
1344 %{_datadir}/manual/new_features_1_3.html.html
1345 %{_datadir}/manual/new_features_1_3.html.en
1346 %lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
1347 %{_datadir}/manual/process-model.html.html
1348 %{_datadir}/manual/process-model.html.en
1349 %lang(ja) %{_datadir}/manual/process-model.html.ja.jis
1350 %{_datadir}/manual/sections.html.html
1351 %{_datadir}/manual/sections.html.en
1352 %lang(ja) %{_datadir}/manual/sections.html.ja.jis
1353 %{_datadir}/manual/server-wide.html.html
1354 %{_datadir}/manual/server-wide.html.en
1355 %lang(fr) %{_datadir}/manual/server-wide.html.fr
1356 %lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
1357 %{_datadir}/manual/sitemap.html
1358 %{_datadir}/manual/sourcereorg.html
1359 %{_datadir}/manual/stopping.html.html
1360 %{_datadir}/manual/stopping.html.en
1361 %lang(fr) %{_datadir}/manual/stopping.html.fr
1362 %{_datadir}/manual/upgrading_to_1_3.html
1363 %{_datadir}/manual/urlmapping.html
1364 %dir %{_datadir}/manual/howto
1365 %{_datadir}/manual/howto/cgi.html.html
1366 %{_datadir}/manual/howto/cgi.html.en
1367 %lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
1368 %{_datadir}/manual/howto/footer.html
1369 %{_datadir}/manual/howto/header.html
1370 %{_datadir}/manual/howto/htaccess.html
1371 %{_datadir}/manual/howto/ssi.html.html
1372 %{_datadir}/manual/howto/ssi.html.en
1373 %lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
1374 %dir %{_datadir}/manual/mod
1375 %{_datadir}/manual/mod/core.html.html
1376 %{_datadir}/manual/mod/core.html.en
1377 %lang(fr) %{_datadir}/manual/mod/core.html.fr
1378 %lang(ja) %{_datadir}/manual/mod/core.html.ja.jis
1379 %{_datadir}/manual/mod/directive-dict.html.html
1380 %{_datadir}/manual/mod/directive-dict.html.en
1381 %lang(fr) %{_datadir}/manual/mod/directive-dict.html.fr
1382 %lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
1383 %{_datadir}/manual/mod/directives.html.html
1384 %lang(de) %{_datadir}/manual/mod/directives.html.de
1385 %{_datadir}/manual/mod/directives.html.en
1386 %lang(fr) %{_datadir}/manual/mod/directives.html.fr
1387 %lang(ja) %{_datadir}/manual/mod/directives.html.ja.jis
1388 %{_datadir}/manual/mod/footer.html
1389 %{_datadir}/manual/mod/header.html
1390 %{_datadir}/manual/mod/index-bytype.html.html
1391 %{_datadir}/manual/mod/index-bytype.html.en
1392 %lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
1393 %lang(ja) %{_datadir}/manual/mod/index-bytype.html.ja.jis
1394 %{_datadir}/manual/mod/index.html.html
1395 %{_datadir}/manual/mod/index.html.en
1396 %lang(fr) %{_datadir}/manual/mod/index.html.fr
1397 %lang(ja) %{_datadir}/manual/mod/index.html.ja.jis
1398 %{_datadir}/manual/mod/mod_access.html.html
1399 %{_datadir}/manual/mod/mod_access.html.en
1400 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja.jis
1401 %{_datadir}/manual/mod/mod_alias.html.html
1402 %{_datadir}/manual/mod/mod_alias.html.en
1403 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja.jis
1404 %{_datadir}/manual/mod/mod_asis.html.html
1405 %{_datadir}/manual/mod/mod_asis.html.en
1406 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja.jis
1407 %{_datadir}/manual/mod/mod_autoindex.html.html
1408 %{_datadir}/manual/mod/mod_autoindex.html.en
1409 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja.jis
1410 %{_datadir}/manual/mod/mod_cern_meta.html
1411 %{_datadir}/manual/mod/mod_cgi.html.html
1412 %{_datadir}/manual/mod/mod_cgi.html.en
1413 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja.jis
1414 %{_datadir}/manual/mod/mod_env.html.html
1415 %{_datadir}/manual/mod/mod_env.html.en
1416 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja.jis
1417 %{_datadir}/manual/mod/mod_include.html
1418 %{_datadir}/manual/mod/mod_log_agent.html
1419 %{_datadir}/manual/mod/mod_log_config.html.html
1420 %{_datadir}/manual/mod/mod_log_config.html.en
1421 %lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.jis
1422 %{_datadir}/manual/mod/mod_log_referer.html
1423 %{_datadir}/manual/mod/mod_mime.html.html
1424 %{_datadir}/manual/mod/mod_mime.html.en
1425 %lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
1426 %{_datadir}/manual/mod/mod_mime_magic.html
1427 %{_datadir}/manual/mod/mod_negotiation.html.html
1428 %{_datadir}/manual/mod/mod_negotiation.html.en
1429 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
1430 %{_datadir}/manual/mod/mod_setenvif.html.html
1431 %{_datadir}/manual/mod/mod_setenvif.html.en
1432 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja.jis
1433 %{_datadir}/manual/mod/mod_so.html.html
1434 %{_datadir}/manual/mod/mod_so.html.en
1435 %lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.jis
1436 %{_datadir}/manual/mod/mod_speling.html.html
1437 %{_datadir}/manual/mod/mod_speling.html.en
1438 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja.jis
1439 %{_datadir}/manual/mod/mod_userdir.html.html
1440 %{_datadir}/manual/mod/mod_userdir.html.en
1441 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja.jis
1442 %{_datadir}/manual/mod/module-dict.html.html
1443 %{_datadir}/manual/mod/module-dict.html.en
1444 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
1445 %dir %{_datadir}/manual/programs
1446 %{_datadir}/manual/programs/ab.html
1447 %{_datadir}/manual/programs/apachectl.html.html
1448 %{_datadir}/manual/programs/apachectl.html.en
1449 %lang(ja) %{_datadir}/manual/programs/apachectl.html.ja.jis
1450 %{_datadir}/manual/programs/apxs.html
1451 %{_datadir}/manual/programs/dbmmanage.html
1452 %{_datadir}/manual/programs/footer.html
1453 %{_datadir}/manual/programs/header.html
1454 %{_datadir}/manual/programs/htdigest.html
1455 %{_datadir}/manual/programs/htpasswd.html.html
1456 %{_datadir}/manual/programs/htpasswd.html.en
1457 %lang(ja) %{_datadir}/manual/programs/htpasswd.html.ja.jis
1458 %{_datadir}/manual/programs/httpd.html.html
1459 %{_datadir}/manual/programs/httpd.html.en
1460 %lang(ja) %{_datadir}/manual/programs/httpd.html.ja.jis
1461 %{_datadir}/manual/programs/index.html.html
1462 %{_datadir}/manual/programs/index.html.en
1463 %lang(ja) %{_datadir}/manual/programs/index.html.ja.jis
1464 %{_datadir}/manual/programs/logresolve.html
1465 %{_datadir}/manual/programs/other.html
1466 %{_datadir}/manual/programs/rotatelogs.html
1467 %dir %{_datadir}/manual/vhosts
1468 %{_datadir}/manual/vhosts/details.html
1469 %{_datadir}/manual/vhosts/examples.html
1470 %{_datadir}/manual/vhosts/fd-limits.html.html
1471 %{_datadir}/manual/vhosts/fd-limits.html.en
1472 %lang(ja) %{_datadir}/manual/vhosts/fd-limits.html.ja.jis
1473 %{_datadir}/manual/vhosts/footer.html
1474 %{_datadir}/manual/vhosts/header.html
1475 %{_datadir}/manual/vhosts/host.html
1476 %{_datadir}/manual/vhosts/index.html.html
1477 %{_datadir}/manual/vhosts/index.html.en
1478 %lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
1479 %{_datadir}/manual/vhosts/ip-based.html
1480 %{_datadir}/manual/vhosts/mass.html
1481 %{_datadir}/manual/vhosts/name-based.html.html
1482 %{_datadir}/manual/vhosts/name-based.html.en
1483 %lang(ja) %{_datadir}/manual/vhosts/name-based.html.ja.jis
1484 %{_datadir}/manual/vhosts/vhosts-in-depth.html
1485 %{_datadir}/manual/vhosts/virtual-host.html
1486
1487 %attr(755,root,root) %dir %{_datadir}/html
1488 %config(noreplace,missingok) %{_datadir}/html/index.html
1489 # note: html extensions are not the same as (g)libc locale names
1490 %lang(ca) %{_datadir}/html/index.html.ca
1491 %lang(cs) %{_datadir}/html/index.html.cz
1492 %lang(de) %{_datadir}/html/index.html.de
1493 %lang(da) %{_datadir}/html/index.html.dk
1494 %lang(et) %{_datadir}/html/index.html.ee
1495 %lang(el) %{_datadir}/html/index.html.el
1496 %{_datadir}/html/index.html.en
1497 %lang(es) %{_datadir}/html/index.html.es
1498 %lang(fr) %{_datadir}/html/index.html.fr
1499 %lang(he) %{_datadir}/html/index.html.he.iso8859-8
1500 %lang(it) %{_datadir}/html/index.html.it
1501 %lang(ja) %{_datadir}/html/index.html.ja.jis
1502 %lang(ko) %{_datadir}/html/index.html.kr.iso-kr
1503 %lang(de_LU) %{_datadir}/html/index.html.lb.utf8
1504 %lang(nl) %{_datadir}/html/index.html.nl
1505 %lang(nn) %{_datadir}/html/index.html.nn
1506 %lang(no) %{_datadir}/html/index.html.no
1507 %lang(pl) %{_datadir}/html/index.html.po.iso-pl
1508 %lang(pt) %{_datadir}/html/index.html.pt
1509 %lang(pt_BR) %{_datadir}/html/index.html.pt-br
1510 %lang(ru) %{_datadir}/html/index.html.ru.cp-1251
1511 %lang(ru) %{_datadir}/html/index.html.ru.cp866
1512 %lang(ru) %{_datadir}/html/index.html.ru.iso-ru
1513 %lang(ru) %{_datadir}/html/index.html.ru.koi8-r
1514 %lang(ru) %{_datadir}/html/index.html.ru.ucs2
1515 %lang(ru) %{_datadir}/html/index.html.ru.ucs4
1516 %lang(ru) %{_datadir}/html/index.html.ru.utf8
1517 %lang(sv) %{_datadir}/html/index.html.se
1518 %lang(zh_TW) %{_datadir}/html/index.html.zh-tw.big5
1519
1520 %{_datadir}/html/*.gif
1521 %{_datadir}/errordocs
1522 %dir %{_datadir}/icons
1523 %{_datadir}/icons/*.gif
1524 %{_datadir}/icons/*.png
1525 %dir %{_datadir}/icons/small
1526 %{_datadir}/icons/small/*.gif
1527 %{_datadir}/icons/small/*.png
1528 %attr(755,root,root) %{_datadir}/cgi-bin
1529
1530 %files suexec
1531 %defattr(644,root,root,755)
1532 %attr(4755,root,root) %{_sbindir}/suexec
1533 %{_datadir}/manual/suexec.html.html
1534 %{_datadir}/manual/suexec.html.en
1535 %lang(ja) %{_datadir}/manual/suexec.html.ja.jis
1536 %{_datadir}/manual/programs/suexec.html.html
1537 %{_datadir}/manual/programs/suexec.html.en
1538 %lang(ja) %{_datadir}/manual/programs/suexec.html.ja.jis
1539
1540 %files devel
1541 %defattr(644,root,root,755)
1542 %{_includedir}
1543
1544 %files mod_actions
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1547 %{_datadir}/manual/mod/mod_actions.html.html
1548 %{_datadir}/manual/mod/mod_actions.html.en
1549 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja.jis
1550
1551 %files mod_auth
1552 %defattr(644,root,root,755)
1553 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1554 %attr(755,root,root) %{_bindir}/htpasswd
1555 %{_datadir}/manual/howto/auth.html
1556 %{_datadir}/manual/mod/mod_auth.html.html
1557 %{_datadir}/manual/mod/mod_auth.html.en
1558 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja.jis
1559
1560 %files mod_auth_anon
1561 %defattr(644,root,root,755)
1562 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1563 %{_datadir}/manual/mod/mod_auth_anon.html
1564
1565 %files mod_auth_db
1566 %defattr(644,root,root,755)
1567 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1568 %attr(755,root,root) %{_bindir}/dbmmanage
1569 %{_datadir}/manual/mod/mod_auth_db.html
1570 %{_mandir}/man1/dbmmanage.1*
1571 %{_mandir}/man1/htpasswd.1*
1572
1573 %files mod_auth_digest
1574 %defattr(644,root,root,755)
1575 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1576 %{_datadir}/manual/mod/mod_auth_digest.html
1577
1578 %files mod_autoindex
1579 %defattr(644,root,root,755)
1580 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_autoindex.conf
1581 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1582
1583 %files mod_define
1584 %defattr(644,root,root,755)
1585 %attr(755,root,root) %{_libexecdir}/mod_define.so
1586 %{_datadir}/manual/mod/mod_define.html
1587
1588 %files mod_digest
1589 %defattr(644,root,root,755)
1590 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1591 %{_datadir}/manual/mod/mod_digest.html
1592
1593 %files mod_dir
1594 %defattr(644,root,root,755)
1595 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1596 %{_datadir}/manual/mod/mod_dir.html.html
1597 %{_datadir}/manual/mod/mod_dir.html.en
1598 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja.jis
1599
1600 %files mod_expires
1601 %defattr(644,root,root,755)
1602 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1603 %{_datadir}/manual/mod/mod_expires.html
1604
1605 %files mod_headers
1606 %defattr(644,root,root,755)
1607 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1608 %{_datadir}/manual/mod/mod_headers.html
1609
1610 %files mod_mmap_static
1611 %defattr(644,root,root,755)
1612 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1613 %{_datadir}/manual/mod/mod_mmap_static.html
1614
1615 %files mod_log_forensic
1616 %defattr(644,root,root,755)
1617 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1618 %{_datadir}/manual/mod/mod_log_forensic.html.html
1619 %{_datadir}/manual/mod/mod_log_forensic.html.en
1620
1621 %files mod_imap
1622 %defattr(644,root,root,755)
1623 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1624 %{_datadir}/manual/mod/mod_imap.html
1625
1626 %files mod_info
1627 %defattr(644,root,root,755)
1628 %attr(755,root,root) %{_libexecdir}/mod_info.so
1629 %{_datadir}/manual/mod/mod_info.html.html
1630 %{_datadir}/manual/mod/mod_info.html.en
1631 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja.jis
1632
1633 %files mod_proxy
1634 %defattr(644,root,root,755)
1635 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1636 %attr(755,root,root) %{_libexecdir}/libproxy.so
1637 %{_datadir}/manual/mod/mod_proxy.html
1638 %dir %attr(770,root,http) /var/cache/apache
1639
1640 %files mod_rewrite
1641 %defattr(644,root,root,755)
1642 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1643 %{_datadir}/manual/mod/mod_rewrite.html.html
1644 %{_datadir}/manual/mod/mod_rewrite.html.en
1645 %lang(ja) %{_datadir}/manual/mod/mod_rewrite.html.ja.jis
1646 %{_datadir}/manual/images/mod_rewrite*
1647
1648 %files mod_status
1649 %defattr(644,root,root,755)
1650 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1651 %attr(755,root,root) %{_libexecdir}/mod_status.so
1652 %{_datadir}/manual/mod/mod_status.html
1653
1654 %files mod_usertrack
1655 %defattr(644,root,root,755)
1656 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1657 %{_datadir}/manual/mod/mod_cookies.html
1658 %{_datadir}/manual/mod/mod_usertrack.html
1659
1660 %files mod_unique_id
1661 %defattr(644,root,root,755)
1662 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1663 %{_datadir}/manual/mod/mod_unique_id.html.html
1664 %{_datadir}/manual/mod/mod_unique_id.html.en
1665 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja.jis
1666
1667 %files mod_vhost_alias
1668 %defattr(644,root,root,755)
1669 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1670 %{_datadir}/manual/mod/mod_vhost_alias.html
1671 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
This page took 0.136862 seconds and 3 git commands to generate.