3 # mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
5 %include /usr/lib/rpm/macros.perl
6 Summary: The most widely used Web server on the Internet
7 Summary(de): Leading World Wide Web-Server
8 Summary(fr): Le serveur web le plus utilise sur Internet
9 Summary(pl): Serwer WWW (World Wide Web)
10 Summary(tr): Lider WWW tarayýcý
15 Group: Networking/Daemons
16 Group(de): Netzwerkwesen/Server
17 Group(pl): Sieciowe/Serwery
18 Source0: ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
20 Source2: %{name}.logrotate
21 Source3: %{name}-icons.tar.gz
22 Source4: %{name}.sysconfig
23 Source6: %{name}-httpd.conf
24 Source8: %{name}-mod_vhost_alias.conf
25 Source9: %{name}-mod_status.conf
26 Source10: %{name}-mod_proxy.conf
27 Patch0: %{name}-PLD.patch
28 Patch1: %{name}-suexec.patch
29 Patch2: %{name}-htdocs.patch
30 Patch3: %{name}-errordocs.patch
31 Patch4: %{name}-apxs.patch
32 Patch5: %{name}-EAPI.patch
33 Patch6: %{name}-v6-PLD-3.patch.gz
34 Patch7: %{name}-mm_conf.patch
35 Patch8: %{name}-modules_symbols.patch
36 Patch9: %{name}-apxs_force_rm_cp.patch
37 Patch10: %{name}-db3.patch
38 Patch11: %{name}-lookup_map_ldap.patch
41 Prereq: /sbin/chkconfig
42 Prereq: /usr/sbin/useradd
43 Prereq: /usr/bin/getgid
46 BuildRequires: db2-devel
47 BuildRequires: mm-devel >= 1.1.3
48 %{?mod_rewrite_ldap:BuildRequires: openldap-devel}
51 Requires: /etc/mime.types
52 URL: http://www.apache.org/
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Provides: %{name}(EAPI) = %{version}
55 Obsoletes: apache-extra
59 %define _sysconfdir /etc/httpd
60 %define _includedir %{_prefix}/include/apache
61 %define _datadir /home/httpd
62 %define _libexecdir %{_prefix}/lib/apache
65 Apache is a powerful, full-featured, efficient and freely-available
66 Web server. Apache is also the most popular Web server on the
70 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
71 erhältlich und weit verbreitet ist.
74 Apache est un serveur Web puissant, efficace, gratuit et complet.
75 Apache est aussi le serveur Web le plus populaire sur Internet.
78 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
79 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
82 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
86 Summary: Apache suexec wrapper
87 Summary(pl): Suexec wrapper do serwera www Apache
88 Group: Development/Tools
89 Group(de): Entwicklung/Werkzeuge
90 Group(fr): Development/Outils
91 Group(pl): Programowanie/Narzêdzia
92 Requires: %{name}(EAPI) = %{version}
95 The suEXEC feature provides Apache users the ability to run CGI and
96 SSI programs under user IDs different from the user ID of the calling
97 web-server. Normally, when a CGI or SSI program executes, it runs as
98 the same user who is running the web server.
100 %description -l pl suexec
101 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
102 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
103 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
106 Summary: Module development tools for the Apache web server
107 Summary(fr): Les outils de developpement de modules pour le serveur web Apache
108 Summary(pl): Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
109 Group: Networking/Utilities
110 Group(de): Netzwerkwesen/Werkzeuge
111 Group(pl): Sieciowe/Narzêdzia
112 Requires: %{name}(EAPI) = %{version}
113 Provides: %{name}(EAPI)-devel
116 The apache-devel package contains the source code for the Apache Web
117 server and the APXS binary you'll need to build Dynamic Shared Objects
120 %description -l fr devel
121 Le package apache-devel contient le code source pour le serveur Web
122 Apache et le binaire APXS dont vous aurez besoin pour construire des
123 Objets Dynamiques Partages (DSOs) pour Apache.
125 %description -l pl devel
126 Pliki nag³ówkowe dla serwera WWW Apache.
129 Summary: Apache module for run CGI whenever a file of a certain type is requested
130 Summary(pl): Modu³ dla apache do uruchamiania skryptów cgi
131 Group: Networking/Daemons
132 Group(de): Netzwerkwesen/Server
133 Group(pl): Sieciowe/Serwery
134 Prereq: %{_sbindir}/apxs
135 Requires: %{name}(EAPI) = %{version}
137 %description mod_actions
138 This package contains mod_actions module. This module lets you run CGI
139 scripts whenever a file of a certain type is requested. This makes it
140 much easier to execute scripts that process files.
142 %description -l pl mod_actions
143 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
144 ¿±danie pobrania pliku okre¶lonego typu.
147 Summary: Apache module with user authentication using textual files
148 Group: Networking/Daemons
149 Group(de): Netzwerkwesen/Server
150 Group(pl): Sieciowe/Serwery
151 Prereq: %{_sbindir}/apxs
152 Requires: %{name}(EAPI) = %{version}
154 %description mod_auth
155 This package contains mod_auth module. It provides for user
156 authentication using textual files.
158 %package mod_auth_anon
159 Summary: Apache module with "anonymous" user access authentication
160 Summary(pl): Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
161 Group: Networking/Daemons
162 Group(de): Netzwerkwesen/Server
163 Group(pl): Sieciowe/Serwery
164 Prereq: %{_sbindir}/apxs
165 Requires: %{name}(EAPI) = %{version}
167 %description mod_auth_anon
168 This package contains mod_auth_anon module. It allows "anonymous" user
169 access to authenticated areas. It does access control in a manner
170 similar to anonymous-ftp sites; i.e. have a 'magic' user id
171 'anonymous' and the email address as a password. These email addresses
172 can be logged. Combined with other (database) access control methods,
173 this allows for effective user tracking and customization according to
174 a user profile while still keeping the site open for 'unregistered'
175 users. One advantage of using Auth-based user tracking is that, unlike
176 magic-cookies and funny URL pre/postfixes, it is completely browser
177 independent and it allows users to share URLs.
179 %description -l pl mod_auth_anon
180 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
181 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
182 postaci adresu pocztowego u¿ytkownika).
185 Summary: Apache module with user authentication which uses Berkeley DB files
186 Summary(pl): Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
187 Group: Networking/Daemons
188 Group(de): Netzwerkwesen/Server
189 Group(pl): Sieciowe/Serwery
190 Prereq: %{_sbindir}/apxs
191 Requires: %{name}(EAPI) = %{version}
193 %description mod_auth_db
194 This package contains mod_auth_db module. It provides for user
195 authentication using Berkeley DB files. It is an alternative to DBM
196 files for those systems which support DB and not DBM. It is only
197 available in Apache 1.1 and later.
199 %description -l pl mod_auth_db
200 Ten modu³ zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
201 ale jako plików danych u¿ywa Berkeley DB.
204 Summary: Apache module - authentication variables for arbitrary directives
205 Summary(pl): Modu³ apache do definiowania zmiennych
206 Group: Networking/Daemons
207 Group(de): Netzwerkwesen/Server
208 Group(pl): Sieciowe/Serwery
209 Prereq: %{_sbindir}/apxs
210 Requires: %{name}(EAPI) = %{version}
212 %description mod_define
213 It provides the definition variables for arbitrary directives, i.e.
214 variables which can be expanded on any(!) directive line.
216 %description -l pl mod_define
217 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
220 Summary: Apache user authentication module using MD5 Digest Authentication
221 Summary(pl): Modu³ apache do autoryzacji MD5
222 Group: Networking/Daemons
223 Group(de): Netzwerkwesen/Server
224 Group(pl): Sieciowe/Serwery
225 Prereq: %{_sbindir}/apxs
226 Requires: %{name}(EAPI) = %{version}
228 %description mod_digest
229 This package contains mod_digest module. It provides user
230 authentication using MD5 Digest Authentication.
232 %description -l pl mod_digest
233 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
237 Summary: Apache module for "trailing slash" redirects and serving directory index files
238 Summary(pl): Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
239 Group: Networking/Daemons
240 Group(de): Netzwerkwesen/Server
241 Group(pl): Sieciowe/Serwery
242 Prereq: %{_sbindir}/apxs
243 Requires: %{name}(EAPI) = %{version}
246 This package contains mod_dir which provides "trailing slash"
247 redirects and serving directory index files.
249 %description -l pl mod_dir
250 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
253 Summary: Apache module allows for the customization of HTTP response headers
254 Summary(pl): Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
255 Group: Networking/Daemons
256 Group(de): Netzwerkwesen/Server
257 Group(pl): Sieciowe/Serwery
258 Prereq: %{_sbindir}/apxs
259 Requires: %{name}(EAPI) = %{version}
261 %description mod_headers
262 This package contains mod_headers module. The module allows for the
263 customization of HTTP response headers. Headers can be merged,
266 %description -l pl mod_headers
267 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
268 wysy³anych do przegl±darki.
270 %package mod_mmap_static
271 Summary: Apache module for mmap()ing statically configured list files
272 Summary(pl): Modu³ s³u¿±cy do mmap()owania plików.
273 Group: Networking/Daemons
274 Group(de): Netzwerkwesen/Server
275 Group(pl): Sieciowe/Serwery
276 Prereq: %{_sbindir}/apxs
277 Requires: %{name}(EAPI) = %{version}
279 %description mod_mmap_static
280 This package contains mod_mmap_static module. It provides mmap()ing of
281 a statically configured list of frequently requested but not changed
284 %description -l pl mod_mmap_static
285 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
286 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
289 Summary: Apache module with imap-file handler
290 Summary(pl): Modu³ z obs³ug± imap-file
291 Group: Networking/Daemons
292 Group(de): Netzwerkwesen/Server
293 Group(pl): Sieciowe/Serwery
294 Prereq: %{_sbindir}/apxs
295 Requires: %{name}(EAPI) = %{version}
297 %description mod_imap
298 This package contains mod_imap module. It provides for .map files,
299 replacing the functionality of the imagemap CGI program. Any directory
300 or document type configured to use the handler imap-file.
302 %description -l pl mod_imap
303 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
306 Summary: Apache module with comprehensive overview of the server configuration
307 Summary(pl): Modu³ dostarczaj±cy informacji na temat serwera.
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_info
315 This package contains mod_info module. It provides a comprehensive
316 overview of the server configuration including all installed modules
317 and directives in the configuration files.
319 %description -l pl mod_info
320 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
324 Summary: Apache module with Web proxy
325 Summary(pl): Modu³ dodaj±cy obs³ugê serwera proxy
326 Group: Networking/Daemons
327 Group(de): Netzwerkwesen/Server
328 Group(pl): Sieciowe/Serwery
329 Prereq: %{_sbindir}/apxs
330 Requires: %{name}(EAPI) = %{version}
332 %description mod_proxy
333 This package contains module with implementation a proxy/cache for
334 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
335 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
336 other proxy modules for these and other protocols.
338 %description -l pl mod_proxy
339 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
340 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
344 Summary: Apache module with rule-based engine for rewrite requested URLs on the fly
345 Summary(pl): Modu³ do ,,przepisywania'' adresów URL w locie
346 Group: Networking/Daemons
347 Group(de): Netzwerkwesen/Server
348 Group(pl): Sieciowe/Serwery
349 Prereq: %{_sbindir}/apxs
350 Requires: %{name}(EAPI) = %{version}
352 %description mod_rewrite
353 This package contains It provides a rule-based rewriting engine to
354 rewrite requested URLs on the fly.
356 %description -l pl mod_rewrite
357 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
360 Summary: Server status report module for apache
361 Summary(pl): Modu³ dostarczaj±cy informacje statystyczne o serwerze.
362 Group: Networking/Daemons
363 Group(de): Netzwerkwesen/Server
364 Group(pl): Sieciowe/Serwery
365 Prereq: %{_sbindir}/apxs
366 Requires: %{name}(EAPI) = %{version}
368 %description mod_status
369 The Status module allows a server administrator to find out how well
370 their server is performing. A HTML page is presented that gives the
371 current server statistics in an easily readable form. If required this
372 page can be made to automatically refresh (given a compatible
375 %description -l pl mod_status
376 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
377 pracy serwera apache (w postaci strony HTML).
379 %package mod_usertrack
380 Summary: Apache module for user tracking using cookies
381 Summary(pl): Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
382 Group: Networking/Daemons
383 Group(de): Netzwerkwesen/Server
384 Group(pl): Sieciowe/Serwery
385 Prereq: %{_sbindir}/apxs
386 Requires: %{name}(EAPI) = %{version}
388 %description mod_usertrack
389 This package contains the user tracking module which did its own
390 logging using CookieLog directory. This module allow multiple log
393 %description -l pl mod_usertrack
394 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
396 %package mod_vhost_alias
397 Summary: Apache module for dynamically configured mass virtual hosting
398 Summary(pl): Modu³ dodaj±cy obs³ugê hostów wirtualnych.
399 Group: Networking/Daemons
400 Group(de): Netzwerkwesen/Server
401 Group(pl): Sieciowe/Serwery
402 Prereq: %{_sbindir}/apxs
403 Requires: %{name}(EAPI) = %{version}
405 %description mod_vhost_alias
406 This package contains the mod_vhost_alias. It provides support for
407 dynamically configured mass virtual hosting.
409 %description -l pl mod_vhost_alias
410 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
413 %package mod_unique_id
414 Summary: Apache module which provides a magic token for each request
415 Group: Networking/Daemons
416 Group(de): Netzwerkwesen/Server
417 Group(pl): Sieciowe/Serwery
418 Prereq: %{_sbindir}/apxs
419 Requires: %{name}(EAPI) = %{version}
421 %description mod_unique_id
422 This package contains the mod_unique_id. This module provides a magic
423 token for each request which is guaranteed to be unique across "all"
424 requests under very specific conditions. The unique identifier is even
425 unique across multiple machines in a properly configured cluster of
426 machines. The environment variable UNIQUE_ID is set to the identifier
427 for each request. Unique identifiers are useful for various reasons
428 which are beyond the scope of this document.
431 Summary: Apache module which provides ....
432 Group: Networking/Daemons
433 Group(de): Netzwerkwesen/Server
434 Group(pl): Sieciowe/Serwery
435 Prereq: %{_sbindir}/apxs
436 Requires: %{name}(EAPI) = %{version}
438 %description mod_expires
441 %setup -q -n apache_%{version} -a3
453 %{?mod_rewrite_ldap:%patch11 -p1}
456 OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
458 --prefix=%{_prefix} \
459 --sysconfdir=%{_sysconfdir} \
460 --includedir=%{_includedir} \
461 --sbindir=%{_sbindir} \
462 --libexecdir=%{_libexecdir} \
463 --datadir=%{_datadir} \
464 --localstatedir=/var \
465 --runtimedir=/var/run \
466 --logfiledir=/var/log/httpd \
468 --without-confadjust \
469 --enable-module=all \
470 --disable-module=auth_dbm \
471 --enable-shared=max \
472 --proxycachedir=/var/cache/apache \
473 --with-perl=%{_bindir}/perl \
475 --suexec-caller=http \
476 --suexec-uidmin=500 \
477 --suexec-gidmin=500 \
478 --suexec-docroot=%{_datadir} \
479 --disable-rule=WANTHSREGEX \
482 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
484 rm -f src/modules/standard/mod_auth_db.so
485 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
487 rm -f src/modules/standard/mod_rewrite.so
488 %{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
491 rm -rf $RPM_BUILD_ROOT
492 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
493 $RPM_BUILD_ROOT%{_datadir}/errordocs \
494 $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
496 %{__make} install-quiet root="$RPM_BUILD_ROOT"
498 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
500 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
501 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
502 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
504 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
506 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
508 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
510 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
511 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
512 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
514 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
516 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
519 if [ -n "`getgid http`" ]; then
520 if [ "`getgid http`" != "51" ]; then
521 echo "Warning:group http haven't gid=51. Corect this before install apache" 1>&2
525 /usr/sbin/groupadd -g 51 -r -f http
526 if [ -f /var/db/group.db ]; then
527 /usr/bin/update-db 1>&2
530 if [ -n "`id -u http 2>/dev/null`" ]; then
531 if [ "`id -u http`" != "51" ]; then
532 echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
536 /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
537 if [ -f /var/db/passwd.db ]; then
538 /usr/bin/update-db 1>&2
543 /sbin/chkconfig --add httpd
544 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
545 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
546 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
547 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
548 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
549 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
550 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
551 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
552 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
553 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
554 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
555 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
556 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
557 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
558 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
559 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
560 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
562 touch /var/log/httpd/{access,error,agent,referer}_log
563 if [ -f /var/lock/subsys/httpd ]; then
564 /etc/rc.d/init.d/httpd restart 1>&2
566 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
570 if [ "$1" = "0" ]; then
571 %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
572 %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
573 %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
574 %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
575 %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
576 %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
577 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
578 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
579 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
580 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
581 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
582 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
583 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
584 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
585 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
586 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
587 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
588 if [ -f /var/lock/subsys/httpd ]; then
589 /etc/rc.d/init.d/httpd stop 1>&2
591 /sbin/chkconfig --del httpd
595 if [ "$1" = "0" ]; then
596 /usr/sbin/userdel http
597 if [ -f /var/db/passwd.db ]; then
600 /usr/sbin/groupdel http
601 if [ -f /var/db/group.db ]; then
607 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
608 if [ -f /var/lock/subsys/httpd ]; then
609 /etc/rc.d/init.d/httpd restart 1>&2
611 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
615 if [ "$1" = "0" ]; then
616 %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
617 if [ -f /var/lock/subsys/httpd ]; then
618 /etc/rc.d/init.d/httpd restart 1>&2
623 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
624 if [ -f /var/lock/subsys/httpd ]; then
625 /etc/rc.d/init.d/httpd restart 1>&2
627 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
631 if [ "$1" = "0" ]; then
632 %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
633 if [ -f /var/lock/subsys/httpd ]; then
634 /etc/rc.d/init.d/httpd restart 1>&2
639 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
640 if [ -f /var/lock/subsys/httpd ]; then
641 /etc/rc.d/init.d/httpd restart 1>&2
643 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
647 if [ "$1" = "0" ]; then
648 %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
649 if [ -f /var/lock/subsys/httpd ]; then
650 /etc/rc.d/init.d/httpd restart 1>&2
655 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
656 if [ -f /var/lock/subsys/httpd ]; then
657 /etc/rc.d/init.d/httpd restart 1>&2
659 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
663 if [ "$1" = "0" ]; then
664 %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
665 if [ -f /var/lock/subsys/httpd ]; then
666 /etc/rc.d/init.d/httpd restart 1>&2
671 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
672 if [ -f /var/lock/subsys/httpd ]; then
673 /etc/rc.d/init.d/httpd restart 1>&2
675 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
679 if [ "$1" = "0" ]; then
680 %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
681 if [ -f /var/lock/subsys/httpd ]; then
682 /etc/rc.d/init.d/httpd restart 1>&2
687 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
688 if [ -f /var/lock/subsys/httpd ]; then
689 /etc/rc.d/init.d/httpd restart 1>&2
691 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
695 if [ "$1" = "0" ]; then
696 %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
697 if [ -f /var/lock/subsys/httpd ]; then
698 /etc/rc.d/init.d/httpd restart 1>&2
703 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
704 if [ -f /var/lock/subsys/httpd ]; then
705 /etc/rc.d/init.d/httpd restart 1>&2
707 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
711 if [ "$1" = "0" ]; then
712 %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
713 if [ -f /var/lock/subsys/httpd ]; then
714 /etc/rc.d/init.d/httpd restart 1>&2
719 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
720 if [ -f /var/lock/subsys/httpd ]; then
721 /etc/rc.d/init.d/httpd restart 1>&2
723 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
727 if [ "$1" = "0" ]; then
728 %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
729 if [ -f /var/lock/subsys/httpd ]; then
730 /etc/rc.d/init.d/httpd restart 1>&2
735 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
736 if [ -f /var/lock/subsys/httpd ]; then
737 /etc/rc.d/init.d/httpd restart 1>&2
739 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
743 if [ "$1" = "0" ]; then
744 %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
745 if [ -f /var/lock/subsys/httpd ]; then
746 /etc/rc.d/init.d/httpd restart 1>&2
750 %post mod_mmap_static
751 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
752 if [ -f /var/lock/subsys/httpd ]; then
753 /etc/rc.d/init.d/httpd restart 1>&2
755 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
758 %preun mod_mmap_static
759 if [ "$1" = "0" ]; then
760 %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
761 if [ -f /var/lock/subsys/httpd ]; then
762 /etc/rc.d/init.d/httpd restart 1>&2
767 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
768 if [ -f /var/lock/subsys/httpd ]; then
769 /etc/rc.d/init.d/httpd restart 1>&2
771 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
775 if [ "$1" = "0" ]; then
776 %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
777 if [ -f /var/lock/subsys/httpd ]; then
778 /etc/rc.d/init.d/httpd restart 1>&2
783 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
784 if [ -f /var/lock/subsys/httpd ]; then
785 /etc/rc.d/init.d/httpd restart 1>&2
787 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
791 if [ "$1" = "0" ]; then
792 %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
793 if [ -f /var/lock/subsys/httpd ]; then
794 /etc/rc.d/init.d/httpd restart 1>&2
799 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
800 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
801 echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
803 if [ -f /var/lock/subsys/httpd ]; then
804 /etc/rc.d/init.d/httpd restart 1>&2
806 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
810 if [ "$1" = "0" ]; then
811 %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
812 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
813 /etc/httpd/httpd.conf.tmp
814 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
815 if [ -f /var/lock/subsys/httpd ]; then
816 /etc/rc.d/init.d/httpd restart 1>&2
821 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
822 if [ -f /var/lock/subsys/httpd ]; then
823 /etc/rc.d/init.d/httpd restart 1>&2
825 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
829 if [ "$1" = "0" ]; then
830 %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
831 if [ -f /var/lock/subsys/httpd ]; then
832 /etc/rc.d/init.d/httpd restart 1>&2
837 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
838 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
839 echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
841 if [ -f /var/lock/subsys/httpd ]; then
842 /etc/rc.d/init.d/httpd restart 1>&2
844 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
848 if [ "$1" = "0" ]; then
849 %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
850 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
851 /etc/httpd/httpd.conf.tmp
852 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
853 if [ -f /var/lock/subsys/httpd ]; then
854 /etc/rc.d/init.d/httpd restart 1>&2
859 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
860 if [ -f /var/lock/subsys/httpd ]; then
861 /etc/rc.d/init.d/httpd restart 1>&2
863 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
867 if [ "$1" = "0" ]; then
868 %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
869 if [ -f /var/lock/subsys/httpd ]; then
870 /etc/rc.d/init.d/httpd restart 1>&2
875 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
876 if [ -f /var/lock/subsys/httpd ]; then
877 /etc/rc.d/init.d/httpd restart 1>&2
879 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
883 if [ "$1" = "0" ]; then
884 %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
885 if [ -f /var/lock/subsys/httpd ]; then
886 /etc/rc.d/init.d/httpd restart 1>&2
890 %post mod_vhost_alias
891 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
892 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
893 echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
895 if [ -f /var/lock/subsys/httpd ]; then
896 /etc/rc.d/init.d/httpd restart 1>&2
898 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
901 %preun mod_vhost_alias
902 if [ "$1" = "0" ]; then
903 %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
904 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
905 /etc/httpd/httpd.conf.tmp
906 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
907 if [ -f /var/lock/subsys/httpd ]; then
908 /etc/rc.d/init.d/httpd restart 1>&2
913 rm -rf $RPM_BUILD_ROOT
916 %defattr(644,root,root,755)
917 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
920 %dir %{_datadir}/manual
921 %dir %{_datadir}/manual/images/
922 %{_datadir}/manual/images/sub.gif
923 %{_datadir}/manual/images/index.gif
924 %{_datadir}/manual/images/home.gif
925 %{_datadir}/manual/misc
926 %dir %{_datadir}/manual/search
927 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
928 %{_datadir}/manual/vhosts
929 %{_datadir}/manual/LICENSE
930 %{_datadir}/manual/bind.html
931 %{_datadir}/manual/cgi_path.html
932 %{_datadir}/manual/content-negotiation.html
933 %{_datadir}/manual/custom-error.html
934 %{_datadir}/manual/dns-caveats.html
935 %{_datadir}/manual/dso.html
936 %{_datadir}/manual/env.html
937 %{_datadir}/manual/footer.html
938 %{_datadir}/manual/handler.html
939 %{_datadir}/manual/header.html
940 %{_datadir}/manual/index.html
941 %{_datadir}/manual/install.html
942 %{_datadir}/manual/invoking.html
943 %{_datadir}/manual/keepalive.html
944 %{_datadir}/manual/location.html
945 %{_datadir}/manual/multilogs.html
946 %{_datadir}/manual/new_features_1_3.html
947 %{_datadir}/manual/process-model.html
948 %{_datadir}/manual/sections.html
949 %{_datadir}/manual/sourcereorg.html
950 %{_datadir}/manual/suexec.html
951 %{_datadir}/manual/upgrading_to_1_3.html
952 %dir %{_datadir}/manual/mod
953 %{_datadir}/manual/mod/core.html
954 %{_datadir}/manual/mod/directive-dict.html
955 %{_datadir}/manual/mod/directives.html
956 %{_datadir}/manual/mod/footer.html
957 %{_datadir}/manual/mod/header.html
958 %{_datadir}/manual/mod/index.html
959 %{_datadir}/manual/mod/mod_access.html
960 %{_datadir}/manual/mod/mod_alias.html
961 %{_datadir}/manual/mod/mod_asis.html
962 %{_datadir}/manual/mod/mod_autoindex.html
963 %{_datadir}/manual/mod/mod_cgi.html
964 %{_datadir}/manual/mod/mod_cookies.html
965 %{_datadir}/manual/mod/mod_env.html
966 %{_datadir}/manual/mod/mod_include.html
967 %{_datadir}/manual/mod/mod_log_agent.html
968 %{_datadir}/manual/mod/mod_log_config.html
969 %{_datadir}/manual/mod/mod_log_referer.html
970 %{_datadir}/manual/mod/mod_mime.html
971 %{_datadir}/manual/mod/mod_mime_magic.html
972 %{_datadir}/manual/mod/mod_negotiation.html
973 %{_datadir}/manual/mod/mod_setenvif.html
974 %{_datadir}/manual/mod/mod_speling.html
975 %{_datadir}/manual/mod/mod_userdir.html
977 %attr(754,root,root) /etc/rc.d/init.d/httpd
979 %attr(750,root,root) %dir %{_sysconfdir}
980 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
981 %attr(640,root,root) %{_sysconfdir}/magic
983 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
984 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
986 %attr(755,root,root) %dir %{_datadir}/html
987 %config(noreplace) %{_datadir}/html/index.html
988 %lang(ca) %{_datadir}/html/index.html.ca
989 %lang(cz) %{_datadir}/html/index.html.cz
990 %lang(de) %{_datadir}/html/index.html.de
991 %lang(dk) %{_datadir}/html/index.html.dk
992 %lang(ee) %{_datadir}/html/index.html.ee
993 %lang(en) %{_datadir}/html/index.html.en
994 %lang(es) %{_datadir}/html/index.html.es
995 %lang(fr) %{_datadir}/html/index.html.fr
996 %lang(it) %{_datadir}/html/index.html.it
997 %lang(lu) %{_datadir}/html/index.html.lu
998 %lang(nl) %{_datadir}/html/index.html.nl
999 %lang(pt) %{_datadir}/html/index.html.pt
1000 %lang(se) %{_datadir}/html/index.html.se
1002 %{_datadir}/html/*.gif
1003 %{_datadir}/errordocs
1004 %dir %{_datadir}/icons
1005 %{_datadir}/icons/*.gif
1006 %dir %{_datadir}/icons/small
1007 %{_datadir}/icons/small/*.gif
1008 %attr(755,root,root) %{_datadir}/cgi-bin
1011 %attr(755,root,root) %{_libexecdir}/mod_access.so
1012 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1013 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1014 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1015 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1016 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1017 %attr(755,root,root) %{_libexecdir}/mod_env.so
1018 %attr(755,root,root) %{_libexecdir}/mod_include.so
1019 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1020 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1021 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1022 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1023 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1024 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1025 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1026 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1027 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1029 %attr(755,root,root) %{_bindir}/htdigest
1031 %attr(755,root,root) %{_sbindir}/ab
1032 %attr(755,root,root) %{_sbindir}/apachectl
1033 %attr(755,root,root) %{_sbindir}/apxs
1034 %attr(755,root,root) %{_sbindir}/httpd
1035 %attr(755,root,root) %{_sbindir}/logresolve
1036 %attr(755,root,root) %{_sbindir}/rotatelogs
1038 %dir %attr(750,http,http) /var/lib/apache
1040 %{_mandir}/man1/htdigest.1*
1043 %attr(750,root,root) %dir /var/log/httpd
1044 %attr(750,root,root) %dir /var/log/archiv/httpd
1045 %attr(640,root,root) %ghost /var/log/httpd/*
1048 %defattr(644,root,root,755)
1049 %attr(4755,root,root) %{_sbindir}/suexec
1052 %defattr(644,root,root,755)
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1058 %{_datadir}/manual/mod/mod_actions.html
1061 %defattr(644,root,root,755)
1062 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1063 %{_datadir}/manual/mod/mod_auth.html
1065 %files mod_auth_anon
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1068 %{_datadir}/manual/mod/mod_auth_anon.html
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1073 %attr(755,root,root) %{_bindir}/dbmmanage
1074 %attr(755,root,root) %{_bindir}/htpasswd
1075 %{_datadir}/manual/mod/mod_auth_db.html
1076 %{_mandir}/man1/dbmmanage.1*
1077 %{_mandir}/man1/htpasswd.1*
1080 %defattr(644,root,root,755)
1081 %attr(755,root,root) %{_libexecdir}/mod_define.so
1082 %{_datadir}/manual/mod/mod_define.html
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1087 %{_datadir}/manual/mod/mod_digest.html
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1092 %{_datadir}/manual/mod/mod_dir.html
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1097 %{_datadir}/manual/mod/mod_expires.html
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1102 %{_datadir}/manual/mod/mod_headers.html
1104 %files mod_mmap_static
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1107 %{_datadir}/manual/mod/mod_mmap_static.html
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1112 %{_datadir}/manual/mod/mod_imap.html
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_libexecdir}/mod_info.so
1117 %{_datadir}/manual/mod/mod_info.html
1120 %defattr(644,root,root,755)
1121 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1122 %attr(755,root,root) %{_libexecdir}/libproxy.so
1123 %{_datadir}/manual/mod/mod_proxy.html
1124 %dir %attr(750,http,http) /var/cache/apache
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1129 %{_datadir}/manual/mod/mod_rewrite.html
1132 %defattr(644,root,root,755)
1133 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1134 %attr(755,root,root) %{_libexecdir}/mod_status.so
1135 %{_datadir}/manual/mod/mod_status.html
1137 %files mod_usertrack
1138 %defattr(644,root,root,755)
1139 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1140 %{_datadir}/manual/mod/mod_usertrack.html
1142 %files mod_unique_id
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1145 %{_datadir}/manual/mod/mod_unique_id.html
1147 %files mod_vhost_alias
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1150 %{_datadir}/manual/mod/mod_vhost_alias.html
1151 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf