1 Summary: HTTP server daemon to provide WWW services
2 Summary(de): Leading World Wide Web-Server
3 Summary(fr): Serveur Web leader du marché
4 Summary(pl): Serwer WWW (World Wide Web)
5 Summary(tr): Lider WWW tarayýcý
9 Group: Networking/Daemons
10 Group(pl): Sieci/Demony
11 Source0: ftp://ftp.apache.org/apache/dist/%{name}_%{version}.tar.gz
14 Source3: %{name}-extra.tar.bz2
15 ######## http://www.eos.ncsu.edu/apache
16 Source5: mod_auth_kerb-3.6.tar.gz
17 Patch0: %{name}-1.3.2-suexec.patch
18 Patch1: %{name}-ndbm.patch
20 Obsoletes: apache-extra
24 Prereq: /sbin/chkconfig
25 URL: http://www.apache.org/
26 BuildRoot: /tmp/%{name}-%{version}-root
29 Apache is a full featured web server that is freely available, and also
30 happens to be the most widely used.
33 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
34 erhältlich und weit verbreitet ist.
37 Apache est un serveur Web complet, disponible librement, et se trouve être
38 aussi le plus utilisé à travers le monde.
41 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz
42 móg³ prezentowaæ w³asne strony WWW w sieci internet. Apache umo¿liwia równie¿
43 konfigurowanie serwerów wirtualnych.
46 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
49 Summary: Apache suexec wrapper
50 Summary(pl): Suexec wrapper do serwera www Apache
51 Group: Networking/Development
52 Group(pl): Sieci/Programowanie
53 Requires: %{name} = %{version}
56 The suEXEC feature provides Apache users the ability to run CGI and SSI
57 programs under user IDs different from the user ID of the calling web-server.
58 Normally, when a CGI or SSI program executes, it runs as the same user
59 who is running the web server.
61 %description -l pl suexec
62 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z innym
63 UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s± wykonywane
64 jako taki sam u¿ytkownik jak serwer WWW.
67 Summary: Apache include files
68 Summary(pl): Pliki nag³ówkowe do serwera www Apache
69 Group: Networking/Development
70 Group(pl): Sieci/Programowanie
71 Requires: %{name} = %{version}
76 %description -l pl devel
77 Pliki nag³ówkowe dla serwera WWW Apache.
80 Summary: Apache dokumentation
81 Summary(pl): Dokumentacja do Apache
83 Group(pl): Dokumentacja
84 Requires: %{name} = %{version}
85 URL: http://www.apache.org/
88 Documentation for apache in HTML format.
90 %description -l pl doc
91 Dokumentacja do Apache w formacie HTML
94 %setup -q -n apache_%{version} -a3
99 OPTIM=$RPM_OPT_FLAGS LDFLAGS=-s\
100 ./configure %{_target} \
102 --sysconfdir=/etc/httpd/conf \
103 --datadir=/home/httpd \
104 --libexecdir=/usr/libexec/apache \
105 --localstatedir=/var \
106 --runtimedir=/var/run \
107 --logfiledir=/var/log/httpd \
108 --without-confadjust \
109 --enable-module=all \
110 --enable-shared=max \
111 --disable-module=auth_db \
112 --proxycachedir=/var/spool/proxy \
113 --with-perl=/usr/bin/perl \
115 --suexec-caller=http \
116 --suexec-uidmin=500 \
117 --suexec-gidmin=500 \
118 --sbindir=/usr/sbin \
119 --includedir=/usr/include/apache
124 rm -rf $RPM_BUILD_ROOT
126 make install-quiet root="$RPM_BUILD_ROOT"
128 mv $RPM_BUILD_ROOT/home/httpd/htdocs $RPM_BUILD_ROOT/home/httpd/html
130 install -d $RPM_BUILD_ROOT/etc/{httpd/conf,logrotate.d,rc.d/init.d}
131 install -d $RPM_BUILD_ROOT/home/httpd/{html/manual,icons,cgi-bin}
132 install -d $RPM_BUILD_ROOT/{usr/{lib/apache,sbin,man/man{1,8}},var/log/httpd}
134 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
135 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
137 install -d $RPM_BUILD_ROOT/usr/include/apache
139 rm -f $RPM_BUILD_ROOT/etc/httpd/conf/*
140 rm -f $RPM_BUILD_ROOT/home/httpd/html/manual/expand.pl
142 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error}_log
144 mv -f apache-extra/errordocs $RPM_BUILD_ROOT/home/httpd/
145 cp -a apache-extra/icons/* $RPM_BUILD_ROOT/home/httpd/icons
146 cp -a apache-extra/*.conf $RPM_BUILD_ROOT/etc/httpd/conf
147 cp -a apache-extra/m* $RPM_BUILD_ROOT/etc/httpd/conf
149 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man8/*}
150 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
153 rm -rf $RPM_BUILD_ROOT
156 /sbin/chkconfig --add httpd
160 if [ -f /var/lock/subsys/httpd ]; then
161 /etc/rc.d/init.d/httpd stop >&2
163 /sbin/chkconfig --del httpd
167 %defattr(644,root,root,755)
168 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
171 %attr(750,root,root) %dir /etc/httpd
172 %attr(750,root,root) %dir /etc/httpd/conf
173 %attr(640,root,root) %config %verify(not size mtime md5) /etc/httpd/conf/*
175 %attr(640,root,root) %config /etc/logrotate.d/*
176 %attr(755,root,root) %dir /home/httpd/html
178 %config(noreplace) /home/httpd/html/index.html
180 %attr(644,root,root) /home/httpd/html/*.gif
181 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
183 %attr(755,root,root,755) /home/httpd/cgi-bin
184 %attr(755,root,root,755) /usr/libexec/apache
186 %attr(755,root,root,755) %dir /home/httpd/icons
187 /home/httpd/icons/*.gif
189 %attr(755,root,root,755) %dir /home/httpd/errordocs
190 /home/httpd/errordocs/*
192 %attr(755,root,root) /usr/bin/dbmmanage
193 %attr(755,root,root) /usr/bin/htdigest
194 %attr(755,root,root) /usr/bin/htpasswd
196 %attr(755,root,root) /usr/sbin/ab
197 %attr(755,root,root) /usr/sbin/apachectl
198 %attr(755,root,root) /usr/sbin/apxs
199 %attr(755,root,root) /usr/sbin/httpd
200 %attr(755,root,root) /usr/sbin/logresolve
201 %attr(755,root,root) /usr/sbin/rotatelogs
205 %attr(750,root,root) %dir /var/log/httpd
206 %attr(640,root,root) %config %verify(not size mtime md5) /var/log/httpd/*
209 %attr(4711,root,root) /usr/sbin/suexec
212 %defattr(644,root,root,755)
214 %dir /usr/include/apache
215 /usr/include/apache/*
218 %defattr(644,root,root,755)
219 /home/httpd/html/manual
222 * Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
225 - gzipping instead bzipping
228 * Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
230 - rebuild against new kernel-2.2.0 ;)
232 * Mon Jan 25 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
236 * Thu Jan 21 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
238 - fixed files permission,
240 - some other changes.
242 * Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
244 - fixed sbindir && apache includes (by Mirek Nowakowski <nowam@pg.gda.pl>),
245 - compressed documentation,
248 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
250 - removed making symlinks in /etc/rc.d/rc?.d and in %install also
251 removed this symlinks from %files (/etc/rc.d/init.d/httpd suports
253 - more simplifications in %install,
254 - added new apache-config.patch,
255 - added "%ghost /var/log/httpd/suexec_log" for suexec subpackage,
256 - added "Requires: setup >= 1.10.0" for proper install in enviroment with
259 * Wed Oct 14 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
262 - changed user/group to http
263 - added patch against GNU libc-2.1,
264 prepared by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
265 - enabled all modules (without auth_db ....)
266 - added magic (for mod_mime_magic)
267 - rebuild spec file to minimize number of patches
268 - suEXEC in separated package
270 * Wed Oct 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
272 - build against Tornado (GNU libc-2.1),
275 * Fri Sep 25 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
278 - reconfig to use /etc/mime.types (again)
279 orginal mime.types can be found in documentation directory
280 - changed to user/group httpd
281 - restore orginal start page
282 - documentation in separate package
283 - added "Provides:httpd"
285 * Thu Sep 3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
287 - removed /home/httpd/icons/README
288 - added devel subpackage,
289 - added pl translation (Wojtek ¦lusarczyk <wojtek@shadow.eu.org>),
290 - removed Serial: filed,
291 - removed Packager: field (this must be placed in private ~/.rpmrc),
292 - simplification in %files and %install,
293 - /home/httpd/html/manual is now marked as %doc,
294 - added /etc/rc.d/rc*.d/* symlinks as a %config(missingok),
295 - changed permidssion on logrotate config file to 600,
296 - changed permidssion on /var/log/httpd to 700,
297 - added %ghost /var/log/httpd/*
298 - added striping modules.
299 - added patch to defeat header dos attack
301 * Sat Jul 18 1998 Manoj Kasichainula <manojk@io.com>
303 some of the changes from 1.3.0-1 (mine was done independantly, so there are
304 probably other changes)
305 - /etc/rc.d/init.d/httpd includes reload
306 - logrotate doesn't kill all httpd processes, just one. This is recommended.
307 - Doesn't uses Red Hat MIME typesm since RH mime.types doesn't include .htm,
308 and there are other differences which will probably just cause lots of
310 - Don't change ServerAdmin (this fake address is on purpose according
312 - don't enable mod_auth_dbm, since it can supposedly conflict with
315 * Sun May 31 1998 Manoj Kasichainula <manojk@io.com>
317 - Updated to 1.3b8_dev
318 - Deleted some patchwork because of improvements in APACI
319 - Added translations from RH 5.1 Apache RPM
320 - Loosened permissions to match RH 5.1 Apache RPM in /home
322 - Collapsed doc package into main package (partly inspired by RPM bug)
324 * Fri May 22 1998 Manoj Kasichainula <manojk@io.com>
327 - Uses APACI configuration interface -- radical rewrite
328 - No more apache-extra, at least for now
329 - more descriptive Copyright field
331 - Explicitly decided not to use built-in mime.types, but included patch to do
334 * Thu Apr 16 1998 Manoj Kasichainula <manojk@io.com>
337 - Split perl path patch from other config (saves a little time when upgrading
339 - Started the process of separating out shared modules. So far, only the proxy
340 module has been done.
341 - Yeah, I'm aware of 1.3b6-3 RPM in contrib. It has problems that I would
342 discuss with the packager if I could find out who that was.
344 * Thu Mar 5 1998 Manoj Kasichainula <manojk@io.com>
347 - Buildable by non-root
349 * Fri Jan 2 1998 Manoj Kasichainula <manojk@io.com>
351 - Includes changes from Red Hat 5.0's Apache release
352 - added patch for backslash DoS attach
353 - made the default index.html be config(noreplace) so we no longer
354 blow away other folks' index.html
355 - added chkconfig support
356 - added restart|status options to initscript
357 - renamed httpd.init to httpd
359 - Now uses Red Hat's mime.types file (I may change my mind on this)
360 - No longer keeps an agent and referer log.
363 - Fixed sillyness in /etc/rc.d/init.d/httpd
364 - Now require recent version of initscripts with killproc fix.
365 - Changed logrotate script
366 - Undid Red Hat's ServerAdmin change (Red Hat's choice results in a
367 seemingly valid but nonsensical address)
368 - suexec moved to /home/httpd/sbin/suexec
369 - Replaced a reference to apache_pb.gif to /icons/apache_pb.gif, to save a
372 * Thu Oct 16 1997 Manoj Kasichainula <manojk@io.com>
374 - MaxRequestsPerChild upped to 10000
375 - apache-suexec absorbed into apache
376 - Uncommented Serial: line. Now, it requires a recent version of RPM