]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- fix (de)registering modules
[packages/apache.git] / apache.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        The most widely used Web server on the Internet
3 Summary(de):    Leading World Wide Web-Server
4 Summary(fr):    Le serveur web le plus utilise sur Internet
5 Summary(pl):    Serwer WWW (World Wide Web)
6 Summary(tr):    Lider WWW tarayýcý
7 Name:           apache
8 Version:        1.3.11
9 Release:        5
10 Group:          Networking/Daemons
11 Group(pl):      Sieciowe/Serwery
12 Source0:        ftp://ftp.apache.org/apache/dist/%{name}_%{version}.tar.gz
13 Source1:        apache.init
14 Source2:        apache.logrotate
15 Source3:        apache-icons.tar.gz
16 Source4:        apache.sysconfig
17 Source5:        apache-access.conf
18 Source6:        apache-httpd.conf
19 Source7:        apache-srm.conf
20 Source8:        apache-virtual-host.conf
21 Patch0:         apache-PLD.patch
22 Patch1:         apache-suexec.patch
23 Patch2:         apache-htdocs.patch
24 Patch3:         apache-errordocs.patch
25 Patch4:         apache-apxs.patch
26 Patch5:         apache-phhttpd.patch
27 Patch6:         apache-EAPI.patch
28 Copyright:      BSD-like
29 Provides:       httpd
30 Provides:       webserver
31 Prereq:         /sbin/chkconfig
32 Prereq:         /usr/sbin/useradd
33 Prereq:         /usr/bin/getgid
34 Prereq:         /bin/id
35 Prereq:         sh-utils
36 BuildRequires:  mm-devel
37 Requires:       rc-scripts
38 Requires:       mailcap
39 Requires:       /etc/mime.types
40 URL:            http://www.apache.org/
41 BuildRoot:      /tmp/%{name}-%{version}-root
42 Obsoletes:      apache-extra
43 Obsoletes:      apache6
44 Obsoletes:      apache-doc
45
46 %define         _sysconfdir     /etc/httpd
47 %define         _includedir     %{_prefix}/include/apache
48 %define         _datadir        /home/httpd
49 %define         _libexecdir     %{_prefix}/lib/apache
50
51 %description
52 Apache is a powerful, full-featured, efficient and freely-available Web
53 server. Apache is also the most popular Web server on the Internet.
54
55 %description -l de
56 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
57 erhältlich und weit verbreitet ist.
58
59 %description -l fr
60 Apache est un serveur Web puissant, efficace, gratuit et complet. Apache est
61 aussi le serveur Web le plus populaire sur Internet.
62
63 %description -l pl
64 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz 
65 móg³ prezentowaæ w³asne strony WWW w sieci internet.
66
67 %description -l tr
68 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
69
70 %package suexec
71 Summary:        Apache suexec wrapper
72 Summary(pl):    Suexec wrapper do serwera www Apache
73 Group:          Networking/Development
74 Group(pl):      Sieciowe/Programowanie
75 Requires:       %{name} = %{version}
76
77 %description suexec
78 The suEXEC feature provides Apache users the ability to run CGI and SSI
79 programs under user IDs different from the user ID of the calling web-server.
80 Normally, when a CGI or SSI program executes, it runs as the same user 
81 who is running the web server. 
82
83 %description -l pl suexec
84 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z innym
85 UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s± wykonywane
86 jako taki sam u¿ytkownik jak serwer WWW.
87
88 %package devel
89 Summary:        Module development tools for the Apache web server
90 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
91 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
92 Group:          Networking/Development
93 Group(pl):      Sieciowe/Programowanie
94 Requires:       %{name} = %{version}
95
96 %description devel
97 The apache-devel package contains the source code for the Apache Web server
98 and the APXS binary you'll need to build Dynamic Shared Objects (DSOs) for
99 Apache.
100
101 %description -l fr devel
102 Le package apache-devel contient le code source pour le serveur Web Apache
103 et le binaire APXS dont vous aurez besoin pour construire des Objets
104 Dynamiques Partages (DSOs) pour Apache.
105
106 %description -l pl devel
107 Pliki nag³ówkowe dla serwera WWW Apache.
108
109 %package mod_actions
110 Summary:        Apache module for run CGI whenever a file of a certain type is requested
111 Group:          Networking/Daemons
112 Group(pl):      Sieciowe/Serwery
113 Prereq:         /usr/sbin/apxs
114 Requires:       %{name} = %{version}
115
116 %description mod_actions
117 This package contains mod_actions module. This module lets you run CGI
118 scripts whenever a file of a certain type is requested. This makes it much
119 easier to execute scripts that process files.
120
121 %package mod_auth_anon
122 Summary:        Apache module with "anonymous" user access authentication
123 Group:          Networking/Daemons
124 Group(pl):      Sieciowe/Serwery
125 Prereq:         /usr/sbin/apxs
126 Requires:       %{name} = %{version}
127
128 %description mod_auth_anon
129 This package contains mod_auth_anon module. It allows "anonymous" user
130 access to authenticated areas. It does access control in a manner similar to
131 anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email
132 address as a password. These email addresses can be logged. Combined with
133 other (database) access control methods, this allows for effective user
134 tracking and customization according to a user profile while still keeping
135 the site open for 'unregistered' users. One advantage of using Auth-based
136 user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it
137 is completely browser independent and it allows users to share URLs.
138
139 %package mod_digest
140 Summary:        Apache user authentication module using MD5 Digest Authentication 
141 Group:          Networking/Daemons
142 Group(pl):      Sieciowe/Serwery
143 Prereq:         /usr/sbin/apxs
144 Requires:       %{name} = %{version}
145
146 %description mod_digest
147 This package contains mod_dir module. It provides user authentication using
148 MD5 Digest Authentication.
149
150 %package mod_dir
151 Summary:        Apache module for trailing slash" redirects and serving directory index files
152 Group:          Networking/Daemons
153 Group(pl):      Sieciowe/Serwery
154 Prereq:         /usr/sbin/apxs
155 Requires:       %{name} = %{version}
156
157 %description mod_dir
158 This package contains mod_dir which provides "trailing slash" redirects and
159 serving directory index files.
160
161 %package mod_expires
162 Summary:        Apache module for the generation of Expires headers according
163 Group:          Networking/Daemons
164 Group(pl):      Sieciowe/Serwery
165 Prereq:         /usr/sbin/apxs
166 Requires:       %{name} = %{version}
167
168 %description mod_expires
169 This package contains mod_expires modulep. It rovides for the generation of
170 Expires headers according to user-specified criteria.
171
172 %package mod_headers
173 Summary:        Apache module allows for the customization of HTTP response headers
174 Group:          Networking/Daemons
175 Group(pl):      Sieciowe/Serwery
176 Prereq:         /usr/sbin/apxs
177 Requires:       %{name} = %{version}
178
179 %description mod_headers
180 This package contains mod_headers module. The module allows for the
181 customization of HTTP response headers. Headers can be merged, replaced or
182 removed.
183
184 %package mod_mmap_static
185 Summary:        Apache module for mmap()ing statically configured list files
186 Group:          Networking/Daemons
187 Group(pl):      Sieciowe/Serwery
188 Prereq:         /usr/sbin/apxs
189 Requires:       %{name} = %{version}
190
191 %description mod_mmap_static
192 This package contains mod_mmap_static module. It provides mmap()ing of a
193 statically configured list of frequently requested but not changed files.
194
195 %package mod_imap
196 Summary:        Apache module with imap-file handler
197 Group:          Networking/Daemons
198 Group(pl):      Sieciowe/Serwery
199 Prereq:         /usr/sbin/apxs
200 Requires:       %{name} = %{version}
201
202 %description mod_imap
203 This package contains mod_imap module. It provides for .map files, replacing
204 the functionality of the imagemap CGI program. Any directory or document
205 type configured to use the handler imap-file.
206
207 %package mod_info
208 Summary:        Apache module with comprehensive overview of the server configuration
209 Group:          Networking/Daemons
210 Group(pl):      Sieciowe/Serwery
211 Prereq:         /usr/sbin/apxs
212 Requires:       %{name} = %{version}
213
214 %description mod_info
215 This package contains mod_mmap_static module. It provides a comprehensive
216 overview of the server configuration including all installed modules and
217 directives in the configuration files.
218
219 %package mod_proxy
220 Summary:        Apache module with Web proxy
221 Group:          Networking/Daemons
222 Group(pl):      Sieciowe/Serwery
223 Prereq:         /usr/sbin/apxs
224 Requires:       %{name} = %{version}
225
226 %description mod_proxy
227 This package contains module with implementation a proxy/cache for Apache.
228 It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, and
229 HTTP/1.0. The module can be configured to connect to other proxy modules for
230 these and other protocols.
231
232 %package mod_rewrite
233 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
234 Group:          Networking/Daemons
235 Group(pl):      Sieciowe/Serwery
236 Prereq:         /usr/sbin/apxs
237 Requires:       %{name} = %{version}
238
239 %description mod_rewrite
240 This package contains It provides a rule-based rewriting engine to rewrite
241 requested URLs on the fly.
242
243 %package mod_status
244 Summary:        Server status report module for apache
245 Group:          Networking/Daemons
246 Group(pl):      Sieciowe/Serwery
247 Prereq:         /usr/sbin/apxs
248 Requires:       %{name} = %{version}
249
250 %description mod_status
251 The Status module allows a server administrator to find out how well their
252 server is performing. A HTML page is presented that gives the current server
253 statistics in an easily readable form. If required this page can be made to
254 automatically refresh (given a compatible browser).
255
256 %package mod_usertrack
257 Summary:        Apache module for user tracking using cookies
258 Group:          Networking/Daemons
259 Group(pl):      Sieciowe/Serwery
260 Prereq:         /usr/sbin/apxs
261 Requires:       %{name} = %{version}
262
263 %description mod_usertrack
264 This package contains the user tracking module which did its own logging
265 using CookieLog directory. This module allow multiple log files.
266
267 %package mod_vhost_alias
268 Summary:        Apache module for dynamically configured mass virtual hosting
269 Group:          Networking/Daemons
270 Group(pl):      Sieciowe/Serwery
271 Prereq:         /usr/sbin/apxs
272 Requires:       %{name} = %{version}
273
274 %description mod_vhost_alias
275 This package contains the mod_vhost_alias. It provides support for
276 dynamically configured mass virtual hosting.
277
278 %package mod_unique_id
279 Summary:        Apache module which provides a magic token for each request
280 Group:          Networking/Daemons
281 Group(pl):      Sieciowe/Serwery
282 Prereq:         /usr/sbin/apxs
283 Requires:       %{name} = %{version}
284
285 %description mod_unique_id
286 This package contains the mod_unique_id. This module provides a magic token
287 for each request which is guaranteed to be unique across "all" requests
288 under very specific conditions. The unique identifier is even unique across
289 multiple machines in a properly configured cluster of machines. The
290 environment variable UNIQUE_ID is set to the identifier for each request.
291 Unique identifiers are useful for various reasons which are beyond the scope
292 of this document.
293
294 %prep 
295 %setup -q -n apache_%{version} -a3
296 %patch0 -p1
297 %patch1 -p1
298 %patch2 -p1
299 %patch3 -p1
300 %patch4 -p1
301 %patch5 -p1
302 %patch6 -p1
303
304 %build
305
306 LDFLAGS="-s"; export LDFLAGS
307 OPTIM="$RPM_OPT_FLAGS" \
308 ./configure \
309         --prefix=%{_prefix} \
310         --sysconfdir=%{_sysconfdir} \
311         --includedir=%{_includedir} \
312         --sbindir=%{_sbindir} \
313         --libexecdir=%{_libexecdir} \
314         --datadir=%{_datadir} \
315         --localstatedir=/var \
316         --runtimedir=/var/run \
317         --logfiledir=/var/log/httpd \
318         --with-layout=PLD \
319         --without-confadjust \
320         --enable-module=all \
321         --enable-shared=max \
322         --proxycachedir=/var/cache/apache \
323         --with-perl=%{_bindir}/perl \
324         --enable-suexec \
325         --suexec-caller=http \
326         --suexec-uidmin=500 \
327         --suexec-gidmin=500 \
328         --disable-rule=WANTHSREGEX \
329         --enable-rule=EAPI
330 make
331
332 %install
333 rm -rf $RPM_BUILD_ROOT
334 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
335         $RPM_BUILD_ROOT%{_datadir}/errordocs \
336         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},state/apache/mm}
337
338 make install-quiet root="$RPM_BUILD_ROOT"
339
340 mv $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
341
342 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
343 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
344 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/apache
345
346 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
347
348 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
349
350 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/access.conf
351 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
352 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/srm.conf
353 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/virtual-host.conf
354
355 ln -sf index.html.en $RPM_BUILD_ROOT/home/httpd/html/index.html
356
357 #strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
358
359 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
360         ABOUT_APACHE src/CHANGES KEYS README
361
362 %pre
363 if [ -n "`getgid http`" ]; then
364         if [ "`getgid http`" != "51" ]; then
365                 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
366                 exit 1
367         fi
368 else
369         /usr/sbin/groupadd -g 51 -r -f http
370         if [ -f /var/db/group.db ]; then
371                 /usr/bin/update-db 1>&2
372         fi
373 fi
374 if [ -n "`id -u http 2>/dev/null`" ]; then
375         if [ "`id -u http`" != "51" ]; then
376                 echo "Warning: user http haven't uid=51. Corect this before install apache" 1>&2
377                 exit 1
378         fi
379 else
380         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
381         if [ -f /var/db/passwd.db ]; then
382                 /usr/bin/update-db 1>&2
383         fi
384 fi
385
386
387 %post
388 /sbin/chkconfig --add httpd
389 umask 137
390 touch /var/log/httpd/{access,error,agent,referer}_log
391 /usr/sbin/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
392 /usr/sbin/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
393 /usr/sbin/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
394 /usr/sbin/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
395 /usr/sbin/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
396 /usr/sbin/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
397 /usr/sbin/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
398 /usr/sbin/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
399 /usr/sbin/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
400 /usr/sbin/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
401 /usr/sbin/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
402 /usr/sbin/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
403 /usr/sbin/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
404 /usr/sbin/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
405 /usr/sbin/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
406 /usr/sbin/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
407 /usr/sbin/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
408 /usr/sbin/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
409 /usr/sbin/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
410 /usr/sbin/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
411 if [ -f /var/lock/subsys/httpd ]; then
412         /etc/rc.d/init.d/httpd restart 1>&2
413 else
414         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
415 fi
416
417 %preun
418 if [ "$1" = "0" ]; then
419         /usr/sbin/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
420         /usr/sbin/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
421         /usr/sbin/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
422         /usr/sbin/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
423         /usr/sbin/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
424         /usr/sbin/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
425         /usr/sbin/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
426         /usr/sbin/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
427         /usr/sbin/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
428         /usr/sbin/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
429         /usr/sbin/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
430         /usr/sbin/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
431         /usr/sbin/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
432         /usr/sbin/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
433         /usr/sbin/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
434         /usr/sbin/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
435         /usr/sbin/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
436         /usr/sbin/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
437         /usr/sbin/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
438         /usr/sbin/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
439         if [ -f /var/lock/subsys/httpd ]; then
440                 /etc/rc.d/init.d/httpd stop 1>&2
441         fi
442         /sbin/chkconfig --del httpd
443 fi
444
445 %postun
446 if [ "$1" = "0" ]; then
447         /usr/sbin/userdel http
448         if [ -f /var/db/passwd.db ]; then
449                 /usr/bin/update-db
450         fi
451         /usr/sbin/groupdel http
452         if [ -f /var/db/group.db ]; then
453                 /usr/bin/update-db
454         fi
455 fi
456
457 %post mod_actions
458 /usr/sbin/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
459
460 %preun mod_actions
461 if [ "$1" = "0" ]; then
462         /usr/sbin/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
463 fi
464
465 %post mod_auth_anon
466 /usr/sbin/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
467
468 %preun mod_auth_anon
469 if [ "$1" = "0" ]; then
470         /usr/sbin/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
471 fi
472
473 %post mod_digest
474 /usr/sbin/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
475
476 %preun mod_digest
477 if [ "$1" = "0" ]; then
478         /usr/sbin/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
479 fi
480
481 %post mod_dir
482 /usr/sbin/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
483
484 %preun mod_dir
485 if [ "$1" = "0" ]; then
486         /usr/sbin/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
487 fi
488
489 %post mod_expires
490 /usr/sbin/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
491
492 %preun mod_expires
493 if [ "$1" = "0" ]; then
494         /usr/sbin/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
495 fi
496 %post mod_headers
497 /usr/sbin/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
498
499 %preun mod_headers
500 if [ "$1" = "0" ]; then
501         /usr/sbin/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
502 fi
503
504 %post mod_mmap_static
505 /usr/sbin/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
506
507 %preun mod_mmap_static
508 if [ "$1" = "0" ]; then
509         /usr/sbin/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
510 fi
511
512 %post mod_imap
513 /usr/sbin/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
514
515 %preun mod_imap
516 if [ "$1" = "0" ]; then
517         /usr/sbin/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
518 fi
519
520 %post mod_info
521 /usr/sbin/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
522
523 %preun mod_info
524 if [ "$1" = "0" ]; then
525         /usr/sbin/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
526 fi
527
528 %post mod_proxy
529 /usr/sbin/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
530
531 %preun mod_proxy
532 if [ "$1" = "0" ]; then
533         /usr/sbin/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
534 fi
535
536 %post mod_rewrite
537 /usr/sbin/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
538
539 %preun mod_rewrite
540 if [ "$1" = "0" ]; then
541         /usr/sbin/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
542 fi
543
544 %post mod_status
545 /usr/sbin/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
546
547 %preun mod_status
548 if [ "$1" = "0" ]; then
549         /usr/sbin/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
550 fi
551
552 %post mod_usertrack
553 /usr/sbin/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
554
555 %preun mod_usertrack
556 if [ "$1" = "0" ]; then
557         /usr/sbin/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
558 fi
559
560 %post mod_unique_id
561 /usr/sbin/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
562
563 %preun mod_unique_id
564 if [ "$1" = "0" ]; then
565         /usr/sbin/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
566 fi
567
568 %post mod_vhost_alias
569 /usr/sbin/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
570
571 %preun mod_vhost_alias
572 if [ "$1" = "0" ]; then
573         /usr/sbin/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
574 fi
575
576 %clean
577 rm -rf $RPM_BUILD_ROOT
578
579 %files
580 %defattr(644,root,root,755)
581 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
582 %doc conf/mime.types
583
584 %dir %{_datadir}/manual
585 %dir %{_datadir}/manual/images/
586 %{_datadir}/manual/images/sub.gif
587 %{_datadir}/manual/images/index.gif
588 %{_datadir}/manual/images/home.gif 
589 %{_datadir}/manual/misc
590 %dir %{_datadir}/manual/search
591 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
592 %{_datadir}/manual/vhosts
593 %{_datadir}/manual/LICENSE
594 %{_datadir}/manual/bind.html
595 %{_datadir}/manual/cgi_path.html
596 %{_datadir}/manual/content-negotiation.html
597 %{_datadir}/manual/custom-error.html
598 %{_datadir}/manual/dns-caveats.html
599 %{_datadir}/manual/dso.html
600 %{_datadir}/manual/env.html
601 %{_datadir}/manual/footer.html
602 %{_datadir}/manual/handler.html
603 %{_datadir}/manual/header.html
604 %{_datadir}/manual/index.html
605 %{_datadir}/manual/install.html
606 %{_datadir}/manual/invoking.html
607 %{_datadir}/manual/keepalive.html
608 %{_datadir}/manual/location.html
609 %{_datadir}/manual/multilogs.html
610 %{_datadir}/manual/new_features_1_3.html
611 %{_datadir}/manual/process-model.html
612 %{_datadir}/manual/sections.html
613 %{_datadir}/manual/sourcereorg.html
614 %{_datadir}/manual/suexec.html
615 %{_datadir}/manual/upgrading_to_1_3.html
616 %{_datadir}/manual/mod/core.html
617 %{_datadir}/manual/mod/directive-dict.html
618 %{_datadir}/manual/mod/directives.html
619 %{_datadir}/manual/mod/footer.html
620 %{_datadir}/manual/mod/header.html
621 %{_datadir}/manual/mod/index.html
622 %{_datadir}/manual/mod/mod_access.html
623 %{_datadir}/manual/mod/mod_alias.html
624 %{_datadir}/manual/mod/mod_asis.html
625 %{_datadir}/manual/mod/mod_auth.html
626 %{_datadir}/manual/mod/mod_auth_db.html
627 %{_datadir}/manual/mod/mod_auth_dbm.html
628 %{_datadir}/manual/mod/mod_autoindex.html
629 %{_datadir}/manual/mod/mod_cgi.html
630 %{_datadir}/manual/mod/mod_cookies.html
631 %{_datadir}/manual/mod/mod_env.html
632 %{_datadir}/manual/mod/mod_include.html
633 %{_datadir}/manual/mod/mod_log_agent.html
634 %{_datadir}/manual/mod/mod_log_config.html
635 %{_datadir}/manual/mod/mod_log_referer.html
636 %{_datadir}/manual/mod/mod_mime.html
637 %{_datadir}/manual/mod/mod_mime_magic.html
638 %{_datadir}/manual/mod/mod_negotiation.html
639 %{_datadir}/manual/mod/mod_setenvif.html
640 %{_datadir}/manual/mod/mod_speling.html
641 %{_datadir}/manual/mod/mod_userdir.html
642
643 %attr(754,root,root) /etc/rc.d/init.d/httpd
644
645 %attr(750,root,root) %dir %{_sysconfdir}
646 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/access.conf
647 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
648 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/srm.conf
649 %attr(640,root,root) %{_sysconfdir}/magic
650
651 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
652 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
653
654 %attr(755,root,root) %dir %{_datadir}/html
655 %config(noreplace) %{_datadir}/html/index.html
656 %lang(ca) %{_datadir}/html/index.html.ca
657 %lang(cz) %{_datadir}/html/index.html.cz
658 %lang(de) %{_datadir}/html/index.html.de
659 %lang(dk) %{_datadir}/html/index.html.dk
660 %lang(ee) %{_datadir}/html/index.html.ee
661 %lang(en) %{_datadir}/html/index.html.en
662 %lang(es) %{_datadir}/html/index.html.es
663 %lang(fr) %{_datadir}/html/index.html.fr
664 %lang(it) %{_datadir}/html/index.html.it
665 %lang(lu) %{_datadir}/html/index.html.lu
666 %lang(nl) %{_datadir}/html/index.html.nl
667 %lang(pt) %{_datadir}/html/index.html.pt
668 %lang(se) %{_datadir}/html/index.html.se
669
670 %{_datadir}/html/*.gif
671 %{_datadir}/errordocs
672 %dir %{_datadir}/icons
673 %{_datadir}/icons/*.gif
674 %dir %{_datadir}/icons/small
675 %{_datadir}/icons/small/*.gif
676 %attr(755,root,root) %{_datadir}/cgi-bin
677
678 %dir %{_libexecdir}
679 %attr(755,root,root) %{_libexecdir}/mod_access.so
680 %attr(755,root,root) %{_libexecdir}/mod_alias.so
681 %attr(755,root,root) %{_libexecdir}/mod_asis.so
682 %attr(755,root,root) %{_libexecdir}/mod_auth.so
683 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
684 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
685 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
686 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
687 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
688 %attr(755,root,root) %{_libexecdir}/mod_env.so
689 %attr(755,root,root) %{_libexecdir}/mod_include.so
690 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
691 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
692 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
693 %attr(755,root,root) %{_libexecdir}/mod_mime.so
694 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
695 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
696 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
697 %attr(755,root,root) %{_libexecdir}/mod_speling.so
698 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
699
700 %attr(755,root,root) %{_bindir}/dbmmanage 
701 %attr(755,root,root) %{_bindir}/htdigest
702 %attr(755,root,root) %{_bindir}/htpasswd
703
704 %attr(755,root,root) %{_sbindir}/ab
705 %attr(755,root,root) %{_sbindir}/apachectl
706 %attr(755,root,root) %{_sbindir}/apxs
707 %attr(755,root,root) %{_sbindir}/httpd
708 %attr(755,root,root) %{_sbindir}/logresolve
709 %attr(755,root,root) %{_sbindir}/rotatelogs
710
711 %dir %attr(750,http,http) /var/state/apache
712
713 %{_mandir}/man[18]/*
714
715 %attr(750,root,root) %dir /var/log/httpd
716 %attr(750,root,root) %dir /var/log/archiv/httpd
717 %attr(640,root,root) %ghost /var/log/httpd/*
718
719 %files suexec
720 %attr(4755,root,root) %{_sbindir}/suexec
721
722 %files devel
723 %defattr(644,root,root,755) 
724
725 %{_includedir}
726
727 %files mod_actions
728 %attr(755,root,root) %{_libexecdir}/mod_actions.so
729 %attr(644,root,root) %{_datadir}/manual/mod/mod_actions.html
730
731 %files mod_auth_anon
732 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
733 %attr(644,root,root) %{_datadir}/manual/mod/mod_auth_anon.html
734
735 %files mod_digest
736 %attr(755,root,root) %{_libexecdir}/mod_digest.so
737 %attr(644,root,root) %{_datadir}/manual/mod/mod_digest.html
738
739 %files mod_dir
740 %attr(755,root,root) %{_libexecdir}/mod_dir.so
741 %attr(644,root,root) %{_datadir}/manual/mod/mod_dir.html
742
743 %files mod_expires
744 %attr(755,root,root) %{_libexecdir}/mod_expires.so
745 %attr(644,root,root) %{_datadir}/manual/mod/mod_expires.html
746
747 %files mod_headers
748 %attr(755,root,root) %{_libexecdir}/mod_headers.so
749 %attr(644,root,root) %{_datadir}/manual/mod/mod_headers.html
750
751 %files mod_mmap_static
752 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
753 %attr(644,root,root) %{_datadir}/manual/mod/mod_mmap_static.html
754
755 %files mod_imap
756 %attr(755,root,root) %{_libexecdir}/mod_imap.so
757 %attr(644,root,root) %{_datadir}/manual/mod/mod_imap.html
758
759 %files mod_info
760 %attr(755,root,root) %{_libexecdir}/mod_info.so
761 %attr(644,root,root) %{_datadir}/manual/mod/mod_info.html
762
763 %files mod_proxy
764 %attr(755,root,root) %{_libexecdir}/libproxy.so
765 %attr(644,root,root) %{_datadir}/manual/mod/mod_proxy.html
766 %dir %attr(750,http,http) /var/cache/apache
767
768 %files mod_rewrite
769 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
770 %attr(644,root,root) %{_datadir}/manual/mod/mod_rewrite.html
771
772 %files mod_status
773 %attr(755,root,root) %{_libexecdir}/mod_status.so
774 %attr(644,root,root) %{_datadir}/manual/mod/mod_status.html
775
776 %files mod_usertrack
777 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
778 %attr(644,root,root) %{_datadir}/manual/mod/mod_usertrack.html
779
780 %files mod_unique_id
781 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
782 %attr(644,root,root) %{_datadir}/manual/mod/mod_unique_id.html
783
784 %files mod_vhost_alias
785 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
786 %attr(644,root,root) %{_datadir}/manual/mod/mod_vhost_alias.html
787 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/virtual-host.conf
This page took 0.082692 seconds and 4 git commands to generate.