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