1 Summary: HTTP server daemon to provide WWW services with IPv6 support
2 Summary(de): Leading World Wide Web-Server
3 Summary(fr): Serveur Web leader du marché
4 Summary(pl): Serwer WWW (World Wide Web) ze wsparciem dla IPv6
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
13 Source2: %{name}.logrotate
14 Source3: %{name}-extra.tar.bz2
15 ######## http://stonecold.unity.ncsu.edu/software/mod_auth_kerb/index.html
16 Source5: mod_auth_kerb-4.3.tar.gz
17 Source6: apache_1.3.6.tar.gz.asc
18 Source7: apache_1.3.6.tar.gz.md5
19 Patch0: %{name}-suexec.patch
20 Patch1: %{name}_1.3.6.ipv6.patch
22 Obsoletes: apache-extra
26 Prereq: /sbin/chkconfig
27 URL: http://www.apache.org/
28 BuildRoot: /tmp/%{name}-%{version}-root
31 Apache is a full featured web server that is freely available, and also
32 happens to be the most widely used. This version supports IPv6.
35 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
36 erhältlich und weit verbreitet ist.
39 Apache est un serveur Web complet, disponible librement, et se trouve être
40 aussi le plus utilisé à travers le monde.
43 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz
44 móg³ prezentowaæ w³asne strony WWW w sieci internet. Apache umo¿liwia równie¿
45 konfigurowanie serwerów wirtualnych. Ta wersja wspiera IPv6.
48 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
51 Summary: Apache suexec wrapper
52 Summary(pl): Suexec wrapper do serwera www Apache
53 Group: Networking/Development
54 Group(pl): Sieci/Programowanie
55 Requires: %{name} = %{version}
58 The suEXEC feature provides Apache users the ability to run CGI and SSI
59 programs under user IDs different from the user ID of the calling web-server.
60 Normally, when a CGI or SSI program executes, it runs as the same user
61 who is running the web server.
63 %description -l pl suexec
64 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z innym
65 UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s± wykonywane
66 jako taki sam u¿ytkownik jak serwer WWW.
69 Summary: Apache include files
70 Summary(pl): Pliki nag³ówkowe do serwera www Apache
71 Group: Networking/Development
72 Group(pl): Sieci/Programowanie
73 Requires: %{name} = %{version}
78 %description -l pl devel
79 Pliki nag³ówkowe dla serwera WWW Apache.
82 Summary: Apache dokumentation
83 Summary(pl): Dokumentacja do Apache
85 Group(pl): Dokumentacja
86 Requires: %{name} = %{version}
87 URL: http://www.apache.org/
90 Documentation for apache in HTML format.
92 %description -l pl doc
93 Dokumentacja do Apache w formacie HTML
96 %setup -q -n apache_%{version} -a3
101 OPTIM=$RPM_OPT_FLAGS LDFLAGS=-s\
104 --sysconfdir=/etc/httpd/conf \
105 --datadir=/home/httpd \
106 --libexecdir=/usr/libexec/apache \
107 --localstatedir=/var \
108 --runtimedir=/var/run \
109 --logfiledir=/var/log/httpd \
110 --without-confadjust \
111 --enable-module=all \
112 --enable-shared=max \
113 --proxycachedir=/var/cache/www/apache \
114 --with-perl=%{_bindir}/perl \
116 --suexec-caller=http \
117 --suexec-uidmin=500 \
118 --suexec-gidmin=500 \
119 --sbindir=%{_sbindir} \
120 --includedir=%{_includedir}/apache \
126 rm -rf $RPM_BUILD_ROOT
128 make install-quiet root="$RPM_BUILD_ROOT"
130 mv $RPM_BUILD_ROOT/home/httpd/htdocs $RPM_BUILD_ROOT/home/httpd/html
132 install -d $RPM_BUILD_ROOT/etc/{httpd/conf,logrotate.d,rc.d/init.d}
133 install -d $RPM_BUILD_ROOT/home/httpd/{html/manual,icons,cgi-bin}
134 install -d $RPM_BUILD_ROOT/{usr/{share,lib/apache,sbin,man/man{1,8}},var/log/httpd}
136 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
137 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
139 install -d $RPM_BUILD_ROOT%{_includedir}/apache
141 rm -f $RPM_BUILD_ROOT/etc/httpd/conf/*
142 rm -f $RPM_BUILD_ROOT/home/httpd/html/manual/expand.pl
144 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error}_log
146 cp -a apache-extra/errordocs $RPM_BUILD_ROOT/home/httpd/
147 cp -a apache-extra/icons/* $RPM_BUILD_ROOT/home/httpd/icons
148 cp -a apache-extra/*.conf $RPM_BUILD_ROOT/etc/httpd/conf
149 cp -a apache-extra/m* $RPM_BUILD_ROOT/etc/httpd/conf
151 mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT%{_mandir}
153 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man8/*}
154 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README README.v6
157 rm -rf $RPM_BUILD_ROOT
160 /sbin/chkconfig --add httpd
164 if [ -f /var/lock/subsys/httpd ]; then
165 /etc/rc.d/init.d/httpd stop >&2
167 /sbin/chkconfig --del httpd
171 %defattr(644,root,root,755)
172 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
173 %doc conf/mime.types README.v6
175 %attr(750,root,root) %dir /etc/httpd
176 %attr(750,root,root) %dir /etc/httpd/conf
177 %attr(640,root,root) %config %verify(not size mtime md5) /etc/httpd/conf/*
179 %attr(640,root,root) %config /etc/logrotate.d/*
180 %attr(755,root,root) %dir /home/httpd/html
182 %config(noreplace) /home/httpd/html/index.html
184 %attr(644,root,root) /home/httpd/html/*.gif
185 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
187 %attr(755,root,root) /home/httpd/cgi-bin
188 %attr(755,root,root) /usr/libexec/apache
190 %attr(755,root,root) %dir /home/httpd/icons
191 /home/httpd/icons/*.gif
193 %attr(755,root,root) %dir /home/httpd/errordocs
194 /home/httpd/errordocs/*
196 %attr(755,root,root) %{_bindir}/dbmmanage
197 %attr(755,root,root) %{_bindir}/htdigest
198 %attr(755,root,root) %{_bindir}/htpasswd
200 %attr(755,root,root) %{_sbindir}/ab
201 %attr(755,root,root) %{_sbindir}/apachectl
202 %attr(755,root,root) %{_sbindir}/apxs
203 %attr(755,root,root) %{_sbindir}/httpd
204 %attr(755,root,root) %{_sbindir}/logresolve
205 %attr(755,root,root) %{_sbindir}/rotatelogs
206 %dir %attr(750,http,http) /var/cache/www/apache
210 %attr(750,root,root) %dir /var/log/httpd
211 %attr(640,root,root) %config %verify(not size mtime md5) /var/log/httpd/*
214 %attr(4711,root,root) %{_sbindir}/suexec
217 %defattr(644,root,root,755)
219 %dir %{_includedir}/apache
220 %{_includedir}/apache/*
223 %defattr(644,root,root,755)
224 /home/httpd/html/manual
227 * Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
230 - gzipping instead bzipping
233 * Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
235 - rebuild against new kernel-2.2.0 ;)
237 * Mon Jan 25 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
241 * Thu Jan 21 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
243 - fixed files permission,
245 - some other changes.
247 * Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
249 - fixed sbindir && apache includes (by Mirek Nowakowski <nowam@pg.gda.pl>),
250 - compressed documentation,
253 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
255 - removed making symlinks in /etc/rc.d/rc?.d and in %install also
256 removed this symlinks from %files (/etc/rc.d/init.d/httpd suports
258 - more simplifications in %install,
259 - added new apache-config.patch,
260 - added "%ghost /var/log/httpd/suexec_log" for suexec subpackage,
261 - added "Requires: setup >= 1.10.0" for proper install in enviroment with
264 * Wed Oct 14 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
267 - changed user/group to http
268 - added patch against GNU libc-2.1,
269 prepared by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
270 - enabled all modules (without auth_db ....)
271 - added magic (for mod_mime_magic)
272 - rebuild spec file to minimize number of patches
273 - suEXEC in separated package
275 * Wed Oct 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
277 - build against Tornado (GNU libc-2.1),
280 * Fri Sep 25 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
283 - reconfig to use /etc/mime.types (again)
284 orginal mime.types can be found in documentation directory
285 - changed to user/group httpd
286 - restore orginal start page
287 - documentation in separate package
288 - added "Provides:httpd"
290 * Thu Sep 3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
292 - removed /home/httpd/icons/README
293 - added devel subpackage,
294 - added pl translation (Wojtek ¦lusarczyk <wojtek@shadow.eu.org>),
295 - removed Serial: filed,
296 - removed Packager: field (this must be placed in private ~/.rpmrc),
297 - simplification in %files and %install,
298 - /home/httpd/html/manual is now marked as %doc,
299 - added /etc/rc.d/rc*.d/* symlinks as a %config(missingok),
300 - changed permidssion on logrotate config file to 600,
301 - changed permidssion on /var/log/httpd to 700,
302 - added %ghost /var/log/httpd/*
303 - added striping modules.
304 - added patch to defeat header dos attack
306 * Sat Jul 18 1998 Manoj Kasichainula <manojk@io.com>
308 some of the changes from 1.3.0-1 (mine was done independantly, so there are
309 probably other changes)
310 - /etc/rc.d/init.d/httpd includes reload
311 - logrotate doesn't kill all httpd processes, just one. This is recommended.
312 - Doesn't uses Red Hat MIME typesm since RH mime.types doesn't include .htm,
313 and there are other differences which will probably just cause lots of
315 - Don't change ServerAdmin (this fake address is on purpose according
317 - don't enable mod_auth_dbm, since it can supposedly conflict with
320 * Sun May 31 1998 Manoj Kasichainula <manojk@io.com>
322 - Updated to 1.3b8_dev
323 - Deleted some patchwork because of improvements in APACI
324 - Added translations from RH 5.1 Apache RPM
325 - Loosened permissions to match RH 5.1 Apache RPM in /home
327 - Collapsed doc package into main package (partly inspired by RPM bug)
329 * Fri May 22 1998 Manoj Kasichainula <manojk@io.com>
332 - Uses APACI configuration interface -- radical rewrite
333 - No more apache-extra, at least for now
334 - more descriptive Copyright field
336 - Explicitly decided not to use built-in mime.types, but included patch to do
339 * Thu Apr 16 1998 Manoj Kasichainula <manojk@io.com>
342 - Split perl path patch from other config (saves a little time when upgrading
344 - Started the process of separating out shared modules. So far, only the proxy
345 module has been done.
346 - Yeah, I'm aware of 1.3b6-3 RPM in contrib. It has problems that I would
347 discuss with the packager if I could find out who that was.
349 * Thu Mar 5 1998 Manoj Kasichainula <manojk@io.com>
352 - Buildable by non-root
354 * Fri Jan 2 1998 Manoj Kasichainula <manojk@io.com>
356 - Includes changes from Red Hat 5.0's Apache release
357 - added patch for backslash DoS attach
358 - made the default index.html be config(noreplace) so we no longer
359 blow away other folks' index.html
360 - added chkconfig support
361 - added restart|status options to initscript
362 - renamed httpd.init to httpd
364 - Now uses Red Hat's mime.types file (I may change my mind on this)
365 - No longer keeps an agent and referer log.
368 - Fixed sillyness in /etc/rc.d/init.d/httpd
369 - Now require recent version of initscripts with killproc fix.
370 - Changed logrotate script
371 - Undid Red Hat's ServerAdmin change (Red Hat's choice results in a
372 seemingly valid but nonsensical address)
373 - suexec moved to /home/httpd/sbin/suexec
374 - Replaced a reference to apache_pb.gif to /icons/apache_pb.gif, to save a
377 * Thu Oct 16 1997 Manoj Kasichainula <manojk@io.com>
379 - MaxRequestsPerChild upped to 10000
380 - apache-suexec absorbed into apache
381 - Uncommented Serial: line. Now, it requires a recent version of RPM