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