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 --disable-module=auth_db \
114 --proxycachedir=/var/cache/www/apache \
115 --with-perl=%{_bindir}/perl \
117 --suexec-caller=http \
118 --suexec-uidmin=500 \
119 --suexec-gidmin=500 \
120 --sbindir=%{_sbindir} \
121 --includedir=%{_includedir}/apache \
127 rm -rf $RPM_BUILD_ROOT
129 make install-quiet root="$RPM_BUILD_ROOT"
131 mv $RPM_BUILD_ROOT/home/httpd/htdocs $RPM_BUILD_ROOT/home/httpd/html
133 install -d $RPM_BUILD_ROOT/etc/{httpd/conf,logrotate.d,rc.d/init.d}
134 install -d $RPM_BUILD_ROOT/home/httpd/{html/manual,icons,cgi-bin}
135 install -d $RPM_BUILD_ROOT/{usr/{share,lib/apache,sbin,man/man{1,8}},var/log/httpd}
137 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
138 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
140 install -d $RPM_BUILD_ROOT%{_includedir}/apache
142 rm -f $RPM_BUILD_ROOT/etc/httpd/conf/*
143 rm -f $RPM_BUILD_ROOT/home/httpd/html/manual/expand.pl
145 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error}_log
147 cp -a apache-extra/errordocs $RPM_BUILD_ROOT/home/httpd/
148 cp -a apache-extra/icons/* $RPM_BUILD_ROOT/home/httpd/icons
149 cp -a apache-extra/*.conf $RPM_BUILD_ROOT/etc/httpd/conf
150 cp -a apache-extra/m* $RPM_BUILD_ROOT/etc/httpd/conf
152 mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT%{_mandir}
154 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man8/*}
155 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
158 rm -rf $RPM_BUILD_ROOT
161 /sbin/chkconfig --add httpd
165 if [ -f /var/lock/subsys/httpd ]; then
166 /etc/rc.d/init.d/httpd stop >&2
168 /sbin/chkconfig --del httpd
172 %defattr(644,root,root,755)
173 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
176 %attr(750,root,root) %dir /etc/httpd
177 %attr(750,root,root) %dir /etc/httpd/conf
178 %attr(640,root,root) %config %verify(not size mtime md5) /etc/httpd/conf/*
180 %attr(640,root,root) %config /etc/logrotate.d/*
181 %attr(755,root,root) %dir /home/httpd/html
183 %config(noreplace) /home/httpd/html/index.html
185 %attr(644,root,root) /home/httpd/html/*.gif
186 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
188 %attr(755,root,root) /home/httpd/cgi-bin
189 %attr(755,root,root) /usr/libexec/apache
191 %attr(755,root,root) %dir /home/httpd/icons
192 /home/httpd/icons/*.gif
194 %attr(755,root,root) %dir /home/httpd/errordocs
195 /home/httpd/errordocs/*
197 %attr(755,root,root) %{_bindir}/dbmmanage
198 %attr(755,root,root) %{_bindir}/htdigest
199 %attr(755,root,root) %{_bindir}/htpasswd
201 %attr(755,root,root) %{_sbindir}/ab
202 %attr(755,root,root) %{_sbindir}/apachectl
203 %attr(755,root,root) %{_sbindir}/apxs
204 %attr(755,root,root) %{_sbindir}/httpd
205 %attr(755,root,root) %{_sbindir}/logresolve
206 %attr(755,root,root) %{_sbindir}/rotatelogs
207 %dir %attr(750,http,http) /var/cache/www/apache
211 %attr(750,root,root) %dir /var/log/httpd
212 %attr(640,root,root) %config %verify(not size mtime md5) /var/log/httpd/*
215 %attr(4711,root,root) %{_sbindir}/suexec
218 %defattr(644,root,root,755)
220 %dir %{_includedir}/apache
221 %{_includedir}/apache/*
224 %defattr(644,root,root,755)
225 /home/httpd/html/manual
228 * Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
231 - gzipping instead bzipping
234 * Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
236 - rebuild against new kernel-2.2.0 ;)
238 * Mon Jan 25 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
242 * Thu Jan 21 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
244 - fixed files permission,
246 - some other changes.
248 * Sun Jan 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
250 - fixed sbindir && apache includes (by Mirek Nowakowski <nowam@pg.gda.pl>),
251 - compressed documentation,
254 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
256 - removed making symlinks in /etc/rc.d/rc?.d and in %install also
257 removed this symlinks from %files (/etc/rc.d/init.d/httpd suports
259 - more simplifications in %install,
260 - added new apache-config.patch,
261 - added "%ghost /var/log/httpd/suexec_log" for suexec subpackage,
262 - added "Requires: setup >= 1.10.0" for proper install in enviroment with
265 * Wed Oct 14 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
268 - changed user/group to http
269 - added patch against GNU libc-2.1,
270 prepared by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
271 - enabled all modules (without auth_db ....)
272 - added magic (for mod_mime_magic)
273 - rebuild spec file to minimize number of patches
274 - suEXEC in separated package
276 * Wed Oct 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
278 - build against Tornado (GNU libc-2.1),
281 * Fri Sep 25 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
284 - reconfig to use /etc/mime.types (again)
285 orginal mime.types can be found in documentation directory
286 - changed to user/group httpd
287 - restore orginal start page
288 - documentation in separate package
289 - added "Provides:httpd"
291 * Thu Sep 3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
293 - removed /home/httpd/icons/README
294 - added devel subpackage,
295 - added pl translation (Wojtek ¦lusarczyk <wojtek@shadow.eu.org>),
296 - removed Serial: filed,
297 - removed Packager: field (this must be placed in private ~/.rpmrc),
298 - simplification in %files and %install,
299 - /home/httpd/html/manual is now marked as %doc,
300 - added /etc/rc.d/rc*.d/* symlinks as a %config(missingok),
301 - changed permidssion on logrotate config file to 600,
302 - changed permidssion on /var/log/httpd to 700,
303 - added %ghost /var/log/httpd/*
304 - added striping modules.
305 - added patch to defeat header dos attack
307 * Sat Jul 18 1998 Manoj Kasichainula <manojk@io.com>
309 some of the changes from 1.3.0-1 (mine was done independantly, so there are
310 probably other changes)
311 - /etc/rc.d/init.d/httpd includes reload
312 - logrotate doesn't kill all httpd processes, just one. This is recommended.
313 - Doesn't uses Red Hat MIME typesm since RH mime.types doesn't include .htm,
314 and there are other differences which will probably just cause lots of
316 - Don't change ServerAdmin (this fake address is on purpose according
318 - don't enable mod_auth_dbm, since it can supposedly conflict with
321 * Sun May 31 1998 Manoj Kasichainula <manojk@io.com>
323 - Updated to 1.3b8_dev
324 - Deleted some patchwork because of improvements in APACI
325 - Added translations from RH 5.1 Apache RPM
326 - Loosened permissions to match RH 5.1 Apache RPM in /home
328 - Collapsed doc package into main package (partly inspired by RPM bug)
330 * Fri May 22 1998 Manoj Kasichainula <manojk@io.com>
333 - Uses APACI configuration interface -- radical rewrite
334 - No more apache-extra, at least for now
335 - more descriptive Copyright field
337 - Explicitly decided not to use built-in mime.types, but included patch to do
340 * Thu Apr 16 1998 Manoj Kasichainula <manojk@io.com>
343 - Split perl path patch from other config (saves a little time when upgrading
345 - Started the process of separating out shared modules. So far, only the proxy
346 module has been done.
347 - Yeah, I'm aware of 1.3b6-3 RPM in contrib. It has problems that I would
348 discuss with the packager if I could find out who that was.
350 * Thu Mar 5 1998 Manoj Kasichainula <manojk@io.com>
353 - Buildable by non-root
355 * Fri Jan 2 1998 Manoj Kasichainula <manojk@io.com>
357 - Includes changes from Red Hat 5.0's Apache release
358 - added patch for backslash DoS attach
359 - made the default index.html be config(noreplace) so we no longer
360 blow away other folks' index.html
361 - added chkconfig support
362 - added restart|status options to initscript
363 - renamed httpd.init to httpd
365 - Now uses Red Hat's mime.types file (I may change my mind on this)
366 - No longer keeps an agent and referer log.
369 - Fixed sillyness in /etc/rc.d/init.d/httpd
370 - Now require recent version of initscripts with killproc fix.
371 - Changed logrotate script
372 - Undid Red Hat's ServerAdmin change (Red Hat's choice results in a
373 seemingly valid but nonsensical address)
374 - suexec moved to /home/httpd/sbin/suexec
375 - Replaced a reference to apache_pb.gif to /icons/apache_pb.gif, to save a
378 * Thu Oct 16 1997 Manoj Kasichainula <manojk@io.com>
380 - MaxRequestsPerChild upped to 10000
381 - apache-suexec absorbed into apache
382 - Uncommented Serial: line. Now, it requires a recent version of RPM