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: %{name}.logrotate
16 Source3: %{name}-icons.tar.gz
17 Source4: %{name}.sysconfig
18 Source6: %{name}-httpd.conf
19 Source8: %{name}-mod_vhost_alias.conf
20 Source9: %{name}-mod_status.conf
21 Source10: %{name}-mod_proxy.conf
22 Patch0: %{name}-PLD.patch
23 Patch1: %{name}-suexec.patch
24 Patch2: %{name}-htdocs.patch
25 Patch3: %{name}-errordocs.patch
26 Patch4: %{name}-apxs.patch
27 Patch5: %{name}-EAPI.patch
28 Patch6: %{name}-v6-PLD-3.patch.gz
29 Patch7: %{name}-mm_conf.patch
30 Patch8: %{name}-modules_symbols.patch
31 Patch9: %{name}-apxs_force_rm_cp.patch
34 Prereq: /sbin/chkconfig
35 Prereq: /usr/sbin/useradd
36 Prereq: /usr/bin/getgid
39 BuildRequires: mm-devel >= 1.1.3
42 Requires: /etc/mime.types
43 URL: http://www.apache.org/
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Provides: %{name}(EAPI) = %{version}
46 Obsoletes: apache-extra
50 %define _sysconfdir /etc/httpd
51 %define _includedir %{_prefix}/include/apache
52 %define _datadir /home/httpd
53 %define _libexecdir %{_prefix}/lib/apache
56 Apache is a powerful, full-featured, efficient and freely-available
57 Web server. Apache is also the most popular Web server on the
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.
66 Apache est aussi le serveur Web le plus populaire sur Internet.
69 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
70 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
73 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
77 Summary: Apache suexec wrapper
78 Summary(pl): Suexec wrapper do serwera www Apache
79 Group: Networking/Development
81 Group(pl): Sieciowe/Programowanie
82 Requires: %{name}(EAPI) = %{version}
85 The suEXEC feature provides Apache users the ability to run CGI and
86 SSI programs under user IDs different from the user ID of the calling
87 web-server. Normally, when a CGI or SSI program executes, it runs as
88 the same user who is running the web server.
90 %description -l pl suexec
91 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
92 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
93 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
96 Summary: Module development tools for the Apache web server
97 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
98 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
99 Group: Networking/Utilities
100 Group(pl): Sieciowe/Narzêdzia
101 Requires: %{name}(EAPI) = %{version}
102 Provides: %{name}(EAPI)-devel
105 The apache-devel package contains the source code for the Apache Web
106 server and the APXS binary you'll need to build Dynamic Shared Objects
109 %description -l fr devel
110 Le package apache-devel contient le code source pour le serveur Web
111 Apache et le binaire APXS dont vous aurez besoin pour construire des
112 Objets Dynamiques Partages (DSOs) pour Apache.
114 %description -l pl devel
115 Pliki nag³ówkowe dla serwera WWW Apache.
118 Summary: Apache module for run CGI whenever a file of a certain type is requested
119 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
120 Group: Networking/Daemons
121 Group(pl): Sieciowe/Serwery
122 Prereq: %{_sbindir}/apxs
123 Requires: %{name}(EAPI) = %{version}
125 %description mod_actions
126 This package contains mod_actions module. This module lets you run CGI
127 scripts whenever a file of a certain type is requested. This makes it
128 much easier to execute scripts that process files.
130 %description -l pl mod_actions
131 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
132 ¿±danie pobrania pliku okre¶lonego typu.
134 %package mod_auth_anon
135 Summary: Apache module with "anonymous" user access authentication
136 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
137 Group: Networking/Daemons
138 Group(pl): Sieciowe/Serwery
139 Prereq: %{_sbindir}/apxs
140 Requires: %{name}(EAPI) = %{version}
142 %description mod_auth_anon
143 This package contains mod_auth_anon module. It allows "anonymous" user
144 access to authenticated areas. It does access control in a manner
145 similar to anonymous-ftp sites; i.e. have a 'magic' user id
146 'anonymous' and the email address as a password. These email addresses
147 can be logged. Combined with other (database) access control methods,
148 this allows for effective user tracking and customization according to
149 a user profile while still keeping the site open for 'unregistered'
150 users. One advantage of using Auth-based user tracking is that, unlike
151 magic-cookies and funny URL pre/postfixes, it is completely browser
152 independent and it allows users to share URLs.
154 %description -l pl mod_auth_anon
155 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
156 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
157 postaci adresu pocztowego u¿ytkownika).
160 Summary: Apache module - authentication variables for arbitrary directives
161 Summary(pl): Modu³ apache do definiowania zmiennych
162 Group: Networking/Daemons
163 Group(pl): Sieciowe/Serwery
164 Prereq: %{_sbindir}/apxs
165 Requires: %{name}(EAPI) = %{version}
167 %description mod_define
168 It provides the definition variables for arbitrary directives, i.e.
169 variables which can be expanded on any(!) directive line.
171 %description -l pl mod_define
172 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
175 Summary: Apache user authentication module using MD5 Digest Authentication
176 Summary(pl): Modu³ apache do autoryzacji MD5
177 Group: Networking/Daemons
178 Group(pl): Sieciowe/Serwery
179 Prereq: %{_sbindir}/apxs
180 Requires: %{name}(EAPI) = %{version}
182 %description mod_digest
183 This package contains mod_digest module. It provides user
184 authentication using MD5 Digest Authentication.
186 %description -l pl mod_digest
187 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
191 Summary: Apache module for "trailing slash" redirects and serving directory index files
192 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
193 Group: Networking/Daemons
194 Group(pl): Sieciowe/Serwery
195 Prereq: %{_sbindir}/apxs
196 Requires: %{name}(EAPI) = %{version}
199 This package contains mod_dir which provides "trailing slash"
200 redirects and serving directory index files.
202 %description -l pl mod_dir
203 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
206 Summary: Apache module allows for the customization of HTTP response headers
207 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
208 Group: Networking/Daemons
209 Group(pl): Sieciowe/Serwery
210 Prereq: %{_sbindir}/apxs
211 Requires: %{name}(EAPI) = %{version}
213 %description mod_headers
214 This package contains mod_headers module. The module allows for the
215 customization of HTTP response headers. Headers can be merged,
218 %description -l pl mod_headers
219 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
220 wysy³anych do przegl±darki.
222 %package mod_mmap_static
223 Summary: Apache module for mmap()ing statically configured list files
224 Summary(pl): Modu³ s³u¿±cy do mmap()owania plików.
225 Group: Networking/Daemons
226 Group(pl): Sieciowe/Serwery
227 Prereq: %{_sbindir}/apxs
228 Requires: %{name}(EAPI) = %{version}
230 %description mod_mmap_static
231 This package contains mod_mmap_static module. It provides mmap()ing of
232 a statically configured list of frequently requested but not changed
235 %description -l pl mod_mmap_static
236 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
237 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
240 Summary: Apache module with imap-file handler
241 Summary(pl): Modu³ z obs³ug± imap-file
242 Group: Networking/Daemons
243 Group(pl): Sieciowe/Serwery
244 Prereq: %{_sbindir}/apxs
245 Requires: %{name}(EAPI) = %{version}
247 %description mod_imap
248 This package contains mod_imap module. It provides for .map files,
249 replacing the functionality of the imagemap CGI program. Any directory
250 or document type configured to use the handler imap-file.
252 %description -l pl mod_imap
253 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
256 Summary: Apache module with comprehensive overview of the server configuration
257 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
258 Group: Networking/Daemons
259 Group(pl): Sieciowe/Serwery
260 Prereq: %{_sbindir}/apxs
261 Requires: %{name}(EAPI) = %{version}
263 %description mod_info
264 This package contains mod_info module. It provides a comprehensive
265 overview of the server configuration including all installed modules
266 and directives in the configuration files.
268 %description -l pl mod_info
269 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
273 Summary: Apache module with Web proxy
274 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
275 Group: Networking/Daemons
276 Group(pl): Sieciowe/Serwery
277 Prereq: %{_sbindir}/apxs
278 Requires: %{name}(EAPI) = %{version}
280 %description mod_proxy
281 This package contains module with implementation a proxy/cache for
282 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
283 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
284 other proxy modules for these and other protocols.
286 %description -l pl mod_proxy
287 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
288 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
292 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
293 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
294 Group: Networking/Daemons
295 Group(pl): Sieciowe/Serwery
296 Prereq: %{_sbindir}/apxs
297 Requires: %{name}(EAPI) = %{version}
299 %description mod_rewrite
300 This package contains It provides a rule-based rewriting engine to
301 rewrite requested URLs on the fly.
303 %description -l pl mod_rewrite
304 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
307 Summary: Server status report module for apache
308 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
309 Group: Networking/Daemons
310 Group(pl): Sieciowe/Serwery
311 Prereq: %{_sbindir}/apxs
312 Requires: %{name}(EAPI) = %{version}
314 %description mod_status
315 The Status module allows a server administrator to find out how well
316 their server is performing. A HTML page is presented that gives the
317 current server statistics in an easily readable form. If required this
318 page can be made to automatically refresh (given a compatible
321 %description -l pl mod_status
322 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
323 pracy serwera apache (w postaci strony HTML).
325 %package mod_usertrack
326 Summary: Apache module for user tracking using cookies
327 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
328 Group: Networking/Daemons
329 Group(pl): Sieciowe/Serwery
330 Prereq: %{_sbindir}/apxs
331 Requires: %{name}(EAPI) = %{version}
333 %description mod_usertrack
334 This package contains the user tracking module which did its own
335 logging using CookieLog directory. This module allow multiple log
338 %description -l pl mod_usertrack
339 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
341 %package mod_vhost_alias
342 Summary: Apache module for dynamically configured mass virtual hosting
343 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
344 Group: Networking/Daemons
345 Group(pl): Sieciowe/Serwery
346 Prereq: %{_sbindir}/apxs
347 Requires: %{name}(EAPI) = %{version}
349 %description mod_vhost_alias
350 This package contains the mod_vhost_alias. It provides support for
351 dynamically configured mass virtual hosting.
353 %description -l pl mod_vhost_alias
354 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
357 %package mod_unique_id
358 Summary: Apache module which provides a magic token for each request
359 Group: Networking/Daemons
360 Group(pl): Sieciowe/Serwery
361 Prereq: %{_sbindir}/apxs
362 Requires: %{name}(EAPI) = %{version}
364 %description mod_unique_id
365 This package contains the mod_unique_id. This module provides a magic
366 token for each request which is guaranteed to be unique across "all"
367 requests under very specific conditions. The unique identifier is even
368 unique across multiple machines in a properly configured cluster of
369 machines. The environment variable UNIQUE_ID is set to the identifier
370 for each request. Unique identifiers are useful for various reasons
371 which are beyond the scope of this document.
374 Summary: Apache module which provides ....
375 Group: Networking/Daemons
376 Group(pl): Sieciowe/Serwery
377 Prereq: %{_sbindir}/apxs
378 Requires: %{name}(EAPI) = %{version}
380 %description mod_expires
383 %setup -q -n apache_%{version} -a3
396 LDFLAGS="-s"; export LDFLAGS
397 OPTIM="$RPM_OPT_FLAGS" \
399 --prefix=%{_prefix} \
400 --sysconfdir=%{_sysconfdir} \
401 --includedir=%{_includedir} \
402 --sbindir=%{_sbindir} \
403 --libexecdir=%{_libexecdir} \
404 --datadir=%{_datadir} \
405 --localstatedir=/var \
406 --runtimedir=/var/run \
407 --logfiledir=/var/log/httpd \
409 --without-confadjust \
410 --enable-module=all \
411 --enable-shared=max \
412 --proxycachedir=/var/cache/apache \
413 --with-perl=%{_bindir}/perl \
415 --suexec-caller=http \
416 --suexec-uidmin=500 \
417 --suexec-gidmin=500 \
418 --suexec-docroot=%{_datadir} \
419 --disable-rule=WANTHSREGEX \
425 rm -rf $RPM_BUILD_ROOT
426 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
427 $RPM_BUILD_ROOT%{_datadir}/errordocs \
428 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
430 %{__make} install-quiet root="$RPM_BUILD_ROOT"
432 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
434 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
435 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
436 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
438 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
440 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
442 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
444 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
445 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
446 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
448 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
450 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
452 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
453 ABOUT_APACHE src/CHANGES KEYS README
456 if [ -n "`getgid http`" ]; then
457 if [ "`getgid http`" != "51" ]; then
458 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
462 /usr/sbin/groupadd -g 51 -r -f http
463 if [ -f /var/db/group.db ]; then
464 /usr/bin/update-db 1>&2
467 if [ -n "`id -u http 2>/dev/null`" ]; then
468 if [ "`id -u http`" != "51" ]; then
469 echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
473 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
474 if [ -f /var/db/passwd.db ]; then
475 /usr/bin/update-db 1>&2
480 /sbin/chkconfig --add httpd
481 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
482 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
483 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
484 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
485 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
486 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
487 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
488 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
489 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
490 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
491 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
492 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
493 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
494 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
495 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
496 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
497 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
498 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
499 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
500 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
502 touch /var/log/httpd/{access,error,agent,referer}_log
503 if [ -f /var/lock/subsys/httpd ]; then
504 /etc/rc.d/init.d/httpd restart 1>&2
506 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
510 if [ "$1" = "0" ]; then
511 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
512 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
513 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
514 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
515 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
516 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
517 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
518 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
519 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
520 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
521 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
522 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
523 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
524 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
525 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
526 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
527 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
528 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
529 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
530 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
531 if [ -f /var/lock/subsys/httpd ]; then
532 /etc/rc.d/init.d/httpd stop 1>&2
534 /sbin/chkconfig --del httpd
538 if [ "$1" = "0" ]; then
539 /usr/sbin/userdel http
540 if [ -f /var/db/passwd.db ]; then
543 /usr/sbin/groupdel http
544 if [ -f /var/db/group.db ]; then
550 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
551 if [ -f /var/lock/subsys/httpd ]; then
552 /etc/rc.d/init.d/httpd restart 1>&2
554 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
558 if [ "$1" = "0" ]; then
559 %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
560 if [ -f /var/lock/subsys/httpd ]; then
561 /etc/rc.d/init.d/httpd restart 1>&2
566 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
567 if [ -f /var/lock/subsys/httpd ]; then
568 /etc/rc.d/init.d/httpd restart 1>&2
570 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
574 if [ "$1" = "0" ]; then
575 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
576 if [ -f /var/lock/subsys/httpd ]; then
577 /etc/rc.d/init.d/httpd restart 1>&2
582 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
583 if [ -f /var/lock/subsys/httpd ]; then
584 /etc/rc.d/init.d/httpd restart 1>&2
586 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
590 if [ "$1" = "0" ]; then
591 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
592 if [ -f /var/lock/subsys/httpd ]; then
593 /etc/rc.d/init.d/httpd restart 1>&2
598 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
599 if [ -f /var/lock/subsys/httpd ]; then
600 /etc/rc.d/init.d/httpd restart 1>&2
602 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
606 if [ "$1" = "0" ]; then
607 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
608 if [ -f /var/lock/subsys/httpd ]; then
609 /etc/rc.d/init.d/httpd restart 1>&2
614 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
615 if [ -f /var/lock/subsys/httpd ]; then
616 /etc/rc.d/init.d/httpd restart 1>&2
618 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
622 if [ "$1" = "0" ]; then
623 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
624 if [ -f /var/lock/subsys/httpd ]; then
625 /etc/rc.d/init.d/httpd restart 1>&2
630 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
631 if [ -f /var/lock/subsys/httpd ]; then
632 /etc/rc.d/init.d/httpd restart 1>&2
634 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
638 if [ "$1" = "0" ]; then
639 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
640 if [ -f /var/lock/subsys/httpd ]; then
641 /etc/rc.d/init.d/httpd restart 1>&2
646 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
647 if [ -f /var/lock/subsys/httpd ]; then
648 /etc/rc.d/init.d/httpd restart 1>&2
650 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
654 if [ "$1" = "0" ]; then
655 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
656 if [ -f /var/lock/subsys/httpd ]; then
657 /etc/rc.d/init.d/httpd restart 1>&2
661 %post mod_mmap_static
662 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
663 if [ -f /var/lock/subsys/httpd ]; then
664 /etc/rc.d/init.d/httpd restart 1>&2
666 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
669 %preun mod_mmap_static
670 if [ "$1" = "0" ]; then
671 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
672 if [ -f /var/lock/subsys/httpd ]; then
673 /etc/rc.d/init.d/httpd restart 1>&2
678 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
679 if [ -f /var/lock/subsys/httpd ]; then
680 /etc/rc.d/init.d/httpd restart 1>&2
682 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
686 if [ "$1" = "0" ]; then
687 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
688 if [ -f /var/lock/subsys/httpd ]; then
689 /etc/rc.d/init.d/httpd restart 1>&2
694 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
695 if [ -f /var/lock/subsys/httpd ]; then
696 /etc/rc.d/init.d/httpd restart 1>&2
698 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
702 if [ "$1" = "0" ]; then
703 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
704 if [ -f /var/lock/subsys/httpd ]; then
705 /etc/rc.d/init.d/httpd restart 1>&2
710 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
711 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
712 echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
714 if [ -f /var/lock/subsys/httpd ]; then
715 /etc/rc.d/init.d/httpd restart 1>&2
717 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
721 if [ "$1" = "0" ]; then
722 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
723 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
724 /etc/httpd/httpd.conf.tmp
725 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
726 if [ -f /var/lock/subsys/httpd ]; then
727 /etc/rc.d/init.d/httpd restart 1>&2
732 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
733 if [ -f /var/lock/subsys/httpd ]; then
734 /etc/rc.d/init.d/httpd restart 1>&2
736 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
740 if [ "$1" = "0" ]; then
741 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
742 if [ -f /var/lock/subsys/httpd ]; then
743 /etc/rc.d/init.d/httpd restart 1>&2
748 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
749 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
750 echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
752 if [ -f /var/lock/subsys/httpd ]; then
753 /etc/rc.d/init.d/httpd restart 1>&2
755 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
759 if [ "$1" = "0" ]; then
760 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
761 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
762 /etc/httpd/httpd.conf.tmp
763 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
764 if [ -f /var/lock/subsys/httpd ]; then
765 /etc/rc.d/init.d/httpd restart 1>&2
770 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
771 if [ -f /var/lock/subsys/httpd ]; then
772 /etc/rc.d/init.d/httpd restart 1>&2
774 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
778 if [ "$1" = "0" ]; then
779 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
780 if [ -f /var/lock/subsys/httpd ]; then
781 /etc/rc.d/init.d/httpd restart 1>&2
786 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
787 if [ -f /var/lock/subsys/httpd ]; then
788 /etc/rc.d/init.d/httpd restart 1>&2
790 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
794 if [ "$1" = "0" ]; then
795 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
796 if [ -f /var/lock/subsys/httpd ]; then
797 /etc/rc.d/init.d/httpd restart 1>&2
801 %post mod_vhost_alias
802 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
803 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
804 echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
806 if [ -f /var/lock/subsys/httpd ]; then
807 /etc/rc.d/init.d/httpd restart 1>&2
809 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
812 %preun mod_vhost_alias
813 if [ "$1" = "0" ]; then
814 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
815 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
816 /etc/httpd/httpd.conf.tmp
817 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
818 if [ -f /var/lock/subsys/httpd ]; then
819 /etc/rc.d/init.d/httpd restart 1>&2
824 rm -rf $RPM_BUILD_ROOT
827 %defattr(644,root,root,755)
828 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
831 %dir %{_datadir}/manual
832 %dir %{_datadir}/manual/images/
833 %{_datadir}/manual/images/sub.gif
834 %{_datadir}/manual/images/index.gif
835 %{_datadir}/manual/images/home.gif
836 %{_datadir}/manual/misc
837 %dir %{_datadir}/manual/search
838 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
839 %{_datadir}/manual/vhosts
840 %{_datadir}/manual/LICENSE
841 %{_datadir}/manual/bind.html
842 %{_datadir}/manual/cgi_path.html
843 %{_datadir}/manual/content-negotiation.html
844 %{_datadir}/manual/custom-error.html
845 %{_datadir}/manual/dns-caveats.html
846 %{_datadir}/manual/dso.html
847 %{_datadir}/manual/env.html
848 %{_datadir}/manual/footer.html
849 %{_datadir}/manual/handler.html
850 %{_datadir}/manual/header.html
851 %{_datadir}/manual/index.html
852 %{_datadir}/manual/install.html
853 %{_datadir}/manual/invoking.html
854 %{_datadir}/manual/keepalive.html
855 %{_datadir}/manual/location.html
856 %{_datadir}/manual/multilogs.html
857 %{_datadir}/manual/new_features_1_3.html
858 %{_datadir}/manual/process-model.html
859 %{_datadir}/manual/sections.html
860 %{_datadir}/manual/sourcereorg.html
861 %{_datadir}/manual/suexec.html
862 %{_datadir}/manual/upgrading_to_1_3.html
863 %dir %{_datadir}/manual/mod
864 %{_datadir}/manual/mod/core.html
865 %{_datadir}/manual/mod/directive-dict.html
866 %{_datadir}/manual/mod/directives.html
867 %{_datadir}/manual/mod/footer.html
868 %{_datadir}/manual/mod/header.html
869 %{_datadir}/manual/mod/index.html
870 %{_datadir}/manual/mod/mod_access.html
871 %{_datadir}/manual/mod/mod_alias.html
872 %{_datadir}/manual/mod/mod_asis.html
873 %{_datadir}/manual/mod/mod_auth.html
874 %{_datadir}/manual/mod/mod_auth_db.html
875 %{_datadir}/manual/mod/mod_auth_dbm.html
876 %{_datadir}/manual/mod/mod_autoindex.html
877 %{_datadir}/manual/mod/mod_cgi.html
878 %{_datadir}/manual/mod/mod_cookies.html
879 %{_datadir}/manual/mod/mod_env.html
880 %{_datadir}/manual/mod/mod_include.html
881 %{_datadir}/manual/mod/mod_log_agent.html
882 %{_datadir}/manual/mod/mod_log_config.html
883 %{_datadir}/manual/mod/mod_log_referer.html
884 %{_datadir}/manual/mod/mod_mime.html
885 %{_datadir}/manual/mod/mod_mime_magic.html
886 %{_datadir}/manual/mod/mod_negotiation.html
887 %{_datadir}/manual/mod/mod_setenvif.html
888 %{_datadir}/manual/mod/mod_speling.html
889 %{_datadir}/manual/mod/mod_userdir.html
891 %attr(754,root,root) /etc/rc.d/init.d/httpd
893 %attr(750,root,root) %dir %{_sysconfdir}
894 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
895 %attr(640,root,root) %{_sysconfdir}/magic
897 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
898 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
900 %attr(755,root,root) %dir %{_datadir}/html
901 %config(noreplace) %{_datadir}/html/index.html
902 %lang(ca) %{_datadir}/html/index.html.ca
903 %lang(cz) %{_datadir}/html/index.html.cz
904 %lang(de) %{_datadir}/html/index.html.de
905 %lang(dk) %{_datadir}/html/index.html.dk
906 %lang(ee) %{_datadir}/html/index.html.ee
907 %lang(en) %{_datadir}/html/index.html.en
908 %lang(es) %{_datadir}/html/index.html.es
909 %lang(fr) %{_datadir}/html/index.html.fr
910 %lang(it) %{_datadir}/html/index.html.it
911 %lang(lu) %{_datadir}/html/index.html.lu
912 %lang(nl) %{_datadir}/html/index.html.nl
913 %lang(pt) %{_datadir}/html/index.html.pt
914 %lang(se) %{_datadir}/html/index.html.se
916 %{_datadir}/html/*.gif
917 %{_datadir}/errordocs
918 %dir %{_datadir}/icons
919 %{_datadir}/icons/*.gif
920 %dir %{_datadir}/icons/small
921 %{_datadir}/icons/small/*.gif
922 %attr(755,root,root) %{_datadir}/cgi-bin
925 %attr(755,root,root) %{_libexecdir}/mod_access.so
926 %attr(755,root,root) %{_libexecdir}/mod_alias.so
927 %attr(755,root,root) %{_libexecdir}/mod_asis.so
928 %attr(755,root,root) %{_libexecdir}/mod_auth.so
929 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
930 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
931 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
932 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
933 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
934 %attr(755,root,root) %{_libexecdir}/mod_env.so
935 %attr(755,root,root) %{_libexecdir}/mod_include.so
936 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
937 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
938 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
939 %attr(755,root,root) %{_libexecdir}/mod_mime.so
940 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
941 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
942 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
943 %attr(755,root,root) %{_libexecdir}/mod_speling.so
944 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
946 %attr(755,root,root) %{_bindir}/dbmmanage
947 %attr(755,root,root) %{_bindir}/htdigest
948 %attr(755,root,root) %{_bindir}/htpasswd
950 %attr(755,root,root) %{_sbindir}/ab
951 %attr(755,root,root) %{_sbindir}/apachectl
952 %attr(755,root,root) %{_sbindir}/apxs
953 %attr(755,root,root) %{_sbindir}/httpd
954 %attr(755,root,root) %{_sbindir}/logresolve
955 %attr(755,root,root) %{_sbindir}/rotatelogs
957 %dir %attr(750,http,http) /var/lib/apache
961 %attr(750,root,root) %dir /var/log/httpd
962 %attr(750,root,root) %dir /var/log/archiv/httpd
963 %attr(640,root,root) %ghost /var/log/httpd/*
966 %defattr(644,root,root,755)
967 %attr(4755,root,root) %{_sbindir}/suexec
970 %defattr(644,root,root,755)
974 %defattr(644,root,root,755)
975 %attr(755,root,root) %{_libexecdir}/mod_actions.so
976 %{_datadir}/manual/mod/mod_actions.html
979 %defattr(644,root,root,755)
980 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
981 %{_datadir}/manual/mod/mod_auth_anon.html
984 %defattr(644,root,root,755)
985 %attr(755,root,root) %{_libexecdir}/mod_define.so
986 %{_datadir}/manual/mod/mod_define.html
989 %defattr(644,root,root,755)
990 %attr(755,root,root) %{_libexecdir}/mod_digest.so
991 %{_datadir}/manual/mod/mod_digest.html
994 %defattr(644,root,root,755)
995 %attr(755,root,root) %{_libexecdir}/mod_dir.so
996 %{_datadir}/manual/mod/mod_dir.html
999 %defattr(644,root,root,755)
1000 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1001 %{_datadir}/manual/mod/mod_expires.html
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1006 %{_datadir}/manual/mod/mod_headers.html
1008 %files mod_mmap_static
1009 %defattr(644,root,root,755)
1010 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1011 %{_datadir}/manual/mod/mod_mmap_static.html
1014 %defattr(644,root,root,755)
1015 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1016 %{_datadir}/manual/mod/mod_imap.html
1019 %defattr(644,root,root,755)
1020 %attr(755,root,root) %{_libexecdir}/mod_info.so
1021 %{_datadir}/manual/mod/mod_info.html
1024 %defattr(644,root,root,755)
1025 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1026 %attr(755,root,root) %{_libexecdir}/libproxy.so
1027 %{_datadir}/manual/mod/mod_proxy.html
1028 %dir %attr(750,http,http) /var/cache/apache
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1033 %{_datadir}/manual/mod/mod_rewrite.html
1036 %defattr(644,root,root,755)
1037 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1038 %attr(755,root,root) %{_libexecdir}/mod_status.so
1039 %{_datadir}/manual/mod/mod_status.html
1041 %files mod_usertrack
1042 %defattr(644,root,root,755)
1043 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1044 %{_datadir}/manual/mod/mod_usertrack.html
1046 %files mod_unique_id
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1049 %{_datadir}/manual/mod/mod_unique_id.html
1051 %files mod_vhost_alias
1052 %defattr(644,root,root,755)
1053 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1054 %{_datadir}/manual/mod/mod_vhost_alias.html
1055 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf