]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- added conditonal IPv6 support compilation (bcond_apache_disable_ipv6 macro)
[packages/apache.git] / apache.spec
1 #
2 # Conditional build:
3 # mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
4 #
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ý
11 Name:           apache
12 Version:        1.3.14
13 Release:        1
14 License:        BSD-like
15 Group:          Networking/Daemons
16 Group(de):      Netzwerkwesen/Server
17 Group(pl):      Sieciowe/Serwery
18 Source0:        ftp://ftp.apache.org/dist/%{name}_%{version}.tar.bz2
19 Source1:        %{name}.init
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-4.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
39 Patch12:        %{name}-man.patch
40 Provides:       httpd
41 Provides:       webserver
42 Prereq:         /sbin/chkconfig
43 Prereq:         /usr/sbin/useradd
44 Prereq:         /usr/bin/getgid
45 Prereq:         /bin/id
46 Prereq:         sh-utils
47 BuildRequires:  db3-devel
48 BuildRequires:  mm-devel >= 1.1.3
49 %{?mod_rewrite_ldap:BuildRequires: openldap-devel}
50 Requires:       rc-scripts
51 Requires:       mailcap
52 Requires:       /etc/mime.types
53 URL:            http://www.apache.org/
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 PreReq:         mm
56 Provides:       %{name}(EAPI) = %{version}
57 Obsoletes:      apache-extra
58 Obsoletes:      apache6
59 Obsoletes:      apache-doc
60
61 %define         _sysconfdir     /etc/httpd
62 %define         _includedir     %{_prefix}/include/apache
63 %define         _datadir        /home/httpd
64 %define         _libexecdir     %{_prefix}/lib/apache
65
66 %description
67 Apache is a powerful, full-featured, efficient and freely-available
68 Web server. Apache is also the most popular Web server on the
69 Internet.
70
71 %description -l de
72 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
73 erhältlich und weit verbreitet ist.
74
75 %description -l fr
76 Apache est un serveur Web puissant, efficace, gratuit et complet.
77 Apache est aussi le serveur Web le plus populaire sur Internet.
78
79 %description -l pl
80 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
81 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
82
83 %description -l tr
84 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
85 sunucusudur.
86
87 %package suexec
88 Summary:        Apache suexec wrapper
89 Summary(pl):    Suexec wrapper do serwera www Apache
90 Group:          Development/Tools
91 Group(de):      Entwicklung/Werkzeuge
92 Group(fr):      Development/Outils
93 Group(pl):      Programowanie/Narzêdzia
94 Requires:       %{name}(EAPI) = %{version}
95
96 %description suexec
97 The suEXEC feature provides Apache users the ability to run CGI and
98 SSI programs under user IDs different from the user ID of the calling
99 web-server. Normally, when a CGI or SSI program executes, it runs as
100 the same user who is running the web server.
101
102 %description -l pl suexec
103 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
104 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
105 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
106
107 %package devel
108 Summary:        Module development tools for the Apache web server
109 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
110 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
111 Group:          Networking/Utilities
112 Group(de):      Netzwerkwesen/Werkzeuge
113 Group(pl):      Sieciowe/Narzêdzia
114 Requires:       %{name}(EAPI) = %{version}
115 Provides:       %{name}(EAPI)-devel
116
117 %description devel
118 The apache-devel package contains the source code for the Apache Web
119 server and the APXS binary you'll need to build Dynamic Shared Objects
120 (DSOs) for Apache.
121
122 %description -l fr devel
123 Le package apache-devel contient le code source pour le serveur Web
124 Apache et le binaire APXS dont vous aurez besoin pour construire des
125 Objets Dynamiques Partages (DSOs) pour Apache.
126
127 %description -l pl devel
128 Pliki nag³ówkowe dla serwera WWW Apache.
129
130 %package mod_actions
131 Summary:        Apache module for run CGI whenever a file of a certain type is requested
132 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
133 Group:          Networking/Daemons
134 Group(de):      Netzwerkwesen/Server
135 Group(pl):      Sieciowe/Serwery
136 Prereq:         %{_sbindir}/apxs
137 Requires:       %{name}(EAPI) = %{version}
138
139 %description mod_actions
140 This package contains mod_actions module. This module lets you run CGI
141 scripts whenever a file of a certain type is requested. This makes it
142 much easier to execute scripts that process files.
143
144 %description -l pl mod_actions
145 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
146 ¿±danie pobrania pliku okre¶lonego typu.
147
148 %package mod_auth
149 Summary:        Apache module with user authentication using textual files
150 Group:          Networking/Daemons
151 Group(de):      Netzwerkwesen/Server
152 Group(pl):      Sieciowe/Serwery
153 Prereq:         %{_sbindir}/apxs
154 Requires:       %{name}(EAPI) = %{version}
155
156 %description mod_auth
157 This package contains mod_auth module. It provides for user
158 authentication using textual files.
159
160 %package mod_auth_anon
161 Summary:        Apache module with "anonymous" user access authentication
162 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
163 Group:          Networking/Daemons
164 Group(de):      Netzwerkwesen/Server
165 Group(pl):      Sieciowe/Serwery
166 Prereq:         %{_sbindir}/apxs
167 Requires:       %{name}(EAPI) = %{version}
168
169 %description mod_auth_anon
170 This package contains mod_auth_anon module. It allows "anonymous" user
171 access to authenticated areas. It does access control in a manner
172 similar to anonymous-ftp sites; i.e. have a 'magic' user id
173 'anonymous' and the email address as a password. These email addresses
174 can be logged. Combined with other (database) access control methods,
175 this allows for effective user tracking and customization according to
176 a user profile while still keeping the site open for 'unregistered'
177 users. One advantage of using Auth-based user tracking is that, unlike
178 magic-cookies and funny URL pre/postfixes, it is completely browser
179 independent and it allows users to share URLs.
180
181 %description -l pl mod_auth_anon
182 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
183 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
184 postaci adresu pocztowego u¿ytkownika).
185
186 %package mod_auth_db
187 Summary:        Apache module with user authentication which uses Berkeley DB files
188 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
189 Group:          Networking/Daemons
190 Group(de):      Netzwerkwesen/Server
191 Group(pl):      Sieciowe/Serwery
192 Prereq:         %{_sbindir}/apxs
193 Requires:       %{name}(EAPI) = %{version}
194
195 %description mod_auth_db
196 This package contains mod_auth_db module. It provides for user
197 authentication using Berkeley DB files. It is an alternative to DBM
198 files for those systems which support DB and not DBM. It is only
199 available in Apache 1.1 and later.
200
201 %description -l pl mod_auth_db
202 Ten modu³ zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
203 ale jako plików danych u¿ywa Berkeley DB.
204
205 %package mod_define
206 Summary:        Apache module - authentication variables for arbitrary directives
207 Summary(pl):    Modu³ apache do definiowania zmiennych
208 Group:          Networking/Daemons
209 Group(de):      Netzwerkwesen/Server
210 Group(pl):      Sieciowe/Serwery
211 Prereq:         %{_sbindir}/apxs
212 Requires:       %{name}(EAPI) = %{version}
213
214 %description mod_define
215 It provides the definition variables for arbitrary directives, i.e.
216 variables which can be expanded on any(!) directive line.
217
218 %description -l pl mod_define
219 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
220
221 %package mod_digest
222 Summary:        Apache user authentication module using MD5 Digest Authentication 
223 Summary(pl):    Modu³ apache do autoryzacji MD5
224 Group:          Networking/Daemons
225 Group(de):      Netzwerkwesen/Server
226 Group(pl):      Sieciowe/Serwery
227 Prereq:         %{_sbindir}/apxs
228 Requires:       %{name}(EAPI) = %{version}
229
230 %description mod_digest
231 This package contains mod_digest module. It provides user
232 authentication using MD5 Digest Authentication.
233
234 %description -l pl mod_digest
235 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
236 Authentication.
237
238 %package mod_dir
239 Summary:        Apache module for "trailing slash" redirects and serving directory index files
240 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
241 Group:          Networking/Daemons
242 Group(de):      Netzwerkwesen/Server
243 Group(pl):      Sieciowe/Serwery
244 Prereq:         %{_sbindir}/apxs
245 Requires:       %{name}(EAPI) = %{version}
246
247 %description mod_dir
248 This package contains mod_dir which provides "trailing slash"
249 redirects and serving directory index files.
250
251 %description -l pl mod_dir
252 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
253
254 %package mod_headers
255 Summary:        Apache module allows for the customization of HTTP response headers
256 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
257 Group:          Networking/Daemons
258 Group(de):      Netzwerkwesen/Server
259 Group(pl):      Sieciowe/Serwery
260 Prereq:         %{_sbindir}/apxs
261 Requires:       %{name}(EAPI) = %{version}
262
263 %description mod_headers
264 This package contains mod_headers module. The module allows for the
265 customization of HTTP response headers. Headers can be merged,
266 replaced or removed.
267
268 %description -l pl mod_headers
269 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
270 wysy³anych do przegl±darki.
271
272 %package mod_mmap_static
273 Summary:        Apache module for mmap()ing statically configured list files
274 Summary(pl):    Modu³ s³u¿±cy do mmap()owania plików.
275 Group:          Networking/Daemons
276 Group(de):      Netzwerkwesen/Server
277 Group(pl):      Sieciowe/Serwery
278 Prereq:         %{_sbindir}/apxs
279 Requires:       %{name}(EAPI) = %{version}
280
281 %description mod_mmap_static
282 This package contains mod_mmap_static module. It provides mmap()ing of
283 a statically configured list of frequently requested but not changed
284 files.
285
286 %description -l pl mod_mmap_static
287 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
288 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
289
290 %package mod_imap
291 Summary:        Apache module with imap-file handler
292 Summary(pl):    Modu³ z obs³ug± imap-file
293 Group:          Networking/Daemons
294 Group(de):      Netzwerkwesen/Server
295 Group(pl):      Sieciowe/Serwery
296 Prereq:         %{_sbindir}/apxs
297 Requires:       %{name}(EAPI) = %{version}
298
299 %description mod_imap
300 This package contains mod_imap module. It provides for .map files,
301 replacing the functionality of the imagemap CGI program. Any directory
302 or document type configured to use the handler imap-file.
303
304 %description -l pl mod_imap
305 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
306
307 %package mod_info
308 Summary:        Apache module with comprehensive overview of the server configuration
309 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
310 Group:          Networking/Daemons
311 Group(de):      Netzwerkwesen/Server
312 Group(pl):      Sieciowe/Serwery
313 Prereq:         %{_sbindir}/apxs
314 Requires:       %{name}(EAPI) = %{version}
315
316 %description mod_info
317 This package contains mod_info module. It provides a comprehensive
318 overview of the server configuration including all installed modules
319 and directives in the configuration files.
320
321 %description -l pl mod_info
322 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
323 modu³ach itp.
324
325 %package mod_proxy
326 Summary:        Apache module with Web proxy
327 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
328 Group:          Networking/Daemons
329 Group(de):      Netzwerkwesen/Server
330 Group(pl):      Sieciowe/Serwery
331 Prereq:         %{_sbindir}/apxs
332 Requires:       %{name}(EAPI) = %{version}
333
334 %description mod_proxy
335 This package contains module with implementation a proxy/cache for
336 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
337 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
338 other proxy modules for these and other protocols.
339
340 %description -l pl mod_proxy
341 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
342 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
343 HTTP/1.0.
344
345 %package mod_rewrite
346 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
347 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
348 Group:          Networking/Daemons
349 Group(de):      Netzwerkwesen/Server
350 Group(pl):      Sieciowe/Serwery
351 Prereq:         %{_sbindir}/apxs
352 Requires:       %{name}(EAPI) = %{version}
353
354 %description mod_rewrite
355 This package contains It provides a rule-based rewriting engine to
356 rewrite requested URLs on the fly.
357
358 %description -l pl mod_rewrite
359 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
360
361 %package mod_status
362 Summary:        Server status report module for apache
363 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
364 Group:          Networking/Daemons
365 Group(de):      Netzwerkwesen/Server
366 Group(pl):      Sieciowe/Serwery
367 Prereq:         %{_sbindir}/apxs
368 Requires:       %{name}(EAPI) = %{version}
369
370 %description mod_status
371 The Status module allows a server administrator to find out how well
372 their server is performing. A HTML page is presented that gives the
373 current server statistics in an easily readable form. If required this
374 page can be made to automatically refresh (given a compatible
375 browser).
376
377 %description -l pl mod_status
378 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
379 pracy serwera apache (w postaci strony HTML).
380
381 %package mod_usertrack
382 Summary:        Apache module for user tracking using cookies
383 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
384 Group:          Networking/Daemons
385 Group(de):      Netzwerkwesen/Server
386 Group(pl):      Sieciowe/Serwery
387 Prereq:         %{_sbindir}/apxs
388 Requires:       %{name}(EAPI) = %{version}
389
390 %description mod_usertrack
391 This package contains the user tracking module which did its own
392 logging using CookieLog directory. This module allow multiple log
393 files.
394
395 %description -l pl mod_usertrack
396 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
397
398 %package mod_vhost_alias
399 Summary:        Apache module for dynamically configured mass virtual hosting
400 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
401 Group:          Networking/Daemons
402 Group(de):      Netzwerkwesen/Server
403 Group(pl):      Sieciowe/Serwery
404 Prereq:         %{_sbindir}/apxs
405 Requires:       %{name}(EAPI) = %{version}
406
407 %description mod_vhost_alias
408 This package contains the mod_vhost_alias. It provides support for
409 dynamically configured mass virtual hosting.
410
411 %description -l pl mod_vhost_alias
412 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
413 wirtualnych.
414
415 %package mod_unique_id
416 Summary:        Apache module which provides a magic token for each request
417 Group:          Networking/Daemons
418 Group(de):      Netzwerkwesen/Server
419 Group(pl):      Sieciowe/Serwery
420 Prereq:         %{_sbindir}/apxs
421 Requires:       %{name}(EAPI) = %{version}
422
423 %description mod_unique_id
424 This package contains the mod_unique_id. This module provides a magic
425 token for each request which is guaranteed to be unique across "all"
426 requests under very specific conditions. The unique identifier is even
427 unique across multiple machines in a properly configured cluster of
428 machines. The environment variable UNIQUE_ID is set to the identifier
429 for each request. Unique identifiers are useful for various reasons
430 which are beyond the scope of this document.
431
432 %package mod_expires
433 Summary:        Apache module which provides .... 
434 Group:          Networking/Daemons
435 Group(de):      Netzwerkwesen/Server
436 Group(pl):      Sieciowe/Serwery
437 Prereq:         %{_sbindir}/apxs
438 Requires:       %{name}(EAPI) = %{version}
439
440 %description mod_expires
441
442 %prep 
443 %setup -q -n apache_%{version} -a3
444 %patch0 -p1
445 %patch1 -p1
446 %patch2 -p1
447 %patch3 -p1
448 %patch4 -p1
449 %patch5 -p1
450 %{!?bcond_apache_disable_ipv6:%patch6 -p1}
451 %patch7 -p1
452 %patch8 -p1
453 %patch9 -p1
454 %patch10 -p1
455 %{?mod_rewrite_ldap:%patch11 -p1}
456 %patch12 -p1
457
458 %build
459 OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
460 IPV6_RULE=%{!?bcond_apache_disable_ipv6:--enable-rule=INET6}
461 ./configure \
462         --prefix=%{_prefix} \
463         --sysconfdir=%{_sysconfdir} \
464         --includedir=%{_includedir} \
465         --sbindir=%{_sbindir} \
466         --libexecdir=%{_libexecdir} \
467         --datadir=%{_datadir} \
468         --localstatedir=/var \
469         --runtimedir=/var/run \
470         --logfiledir=/var/log/httpd \
471         --with-layout=PLD \
472         --without-confadjust \
473         --enable-module=all \
474         --enable-shared=max \
475         --proxycachedir=/var/cache/apache \
476         --with-perl=%{_bindir}/perl \
477         --enable-suexec \
478         --suexec-caller=http \
479         --suexec-uidmin=500 \
480         --suexec-gidmin=500 \
481         --suexec-docroot=%{_datadir} \
482         --disable-rule=WANTHSREGEX \
483         --enable-rule=EAPI ${IPV6_RULE}
484
485 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
486
487 rm -f src/modules/standard/mod_auth_db.so
488 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
489
490 rm -f src/modules/standard/mod_auth_dbm.so
491 %{__make} -C src/modules/standard mod_auth_dbm.so LIBS_SHLIB="-lndbm"
492
493 rm -f src/modules/standard/mod_rewrite.so
494 %{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
495
496 %install
497 rm -rf $RPM_BUILD_ROOT
498 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
499         $RPM_BUILD_ROOT%{_datadir}/errordocs \
500         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
501
502 %{__make} install-quiet root="$RPM_BUILD_ROOT"
503
504 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
505
506 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
507 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
508 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
509
510 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
511
512 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
513
514 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
515
516 install %{SOURCE8}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
517 install %{SOURCE9}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
518 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
519
520 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
521
522 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
523
524 %pre
525 if [ -n "`getgid http`" ]; then
526         if [ "`getgid http`" != "51" ]; then
527                 echo "Warning:group http haven't gid=51. Corect this before install apache" 1>&2
528                 exit 1
529         fi
530 else
531         /usr/sbin/groupadd -g 51 -r -f http
532         if [ -f /var/db/group.db ]; then
533                 /usr/bin/update-db 1>&2
534         fi
535 fi
536 if [ -n "`id -u http 2>/dev/null`" ]; then
537         if [ "`id -u http`" != "51" ]; then
538                 echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
539                 exit 1
540         fi
541 else
542         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
543         if [ -f /var/db/passwd.db ]; then
544                 /usr/bin/update-db 1>&2
545         fi
546 fi
547
548 %post
549 /sbin/chkconfig --add httpd
550 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
551 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
552 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
553 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
554 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
555 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
556 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
557 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
558 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
559 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
560 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
561 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
562 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
563 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
564 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
565 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
566 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
567 umask 137
568 touch /var/log/httpd/{access,error,agent,referer}_log
569 if [ -f /var/lock/subsys/httpd ]; then
570         /etc/rc.d/init.d/httpd restart 1>&2
571 else
572         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
573 fi
574
575 %preun
576 if [ "$1" = "0" ]; then
577         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
578         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
579         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
580         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
581         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
582         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
583         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
584         %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
585         %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
586         %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
587         %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
588         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
589         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
590         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
591         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
592         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
593         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
594         if [ -f /var/lock/subsys/httpd ]; then
595                 /etc/rc.d/init.d/httpd stop 1>&2
596         fi
597         /sbin/chkconfig --del httpd
598 fi
599
600 %postun
601 if [ "$1" = "0" ]; then
602         /usr/sbin/userdel http
603         if [ -f /var/db/passwd.db ]; then
604                 /usr/bin/update-db
605         fi
606         /usr/sbin/groupdel http
607         if [ -f /var/db/group.db ]; then
608                 /usr/bin/update-db
609         fi
610 fi
611
612 %post mod_actions
613 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
614 if [ -f /var/lock/subsys/httpd ]; then
615         /etc/rc.d/init.d/httpd restart 1>&2
616 else
617         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
618 fi
619
620 %preun mod_actions
621 if [ "$1" = "0" ]; then
622         %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
623         if [ -f /var/lock/subsys/httpd ]; then
624                 /etc/rc.d/init.d/httpd restart 1>&2
625         fi
626 fi
627
628 %post mod_auth
629 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
630 if [ -f /var/lock/subsys/httpd ]; then
631         /etc/rc.d/init.d/httpd restart 1>&2
632 else
633         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
634 fi
635
636 %preun mod_auth
637 if [ "$1" = "0" ]; then
638         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
639         if [ -f /var/lock/subsys/httpd ]; then
640                 /etc/rc.d/init.d/httpd restart 1>&2
641         fi
642 fi
643
644 %post mod_auth_anon
645 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
646 if [ -f /var/lock/subsys/httpd ]; then
647         /etc/rc.d/init.d/httpd restart 1>&2
648 else
649         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
650 fi
651
652 %preun mod_auth_anon
653 if [ "$1" = "0" ]; then
654         %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
655         if [ -f /var/lock/subsys/httpd ]; then
656                 /etc/rc.d/init.d/httpd restart 1>&2
657         fi
658 fi
659
660 %post mod_auth_db
661 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
662 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
663 if [ -f /var/lock/subsys/httpd ]; then
664         /etc/rc.d/init.d/httpd restart 1>&2
665 else
666         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
667 fi
668
669 %preun mod_auth_db
670 if [ "$1" = "0" ]; then
671         %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
672         %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
673         if [ -f /var/lock/subsys/httpd ]; then
674                 /etc/rc.d/init.d/httpd restart 1>&2
675         fi
676 fi
677
678 %post mod_define
679 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
680 if [ -f /var/lock/subsys/httpd ]; then
681         /etc/rc.d/init.d/httpd restart 1>&2
682 else
683         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
684 fi
685
686 %preun mod_define
687 if [ "$1" = "0" ]; then
688         %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
689         if [ -f /var/lock/subsys/httpd ]; then
690                 /etc/rc.d/init.d/httpd restart 1>&2
691         fi
692 fi
693
694 %post mod_digest
695 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
696 if [ -f /var/lock/subsys/httpd ]; then
697         /etc/rc.d/init.d/httpd restart 1>&2
698 else
699         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
700 fi
701
702 %preun mod_digest
703 if [ "$1" = "0" ]; then
704         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
705         if [ -f /var/lock/subsys/httpd ]; then
706                 /etc/rc.d/init.d/httpd restart 1>&2
707         fi
708 fi
709
710 %post mod_dir
711 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
712 if [ -f /var/lock/subsys/httpd ]; then
713         /etc/rc.d/init.d/httpd restart 1>&2
714 else
715         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
716 fi
717
718 %preun mod_dir
719 if [ "$1" = "0" ]; then
720         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
721         if [ -f /var/lock/subsys/httpd ]; then
722                 /etc/rc.d/init.d/httpd restart 1>&2
723         fi
724 fi
725
726 %post mod_expires
727 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
728 if [ -f /var/lock/subsys/httpd ]; then
729         /etc/rc.d/init.d/httpd restart 1>&2
730 else
731         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
732 fi
733
734 %preun mod_expires
735 if [ "$1" = "0" ]; then
736         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
737         if [ -f /var/lock/subsys/httpd ]; then
738                 /etc/rc.d/init.d/httpd restart 1>&2
739         fi
740 fi
741
742 %post mod_headers
743 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
744 if [ -f /var/lock/subsys/httpd ]; then
745         /etc/rc.d/init.d/httpd restart 1>&2
746 else
747         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
748 fi
749
750 %preun mod_headers
751 if [ "$1" = "0" ]; then
752         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
753         if [ -f /var/lock/subsys/httpd ]; then
754                 /etc/rc.d/init.d/httpd restart 1>&2
755         fi
756 fi
757
758 %post mod_mmap_static
759 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
760 if [ -f /var/lock/subsys/httpd ]; then
761         /etc/rc.d/init.d/httpd restart 1>&2
762 else
763         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
764 fi
765
766 %preun mod_mmap_static
767 if [ "$1" = "0" ]; then
768         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
769         if [ -f /var/lock/subsys/httpd ]; then
770                 /etc/rc.d/init.d/httpd restart 1>&2
771         fi
772 fi
773
774 %post mod_imap
775 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
776 if [ -f /var/lock/subsys/httpd ]; then
777         /etc/rc.d/init.d/httpd restart 1>&2
778 else
779         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
780 fi
781
782 %preun mod_imap
783 if [ "$1" = "0" ]; then
784         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
785         if [ -f /var/lock/subsys/httpd ]; then
786                 /etc/rc.d/init.d/httpd restart 1>&2
787         fi
788 fi
789
790 %post mod_info
791 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
792 if [ -f /var/lock/subsys/httpd ]; then
793         /etc/rc.d/init.d/httpd restart 1>&2
794 else
795         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
796 fi
797
798 %preun mod_info
799 if [ "$1" = "0" ]; then
800         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
801         if [ -f /var/lock/subsys/httpd ]; then
802                 /etc/rc.d/init.d/httpd restart 1>&2
803         fi
804 fi
805
806 %post mod_proxy
807 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
808 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
809         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
810 fi
811 if [ -f /var/lock/subsys/httpd ]; then
812         /etc/rc.d/init.d/httpd restart 1>&2
813 else
814         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
815 fi
816
817 %preun mod_proxy
818 if [ "$1" = "0" ]; then
819         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
820         grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
821                 /etc/httpd/httpd.conf.tmp
822         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
823         if [ -f /var/lock/subsys/httpd ]; then
824                 /etc/rc.d/init.d/httpd restart 1>&2
825         fi
826 fi
827
828 %post mod_rewrite
829 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
830 if [ -f /var/lock/subsys/httpd ]; then
831         /etc/rc.d/init.d/httpd restart 1>&2
832 else
833         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
834 fi
835
836 %preun mod_rewrite
837 if [ "$1" = "0" ]; then
838         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
839         if [ -f /var/lock/subsys/httpd ]; then
840                 /etc/rc.d/init.d/httpd restart 1>&2
841         fi
842 fi
843
844 %post mod_status
845 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
846 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
847         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
848 fi
849 if [ -f /var/lock/subsys/httpd ]; then
850         /etc/rc.d/init.d/httpd restart 1>&2
851 else
852         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
853 fi
854
855 %preun mod_status
856 if [ "$1" = "0" ]; then
857         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
858         grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
859                 /etc/httpd/httpd.conf.tmp
860         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
861         if [ -f /var/lock/subsys/httpd ]; then
862                 /etc/rc.d/init.d/httpd restart 1>&2
863         fi
864 fi
865
866 %post mod_usertrack
867 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
868 if [ -f /var/lock/subsys/httpd ]; then
869         /etc/rc.d/init.d/httpd restart 1>&2
870 else
871         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
872 fi
873
874 %preun mod_usertrack
875 if [ "$1" = "0" ]; then
876         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
877         if [ -f /var/lock/subsys/httpd ]; then
878                 /etc/rc.d/init.d/httpd restart 1>&2
879         fi
880 fi
881
882 %post mod_unique_id
883 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
884 if [ -f /var/lock/subsys/httpd ]; then
885         /etc/rc.d/init.d/httpd restart 1>&2
886 else
887         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
888 fi
889
890 %preun mod_unique_id
891 if [ "$1" = "0" ]; then
892         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
893         if [ -f /var/lock/subsys/httpd ]; then
894                 /etc/rc.d/init.d/httpd restart 1>&2
895         fi
896 fi
897
898 %post mod_vhost_alias
899 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
900 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
901         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
902 fi
903 if [ -f /var/lock/subsys/httpd ]; then
904         /etc/rc.d/init.d/httpd restart 1>&2
905 else
906         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
907 fi
908
909 %preun mod_vhost_alias
910 if [ "$1" = "0" ]; then
911         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
912         grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
913                 /etc/httpd/httpd.conf.tmp
914         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
915         if [ -f /var/lock/subsys/httpd ]; then
916                 /etc/rc.d/init.d/httpd restart 1>&2
917         fi
918 fi
919
920 %clean
921 rm -rf $RPM_BUILD_ROOT
922
923 %files
924 %defattr(644,root,root,755)
925 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
926 %doc conf/mime.types
927
928 %dir %{_datadir}/manual
929 %dir %{_datadir}/manual/images/
930 %{_datadir}/manual/images/sub.gif
931 %{_datadir}/manual/images/index.gif
932 %{_datadir}/manual/images/home.gif 
933 %{_datadir}/manual/misc
934 %dir %{_datadir}/manual/search
935 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
936 %{_datadir}/manual/vhosts
937 %{_datadir}/manual/LICENSE
938 %{_datadir}/manual/bind.html
939 %{_datadir}/manual/cgi_path.html
940 %{_datadir}/manual/content-negotiation.html
941 %{_datadir}/manual/custom-error.html
942 %{_datadir}/manual/dns-caveats.html
943 %{_datadir}/manual/dso.html
944 %{_datadir}/manual/env.html
945 %{_datadir}/manual/footer.html
946 %{_datadir}/manual/handler.html
947 %{_datadir}/manual/header.html
948 %{_datadir}/manual/index.html
949 %{_datadir}/manual/install.html
950 %{_datadir}/manual/invoking.html
951 %{_datadir}/manual/keepalive.html
952 %{_datadir}/manual/location.html
953 %{_datadir}/manual/multilogs.html
954 %{_datadir}/manual/new_features_1_3.html
955 %{_datadir}/manual/process-model.html
956 %{_datadir}/manual/sections.html
957 %{_datadir}/manual/sourcereorg.html
958 %{_datadir}/manual/suexec.html
959 %{_datadir}/manual/upgrading_to_1_3.html
960 %dir %{_datadir}/manual/mod
961 %{_datadir}/manual/mod/core.html
962 %{_datadir}/manual/mod/directive-dict.html
963 %{_datadir}/manual/mod/directives.html
964 %{_datadir}/manual/mod/footer.html
965 %{_datadir}/manual/mod/header.html
966 %{_datadir}/manual/mod/index.html
967 %{_datadir}/manual/mod/mod_access.html
968 %{_datadir}/manual/mod/mod_alias.html
969 %{_datadir}/manual/mod/mod_asis.html
970 %{_datadir}/manual/mod/mod_autoindex.html
971 %{_datadir}/manual/mod/mod_cgi.html
972 %{_datadir}/manual/mod/mod_cookies.html
973 %{_datadir}/manual/mod/mod_env.html
974 %{_datadir}/manual/mod/mod_include.html
975 %{_datadir}/manual/mod/mod_log_agent.html
976 %{_datadir}/manual/mod/mod_log_config.html
977 %{_datadir}/manual/mod/mod_log_referer.html
978 %{_datadir}/manual/mod/mod_mime.html
979 %{_datadir}/manual/mod/mod_mime_magic.html
980 %{_datadir}/manual/mod/mod_negotiation.html
981 %{_datadir}/manual/mod/mod_setenvif.html
982 %{_datadir}/manual/mod/mod_speling.html
983 %{_datadir}/manual/mod/mod_userdir.html
984
985 %attr(754,root,root) /etc/rc.d/init.d/httpd
986
987 %attr(750,root,root) %dir %{_sysconfdir}
988 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
989 %attr(640,root,root) %{_sysconfdir}/magic
990
991 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
992 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
993
994 %attr(755,root,root) %dir %{_datadir}/html
995 %config(noreplace) %{_datadir}/html/index.html
996 %lang(ca) %{_datadir}/html/index.html.ca
997 %lang(cz) %{_datadir}/html/index.html.cz
998 %lang(de) %{_datadir}/html/index.html.de
999 %lang(dk) %{_datadir}/html/index.html.dk
1000 %lang(ee) %{_datadir}/html/index.html.ee
1001 %lang(en) %{_datadir}/html/index.html.en
1002 %lang(es) %{_datadir}/html/index.html.es
1003 %lang(fr) %{_datadir}/html/index.html.fr
1004 %lang(it) %{_datadir}/html/index.html.it
1005 %lang(lu) %{_datadir}/html/index.html.lu
1006 %lang(nl) %{_datadir}/html/index.html.nl
1007 %lang(pt) %{_datadir}/html/index.html.pt
1008 %lang(se) %{_datadir}/html/index.html.se
1009
1010 %{_datadir}/html/*.gif
1011 %{_datadir}/errordocs
1012 %dir %{_datadir}/icons
1013 %{_datadir}/icons/*.gif
1014 %dir %{_datadir}/icons/small
1015 %{_datadir}/icons/small/*.gif
1016 %attr(755,root,root) %{_datadir}/cgi-bin
1017
1018 %dir %{_libexecdir}
1019 %attr(755,root,root) %{_libexecdir}/mod_access.so
1020 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1021 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1022 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1023 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1024 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1025 %attr(755,root,root) %{_libexecdir}/mod_env.so
1026 %attr(755,root,root) %{_libexecdir}/mod_include.so
1027 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1028 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1029 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1030 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1031 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1032 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1033 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1034 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1035 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1036
1037 %attr(755,root,root) %{_bindir}/htdigest
1038
1039 %attr(755,root,root) %{_sbindir}/ab
1040 %attr(755,root,root) %{_sbindir}/apachectl
1041 %attr(755,root,root) %{_sbindir}/apxs
1042 %attr(755,root,root) %{_sbindir}/httpd
1043 %attr(755,root,root) %{_sbindir}/logresolve
1044 %attr(755,root,root) %{_sbindir}/rotatelogs
1045
1046 %dir %attr(750,http,http) /var/lib/apache
1047
1048 %{_mandir}/man1/htdigest.1*
1049 %{_mandir}/man8/*
1050
1051 %attr(750,root,root) %dir /var/log/httpd
1052 %attr(750,root,root) %dir /var/log/archiv/httpd
1053 %attr(640,root,root) %ghost /var/log/httpd/*
1054
1055 %files suexec
1056 %defattr(644,root,root,755)
1057 %attr(4755,root,root) %{_sbindir}/suexec
1058
1059 %files devel
1060 %defattr(644,root,root,755)
1061 %{_includedir}
1062
1063 %files mod_actions
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1066 %{_datadir}/manual/mod/mod_actions.html
1067
1068 %files mod_auth
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1071 %attr(755,root,root) %{_bindir}/htpasswd
1072 %{_datadir}/manual/mod/mod_auth.html
1073
1074 %files mod_auth_anon
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1077 %{_datadir}/manual/mod/mod_auth_anon.html
1078
1079 %files mod_auth_db
1080 %defattr(644,root,root,755)
1081 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1082 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1083 %attr(755,root,root) %{_bindir}/dbmmanage 
1084 %{_datadir}/manual/mod/mod_auth_db.html
1085 %{_datadir}/manual/mod/mod_auth_dbm.html
1086 %{_mandir}/man1/dbmmanage.1*
1087 %{_mandir}/man1/htpasswd.1*
1088
1089 %files mod_define
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_libexecdir}/mod_define.so
1092 %{_datadir}/manual/mod/mod_define.html
1093
1094 %files mod_digest
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1097 %{_datadir}/manual/mod/mod_digest.html
1098
1099 %files mod_dir
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1102 %{_datadir}/manual/mod/mod_dir.html
1103
1104 %files mod_expires
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1107 %{_datadir}/manual/mod/mod_expires.html
1108
1109 %files mod_headers
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1112 %{_datadir}/manual/mod/mod_headers.html
1113
1114 %files mod_mmap_static
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1117 %{_datadir}/manual/mod/mod_mmap_static.html
1118
1119 %files mod_imap
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1122 %{_datadir}/manual/mod/mod_imap.html
1123
1124 %files mod_info
1125 %defattr(644,root,root,755)
1126 %attr(755,root,root) %{_libexecdir}/mod_info.so
1127 %{_datadir}/manual/mod/mod_info.html
1128
1129 %files mod_proxy
1130 %defattr(644,root,root,755)
1131 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1132 %attr(755,root,root) %{_libexecdir}/libproxy.so
1133 %{_datadir}/manual/mod/mod_proxy.html
1134 %dir %attr(750,http,http) /var/cache/apache
1135
1136 %files mod_rewrite
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1139 %{_datadir}/manual/mod/mod_rewrite.html
1140
1141 %files mod_status
1142 %defattr(644,root,root,755)
1143 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1144 %attr(755,root,root) %{_libexecdir}/mod_status.so
1145 %{_datadir}/manual/mod/mod_status.html
1146
1147 %files mod_usertrack
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1150 %{_datadir}/manual/mod/mod_usertrack.html
1151
1152 %files mod_unique_id
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1155 %{_datadir}/manual/mod/mod_unique_id.html
1156
1157 %files mod_vhost_alias
1158 %defattr(644,root,root,755)
1159 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1160 %{_datadir}/manual/mod/mod_vhost_alias.html
1161 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
This page took 0.617266 seconds and 4 git commands to generate.