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-virtual-host.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-1.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 Group: Networking/Daemons
118 Group(pl): Sieciowe/Serwery
119 Prereq: %{_sbindir}/apxs
120 Requires: %{name}(EAPI) = %{version}
122 %description mod_actions
123 This package contains mod_actions module. This module lets you run CGI
124 scripts whenever a file of a certain type is requested. This makes it much
125 easier to execute scripts that process files.
127 %package mod_auth_anon
128 Summary: Apache module with "anonymous" user access authentication
129 Group: Networking/Daemons
130 Group(pl): Sieciowe/Serwery
131 Prereq: %{_sbindir}/apxs
132 Requires: %{name}(EAPI) = %{version}
134 %description mod_auth_anon
135 This package contains mod_auth_anon module. It allows "anonymous" user
136 access to authenticated areas. It does access control in a manner similar to
137 anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email
138 address as a password. These email addresses can be logged. Combined with
139 other (database) access control methods, this allows for effective user
140 tracking and customization according to a user profile while still keeping
141 the site open for 'unregistered' users. One advantage of using Auth-based
142 user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it
143 is completely browser independent and it allows users to share URLs.
146 Summary: Apache module - authentication variables for arbitrary directives
147 Group: Networking/Daemons
148 Group(pl): Sieciowe/Serwery
149 Prereq: %{_sbindir}/apxs
150 Requires: %{name}(EAPI) = %{version}
152 %description mod_define
153 It provides the definition variables for arbitrary directives, i.e.
154 variables which can be expanded on any(!) directive line.
157 Summary: Apache user authentication module using MD5 Digest Authentication
158 Group: Networking/Daemons
159 Group(pl): Sieciowe/Serwery
160 Prereq: %{_sbindir}/apxs
161 Requires: %{name}(EAPI) = %{version}
163 %description mod_digest
164 This package contains mod_dir module. It provides user authentication using
165 MD5 Digest Authentication.
168 Summary: Apache module for trailing slash" redirects and serving directory index files
169 Group: Networking/Daemons
170 Group(pl): Sieciowe/Serwery
171 Prereq: %{_sbindir}/apxs
172 Requires: %{name}(EAPI) = %{version}
175 This package contains mod_dir which provides "trailing slash" redirects and
176 serving directory index files.
179 Summary: Apache module allows for the customization of HTTP response headers
180 Group: Networking/Daemons
181 Group(pl): Sieciowe/Serwery
182 Prereq: %{_sbindir}/apxs
183 Requires: %{name}(EAPI) = %{version}
185 %description mod_headers
186 This package contains mod_headers module. The module allows for the
187 customization of HTTP response headers. Headers can be merged, replaced or
190 %package mod_mmap_static
191 Summary: Apache module for mmap()ing statically configured list files
192 Group: Networking/Daemons
193 Group(pl): Sieciowe/Serwery
194 Prereq: %{_sbindir}/apxs
195 Requires: %{name}(EAPI) = %{version}
197 %description mod_mmap_static
198 This package contains mod_mmap_static module. It provides mmap()ing of a
199 statically configured list of frequently requested but not changed files.
202 Summary: Apache module with imap-file handler
203 Group: Networking/Daemons
204 Group(pl): Sieciowe/Serwery
205 Prereq: %{_sbindir}/apxs
206 Requires: %{name}(EAPI) = %{version}
208 %description mod_imap
209 This package contains mod_imap module. It provides for .map files, replacing
210 the functionality of the imagemap CGI program. Any directory or document
211 type configured to use the handler imap-file.
214 Summary: Apache module with comprehensive overview of the server configuration
215 Group: Networking/Daemons
216 Group(pl): Sieciowe/Serwery
217 Prereq: %{_sbindir}/apxs
218 Requires: %{name}(EAPI) = %{version}
220 %description mod_info
221 This package contains mod_mmap_static module. It provides a comprehensive
222 overview of the server configuration including all installed modules and
223 directives in the configuration files.
226 Summary: Apache module with Web proxy
227 Group: Networking/Daemons
228 Group(pl): Sieciowe/Serwery
229 Prereq: %{_sbindir}/apxs
230 Requires: %{name}(EAPI) = %{version}
232 %description mod_proxy
233 This package contains module with implementation a proxy/cache for Apache.
234 It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, and
235 HTTP/1.0. The module can be configured to connect to other proxy modules for
236 these and other protocols.
239 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
240 Group: Networking/Daemons
241 Group(pl): Sieciowe/Serwery
242 Prereq: %{_sbindir}/apxs
243 Requires: %{name}(EAPI) = %{version}
245 %description mod_rewrite
246 This package contains It provides a rule-based rewriting engine to rewrite
247 requested URLs on the fly.
250 Summary: Server status report module for apache
251 Group: Networking/Daemons
252 Group(pl): Sieciowe/Serwery
253 Prereq: %{_sbindir}/apxs
254 Requires: %{name}(EAPI) = %{version}
256 %description mod_status
257 The Status module allows a server administrator to find out how well their
258 server is performing. A HTML page is presented that gives the current server
259 statistics in an easily readable form. If required this page can be made to
260 automatically refresh (given a compatible browser).
262 %package mod_usertrack
263 Summary: Apache module for user tracking using cookies
264 Group: Networking/Daemons
265 Group(pl): Sieciowe/Serwery
266 Prereq: %{_sbindir}/apxs
267 Requires: %{name}(EAPI) = %{version}
269 %description mod_usertrack
270 This package contains the user tracking module which did its own logging
271 using CookieLog directory. This module allow multiple log files.
273 %package mod_vhost_alias
274 Summary: Apache module for dynamically configured mass virtual hosting
275 Group: Networking/Daemons
276 Group(pl): Sieciowe/Serwery
277 Prereq: %{_sbindir}/apxs
278 Requires: %{name}(EAPI) = %{version}
280 %description mod_vhost_alias
281 This package contains the mod_vhost_alias. It provides support for
282 dynamically configured mass virtual hosting.
284 %package mod_unique_id
285 Summary: Apache module which provides a magic token for each request
286 Group: Networking/Daemons
287 Group(pl): Sieciowe/Serwery
288 Prereq: %{_sbindir}/apxs
289 Requires: %{name}(EAPI) = %{version}
291 %description mod_unique_id
292 This package contains the mod_unique_id. This module provides a magic token
293 for each request which is guaranteed to be unique across "all" requests
294 under very specific conditions. The unique identifier is even unique across
295 multiple machines in a properly configured cluster of machines. The
296 environment variable UNIQUE_ID is set to the identifier for each request.
297 Unique identifiers are useful for various reasons which are beyond the scope
301 Summary: Apache module which provides ....
302 Group: Networking/Daemons
303 Group(pl): Sieciowe/Serwery
304 Prereq: %{_sbindir}/apxs
305 Requires: %{name}(EAPI) = %{version}
307 %description mod_expires
310 %setup -q -n apache_%{version} -a3
323 LDFLAGS="-s"; export LDFLAGS
324 OPTIM="$RPM_OPT_FLAGS" \
326 --prefix=%{_prefix} \
327 --sysconfdir=%{_sysconfdir} \
328 --includedir=%{_includedir} \
329 --sbindir=%{_sbindir} \
330 --libexecdir=%{_libexecdir} \
331 --datadir=%{_datadir} \
332 --localstatedir=/var \
333 --runtimedir=/var/run \
334 --logfiledir=/var/log/httpd \
336 --without-confadjust \
337 --enable-module=all \
338 --enable-shared=max \
339 --proxycachedir=/var/cache/apache \
340 --with-perl=%{_bindir}/perl \
342 --suexec-caller=http \
343 --suexec-uidmin=500 \
344 --suexec-gidmin=500 \
345 --disable-rule=WANTHSREGEX \
347 # --enable-rule=INET6
351 rm -rf $RPM_BUILD_ROOT
352 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
353 $RPM_BUILD_ROOT%{_datadir}/errordocs \
354 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},state/apache/mm}
356 make install-quiet root="$RPM_BUILD_ROOT"
358 mv $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
360 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
361 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
362 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
364 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
366 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
368 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/access.conf
369 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
370 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/srm.conf
371 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/virtual-host.conf
373 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
374 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
376 ln -sf index.html.en $RPM_BUILD_ROOT/home/httpd/html/index.html
378 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
380 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
381 ABOUT_APACHE src/CHANGES KEYS README
384 if [ -n "`getgid http`" ]; then
385 if [ "`getgid http`" != "51" ]; then
386 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
390 /usr/sbin/groupadd -g 51 -r -f http
391 if [ -f /var/db/group.db ]; then
392 /usr/bin/update-db 1>&2
395 if [ -n "`id -u http 2>/dev/null`" ]; then
396 if [ "`id -u http`" != "51" ]; then
397 echo "Warning: user http haven't uid=51. Corect this before install apache" 1>&2
401 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
402 if [ -f /var/db/passwd.db ]; then
403 /usr/bin/update-db 1>&2
408 /sbin/chkconfig --add httpd
409 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
410 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
411 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
412 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
413 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
414 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
415 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
416 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
417 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
418 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
419 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
420 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
421 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
422 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
423 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
424 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
425 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
426 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
427 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
428 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
430 touch /var/log/httpd/{access,error,agent,referer}_log
431 if [ -f /var/lock/subsys/httpd ]; then
432 /etc/rc.d/init.d/httpd restart 1>&2
434 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
438 if [ "$1" = "0" ]; then
439 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
440 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
441 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
442 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
443 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
444 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
445 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
446 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
447 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
448 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
449 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
450 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
451 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
452 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
453 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
454 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
455 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
456 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
457 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
458 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
459 if [ -f /var/lock/subsys/httpd ]; then
460 /etc/rc.d/init.d/httpd stop 1>&2
462 /sbin/chkconfig --del httpd
466 if [ "$1" = "0" ]; then
467 /usr/sbin/userdel http
468 if [ -f /var/db/passwd.db ]; then
471 /usr/sbin/groupdel http
472 if [ -f /var/db/group.db ]; then
478 %{_sbindir}/apxs -e -a -n action %{_libexecdir}/mod_actions.so 1>&2
479 if [ -f /var/lock/subsys/httpd ]; then
480 /etc/rc.d/init.d/httpd restart 1>&2
482 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
486 if [ "$1" = "0" ]; then
487 %{_sbindir}/apxs -e -A -n action %{_libexecdir}/mod_actions.so 1>&2
488 if [ -f /var/lock/subsys/httpd ]; then
489 /etc/rc.d/init.d/httpd restart 1>&2
494 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
495 if [ -f /var/lock/subsys/httpd ]; then
496 /etc/rc.d/init.d/httpd restart 1>&2
498 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
502 if [ "$1" = "0" ]; then
503 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
504 if [ -f /var/lock/subsys/httpd ]; then
505 /etc/rc.d/init.d/httpd restart 1>&2
510 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
511 if [ -f /var/lock/subsys/httpd ]; then
512 /etc/rc.d/init.d/httpd restart 1>&2
514 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
518 if [ "$1" = "0" ]; then
519 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
520 if [ -f /var/lock/subsys/httpd ]; then
521 /etc/rc.d/init.d/httpd restart 1>&2
526 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
527 if [ -f /var/lock/subsys/httpd ]; then
528 /etc/rc.d/init.d/httpd restart 1>&2
530 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
534 if [ "$1" = "0" ]; then
535 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
536 if [ -f /var/lock/subsys/httpd ]; then
537 /etc/rc.d/init.d/httpd restart 1>&2
542 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
543 if [ -f /var/lock/subsys/httpd ]; then
544 /etc/rc.d/init.d/httpd restart 1>&2
546 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
550 if [ "$1" = "0" ]; then
551 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
552 if [ -f /var/lock/subsys/httpd ]; then
553 /etc/rc.d/init.d/httpd restart 1>&2
558 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
559 if [ -f /var/lock/subsys/httpd ]; then
560 /etc/rc.d/init.d/httpd restart 1>&2
562 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
566 if [ "$1" = "0" ]; then
567 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
568 if [ -f /var/lock/subsys/httpd ]; then
569 /etc/rc.d/init.d/httpd restart 1>&2
574 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
575 if [ -f /var/lock/subsys/httpd ]; then
576 /etc/rc.d/init.d/httpd restart 1>&2
578 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
582 if [ "$1" = "0" ]; then
583 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
584 if [ -f /var/lock/subsys/httpd ]; then
585 /etc/rc.d/init.d/httpd restart 1>&2
589 %post mod_mmap_static
590 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
591 if [ -f /var/lock/subsys/httpd ]; then
592 /etc/rc.d/init.d/httpd restart 1>&2
594 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
597 %preun mod_mmap_static
598 if [ "$1" = "0" ]; then
599 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
600 if [ -f /var/lock/subsys/httpd ]; then
601 /etc/rc.d/init.d/httpd restart 1>&2
606 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
607 if [ -f /var/lock/subsys/httpd ]; then
608 /etc/rc.d/init.d/httpd restart 1>&2
610 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
614 if [ "$1" = "0" ]; then
615 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
616 if [ -f /var/lock/subsys/httpd ]; then
617 /etc/rc.d/init.d/httpd restart 1>&2
622 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
623 if [ -f /var/lock/subsys/httpd ]; then
624 /etc/rc.d/init.d/httpd restart 1>&2
626 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
630 if [ "$1" = "0" ]; then
631 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
632 if [ -f /var/lock/subsys/httpd ]; then
633 /etc/rc.d/init.d/httpd restart 1>&2
638 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
639 if [ -f /var/lock/subsys/httpd ]; then
640 /etc/rc.d/init.d/httpd restart 1>&2
642 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
646 if [ "$1" = "0" ]; then
647 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
648 if [ -f /var/lock/subsys/httpd ]; then
649 /etc/rc.d/init.d/httpd restart 1>&2
654 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
655 if [ -f /var/lock/subsys/httpd ]; then
656 /etc/rc.d/init.d/httpd restart 1>&2
658 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
662 if [ "$1" = "0" ]; then
663 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
664 if [ -f /var/lock/subsys/httpd ]; then
665 /etc/rc.d/init.d/httpd restart 1>&2
670 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
671 if [ -f /var/lock/subsys/httpd ]; then
672 /etc/rc.d/init.d/httpd restart 1>&2
674 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
678 if [ "$1" = "0" ]; then
679 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
680 if [ -f /var/lock/subsys/httpd ]; then
681 /etc/rc.d/init.d/httpd restart 1>&2
686 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
687 if [ -f /var/lock/subsys/httpd ]; then
688 /etc/rc.d/init.d/httpd restart 1>&2
690 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
694 if [ "$1" = "0" ]; then
695 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
696 if [ -f /var/lock/subsys/httpd ]; then
697 /etc/rc.d/init.d/httpd restart 1>&2
702 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
703 if [ -f /var/lock/subsys/httpd ]; then
704 /etc/rc.d/init.d/httpd restart 1>&2
706 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
710 if [ "$1" = "0" ]; then
711 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
712 if [ -f /var/lock/subsys/httpd ]; then
713 /etc/rc.d/init.d/httpd restart 1>&2
717 %post mod_vhost_alias
718 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
719 if [ -f /var/lock/subsys/httpd ]; then
720 /etc/rc.d/init.d/httpd restart 1>&2
722 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
725 %preun mod_vhost_alias
726 if [ "$1" = "0" ]; then
727 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
728 if [ -f /var/lock/subsys/httpd ]; then
729 /etc/rc.d/init.d/httpd restart 1>&2
734 rm -rf $RPM_BUILD_ROOT
737 %defattr(644,root,root,755)
738 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
741 %dir %{_datadir}/manual
742 %dir %{_datadir}/manual/images/
743 %{_datadir}/manual/images/sub.gif
744 %{_datadir}/manual/images/index.gif
745 %{_datadir}/manual/images/home.gif
746 %{_datadir}/manual/misc
747 %dir %{_datadir}/manual/search
748 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
749 %{_datadir}/manual/vhosts
750 %{_datadir}/manual/LICENSE
751 %{_datadir}/manual/bind.html
752 %{_datadir}/manual/cgi_path.html
753 %{_datadir}/manual/content-negotiation.html
754 %{_datadir}/manual/custom-error.html
755 %{_datadir}/manual/dns-caveats.html
756 %{_datadir}/manual/dso.html
757 %{_datadir}/manual/env.html
758 %{_datadir}/manual/footer.html
759 %{_datadir}/manual/handler.html
760 %{_datadir}/manual/header.html
761 %{_datadir}/manual/index.html
762 %{_datadir}/manual/install.html
763 %{_datadir}/manual/invoking.html
764 %{_datadir}/manual/keepalive.html
765 %{_datadir}/manual/location.html
766 %{_datadir}/manual/multilogs.html
767 %{_datadir}/manual/new_features_1_3.html
768 %{_datadir}/manual/process-model.html
769 %{_datadir}/manual/sections.html
770 %{_datadir}/manual/sourcereorg.html
771 %{_datadir}/manual/suexec.html
772 %{_datadir}/manual/upgrading_to_1_3.html
773 %{_datadir}/manual/mod/core.html
774 %{_datadir}/manual/mod/directive-dict.html
775 %{_datadir}/manual/mod/directives.html
776 %{_datadir}/manual/mod/footer.html
777 %{_datadir}/manual/mod/header.html
778 %{_datadir}/manual/mod/index.html
779 %{_datadir}/manual/mod/mod_access.html
780 %{_datadir}/manual/mod/mod_alias.html
781 %{_datadir}/manual/mod/mod_asis.html
782 %{_datadir}/manual/mod/mod_auth.html
783 %{_datadir}/manual/mod/mod_auth_db.html
784 %{_datadir}/manual/mod/mod_auth_dbm.html
785 %{_datadir}/manual/mod/mod_autoindex.html
786 %{_datadir}/manual/mod/mod_cgi.html
787 %{_datadir}/manual/mod/mod_cookies.html
788 %{_datadir}/manual/mod/mod_env.html
789 %{_datadir}/manual/mod/mod_include.html
790 %{_datadir}/manual/mod/mod_log_agent.html
791 %{_datadir}/manual/mod/mod_log_config.html
792 %{_datadir}/manual/mod/mod_log_referer.html
793 %{_datadir}/manual/mod/mod_mime.html
794 %{_datadir}/manual/mod/mod_mime_magic.html
795 %{_datadir}/manual/mod/mod_negotiation.html
796 %{_datadir}/manual/mod/mod_setenvif.html
797 %{_datadir}/manual/mod/mod_speling.html
798 %{_datadir}/manual/mod/mod_userdir.html
800 %attr(754,root,root) /etc/rc.d/init.d/httpd
802 %attr(750,root,root) %dir %{_sysconfdir}
803 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/access.conf
804 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
805 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/srm.conf
806 %attr(640,root,root) %{_sysconfdir}/magic
808 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
809 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
811 %attr(755,root,root) %dir %{_datadir}/html
812 %config(noreplace) %{_datadir}/html/index.html
813 %lang(ca) %{_datadir}/html/index.html.ca
814 %lang(cz) %{_datadir}/html/index.html.cz
815 %lang(de) %{_datadir}/html/index.html.de
816 %lang(dk) %{_datadir}/html/index.html.dk
817 %lang(ee) %{_datadir}/html/index.html.ee
818 %lang(en) %{_datadir}/html/index.html.en
819 %lang(es) %{_datadir}/html/index.html.es
820 %lang(fr) %{_datadir}/html/index.html.fr
821 %lang(it) %{_datadir}/html/index.html.it
822 %lang(lu) %{_datadir}/html/index.html.lu
823 %lang(nl) %{_datadir}/html/index.html.nl
824 %lang(pt) %{_datadir}/html/index.html.pt
825 %lang(se) %{_datadir}/html/index.html.se
827 %{_datadir}/html/*.gif
828 %{_datadir}/errordocs
829 %dir %{_datadir}/icons
830 %{_datadir}/icons/*.gif
831 %dir %{_datadir}/icons/small
832 %{_datadir}/icons/small/*.gif
833 %attr(755,root,root) %{_datadir}/cgi-bin
836 %attr(755,root,root) %{_libexecdir}/mod_access.so
837 %attr(755,root,root) %{_libexecdir}/mod_alias.so
838 %attr(755,root,root) %{_libexecdir}/mod_asis.so
839 %attr(755,root,root) %{_libexecdir}/mod_auth.so
840 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
841 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
842 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
843 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
844 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
845 %attr(755,root,root) %{_libexecdir}/mod_env.so
846 %attr(755,root,root) %{_libexecdir}/mod_include.so
847 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
848 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
849 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
850 %attr(755,root,root) %{_libexecdir}/mod_mime.so
851 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
852 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
853 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
854 %attr(755,root,root) %{_libexecdir}/mod_speling.so
855 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
857 %attr(755,root,root) %{_bindir}/dbmmanage
858 %attr(755,root,root) %{_bindir}/htdigest
859 %attr(755,root,root) %{_bindir}/htpasswd
861 %attr(755,root,root) %{_sbindir}/ab
862 %attr(755,root,root) %{_sbindir}/apachectl
863 %attr(755,root,root) %{_sbindir}/apxs
864 %attr(755,root,root) %{_sbindir}/httpd
865 %attr(755,root,root) %{_sbindir}/logresolve
866 %attr(755,root,root) %{_sbindir}/rotatelogs
868 %dir %attr(750,http,http) /var/state/apache
872 %attr(750,root,root) %dir /var/log/httpd
873 %attr(750,root,root) %dir /var/log/archiv/httpd
874 %attr(640,root,root) %ghost /var/log/httpd/*
877 %attr(4755,root,root) %{_sbindir}/suexec
880 %defattr(644,root,root,755)
885 %attr(755,root,root) %{_libexecdir}/mod_actions.so
886 %attr(644,root,root) %{_datadir}/manual/mod/mod_actions.html
889 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
890 %attr(644,root,root) %{_datadir}/manual/mod/mod_auth_anon.html
893 %attr(755,root,root) %{_libexecdir}/mod_define.so
894 %attr(644,root,root) %{_datadir}/manual/mod/mod_define.html
897 %attr(755,root,root) %{_libexecdir}/mod_digest.so
898 %attr(644,root,root) %{_datadir}/manual/mod/mod_digest.html
901 %attr(755,root,root) %{_libexecdir}/mod_dir.so
902 %attr(644,root,root) %{_datadir}/manual/mod/mod_dir.html
905 %attr(755,root,root) %{_libexecdir}/mod_expires.so
906 %attr(644,root,root) %{_datadir}/manual/mod/mod_expires.html
909 %attr(755,root,root) %{_libexecdir}/mod_headers.so
910 %attr(644,root,root) %{_datadir}/manual/mod/mod_headers.html
912 %files mod_mmap_static
913 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
914 %attr(644,root,root) %{_datadir}/manual/mod/mod_mmap_static.html
917 %attr(755,root,root) %{_libexecdir}/mod_imap.so
918 %attr(644,root,root) %{_datadir}/manual/mod/mod_imap.html
921 %attr(755,root,root) %{_libexecdir}/mod_info.so
922 %attr(644,root,root) %{_datadir}/manual/mod/mod_info.html
925 %config(noreplace) %{_sysconfdir}/mod_proxy.conf
926 %attr(640,root,root) %{_sysconfdir}/mod_proxy.conf
927 %attr(755,root,root) %{_libexecdir}/libproxy.so
928 %attr(644,root,root) %{_datadir}/manual/mod/mod_proxy.html
929 %dir %attr(750,http,http) /var/cache/apache
932 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
933 %attr(644,root,root) %{_datadir}/manual/mod/mod_rewrite.html
936 %config(noreplace) %{_sysconfdir}/mod_status.conf
937 %attr(640,root,root) %{_sysconfdir}/mod_status.conf
938 %attr(755,root,root) %{_libexecdir}/mod_status.so
939 %attr(644,root,root) %{_datadir}/manual/mod/mod_status.html
942 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
943 %attr(644,root,root) %{_datadir}/manual/mod/mod_usertrack.html
946 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
947 %attr(644,root,root) %{_datadir}/manual/mod/mod_unique_id.html
949 %files mod_vhost_alias
950 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
951 %attr(644,root,root) %{_datadir}/manual/mod/mod_vhost_alias.html
952 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/virtual-host.conf