1 %include /usr/lib/rpm/macros.perl
2 Summary: The most widely used Web server on the Internet
3 Summary(de): Leading World Wide Web-Server
4 Summary(fr): Le serveur web le plus utilise sur Internet
5 Summary(pl): Serwer WWW (World Wide Web)
6 Summary(tr): Lider WWW tarayýcý
11 Group: Networking/Daemons
12 Group(pl): Sieciowe/Serwery
13 Source0: ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
15 Source2: apache.logrotate
16 Source3: apache-icons.tar.gz
17 Source4: apache.sysconfig
18 Source5: apache-access.conf
19 Source6: apache-httpd.conf
20 Source7: apache-srm.conf
21 Source8: apache-mod_vhost_alias.conf
22 Source9: apache-mod_status.conf
23 Source10: apache-mod_proxy.conf
24 Patch0: apache-PLD.patch
25 Patch1: apache-suexec.patch
26 Patch2: apache-htdocs.patch
27 Patch3: apache-errordocs.patch
28 Patch4: apache-apxs.patch
29 Patch5: apache-EAPI.patch
30 Patch6: apache-v6-PLD-2.patch.gz
31 Patch7: apache-mm_conf.patch
32 Patch8: apache-modules_symbols.patch
35 Prereq: /sbin/chkconfig
36 Prereq: /usr/sbin/useradd
37 Prereq: /usr/bin/getgid
40 BuildRequires: mm-devel
43 Requires: /etc/mime.types
44 URL: http://www.apache.org/
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 Provides: apache(EAPI)
47 Obsoletes: apache-extra
51 %define _sysconfdir /etc/httpd
52 %define _includedir %{_prefix}/include/apache
53 %define _datadir /home/httpd
54 %define _libexecdir %{_prefix}/lib/apache
57 Apache is a powerful, full-featured, efficient and freely-available Web
58 server. Apache is also the most popular Web server on the Internet.
61 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
62 erhältlich und weit verbreitet ist.
65 Apache est un serveur Web puissant, efficace, gratuit et complet. Apache est
66 aussi le serveur Web le plus populaire sur Internet.
69 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz
70 móg³ prezentowaæ w³asne strony WWW w sieci internet.
73 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
76 Summary: Apache suexec wrapper
77 Summary(pl): Suexec wrapper do serwera www Apache
78 Group: Networking/Development
79 Group(pl): Sieciowe/Programowanie
80 Requires: %{name}(EAPI) = %{version}
83 The suEXEC feature provides Apache users the ability to run CGI and SSI
84 programs under user IDs different from the user ID of the calling web-server.
85 Normally, when a CGI or SSI program executes, it runs as the same user
86 who is running the web server.
88 %description -l pl suexec
89 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z innym
90 UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s± wykonywane
91 jako taki sam u¿ytkownik jak serwer WWW.
94 Summary: Module development tools for the Apache web server
95 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
96 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
97 Group: Networking/Development
98 Group(pl): Sieciowe/Programowanie
99 Requires: %{name}(EAPI) = %{version}
100 Provides: %{name}(EAPI)-devel
103 The apache-devel package contains the source code for the Apache Web server
104 and the APXS binary you'll need to build Dynamic Shared Objects (DSOs) for
107 %description -l fr devel
108 Le package apache-devel contient le code source pour le serveur Web Apache
109 et le binaire APXS dont vous aurez besoin pour construire des Objets
110 Dynamiques Partages (DSOs) pour Apache.
112 %description -l pl devel
113 Pliki nag³ówkowe dla serwera WWW Apache.
116 Summary: Apache module for run CGI whenever a file of a certain type is requested
117 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
118 Group: Networking/Daemons
119 Group(pl): Sieciowe/Serwery
120 Prereq: %{_sbindir}/apxs
121 Requires: %{name}(EAPI) = %{version}
123 %description mod_actions
124 This package contains mod_actions module. This module lets you run CGI
125 scripts whenever a file of a certain type is requested. This makes it much
126 easier to execute scripts that process files.
128 %description -l pl mod_actions
129 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
130 ¿±danie pobrania pliku okre¶lonego typu.
132 %package mod_auth_anon
133 Summary: Apache module with "anonymous" user access authentication
134 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
135 Group: Networking/Daemons
136 Group(pl): Sieciowe/Serwery
137 Prereq: %{_sbindir}/apxs
138 Requires: %{name}(EAPI) = %{version}
140 %description mod_auth_anon
141 This package contains mod_auth_anon module. It allows "anonymous" user
142 access to authenticated areas. It does access control in a manner similar to
143 anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email
144 address as a password. These email addresses can be logged. Combined with
145 other (database) access control methods, this allows for effective user
146 tracking and customization according to a user profile while still keeping
147 the site open for 'unregistered' users. One advantage of using Auth-based
148 user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it
149 is completely browser independent and it allows users to share URLs.
151 %description -l pl mod_auth_anon
152 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do anonimowych
153 serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w postaci adresu pocztowego
157 Summary: Apache module - authentication variables for arbitrary directives
158 Summary(pl): Modu³ apache do definiowania zmiennych
159 Group: Networking/Daemons
160 Group(pl): Sieciowe/Serwery
161 Prereq: %{_sbindir}/apxs
162 Requires: %{name}(EAPI) = %{version}
164 %description mod_define
165 It provides the definition variables for arbitrary directives, i.e.
166 variables which can be expanded on any(!) directive line.
168 %description -l pl mod_define
169 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
172 Summary: Apache user authentication module using MD5 Digest Authentication
173 Summary(pl): Modu³ apache do autoryzacji MD5
174 Group: Networking/Daemons
175 Group(pl): Sieciowe/Serwery
176 Prereq: %{_sbindir}/apxs
177 Requires: %{name}(EAPI) = %{version}
179 %description mod_digest
180 This package contains mod_digest module. It provides user authentication using
181 MD5 Digest Authentication.
183 %description -l pl mod_digest
184 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest Authentication.
187 Summary: Apache module for "trailing slash" redirects and serving directory index files
188 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
189 Group: Networking/Daemons
190 Group(pl): Sieciowe/Serwery
191 Prereq: %{_sbindir}/apxs
192 Requires: %{name}(EAPI) = %{version}
195 This package contains mod_dir which provides "trailing slash" redirects and
196 serving directory index files.
198 %description -l pl mod_dir
199 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
202 Summary: Apache module allows for the customization of HTTP response headers
203 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
204 Group: Networking/Daemons
205 Group(pl): Sieciowe/Serwery
206 Prereq: %{_sbindir}/apxs
207 Requires: %{name}(EAPI) = %{version}
209 %description mod_headers
210 This package contains mod_headers module. The module allows for the
211 customization of HTTP response headers. Headers can be merged, replaced or
214 %description -l pl mod_headers
215 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
216 wysy³anych do przegl±darki.
218 %package mod_mmap_static
219 Summary: Apache module for mmap()ing statically configured list files
220 Summary(pl): Modu³ s³u¿±cy do mmap()owania plików.
221 Group: Networking/Daemons
222 Group(pl): Sieciowe/Serwery
223 Prereq: %{_sbindir}/apxs
224 Requires: %{name}(EAPI) = %{version}
226 %description mod_mmap_static
227 This package contains mod_mmap_static module. It provides mmap()ing of a
228 statically configured list of frequently requested but not changed files.
230 %description -l pl mod_mmap_static
231 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
232 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
235 Summary: Apache module with imap-file handler
236 Summary(pl): Modu³ z obs³ug± imap-file
237 Group: Networking/Daemons
238 Group(pl): Sieciowe/Serwery
239 Prereq: %{_sbindir}/apxs
240 Requires: %{name}(EAPI) = %{version}
242 %description mod_imap
243 This package contains mod_imap module. It provides for .map files, replacing
244 the functionality of the imagemap CGI program. Any directory or document
245 type configured to use the handler imap-file.
247 %description -l pl mod_imap
248 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
251 Summary: Apache module with comprehensive overview of the server configuration
252 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
253 Group: Networking/Daemons
254 Group(pl): Sieciowe/Serwery
255 Prereq: %{_sbindir}/apxs
256 Requires: %{name}(EAPI) = %{version}
258 %description mod_info
259 This package contains mod_info module. It provides a comprehensive
260 overview of the server configuration including all installed modules and
261 directives in the configuration files.
263 %description -l pl mod_info
264 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
268 Summary: Apache module with Web proxy
269 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
270 Group: Networking/Daemons
271 Group(pl): Sieciowe/Serwery
272 Prereq: %{_sbindir}/apxs
273 Requires: %{name}(EAPI) = %{version}
275 %description mod_proxy
276 This package contains module with implementation a proxy/cache for Apache.
277 It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, and
278 HTTP/1.0. The module can be configured to connect to other proxy modules for
279 these and other protocols.
281 %description -l pl mod_proxy
282 Modu³ zawiera implementacjê serwera proxy/cache dla Apache. Iplementacja
283 zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i HTTP/1.0.
286 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
287 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
288 Group: Networking/Daemons
289 Group(pl): Sieciowe/Serwery
290 Prereq: %{_sbindir}/apxs
291 Requires: %{name}(EAPI) = %{version}
293 %description mod_rewrite
294 This package contains It provides a rule-based rewriting engine to rewrite
295 requested URLs on the fly.
297 %description -l pl mod_rewrite
298 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
301 Summary: Server status report module for apache
302 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
303 Group: Networking/Daemons
304 Group(pl): Sieciowe/Serwery
305 Prereq: %{_sbindir}/apxs
306 Requires: %{name}(EAPI) = %{version}
308 %description mod_status
309 The Status module allows a server administrator to find out how well their
310 server is performing. A HTML page is presented that gives the current server
311 statistics in an easily readable form. If required this page can be made to
312 automatically refresh (given a compatible browser).
314 %description -l pl mod_status
315 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
316 pracy serwera apache (w postaci strony HTML).
318 %package mod_usertrack
319 Summary: Apache module for user tracking using cookies
320 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
321 Group: Networking/Daemons
322 Group(pl): Sieciowe/Serwery
323 Prereq: %{_sbindir}/apxs
324 Requires: %{name}(EAPI) = %{version}
326 %description mod_usertrack
327 This package contains the user tracking module which did its own logging
328 using CookieLog directory. This module allow multiple log files.
330 %description -l pl mod_usertrack
331 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
333 %package mod_vhost_alias
334 Summary: Apache module for dynamically configured mass virtual hosting
335 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
336 Group: Networking/Daemons
337 Group(pl): Sieciowe/Serwery
338 Prereq: %{_sbindir}/apxs
339 Requires: %{name}(EAPI) = %{version}
341 %description mod_vhost_alias
342 This package contains the mod_vhost_alias. It provides support for
343 dynamically configured mass virtual hosting.
345 %description -l pl mod_vhost_alias
346 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
349 %package mod_unique_id
350 Summary: Apache module which provides a magic token for each request
351 Group: Networking/Daemons
352 Group(pl): Sieciowe/Serwery
353 Prereq: %{_sbindir}/apxs
354 Requires: %{name}(EAPI) = %{version}
356 %description mod_unique_id
357 This package contains the mod_unique_id. This module provides a magic token
358 for each request which is guaranteed to be unique across "all" requests
359 under very specific conditions. The unique identifier is even unique across
360 multiple machines in a properly configured cluster of machines. The
361 environment variable UNIQUE_ID is set to the identifier for each request.
362 Unique identifiers are useful for various reasons which are beyond the scope
366 Summary: Apache module which provides ....
367 Group: Networking/Daemons
368 Group(pl): Sieciowe/Serwery
369 Prereq: %{_sbindir}/apxs
370 Requires: %{name}(EAPI) = %{version}
372 %description mod_expires
375 %setup -q -n apache_%{version} -a3
388 LDFLAGS="-s"; export LDFLAGS
389 OPTIM="$RPM_OPT_FLAGS" \
391 --prefix=%{_prefix} \
392 --sysconfdir=%{_sysconfdir} \
393 --includedir=%{_includedir} \
394 --sbindir=%{_sbindir} \
395 --libexecdir=%{_libexecdir} \
396 --datadir=%{_datadir} \
397 --localstatedir=/var \
398 --runtimedir=/var/run \
399 --logfiledir=/var/log/httpd \
401 --without-confadjust \
402 --enable-module=all \
403 --enable-shared=max \
404 --proxycachedir=/var/cache/apache \
405 --with-perl=%{_bindir}/perl \
407 --suexec-caller=http \
408 --suexec-uidmin=500 \
409 --suexec-gidmin=500 \
410 --disable-rule=WANTHSREGEX \
416 rm -rf $RPM_BUILD_ROOT
417 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
418 $RPM_BUILD_ROOT%{_datadir}/errordocs \
419 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
421 make install-quiet root="$RPM_BUILD_ROOT"
423 mv $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
425 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
426 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
427 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
429 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
431 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
433 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/access.conf
434 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
435 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/srm.conf
437 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
438 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
439 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
441 ln -sf index.html.en $RPM_BUILD_ROOT/home/httpd/html/index.html
443 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
445 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
446 ABOUT_APACHE src/CHANGES KEYS README
449 if [ -n "`getgid http`" ]; then
450 if [ "`getgid http`" != "51" ]; then
451 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
455 /usr/sbin/groupadd -g 51 -r -f http
456 if [ -f /var/db/group.db ]; then
457 /usr/bin/update-db 1>&2
460 if [ -n "`id -u http 2>/dev/null`" ]; then
461 if [ "`id -u http`" != "51" ]; then
462 echo "Warning: user http haven't uid=51. Corect this before install apache" 1>&2
466 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
467 if [ -f /var/db/passwd.db ]; then
468 /usr/bin/update-db 1>&2
473 /sbin/chkconfig --add httpd
474 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
475 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
476 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
477 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
478 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
479 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
480 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
481 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
482 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
483 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
484 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
485 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
486 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
487 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
488 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
489 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
490 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
491 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
492 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
493 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
495 touch /var/log/httpd/{access,error,agent,referer}_log
496 if [ -f /var/lock/subsys/httpd ]; then
497 /etc/rc.d/init.d/httpd restart 1>&2
499 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
503 if [ "$1" = "0" ]; then
504 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
505 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
506 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
507 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
508 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
509 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
510 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
511 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
512 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
513 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
514 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
515 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
516 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
517 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
518 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
519 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
520 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
521 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
522 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
523 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
524 if [ -f /var/lock/subsys/httpd ]; then
525 /etc/rc.d/init.d/httpd stop 1>&2
527 /sbin/chkconfig --del httpd
531 if [ "$1" = "0" ]; then
532 /usr/sbin/userdel http
533 if [ -f /var/db/passwd.db ]; then
536 /usr/sbin/groupdel http
537 if [ -f /var/db/group.db ]; then
543 %{_sbindir}/apxs -e -a -n action %{_libexecdir}/mod_actions.so 1>&2
544 if [ -f /var/lock/subsys/httpd ]; then
545 /etc/rc.d/init.d/httpd restart 1>&2
547 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
551 if [ "$1" = "0" ]; then
552 %{_sbindir}/apxs -e -A -n action %{_libexecdir}/mod_actions.so 1>&2
553 if [ -f /var/lock/subsys/httpd ]; then
554 /etc/rc.d/init.d/httpd restart 1>&2
559 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
560 if [ -f /var/lock/subsys/httpd ]; then
561 /etc/rc.d/init.d/httpd restart 1>&2
563 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
567 if [ "$1" = "0" ]; then
568 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
569 if [ -f /var/lock/subsys/httpd ]; then
570 /etc/rc.d/init.d/httpd restart 1>&2
575 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
576 if [ -f /var/lock/subsys/httpd ]; then
577 /etc/rc.d/init.d/httpd restart 1>&2
579 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
583 if [ "$1" = "0" ]; then
584 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
585 if [ -f /var/lock/subsys/httpd ]; then
586 /etc/rc.d/init.d/httpd restart 1>&2
591 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
592 if [ -f /var/lock/subsys/httpd ]; then
593 /etc/rc.d/init.d/httpd restart 1>&2
595 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
599 if [ "$1" = "0" ]; then
600 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
601 if [ -f /var/lock/subsys/httpd ]; then
602 /etc/rc.d/init.d/httpd restart 1>&2
607 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
608 if [ -f /var/lock/subsys/httpd ]; then
609 /etc/rc.d/init.d/httpd restart 1>&2
611 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
615 if [ "$1" = "0" ]; then
616 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
617 if [ -f /var/lock/subsys/httpd ]; then
618 /etc/rc.d/init.d/httpd restart 1>&2
623 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
624 if [ -f /var/lock/subsys/httpd ]; then
625 /etc/rc.d/init.d/httpd restart 1>&2
627 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
631 if [ "$1" = "0" ]; then
632 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
633 if [ -f /var/lock/subsys/httpd ]; then
634 /etc/rc.d/init.d/httpd restart 1>&2
639 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
640 if [ -f /var/lock/subsys/httpd ]; then
641 /etc/rc.d/init.d/httpd restart 1>&2
643 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
647 if [ "$1" = "0" ]; then
648 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
649 if [ -f /var/lock/subsys/httpd ]; then
650 /etc/rc.d/init.d/httpd restart 1>&2
654 %post mod_mmap_static
655 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
656 if [ -f /var/lock/subsys/httpd ]; then
657 /etc/rc.d/init.d/httpd restart 1>&2
659 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
662 %preun mod_mmap_static
663 if [ "$1" = "0" ]; then
664 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
665 if [ -f /var/lock/subsys/httpd ]; then
666 /etc/rc.d/init.d/httpd restart 1>&2
671 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
672 if [ -f /var/lock/subsys/httpd ]; then
673 /etc/rc.d/init.d/httpd restart 1>&2
675 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
679 if [ "$1" = "0" ]; then
680 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
681 if [ -f /var/lock/subsys/httpd ]; then
682 /etc/rc.d/init.d/httpd restart 1>&2
687 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
688 if [ -f /var/lock/subsys/httpd ]; then
689 /etc/rc.d/init.d/httpd restart 1>&2
691 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
695 if [ "$1" = "0" ]; then
696 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
697 if [ -f /var/lock/subsys/httpd ]; then
698 /etc/rc.d/init.d/httpd restart 1>&2
703 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
704 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
705 echo "Include mod_proxy.conf" >> /etc/httpd/httpd.conf
707 if [ -f /var/lock/subsys/httpd ]; then
708 /etc/rc.d/init.d/httpd restart 1>&2
710 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
714 if [ "$1" = "0" ]; then
715 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
716 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
717 /etc/httpd/httpd.conf.tmp
718 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
719 if [ -f /var/lock/subsys/httpd ]; then
720 /etc/rc.d/init.d/httpd restart 1>&2
725 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
726 if [ -f /var/lock/subsys/httpd ]; then
727 /etc/rc.d/init.d/httpd restart 1>&2
729 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
733 if [ "$1" = "0" ]; then
734 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
735 if [ -f /var/lock/subsys/httpd ]; then
736 /etc/rc.d/init.d/httpd restart 1>&2
741 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
742 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
743 echo "Include mod_status.conf" >> /etc/httpd/httpd.conf
745 if [ -f /var/lock/subsys/httpd ]; then
746 /etc/rc.d/init.d/httpd restart 1>&2
748 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
752 if [ "$1" = "0" ]; then
753 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
754 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
755 /etc/httpd/httpd.conf.tmp
756 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
757 if [ -f /var/lock/subsys/httpd ]; then
758 /etc/rc.d/init.d/httpd restart 1>&2
763 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
764 if [ -f /var/lock/subsys/httpd ]; then
765 /etc/rc.d/init.d/httpd restart 1>&2
767 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
771 if [ "$1" = "0" ]; then
772 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
773 if [ -f /var/lock/subsys/httpd ]; then
774 /etc/rc.d/init.d/httpd restart 1>&2
779 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
780 if [ -f /var/lock/subsys/httpd ]; then
781 /etc/rc.d/init.d/httpd restart 1>&2
783 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
787 if [ "$1" = "0" ]; then
788 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
789 if [ -f /var/lock/subsys/httpd ]; then
790 /etc/rc.d/init.d/httpd restart 1>&2
794 %post mod_vhost_alias
795 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
796 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
797 echo "Include mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
799 if [ -f /var/lock/subsys/httpd ]; then
800 /etc/rc.d/init.d/httpd restart 1>&2
802 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
805 %preun mod_vhost_alias
806 if [ "$1" = "0" ]; then
807 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
808 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
809 /etc/httpd/httpd.conf.tmp
810 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
811 if [ -f /var/lock/subsys/httpd ]; then
812 /etc/rc.d/init.d/httpd restart 1>&2
817 rm -rf $RPM_BUILD_ROOT
820 %defattr(644,root,root,755)
821 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
824 %dir %{_datadir}/manual
825 %dir %{_datadir}/manual/images/
826 %{_datadir}/manual/images/sub.gif
827 %{_datadir}/manual/images/index.gif
828 %{_datadir}/manual/images/home.gif
829 %{_datadir}/manual/misc
830 %dir %{_datadir}/manual/search
831 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
832 %{_datadir}/manual/vhosts
833 %{_datadir}/manual/LICENSE
834 %{_datadir}/manual/bind.html
835 %{_datadir}/manual/cgi_path.html
836 %{_datadir}/manual/content-negotiation.html
837 %{_datadir}/manual/custom-error.html
838 %{_datadir}/manual/dns-caveats.html
839 %{_datadir}/manual/dso.html
840 %{_datadir}/manual/env.html
841 %{_datadir}/manual/footer.html
842 %{_datadir}/manual/handler.html
843 %{_datadir}/manual/header.html
844 %{_datadir}/manual/index.html
845 %{_datadir}/manual/install.html
846 %{_datadir}/manual/invoking.html
847 %{_datadir}/manual/keepalive.html
848 %{_datadir}/manual/location.html
849 %{_datadir}/manual/multilogs.html
850 %{_datadir}/manual/new_features_1_3.html
851 %{_datadir}/manual/process-model.html
852 %{_datadir}/manual/sections.html
853 %{_datadir}/manual/sourcereorg.html
854 %{_datadir}/manual/suexec.html
855 %{_datadir}/manual/upgrading_to_1_3.html
856 %{_datadir}/manual/mod/core.html
857 %{_datadir}/manual/mod/directive-dict.html
858 %{_datadir}/manual/mod/directives.html
859 %{_datadir}/manual/mod/footer.html
860 %{_datadir}/manual/mod/header.html
861 %{_datadir}/manual/mod/index.html
862 %{_datadir}/manual/mod/mod_access.html
863 %{_datadir}/manual/mod/mod_alias.html
864 %{_datadir}/manual/mod/mod_asis.html
865 %{_datadir}/manual/mod/mod_auth.html
866 %{_datadir}/manual/mod/mod_auth_db.html
867 %{_datadir}/manual/mod/mod_auth_dbm.html
868 %{_datadir}/manual/mod/mod_autoindex.html
869 %{_datadir}/manual/mod/mod_cgi.html
870 %{_datadir}/manual/mod/mod_cookies.html
871 %{_datadir}/manual/mod/mod_env.html
872 %{_datadir}/manual/mod/mod_include.html
873 %{_datadir}/manual/mod/mod_log_agent.html
874 %{_datadir}/manual/mod/mod_log_config.html
875 %{_datadir}/manual/mod/mod_log_referer.html
876 %{_datadir}/manual/mod/mod_mime.html
877 %{_datadir}/manual/mod/mod_mime_magic.html
878 %{_datadir}/manual/mod/mod_negotiation.html
879 %{_datadir}/manual/mod/mod_setenvif.html
880 %{_datadir}/manual/mod/mod_speling.html
881 %{_datadir}/manual/mod/mod_userdir.html
883 %attr(754,root,root) /etc/rc.d/init.d/httpd
885 %attr(750,root,root) %dir %{_sysconfdir}
886 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/access.conf
887 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
888 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/srm.conf
889 %attr(640,root,root) %{_sysconfdir}/magic
891 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
892 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
894 %attr(755,root,root) %dir %{_datadir}/html
895 %config(noreplace) %{_datadir}/html/index.html
896 %lang(ca) %{_datadir}/html/index.html.ca
897 %lang(cz) %{_datadir}/html/index.html.cz
898 %lang(de) %{_datadir}/html/index.html.de
899 %lang(dk) %{_datadir}/html/index.html.dk
900 %lang(ee) %{_datadir}/html/index.html.ee
901 %lang(en) %{_datadir}/html/index.html.en
902 %lang(es) %{_datadir}/html/index.html.es
903 %lang(fr) %{_datadir}/html/index.html.fr
904 %lang(it) %{_datadir}/html/index.html.it
905 %lang(lu) %{_datadir}/html/index.html.lu
906 %lang(nl) %{_datadir}/html/index.html.nl
907 %lang(pt) %{_datadir}/html/index.html.pt
908 %lang(se) %{_datadir}/html/index.html.se
910 %{_datadir}/html/*.gif
911 %{_datadir}/errordocs
912 %dir %{_datadir}/icons
913 %{_datadir}/icons/*.gif
914 %dir %{_datadir}/icons/small
915 %{_datadir}/icons/small/*.gif
916 %attr(755,root,root) %{_datadir}/cgi-bin
919 %attr(755,root,root) %{_libexecdir}/mod_access.so
920 %attr(755,root,root) %{_libexecdir}/mod_alias.so
921 %attr(755,root,root) %{_libexecdir}/mod_asis.so
922 %attr(755,root,root) %{_libexecdir}/mod_auth.so
923 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
924 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
925 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
926 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
927 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
928 %attr(755,root,root) %{_libexecdir}/mod_env.so
929 %attr(755,root,root) %{_libexecdir}/mod_include.so
930 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
931 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
932 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
933 %attr(755,root,root) %{_libexecdir}/mod_mime.so
934 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
935 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
936 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
937 %attr(755,root,root) %{_libexecdir}/mod_speling.so
938 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
940 %attr(755,root,root) %{_bindir}/dbmmanage
941 %attr(755,root,root) %{_bindir}/htdigest
942 %attr(755,root,root) %{_bindir}/htpasswd
944 %attr(755,root,root) %{_sbindir}/ab
945 %attr(755,root,root) %{_sbindir}/apachectl
946 %attr(755,root,root) %{_sbindir}/apxs
947 %attr(755,root,root) %{_sbindir}/httpd
948 %attr(755,root,root) %{_sbindir}/logresolve
949 %attr(755,root,root) %{_sbindir}/rotatelogs
951 %dir %attr(750,http,http) /var/lib/apache
955 %attr(750,root,root) %dir /var/log/httpd
956 %attr(750,root,root) %dir /var/log/archiv/httpd
957 %attr(640,root,root) %ghost /var/log/httpd/*
960 %attr(4755,root,root) %{_sbindir}/suexec
963 %defattr(644,root,root,755)
968 %attr(755,root,root) %{_libexecdir}/mod_actions.so
969 %attr(644,root,root) %{_datadir}/manual/mod/mod_actions.html
972 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
973 %attr(644,root,root) %{_datadir}/manual/mod/mod_auth_anon.html
976 %attr(755,root,root) %{_libexecdir}/mod_define.so
977 %attr(644,root,root) %{_datadir}/manual/mod/mod_define.html
980 %attr(755,root,root) %{_libexecdir}/mod_digest.so
981 %attr(644,root,root) %{_datadir}/manual/mod/mod_digest.html
984 %attr(755,root,root) %{_libexecdir}/mod_dir.so
985 %attr(644,root,root) %{_datadir}/manual/mod/mod_dir.html
988 %attr(755,root,root) %{_libexecdir}/mod_expires.so
989 %attr(644,root,root) %{_datadir}/manual/mod/mod_expires.html
992 %attr(755,root,root) %{_libexecdir}/mod_headers.so
993 %attr(644,root,root) %{_datadir}/manual/mod/mod_headers.html
995 %files mod_mmap_static
996 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
997 %attr(644,root,root) %{_datadir}/manual/mod/mod_mmap_static.html
1000 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1001 %attr(644,root,root) %{_datadir}/manual/mod/mod_imap.html
1004 %attr(755,root,root) %{_libexecdir}/mod_info.so
1005 %attr(644,root,root) %{_datadir}/manual/mod/mod_info.html
1008 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1009 %attr(755,root,root) %{_libexecdir}/libproxy.so
1010 %attr(644,root,root) %{_datadir}/manual/mod/mod_proxy.html
1011 %dir %attr(750,http,http) /var/cache/apache
1014 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1015 %attr(644,root,root) %{_datadir}/manual/mod/mod_rewrite.html
1018 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1019 %attr(755,root,root) %{_libexecdir}/mod_status.so
1020 %attr(644,root,root) %{_datadir}/manual/mod/mod_status.html
1022 %files mod_usertrack
1023 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1024 %attr(644,root,root) %{_datadir}/manual/mod/mod_usertrack.html
1026 %files mod_unique_id
1027 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1028 %attr(644,root,root) %{_datadir}/manual/mod/mod_unique_id.html
1030 %files mod_vhost_alias
1031 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1032 %attr(644,root,root) %{_datadir}/manual/mod/mod_vhost_alias.html
1033 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf