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(de): Netzwerkwesen/Server
13 Group(pl): Sieciowe/Serwery
14 Source0: ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
16 Source2: %{name}.logrotate
17 Source3: %{name}-icons.tar.gz
18 Source4: %{name}.sysconfig
19 Source6: %{name}-httpd.conf
20 Source8: %{name}-mod_vhost_alias.conf
21 Source9: %{name}-mod_status.conf
22 Source10: %{name}-mod_proxy.conf
23 Patch0: %{name}-PLD.patch
24 Patch1: %{name}-suexec.patch
25 Patch2: %{name}-htdocs.patch
26 Patch3: %{name}-errordocs.patch
27 Patch4: %{name}-apxs.patch
28 Patch5: %{name}-EAPI.patch
29 Patch6: %{name}-v6-PLD-3.patch.gz
30 Patch7: %{name}-mm_conf.patch
31 Patch8: %{name}-modules_symbols.patch
32 Patch9: %{name}-apxs_force_rm_cp.patch
33 Patch10: %{name}-db3.patch
36 Prereq: /sbin/chkconfig
37 Prereq: /usr/sbin/useradd
38 Prereq: /usr/bin/getgid
41 BuildRequires: mm-devel >= 1.1.3
44 Requires: /etc/mime.types
45 URL: http://www.apache.org/
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Provides: %{name}(EAPI) = %{version}
48 Obsoletes: apache-extra
52 %define _sysconfdir /etc/httpd
53 %define _includedir %{_prefix}/include/apache
54 %define _datadir /home/httpd
55 %define _libexecdir %{_prefix}/lib/apache
58 Apache is a powerful, full-featured, efficient and freely-available
59 Web server. Apache is also the most popular Web server on the
63 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
64 erhältlich und weit verbreitet ist.
67 Apache est un serveur Web puissant, efficace, gratuit et complet.
68 Apache est aussi le serveur Web le plus populaire sur Internet.
71 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
72 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
75 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
79 Summary: Apache suexec wrapper
80 Summary(pl): Suexec wrapper do serwera www Apache
81 Group: Development/Tools
82 Group(de): Entwicklung/Werkzeuge
83 Group(fr): Development/Outils
84 Group(pl): Programowanie/Narzêdzia
85 Requires: %{name}(EAPI) = %{version}
88 The suEXEC feature provides Apache users the ability to run CGI and
89 SSI programs under user IDs different from the user ID of the calling
90 web-server. Normally, when a CGI or SSI program executes, it runs as
91 the same user who is running the web server.
93 %description -l pl suexec
94 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
95 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
96 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
99 Summary: Module development tools for the Apache web server
100 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
101 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
102 Group: Networking/Utilities
103 Group(de): Netzwerkwesen/Werkzeuge
104 Group(pl): Sieciowe/Narzêdzia
105 Requires: %{name}(EAPI) = %{version}
106 Provides: %{name}(EAPI)-devel
109 The apache-devel package contains the source code for the Apache Web
110 server and the APXS binary you'll need to build Dynamic Shared Objects
113 %description -l fr devel
114 Le package apache-devel contient le code source pour le serveur Web
115 Apache et le binaire APXS dont vous aurez besoin pour construire des
116 Objets Dynamiques Partages (DSOs) pour Apache.
118 %description -l pl devel
119 Pliki nag³ówkowe dla serwera WWW Apache.
122 Summary: Apache module for run CGI whenever a file of a certain type is requested
123 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
124 Group: Networking/Daemons
125 Group(de): Netzwerkwesen/Server
126 Group(pl): Sieciowe/Serwery
127 Prereq: %{_sbindir}/apxs
128 Requires: %{name}(EAPI) = %{version}
130 %description mod_actions
131 This package contains mod_actions module. This module lets you run CGI
132 scripts whenever a file of a certain type is requested. This makes it
133 much easier to execute scripts that process files.
135 %description -l pl mod_actions
136 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
137 ¿±danie pobrania pliku okre¶lonego typu.
139 %package mod_auth_anon
140 Summary: Apache module with "anonymous" user access authentication
141 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
142 Group: Networking/Daemons
143 Group(de): Netzwerkwesen/Server
144 Group(pl): Sieciowe/Serwery
145 Prereq: %{_sbindir}/apxs
146 Requires: %{name}(EAPI) = %{version}
148 %description mod_auth_anon
149 This package contains mod_auth_anon module. It allows "anonymous" user
150 access to authenticated areas. It does access control in a manner
151 similar to anonymous-ftp sites; i.e. have a 'magic' user id
152 'anonymous' and the email address as a password. These email addresses
153 can be logged. Combined with other (database) access control methods,
154 this allows for effective user tracking and customization according to
155 a user profile while still keeping the site open for 'unregistered'
156 users. One advantage of using Auth-based user tracking is that, unlike
157 magic-cookies and funny URL pre/postfixes, it is completely browser
158 independent and it allows users to share URLs.
160 %description -l pl mod_auth_anon
161 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
162 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
163 postaci adresu pocztowego u¿ytkownika).
166 Summary: Apache module - authentication variables for arbitrary directives
167 Summary(pl): Modu³ apache do definiowania zmiennych
168 Group: Networking/Daemons
169 Group(de): Netzwerkwesen/Server
170 Group(pl): Sieciowe/Serwery
171 Prereq: %{_sbindir}/apxs
172 Requires: %{name}(EAPI) = %{version}
174 %description mod_define
175 It provides the definition variables for arbitrary directives, i.e.
176 variables which can be expanded on any(!) directive line.
178 %description -l pl mod_define
179 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
182 Summary: Apache user authentication module using MD5 Digest Authentication
183 Summary(pl): Modu³ apache do autoryzacji MD5
184 Group: Networking/Daemons
185 Group(de): Netzwerkwesen/Server
186 Group(pl): Sieciowe/Serwery
187 Prereq: %{_sbindir}/apxs
188 Requires: %{name}(EAPI) = %{version}
190 %description mod_digest
191 This package contains mod_digest module. It provides user
192 authentication using MD5 Digest Authentication.
194 %description -l pl mod_digest
195 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
199 Summary: Apache module for "trailing slash" redirects and serving directory index files
200 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
201 Group: Networking/Daemons
202 Group(de): Netzwerkwesen/Server
203 Group(pl): Sieciowe/Serwery
204 Prereq: %{_sbindir}/apxs
205 Requires: %{name}(EAPI) = %{version}
208 This package contains mod_dir which provides "trailing slash"
209 redirects and serving directory index files.
211 %description -l pl mod_dir
212 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
215 Summary: Apache module allows for the customization of HTTP response headers
216 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
217 Group: Networking/Daemons
218 Group(de): Netzwerkwesen/Server
219 Group(pl): Sieciowe/Serwery
220 Prereq: %{_sbindir}/apxs
221 Requires: %{name}(EAPI) = %{version}
223 %description mod_headers
224 This package contains mod_headers module. The module allows for the
225 customization of HTTP response headers. Headers can be merged,
228 %description -l pl mod_headers
229 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
230 wysy³anych do przegl±darki.
232 %package mod_mmap_static
233 Summary: Apache module for mmap()ing statically configured list files
234 Summary(pl): Modu³ s³u¿±cy do mmap()owania plików.
235 Group: Networking/Daemons
236 Group(de): Netzwerkwesen/Server
237 Group(pl): Sieciowe/Serwery
238 Prereq: %{_sbindir}/apxs
239 Requires: %{name}(EAPI) = %{version}
241 %description mod_mmap_static
242 This package contains mod_mmap_static module. It provides mmap()ing of
243 a statically configured list of frequently requested but not changed
246 %description -l pl mod_mmap_static
247 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
248 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
251 Summary: Apache module with imap-file handler
252 Summary(pl): Modu³ z obs³ug± imap-file
253 Group: Networking/Daemons
254 Group(de): Netzwerkwesen/Server
255 Group(pl): Sieciowe/Serwery
256 Prereq: %{_sbindir}/apxs
257 Requires: %{name}(EAPI) = %{version}
259 %description mod_imap
260 This package contains mod_imap module. It provides for .map files,
261 replacing the functionality of the imagemap CGI program. Any directory
262 or document type configured to use the handler imap-file.
264 %description -l pl mod_imap
265 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
268 Summary: Apache module with comprehensive overview of the server configuration
269 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
270 Group: Networking/Daemons
271 Group(de): Netzwerkwesen/Server
272 Group(pl): Sieciowe/Serwery
273 Prereq: %{_sbindir}/apxs
274 Requires: %{name}(EAPI) = %{version}
276 %description mod_info
277 This package contains mod_info module. It provides a comprehensive
278 overview of the server configuration including all installed modules
279 and directives in the configuration files.
281 %description -l pl mod_info
282 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
286 Summary: Apache module with Web proxy
287 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
288 Group: Networking/Daemons
289 Group(de): Netzwerkwesen/Server
290 Group(pl): Sieciowe/Serwery
291 Prereq: %{_sbindir}/apxs
292 Requires: %{name}(EAPI) = %{version}
294 %description mod_proxy
295 This package contains module with implementation a proxy/cache for
296 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
297 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
298 other proxy modules for these and other protocols.
300 %description -l pl mod_proxy
301 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
302 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
306 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
307 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
308 Group: Networking/Daemons
309 Group(de): Netzwerkwesen/Server
310 Group(pl): Sieciowe/Serwery
311 Prereq: %{_sbindir}/apxs
312 Requires: %{name}(EAPI) = %{version}
314 %description mod_rewrite
315 This package contains It provides a rule-based rewriting engine to
316 rewrite requested URLs on the fly.
318 %description -l pl mod_rewrite
319 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
322 Summary: Server status report module for apache
323 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
324 Group: Networking/Daemons
325 Group(de): Netzwerkwesen/Server
326 Group(pl): Sieciowe/Serwery
327 Prereq: %{_sbindir}/apxs
328 Requires: %{name}(EAPI) = %{version}
330 %description mod_status
331 The Status module allows a server administrator to find out how well
332 their server is performing. A HTML page is presented that gives the
333 current server statistics in an easily readable form. If required this
334 page can be made to automatically refresh (given a compatible
337 %description -l pl mod_status
338 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
339 pracy serwera apache (w postaci strony HTML).
341 %package mod_usertrack
342 Summary: Apache module for user tracking using cookies
343 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
344 Group: Networking/Daemons
345 Group(de): Netzwerkwesen/Server
346 Group(pl): Sieciowe/Serwery
347 Prereq: %{_sbindir}/apxs
348 Requires: %{name}(EAPI) = %{version}
350 %description mod_usertrack
351 This package contains the user tracking module which did its own
352 logging using CookieLog directory. This module allow multiple log
355 %description -l pl mod_usertrack
356 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
358 %package mod_vhost_alias
359 Summary: Apache module for dynamically configured mass virtual hosting
360 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
361 Group: Networking/Daemons
362 Group(de): Netzwerkwesen/Server
363 Group(pl): Sieciowe/Serwery
364 Prereq: %{_sbindir}/apxs
365 Requires: %{name}(EAPI) = %{version}
367 %description mod_vhost_alias
368 This package contains the mod_vhost_alias. It provides support for
369 dynamically configured mass virtual hosting.
371 %description -l pl mod_vhost_alias
372 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
375 %package mod_unique_id
376 Summary: Apache module which provides a magic token for each request
377 Group: Networking/Daemons
378 Group(de): Netzwerkwesen/Server
379 Group(pl): Sieciowe/Serwery
380 Prereq: %{_sbindir}/apxs
381 Requires: %{name}(EAPI) = %{version}
383 %description mod_unique_id
384 This package contains the mod_unique_id. This module provides a magic
385 token for each request which is guaranteed to be unique across "all"
386 requests under very specific conditions. The unique identifier is even
387 unique across multiple machines in a properly configured cluster of
388 machines. The environment variable UNIQUE_ID is set to the identifier
389 for each request. Unique identifiers are useful for various reasons
390 which are beyond the scope of this document.
393 Summary: Apache module which provides ....
394 Group: Networking/Daemons
395 Group(de): Netzwerkwesen/Server
396 Group(pl): Sieciowe/Serwery
397 Prereq: %{_sbindir}/apxs
398 Requires: %{name}(EAPI) = %{version}
400 %description mod_expires
403 %setup -q -n apache_%{version} -a3
417 OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
418 LDFLAGS="%{!?debug:-s}" \
420 --prefix=%{_prefix} \
421 --sysconfdir=%{_sysconfdir} \
422 --includedir=%{_includedir} \
423 --sbindir=%{_sbindir} \
424 --libexecdir=%{_libexecdir} \
425 --datadir=%{_datadir} \
426 --localstatedir=/var \
427 --runtimedir=/var/run \
428 --logfiledir=/var/log/httpd \
430 --without-confadjust \
431 --enable-module=all \
432 --enable-shared=max \
433 --proxycachedir=/var/cache/apache \
434 --with-perl=%{_bindir}/perl \
436 --suexec-caller=http \
437 --suexec-uidmin=500 \
438 --suexec-gidmin=500 \
439 --suexec-docroot=%{_datadir} \
440 --disable-rule=WANTHSREGEX \
446 rm -rf $RPM_BUILD_ROOT
447 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
448 $RPM_BUILD_ROOT%{_datadir}/errordocs \
449 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
451 %{__make} install-quiet root="$RPM_BUILD_ROOT"
453 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
455 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
456 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
457 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
459 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
461 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
463 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
465 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
466 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
467 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
469 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
471 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
473 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
474 ABOUT_APACHE src/CHANGES KEYS README
477 if [ -n "`getgid http`" ]; then
478 if [ "`getgid http`" != "51" ]; then
479 echo "Warning:group http haven't gid=51. Corect this before install apache" 1>&2
483 /usr/sbin/groupadd -g 51 -r -f http
484 if [ -f /var/db/group.db ]; then
485 /usr/bin/update-db 1>&2
488 if [ -n "`id -u http 2>/dev/null`" ]; then
489 if [ "`id -u http`" != "51" ]; then
490 echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
494 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
495 if [ -f /var/db/passwd.db ]; then
496 /usr/bin/update-db 1>&2
501 /sbin/chkconfig --add httpd
502 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
503 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
504 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
505 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
506 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
507 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
508 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
509 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
510 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
511 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
512 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
513 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
514 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
515 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
516 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
517 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
518 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
519 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
520 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
521 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
523 touch /var/log/httpd/{access,error,agent,referer}_log
524 if [ -f /var/lock/subsys/httpd ]; then
525 /etc/rc.d/init.d/httpd restart 1>&2
527 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
531 if [ "$1" = "0" ]; then
532 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
533 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
534 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
535 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
536 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
537 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
538 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
539 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
540 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
541 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
542 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
543 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
544 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
545 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
546 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
547 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
548 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
549 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
550 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
551 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
552 if [ -f /var/lock/subsys/httpd ]; then
553 /etc/rc.d/init.d/httpd stop 1>&2
555 /sbin/chkconfig --del httpd
559 if [ "$1" = "0" ]; then
560 /usr/sbin/userdel http
561 if [ -f /var/db/passwd.db ]; then
564 /usr/sbin/groupdel http
565 if [ -f /var/db/group.db ]; then
571 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
572 if [ -f /var/lock/subsys/httpd ]; then
573 /etc/rc.d/init.d/httpd restart 1>&2
575 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
579 if [ "$1" = "0" ]; then
580 %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
581 if [ -f /var/lock/subsys/httpd ]; then
582 /etc/rc.d/init.d/httpd restart 1>&2
587 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
588 if [ -f /var/lock/subsys/httpd ]; then
589 /etc/rc.d/init.d/httpd restart 1>&2
591 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
595 if [ "$1" = "0" ]; then
596 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
597 if [ -f /var/lock/subsys/httpd ]; then
598 /etc/rc.d/init.d/httpd restart 1>&2
603 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
604 if [ -f /var/lock/subsys/httpd ]; then
605 /etc/rc.d/init.d/httpd restart 1>&2
607 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
611 if [ "$1" = "0" ]; then
612 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
613 if [ -f /var/lock/subsys/httpd ]; then
614 /etc/rc.d/init.d/httpd restart 1>&2
619 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
620 if [ -f /var/lock/subsys/httpd ]; then
621 /etc/rc.d/init.d/httpd restart 1>&2
623 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
627 if [ "$1" = "0" ]; then
628 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
629 if [ -f /var/lock/subsys/httpd ]; then
630 /etc/rc.d/init.d/httpd restart 1>&2
635 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
636 if [ -f /var/lock/subsys/httpd ]; then
637 /etc/rc.d/init.d/httpd restart 1>&2
639 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
643 if [ "$1" = "0" ]; then
644 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
645 if [ -f /var/lock/subsys/httpd ]; then
646 /etc/rc.d/init.d/httpd restart 1>&2
651 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
652 if [ -f /var/lock/subsys/httpd ]; then
653 /etc/rc.d/init.d/httpd restart 1>&2
655 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
659 if [ "$1" = "0" ]; then
660 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
661 if [ -f /var/lock/subsys/httpd ]; then
662 /etc/rc.d/init.d/httpd restart 1>&2
667 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
668 if [ -f /var/lock/subsys/httpd ]; then
669 /etc/rc.d/init.d/httpd restart 1>&2
671 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
675 if [ "$1" = "0" ]; then
676 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
677 if [ -f /var/lock/subsys/httpd ]; then
678 /etc/rc.d/init.d/httpd restart 1>&2
682 %post mod_mmap_static
683 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
684 if [ -f /var/lock/subsys/httpd ]; then
685 /etc/rc.d/init.d/httpd restart 1>&2
687 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
690 %preun mod_mmap_static
691 if [ "$1" = "0" ]; then
692 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
693 if [ -f /var/lock/subsys/httpd ]; then
694 /etc/rc.d/init.d/httpd restart 1>&2
699 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
700 if [ -f /var/lock/subsys/httpd ]; then
701 /etc/rc.d/init.d/httpd restart 1>&2
703 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
707 if [ "$1" = "0" ]; then
708 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
709 if [ -f /var/lock/subsys/httpd ]; then
710 /etc/rc.d/init.d/httpd restart 1>&2
715 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
716 if [ -f /var/lock/subsys/httpd ]; then
717 /etc/rc.d/init.d/httpd restart 1>&2
719 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
723 if [ "$1" = "0" ]; then
724 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
725 if [ -f /var/lock/subsys/httpd ]; then
726 /etc/rc.d/init.d/httpd restart 1>&2
731 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
732 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
733 echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
735 if [ -f /var/lock/subsys/httpd ]; then
736 /etc/rc.d/init.d/httpd restart 1>&2
738 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
742 if [ "$1" = "0" ]; then
743 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
744 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
745 /etc/httpd/httpd.conf.tmp
746 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
747 if [ -f /var/lock/subsys/httpd ]; then
748 /etc/rc.d/init.d/httpd restart 1>&2
753 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
754 if [ -f /var/lock/subsys/httpd ]; then
755 /etc/rc.d/init.d/httpd restart 1>&2
757 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
761 if [ "$1" = "0" ]; then
762 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
763 if [ -f /var/lock/subsys/httpd ]; then
764 /etc/rc.d/init.d/httpd restart 1>&2
769 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
770 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
771 echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
773 if [ -f /var/lock/subsys/httpd ]; then
774 /etc/rc.d/init.d/httpd restart 1>&2
776 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
780 if [ "$1" = "0" ]; then
781 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
782 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
783 /etc/httpd/httpd.conf.tmp
784 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
785 if [ -f /var/lock/subsys/httpd ]; then
786 /etc/rc.d/init.d/httpd restart 1>&2
791 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
792 if [ -f /var/lock/subsys/httpd ]; then
793 /etc/rc.d/init.d/httpd restart 1>&2
795 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
799 if [ "$1" = "0" ]; then
800 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
801 if [ -f /var/lock/subsys/httpd ]; then
802 /etc/rc.d/init.d/httpd restart 1>&2
807 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
808 if [ -f /var/lock/subsys/httpd ]; then
809 /etc/rc.d/init.d/httpd restart 1>&2
811 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
815 if [ "$1" = "0" ]; then
816 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
817 if [ -f /var/lock/subsys/httpd ]; then
818 /etc/rc.d/init.d/httpd restart 1>&2
822 %post mod_vhost_alias
823 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
824 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
825 echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
827 if [ -f /var/lock/subsys/httpd ]; then
828 /etc/rc.d/init.d/httpd restart 1>&2
830 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
833 %preun mod_vhost_alias
834 if [ "$1" = "0" ]; then
835 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
836 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
837 /etc/httpd/httpd.conf.tmp
838 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
839 if [ -f /var/lock/subsys/httpd ]; then
840 /etc/rc.d/init.d/httpd restart 1>&2
845 rm -rf $RPM_BUILD_ROOT
848 %defattr(644,root,root,755)
849 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
852 %dir %{_datadir}/manual
853 %dir %{_datadir}/manual/images/
854 %{_datadir}/manual/images/sub.gif
855 %{_datadir}/manual/images/index.gif
856 %{_datadir}/manual/images/home.gif
857 %{_datadir}/manual/misc
858 %dir %{_datadir}/manual/search
859 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
860 %{_datadir}/manual/vhosts
861 %{_datadir}/manual/LICENSE
862 %{_datadir}/manual/bind.html
863 %{_datadir}/manual/cgi_path.html
864 %{_datadir}/manual/content-negotiation.html
865 %{_datadir}/manual/custom-error.html
866 %{_datadir}/manual/dns-caveats.html
867 %{_datadir}/manual/dso.html
868 %{_datadir}/manual/env.html
869 %{_datadir}/manual/footer.html
870 %{_datadir}/manual/handler.html
871 %{_datadir}/manual/header.html
872 %{_datadir}/manual/index.html
873 %{_datadir}/manual/install.html
874 %{_datadir}/manual/invoking.html
875 %{_datadir}/manual/keepalive.html
876 %{_datadir}/manual/location.html
877 %{_datadir}/manual/multilogs.html
878 %{_datadir}/manual/new_features_1_3.html
879 %{_datadir}/manual/process-model.html
880 %{_datadir}/manual/sections.html
881 %{_datadir}/manual/sourcereorg.html
882 %{_datadir}/manual/suexec.html
883 %{_datadir}/manual/upgrading_to_1_3.html
884 %dir %{_datadir}/manual/mod
885 %{_datadir}/manual/mod/core.html
886 %{_datadir}/manual/mod/directive-dict.html
887 %{_datadir}/manual/mod/directives.html
888 %{_datadir}/manual/mod/footer.html
889 %{_datadir}/manual/mod/header.html
890 %{_datadir}/manual/mod/index.html
891 %{_datadir}/manual/mod/mod_access.html
892 %{_datadir}/manual/mod/mod_alias.html
893 %{_datadir}/manual/mod/mod_asis.html
894 %{_datadir}/manual/mod/mod_auth.html
895 %{_datadir}/manual/mod/mod_auth_db.html
896 %{_datadir}/manual/mod/mod_auth_dbm.html
897 %{_datadir}/manual/mod/mod_autoindex.html
898 %{_datadir}/manual/mod/mod_cgi.html
899 %{_datadir}/manual/mod/mod_cookies.html
900 %{_datadir}/manual/mod/mod_env.html
901 %{_datadir}/manual/mod/mod_include.html
902 %{_datadir}/manual/mod/mod_log_agent.html
903 %{_datadir}/manual/mod/mod_log_config.html
904 %{_datadir}/manual/mod/mod_log_referer.html
905 %{_datadir}/manual/mod/mod_mime.html
906 %{_datadir}/manual/mod/mod_mime_magic.html
907 %{_datadir}/manual/mod/mod_negotiation.html
908 %{_datadir}/manual/mod/mod_setenvif.html
909 %{_datadir}/manual/mod/mod_speling.html
910 %{_datadir}/manual/mod/mod_userdir.html
912 %attr(754,root,root) /etc/rc.d/init.d/httpd
914 %attr(750,root,root) %dir %{_sysconfdir}
915 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
916 %attr(640,root,root) %{_sysconfdir}/magic
918 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
919 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
921 %attr(755,root,root) %dir %{_datadir}/html
922 %config(noreplace) %{_datadir}/html/index.html
923 %lang(ca) %{_datadir}/html/index.html.ca
924 %lang(cz) %{_datadir}/html/index.html.cz
925 %lang(de) %{_datadir}/html/index.html.de
926 %lang(dk) %{_datadir}/html/index.html.dk
927 %lang(ee) %{_datadir}/html/index.html.ee
928 %lang(en) %{_datadir}/html/index.html.en
929 %lang(es) %{_datadir}/html/index.html.es
930 %lang(fr) %{_datadir}/html/index.html.fr
931 %lang(it) %{_datadir}/html/index.html.it
932 %lang(lu) %{_datadir}/html/index.html.lu
933 %lang(nl) %{_datadir}/html/index.html.nl
934 %lang(pt) %{_datadir}/html/index.html.pt
935 %lang(se) %{_datadir}/html/index.html.se
937 %{_datadir}/html/*.gif
938 %{_datadir}/errordocs
939 %dir %{_datadir}/icons
940 %{_datadir}/icons/*.gif
941 %dir %{_datadir}/icons/small
942 %{_datadir}/icons/small/*.gif
943 %attr(755,root,root) %{_datadir}/cgi-bin
946 %attr(755,root,root) %{_libexecdir}/mod_access.so
947 %attr(755,root,root) %{_libexecdir}/mod_alias.so
948 %attr(755,root,root) %{_libexecdir}/mod_asis.so
949 %attr(755,root,root) %{_libexecdir}/mod_auth.so
950 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
951 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
952 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
953 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
954 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
955 %attr(755,root,root) %{_libexecdir}/mod_env.so
956 %attr(755,root,root) %{_libexecdir}/mod_include.so
957 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
958 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
959 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
960 %attr(755,root,root) %{_libexecdir}/mod_mime.so
961 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
962 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
963 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
964 %attr(755,root,root) %{_libexecdir}/mod_speling.so
965 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
967 %attr(755,root,root) %{_bindir}/dbmmanage
968 %attr(755,root,root) %{_bindir}/htdigest
969 %attr(755,root,root) %{_bindir}/htpasswd
971 %attr(755,root,root) %{_sbindir}/ab
972 %attr(755,root,root) %{_sbindir}/apachectl
973 %attr(755,root,root) %{_sbindir}/apxs
974 %attr(755,root,root) %{_sbindir}/httpd
975 %attr(755,root,root) %{_sbindir}/logresolve
976 %attr(755,root,root) %{_sbindir}/rotatelogs
978 %dir %attr(750,http,http) /var/lib/apache
982 %attr(750,root,root) %dir /var/log/httpd
983 %attr(750,root,root) %dir /var/log/archiv/httpd
984 %attr(640,root,root) %ghost /var/log/httpd/*
987 %defattr(644,root,root,755)
988 %attr(4755,root,root) %{_sbindir}/suexec
991 %defattr(644,root,root,755)
995 %defattr(644,root,root,755)
996 %attr(755,root,root) %{_libexecdir}/mod_actions.so
997 %{_datadir}/manual/mod/mod_actions.html
1000 %defattr(644,root,root,755)
1001 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1002 %{_datadir}/manual/mod/mod_auth_anon.html
1005 %defattr(644,root,root,755)
1006 %attr(755,root,root) %{_libexecdir}/mod_define.so
1007 %{_datadir}/manual/mod/mod_define.html
1010 %defattr(644,root,root,755)
1011 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1012 %{_datadir}/manual/mod/mod_digest.html
1015 %defattr(644,root,root,755)
1016 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1017 %{_datadir}/manual/mod/mod_dir.html
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1022 %{_datadir}/manual/mod/mod_expires.html
1025 %defattr(644,root,root,755)
1026 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1027 %{_datadir}/manual/mod/mod_headers.html
1029 %files mod_mmap_static
1030 %defattr(644,root,root,755)
1031 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1032 %{_datadir}/manual/mod/mod_mmap_static.html
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1037 %{_datadir}/manual/mod/mod_imap.html
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libexecdir}/mod_info.so
1042 %{_datadir}/manual/mod/mod_info.html
1045 %defattr(644,root,root,755)
1046 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1047 %attr(755,root,root) %{_libexecdir}/libproxy.so
1048 %{_datadir}/manual/mod/mod_proxy.html
1049 %dir %attr(750,http,http) /var/cache/apache
1052 %defattr(644,root,root,755)
1053 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1054 %{_datadir}/manual/mod/mod_rewrite.html
1057 %defattr(644,root,root,755)
1058 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1059 %attr(755,root,root) %{_libexecdir}/mod_status.so
1060 %{_datadir}/manual/mod/mod_status.html
1062 %files mod_usertrack
1063 %defattr(644,root,root,755)
1064 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1065 %{_datadir}/manual/mod/mod_usertrack.html
1067 %files mod_unique_id
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1070 %{_datadir}/manual/mod/mod_unique_id.html
1072 %files mod_vhost_alias
1073 %defattr(644,root,root,755)
1074 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1075 %{_datadir}/manual/mod/mod_vhost_alias.html
1076 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf