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