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