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