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 Source6: apache-httpd.conf
19 Source8: apache-mod_vhost_alias.conf
20 Source9: apache-mod_status.conf
21 Source10: apache-mod_proxy.conf
22 Patch0: apache-PLD.patch
23 Patch1: apache-suexec.patch
24 Patch2: apache-htdocs.patch
25 Patch3: apache-errordocs.patch
26 Patch4: apache-apxs.patch
27 Patch5: apache-EAPI.patch
28 Patch6: apache-v6-PLD-2.patch.gz
29 Patch7: apache-mm_conf.patch
30 Patch8: apache-modules_symbols.patch
33 Prereq: /sbin/chkconfig
34 Prereq: /usr/sbin/useradd
35 Prereq: /usr/bin/getgid
38 BuildRequires: mm-devel
41 Requires: /etc/mime.types
42 URL: http://www.apache.org/
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 Provides: apache(EAPI)
45 Obsoletes: apache-extra
49 %define _sysconfdir /etc/httpd
50 %define _includedir %{_prefix}/include/apache
51 %define _datadir /home/httpd
52 %define _libexecdir %{_prefix}/lib/apache
55 Apache is a powerful, full-featured, efficient and freely-available
56 Web server. Apache is also the most popular Web server on the
60 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
61 erhältlich und weit verbreitet ist.
64 Apache est un serveur Web puissant, efficace, gratuit et complet.
65 Apache est aussi le serveur Web le plus populaire sur Internet.
68 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
69 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
72 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
76 Summary: Apache suexec wrapper
77 Summary(pl): Suexec wrapper do serwera www Apache
78 Group: Networking/Development
80 Group(pl): Sieciowe/Programowanie
81 Requires: %{name}(EAPI) = %{version}
84 The suEXEC feature provides Apache users the ability to run CGI and
85 SSI programs under user IDs different from the user ID of the calling
86 web-server. Normally, when a CGI or SSI program executes, it runs as
87 the same user who is running the web server.
89 %description -l pl suexec
90 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
91 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
92 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
95 Summary: Module development tools for the Apache web server
96 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
97 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
98 Group: Networking/Utilities
99 Group(pl): Sieciowe/Narzêdzia
100 Requires: %{name}(EAPI) = %{version}
101 Provides: %{name}(EAPI)-devel
104 The apache-devel package contains the source code for the Apache Web
105 server and the APXS binary you'll need to build Dynamic Shared Objects
108 %description -l fr devel
109 Le package apache-devel contient le code source pour le serveur Web
110 Apache et le binaire APXS dont vous aurez besoin pour construire des
111 Objets Dynamiques Partages (DSOs) pour Apache.
113 %description -l pl devel
114 Pliki nag³ówkowe dla serwera WWW Apache.
117 Summary: Apache module for run CGI whenever a file of a certain type is requested
118 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
119 Group: Networking/Daemons
120 Group(pl): Sieciowe/Serwery
121 Prereq: %{_sbindir}/apxs
122 Requires: %{name}(EAPI) = %{version}
124 %description mod_actions
125 This package contains mod_actions module. This module lets you run CGI
126 scripts whenever a file of a certain type is requested. This makes it
127 much easier to execute scripts that process files.
129 %description -l pl mod_actions
130 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
131 ¿±danie pobrania pliku okre¶lonego typu.
133 %package mod_auth_anon
134 Summary: Apache module with "anonymous" user access authentication
135 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
136 Group: Networking/Daemons
137 Group(pl): Sieciowe/Serwery
138 Prereq: %{_sbindir}/apxs
139 Requires: %{name}(EAPI) = %{version}
141 %description mod_auth_anon
142 This package contains mod_auth_anon module. It allows "anonymous" user
143 access to authenticated areas. It does access control in a manner
144 similar to anonymous-ftp sites; i.e. have a 'magic' user id
145 'anonymous' and the email address as a password. These email addresses
146 can be logged. Combined with other (database) access control methods,
147 this allows for effective user tracking and customization according to
148 a user profile while still keeping the site open for 'unregistered'
149 users. One advantage of using Auth-based user tracking is that, unlike
150 magic-cookies and funny URL pre/postfixes, it is completely browser
151 independent and it allows users to share URLs.
153 %description -l pl mod_auth_anon
154 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
155 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
156 postaci adresu pocztowego u¿ytkownika).
159 Summary: Apache module - authentication variables for arbitrary directives
160 Summary(pl): Modu³ apache do definiowania zmiennych
161 Group: Networking/Daemons
162 Group(pl): Sieciowe/Serwery
163 Prereq: %{_sbindir}/apxs
164 Requires: %{name}(EAPI) = %{version}
166 %description mod_define
167 It provides the definition variables for arbitrary directives, i.e.
168 variables which can be expanded on any(!) directive line.
170 %description -l pl mod_define
171 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
174 Summary: Apache user authentication module using MD5 Digest Authentication
175 Summary(pl): Modu³ apache do autoryzacji MD5
176 Group: Networking/Daemons
177 Group(pl): Sieciowe/Serwery
178 Prereq: %{_sbindir}/apxs
179 Requires: %{name}(EAPI) = %{version}
181 %description mod_digest
182 This package contains mod_digest module. It provides user
183 authentication using MD5 Digest Authentication.
185 %description -l pl mod_digest
186 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
190 Summary: Apache module for "trailing slash" redirects and serving directory index files
191 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
192 Group: Networking/Daemons
193 Group(pl): Sieciowe/Serwery
194 Prereq: %{_sbindir}/apxs
195 Requires: %{name}(EAPI) = %{version}
198 This package contains mod_dir which provides "trailing slash"
199 redirects and serving directory index files.
201 %description -l pl mod_dir
202 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
205 Summary: Apache module allows for the customization of HTTP response headers
206 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
207 Group: Networking/Daemons
208 Group(pl): Sieciowe/Serwery
209 Prereq: %{_sbindir}/apxs
210 Requires: %{name}(EAPI) = %{version}
212 %description mod_headers
213 This package contains mod_headers module. The module allows for the
214 customization of HTTP response headers. Headers can be merged,
217 %description -l pl mod_headers
218 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
219 wysy³anych do przegl±darki.
221 %package mod_mmap_static
222 Summary: Apache module for mmap()ing statically configured list files
223 Summary(pl): Modu³ s³u¿±cy do mmap()owania plików.
224 Group: Networking/Daemons
225 Group(pl): Sieciowe/Serwery
226 Prereq: %{_sbindir}/apxs
227 Requires: %{name}(EAPI) = %{version}
229 %description mod_mmap_static
230 This package contains mod_mmap_static module. It provides mmap()ing of
231 a statically configured list of frequently requested but not changed
234 %description -l pl mod_mmap_static
235 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
236 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
239 Summary: Apache module with imap-file handler
240 Summary(pl): Modu³ z obs³ug± imap-file
241 Group: Networking/Daemons
242 Group(pl): Sieciowe/Serwery
243 Prereq: %{_sbindir}/apxs
244 Requires: %{name}(EAPI) = %{version}
246 %description mod_imap
247 This package contains mod_imap module. It provides for .map files,
248 replacing the functionality of the imagemap CGI program. Any directory
249 or document type configured to use the handler imap-file.
251 %description -l pl mod_imap
252 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
255 Summary: Apache module with comprehensive overview of the server configuration
256 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
257 Group: Networking/Daemons
258 Group(pl): Sieciowe/Serwery
259 Prereq: %{_sbindir}/apxs
260 Requires: %{name}(EAPI) = %{version}
262 %description mod_info
263 This package contains mod_info module. It provides a comprehensive
264 overview of the server configuration including all installed modules
265 and directives in the configuration files.
267 %description -l pl mod_info
268 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
272 Summary: Apache module with Web proxy
273 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
274 Group: Networking/Daemons
275 Group(pl): Sieciowe/Serwery
276 Prereq: %{_sbindir}/apxs
277 Requires: %{name}(EAPI) = %{version}
279 %description mod_proxy
280 This package contains module with implementation a proxy/cache for
281 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
282 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
283 other proxy modules for these and other protocols.
285 %description -l pl mod_proxy
286 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
287 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
291 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
292 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
293 Group: Networking/Daemons
294 Group(pl): Sieciowe/Serwery
295 Prereq: %{_sbindir}/apxs
296 Requires: %{name}(EAPI) = %{version}
298 %description mod_rewrite
299 This package contains It provides a rule-based rewriting engine to
300 rewrite requested URLs on the fly.
302 %description -l pl mod_rewrite
303 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
306 Summary: Server status report module for apache
307 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
308 Group: Networking/Daemons
309 Group(pl): Sieciowe/Serwery
310 Prereq: %{_sbindir}/apxs
311 Requires: %{name}(EAPI) = %{version}
313 %description mod_status
314 The Status module allows a server administrator to find out how well
315 their server is performing. A HTML page is presented that gives the
316 current server statistics in an easily readable form. If required this
317 page can be made to automatically refresh (given a compatible
320 %description -l pl mod_status
321 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
322 pracy serwera apache (w postaci strony HTML).
324 %package mod_usertrack
325 Summary: Apache module for user tracking using cookies
326 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
327 Group: Networking/Daemons
328 Group(pl): Sieciowe/Serwery
329 Prereq: %{_sbindir}/apxs
330 Requires: %{name}(EAPI) = %{version}
332 %description mod_usertrack
333 This package contains the user tracking module which did its own
334 logging using CookieLog directory. This module allow multiple log
337 %description -l pl mod_usertrack
338 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
340 %package mod_vhost_alias
341 Summary: Apache module for dynamically configured mass virtual hosting
342 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
343 Group: Networking/Daemons
344 Group(pl): Sieciowe/Serwery
345 Prereq: %{_sbindir}/apxs
346 Requires: %{name}(EAPI) = %{version}
348 %description mod_vhost_alias
349 This package contains the mod_vhost_alias. It provides support for
350 dynamically configured mass virtual hosting.
352 %description -l pl mod_vhost_alias
353 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
356 %package mod_unique_id
357 Summary: Apache module which provides a magic token for each request
358 Group: Networking/Daemons
359 Group(pl): Sieciowe/Serwery
360 Prereq: %{_sbindir}/apxs
361 Requires: %{name}(EAPI) = %{version}
363 %description mod_unique_id
364 This package contains the mod_unique_id. This module provides a magic
365 token for each request which is guaranteed to be unique across "all"
366 requests under very specific conditions. The unique identifier is even
367 unique across multiple machines in a properly configured cluster of
368 machines. The environment variable UNIQUE_ID is set to the identifier
369 for each request. Unique identifiers are useful for various reasons
370 which are beyond the scope of this document.
373 Summary: Apache module which provides ....
374 Group: Networking/Daemons
375 Group(pl): Sieciowe/Serwery
376 Prereq: %{_sbindir}/apxs
377 Requires: %{name}(EAPI) = %{version}
379 %description mod_expires
382 %setup -q -n apache_%{version} -a3
395 LDFLAGS="-s"; export LDFLAGS
396 OPTIM="$RPM_OPT_FLAGS" \
398 --prefix=%{_prefix} \
399 --sysconfdir=%{_sysconfdir} \
400 --includedir=%{_includedir} \
401 --sbindir=%{_sbindir} \
402 --libexecdir=%{_libexecdir} \
403 --datadir=%{_datadir} \
404 --localstatedir=/var \
405 --runtimedir=/var/run \
406 --logfiledir=/var/log/httpd \
408 --without-confadjust \
409 --enable-module=all \
410 --enable-shared=max \
411 --proxycachedir=/var/cache/apache \
412 --with-perl=%{_bindir}/perl \
414 --suexec-caller=http \
415 --suexec-uidmin=500 \
416 --suexec-gidmin=500 \
417 --disable-rule=WANTHSREGEX \
423 rm -rf $RPM_BUILD_ROOT
424 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
425 $RPM_BUILD_ROOT%{_datadir}/errordocs \
426 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
428 make install-quiet root="$RPM_BUILD_ROOT"
430 mv $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
432 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
433 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
434 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
436 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
438 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
440 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
442 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
443 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
444 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
446 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
448 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
450 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
451 ABOUT_APACHE src/CHANGES KEYS README
454 if [ -n "`getgid http`" ]; then
455 if [ "`getgid http`" != "51" ]; then
456 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
460 /usr/sbin/groupadd -g 51 -r -f http
461 if [ -f /var/db/group.db ]; then
462 /usr/bin/update-db 1>&2
465 if [ -n "`id -u http 2>/dev/null`" ]; then
466 if [ "`id -u http`" != "51" ]; then
467 echo "Warning: user http haven't uid=51. Corect this before install apache" 1>&2
471 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
472 if [ -f /var/db/passwd.db ]; then
473 /usr/bin/update-db 1>&2
478 /sbin/chkconfig --add httpd
479 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
480 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
481 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
482 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
483 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
484 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
485 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
486 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
487 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
488 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
489 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
490 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
491 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
492 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
493 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
494 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
495 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
496 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
497 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
498 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
500 touch /var/log/httpd/{access,error,agent,referer}_log
501 if [ -f /var/lock/subsys/httpd ]; then
502 /etc/rc.d/init.d/httpd restart 1>&2
504 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
508 if [ "$1" = "0" ]; then
509 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
510 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
511 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
512 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
513 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
514 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
515 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
516 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
517 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
518 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
519 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
520 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
521 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
522 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
523 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
524 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
525 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
526 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
527 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
528 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
529 if [ -f /var/lock/subsys/httpd ]; then
530 /etc/rc.d/init.d/httpd stop 1>&2
532 /sbin/chkconfig --del httpd
536 if [ "$1" = "0" ]; then
537 /usr/sbin/userdel http
538 if [ -f /var/db/passwd.db ]; then
541 /usr/sbin/groupdel http
542 if [ -f /var/db/group.db ]; then
548 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
549 if [ -f /var/lock/subsys/httpd ]; then
550 /etc/rc.d/init.d/httpd restart 1>&2
552 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
556 if [ "$1" = "0" ]; then
557 %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
558 if [ -f /var/lock/subsys/httpd ]; then
559 /etc/rc.d/init.d/httpd restart 1>&2
564 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
565 if [ -f /var/lock/subsys/httpd ]; then
566 /etc/rc.d/init.d/httpd restart 1>&2
568 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
572 if [ "$1" = "0" ]; then
573 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
574 if [ -f /var/lock/subsys/httpd ]; then
575 /etc/rc.d/init.d/httpd restart 1>&2
580 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
581 if [ -f /var/lock/subsys/httpd ]; then
582 /etc/rc.d/init.d/httpd restart 1>&2
584 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
588 if [ "$1" = "0" ]; then
589 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
590 if [ -f /var/lock/subsys/httpd ]; then
591 /etc/rc.d/init.d/httpd restart 1>&2
596 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
597 if [ -f /var/lock/subsys/httpd ]; then
598 /etc/rc.d/init.d/httpd restart 1>&2
600 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
604 if [ "$1" = "0" ]; then
605 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
606 if [ -f /var/lock/subsys/httpd ]; then
607 /etc/rc.d/init.d/httpd restart 1>&2
612 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
613 if [ -f /var/lock/subsys/httpd ]; then
614 /etc/rc.d/init.d/httpd restart 1>&2
616 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
620 if [ "$1" = "0" ]; then
621 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
622 if [ -f /var/lock/subsys/httpd ]; then
623 /etc/rc.d/init.d/httpd restart 1>&2
628 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
629 if [ -f /var/lock/subsys/httpd ]; then
630 /etc/rc.d/init.d/httpd restart 1>&2
632 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
636 if [ "$1" = "0" ]; then
637 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
638 if [ -f /var/lock/subsys/httpd ]; then
639 /etc/rc.d/init.d/httpd restart 1>&2
644 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
645 if [ -f /var/lock/subsys/httpd ]; then
646 /etc/rc.d/init.d/httpd restart 1>&2
648 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
652 if [ "$1" = "0" ]; then
653 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
654 if [ -f /var/lock/subsys/httpd ]; then
655 /etc/rc.d/init.d/httpd restart 1>&2
659 %post mod_mmap_static
660 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
661 if [ -f /var/lock/subsys/httpd ]; then
662 /etc/rc.d/init.d/httpd restart 1>&2
664 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
667 %preun mod_mmap_static
668 if [ "$1" = "0" ]; then
669 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
670 if [ -f /var/lock/subsys/httpd ]; then
671 /etc/rc.d/init.d/httpd restart 1>&2
676 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
677 if [ -f /var/lock/subsys/httpd ]; then
678 /etc/rc.d/init.d/httpd restart 1>&2
680 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
684 if [ "$1" = "0" ]; then
685 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
686 if [ -f /var/lock/subsys/httpd ]; then
687 /etc/rc.d/init.d/httpd restart 1>&2
692 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
693 if [ -f /var/lock/subsys/httpd ]; then
694 /etc/rc.d/init.d/httpd restart 1>&2
696 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
700 if [ "$1" = "0" ]; then
701 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
702 if [ -f /var/lock/subsys/httpd ]; then
703 /etc/rc.d/init.d/httpd restart 1>&2
708 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
709 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
710 echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
712 if [ -f /var/lock/subsys/httpd ]; then
713 /etc/rc.d/init.d/httpd restart 1>&2
715 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
719 if [ "$1" = "0" ]; then
720 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
721 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
722 /etc/httpd/httpd.conf.tmp
723 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
724 if [ -f /var/lock/subsys/httpd ]; then
725 /etc/rc.d/init.d/httpd restart 1>&2
730 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
731 if [ -f /var/lock/subsys/httpd ]; then
732 /etc/rc.d/init.d/httpd restart 1>&2
734 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
738 if [ "$1" = "0" ]; then
739 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
740 if [ -f /var/lock/subsys/httpd ]; then
741 /etc/rc.d/init.d/httpd restart 1>&2
746 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
747 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
748 echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
750 if [ -f /var/lock/subsys/httpd ]; then
751 /etc/rc.d/init.d/httpd restart 1>&2
753 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
757 if [ "$1" = "0" ]; then
758 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
759 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
760 /etc/httpd/httpd.conf.tmp
761 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
762 if [ -f /var/lock/subsys/httpd ]; then
763 /etc/rc.d/init.d/httpd restart 1>&2
768 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
769 if [ -f /var/lock/subsys/httpd ]; then
770 /etc/rc.d/init.d/httpd restart 1>&2
772 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
776 if [ "$1" = "0" ]; then
777 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
778 if [ -f /var/lock/subsys/httpd ]; then
779 /etc/rc.d/init.d/httpd restart 1>&2
784 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
785 if [ -f /var/lock/subsys/httpd ]; then
786 /etc/rc.d/init.d/httpd restart 1>&2
788 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
792 if [ "$1" = "0" ]; then
793 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
794 if [ -f /var/lock/subsys/httpd ]; then
795 /etc/rc.d/init.d/httpd restart 1>&2
799 %post mod_vhost_alias
800 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
801 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
802 echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
804 if [ -f /var/lock/subsys/httpd ]; then
805 /etc/rc.d/init.d/httpd restart 1>&2
807 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
810 %preun mod_vhost_alias
811 if [ "$1" = "0" ]; then
812 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
813 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
814 /etc/httpd/httpd.conf.tmp
815 mv /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
816 if [ -f /var/lock/subsys/httpd ]; then
817 /etc/rc.d/init.d/httpd restart 1>&2
822 rm -rf $RPM_BUILD_ROOT
825 %defattr(644,root,root,755)
826 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
829 %dir %{_datadir}/manual
830 %dir %{_datadir}/manual/images/
831 %{_datadir}/manual/images/sub.gif
832 %{_datadir}/manual/images/index.gif
833 %{_datadir}/manual/images/home.gif
834 %{_datadir}/manual/misc
835 %dir %{_datadir}/manual/search
836 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
837 %{_datadir}/manual/vhosts
838 %{_datadir}/manual/LICENSE
839 %{_datadir}/manual/bind.html
840 %{_datadir}/manual/cgi_path.html
841 %{_datadir}/manual/content-negotiation.html
842 %{_datadir}/manual/custom-error.html
843 %{_datadir}/manual/dns-caveats.html
844 %{_datadir}/manual/dso.html
845 %{_datadir}/manual/env.html
846 %{_datadir}/manual/footer.html
847 %{_datadir}/manual/handler.html
848 %{_datadir}/manual/header.html
849 %{_datadir}/manual/index.html
850 %{_datadir}/manual/install.html
851 %{_datadir}/manual/invoking.html
852 %{_datadir}/manual/keepalive.html
853 %{_datadir}/manual/location.html
854 %{_datadir}/manual/multilogs.html
855 %{_datadir}/manual/new_features_1_3.html
856 %{_datadir}/manual/process-model.html
857 %{_datadir}/manual/sections.html
858 %{_datadir}/manual/sourcereorg.html
859 %{_datadir}/manual/suexec.html
860 %{_datadir}/manual/upgrading_to_1_3.html
861 %{_datadir}/manual/mod/core.html
862 %{_datadir}/manual/mod/directive-dict.html
863 %{_datadir}/manual/mod/directives.html
864 %{_datadir}/manual/mod/footer.html
865 %{_datadir}/manual/mod/header.html
866 %{_datadir}/manual/mod/index.html
867 %{_datadir}/manual/mod/mod_access.html
868 %{_datadir}/manual/mod/mod_alias.html
869 %{_datadir}/manual/mod/mod_asis.html
870 %{_datadir}/manual/mod/mod_auth.html
871 %{_datadir}/manual/mod/mod_auth_db.html
872 %{_datadir}/manual/mod/mod_auth_dbm.html
873 %{_datadir}/manual/mod/mod_autoindex.html
874 %{_datadir}/manual/mod/mod_cgi.html
875 %{_datadir}/manual/mod/mod_cookies.html
876 %{_datadir}/manual/mod/mod_env.html
877 %{_datadir}/manual/mod/mod_include.html
878 %{_datadir}/manual/mod/mod_log_agent.html
879 %{_datadir}/manual/mod/mod_log_config.html
880 %{_datadir}/manual/mod/mod_log_referer.html
881 %{_datadir}/manual/mod/mod_mime.html
882 %{_datadir}/manual/mod/mod_mime_magic.html
883 %{_datadir}/manual/mod/mod_negotiation.html
884 %{_datadir}/manual/mod/mod_setenvif.html
885 %{_datadir}/manual/mod/mod_speling.html
886 %{_datadir}/manual/mod/mod_userdir.html
888 %attr(754,root,root) /etc/rc.d/init.d/httpd
890 %attr(750,root,root) %dir %{_sysconfdir}
891 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
892 %attr(640,root,root) %{_sysconfdir}/magic
894 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
895 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
897 %attr(755,root,root) %dir %{_datadir}/html
898 %config(noreplace) %{_datadir}/html/index.html
899 %lang(ca) %{_datadir}/html/index.html.ca
900 %lang(cz) %{_datadir}/html/index.html.cz
901 %lang(de) %{_datadir}/html/index.html.de
902 %lang(dk) %{_datadir}/html/index.html.dk
903 %lang(ee) %{_datadir}/html/index.html.ee
904 %lang(en) %{_datadir}/html/index.html.en
905 %lang(es) %{_datadir}/html/index.html.es
906 %lang(fr) %{_datadir}/html/index.html.fr
907 %lang(it) %{_datadir}/html/index.html.it
908 %lang(lu) %{_datadir}/html/index.html.lu
909 %lang(nl) %{_datadir}/html/index.html.nl
910 %lang(pt) %{_datadir}/html/index.html.pt
911 %lang(se) %{_datadir}/html/index.html.se
913 %{_datadir}/html/*.gif
914 %{_datadir}/errordocs
915 %dir %{_datadir}/icons
916 %{_datadir}/icons/*.gif
917 %dir %{_datadir}/icons/small
918 %{_datadir}/icons/small/*.gif
919 %attr(755,root,root) %{_datadir}/cgi-bin
922 %attr(755,root,root) %{_libexecdir}/mod_access.so
923 %attr(755,root,root) %{_libexecdir}/mod_alias.so
924 %attr(755,root,root) %{_libexecdir}/mod_asis.so
925 %attr(755,root,root) %{_libexecdir}/mod_auth.so
926 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
927 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
928 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
929 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
930 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
931 %attr(755,root,root) %{_libexecdir}/mod_env.so
932 %attr(755,root,root) %{_libexecdir}/mod_include.so
933 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
934 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
935 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
936 %attr(755,root,root) %{_libexecdir}/mod_mime.so
937 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
938 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
939 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
940 %attr(755,root,root) %{_libexecdir}/mod_speling.so
941 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
943 %attr(755,root,root) %{_bindir}/dbmmanage
944 %attr(755,root,root) %{_bindir}/htdigest
945 %attr(755,root,root) %{_bindir}/htpasswd
947 %attr(755,root,root) %{_sbindir}/ab
948 %attr(755,root,root) %{_sbindir}/apachectl
949 %attr(755,root,root) %{_sbindir}/apxs
950 %attr(755,root,root) %{_sbindir}/httpd
951 %attr(755,root,root) %{_sbindir}/logresolve
952 %attr(755,root,root) %{_sbindir}/rotatelogs
954 %dir %attr(750,http,http) /var/lib/apache
958 %attr(750,root,root) %dir /var/log/httpd
959 %attr(750,root,root) %dir /var/log/archiv/httpd
960 %attr(640,root,root) %ghost /var/log/httpd/*
963 %defattr(644,root,root,755)
964 %attr(4755,root,root) %{_sbindir}/suexec
967 %defattr(644,root,root,755)
971 %defattr(644,root,root,755)
972 %attr(755,root,root) %{_libexecdir}/mod_actions.so
973 %{_datadir}/manual/mod/mod_actions.html
976 %defattr(644,root,root,755)
977 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
978 %{_datadir}/manual/mod/mod_auth_anon.html
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_libexecdir}/mod_define.so
983 %{_datadir}/manual/mod/mod_define.html
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{_libexecdir}/mod_digest.so
988 %{_datadir}/manual/mod/mod_digest.html
991 %defattr(644,root,root,755)
992 %attr(755,root,root) %{_libexecdir}/mod_dir.so
993 %{_datadir}/manual/mod/mod_dir.html
996 %defattr(644,root,root,755)
997 %attr(755,root,root) %{_libexecdir}/mod_expires.so
998 %{_datadir}/manual/mod/mod_expires.html
1001 %defattr(644,root,root,755)
1002 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1003 %{_datadir}/manual/mod/mod_headers.html
1005 %files mod_mmap_static
1006 %defattr(644,root,root,755)
1007 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1008 %{_datadir}/manual/mod/mod_mmap_static.html
1011 %defattr(644,root,root,755)
1012 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1013 %{_datadir}/manual/mod/mod_imap.html
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) %{_libexecdir}/mod_info.so
1018 %{_datadir}/manual/mod/mod_info.html
1021 %defattr(644,root,root,755)
1022 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1023 %attr(755,root,root) %{_libexecdir}/libproxy.so
1024 %{_datadir}/manual/mod/mod_proxy.html
1025 %dir %attr(750,http,http) /var/cache/apache
1028 %defattr(644,root,root,755)
1029 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1030 %{_datadir}/manual/mod/mod_rewrite.html
1033 %defattr(644,root,root,755)
1034 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1035 %attr(755,root,root) %{_libexecdir}/mod_status.so
1036 %{_datadir}/manual/mod/mod_status.html
1038 %files mod_usertrack
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1041 %{_datadir}/manual/mod/mod_usertrack.html
1043 %files mod_unique_id
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1046 %{_datadir}/manual/mod/mod_unique_id.html
1048 %files mod_vhost_alias
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1051 %{_datadir}/manual/mod/mod_vhost_alias.html
1052 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf