source: projects/specs/trunk/a/apache/apache-vl.spec @ 1473

Revision 1473, 31.9 KB checked in by inagaki, 14 years ago (diff)

updated: apache

Line 
1%define _sysconfdir /etc
2%define _localstatedir /var
3
4%define contentdir /home/httpd
5%define apache_ver 1.3.41
6%define mod_ssl_ver 2.8.31
7%define mm_ver 1.4.2
8
9Summary: The most widely used Web server on the Internet.
10Summary(ja): インターネットで最も広く利用されているウェブサーバ
11Name: apache
12Version: 1.3.41
13Release: 3%{?_dist_release}
14
15Group: System Environment/Daemons
16License: Apache License, Version 2.0
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21#Source0: ftp://ftp.apache.org/apache/dist/apache_%{apache_ver}.tar.gz
22Source0: http://archive.apache.org/dist/httpd/apache_%{apache_ver}.tar.bz2
23Source1: ftp://ftp.modssl.org/source/mod_ssl-%{mod_ssl_ver}-%{apache_ver}.tar.gz
24Source2: ftp://ftp.ossp.org/pkg/lib/mm/mm-%{mm_ver}.tar.gz
25
26Source3: http://www.snert.com/Software/Throttle/mod_throttle211.tgz
27Source4: spacer48.png
28Source5: apache-0vl4-index.html
29Source6: PoweredByVine.png
30Source7: httpd.init
31Source8: apache.logrotate
32Source9: apache-access.conf
33Source10: apache-0vl4-httpd.conf
34Source11: apache-srm.conf
35Source12: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
36Source13: mod_put.c
37Source14: SSL-Certificate-Creation
38Source20: README-apache.conf.d
39
40# Source100: www.apache.jp-20020317.tgz
41Source100: apache-jpdocs-20020327.tgz
42
43# for x86_64 architecture support
44Source207: httpd.init.lib64
45
46Patch1: apache-1.3.31-apxs.patch
47# Patch2: apache_1.3.14-phhttpd-eapi.patch
48Patch4: mod_ssl-2.6.4-tty.patch
49Patch5: apache_1.3.12-piranha.patch
50# Patch6: mod_ssl-2.8.8-openssl.patch
51
52# Patch for security fix
53# Patch200: patch for tmp-file problem from SuSE 8.0 mm-1.1.3-290
54# Patch200: mm-tmp-race.dif
55# Patch210: patch for htpasswd problem
56# Patch210: apache-htpasswd.patch
57# Patch290: apache-1.3.33_CVE-2007-5000.patch
58# Patch300: apache-1.3.39_CVE-2007-6388.patch
59Patch310: apache-1.3.39_CVE-2007-4465.patch
60Patch320: apache-1.3.39_CVE-2008-0005.patch
61Patch330: apache-1.3.41_CVE-2010-0010.patch
62
63# Patch for Vine
64Patch0: apache_1.3.26-vine.patch
65# Patch10: apache_1.3.12-disable_iso8859_charset.patch
66Patch20: apache_1.3.22-use_expat_lite.patch
67Patch30: apache_1.3.26-layout.patch
68Patch40: apache-1.3.41-getline.patch
69
70# for x86_64 architecture support
71#Patch300: mod_ssl-2.8.28-libssl.lib64.patch
72Patch300: mod_ssl-2.8.31-libssl.lib64.patch
73
74
75BuildRoot: %{_tmppath}/%{name}-%{version}-root
76BuildRequires: findutils, openssl-devel, perl
77BuildRequires: db4-devel, gdbm-devel
78# Requires: /etc/mime.types, gawk, file, /usr/bin/find
79# Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, mailcap, grep, textutils
80# Prereq: /usr/sbin/useradd
81Requires: mailcap, gawk, file, findutils
82Requires(post): chkconfig, mktemp, coreutils, mailcap, grep
83Requires(pre): shadow-utils
84Requires(preun): chkconfig
85Provides: webserver
86
87%description
88Apache is a powerful, full-featured, efficient and freely-available
89Web server. Apache is also the most popular Web server on the
90Internet.
91
92Install the apache package if you need a Web server.
93
94
95%description -l ja
96Apacheはパワフルで高機能, 有能でいてかつ自由に利用できるウェブサーバです。
97Apacheはインターネットで最も広く利用されているウェブサーバです。
98
99ウェブサーバを必要とするならapacheパッケージをインストールしてください。
100
101%package -n mod_ssl
102Summary: Cryptography support for the Apache web server.
103Version: %{mod_ssl_ver}
104Group: System Environment/Daemons
105Requires: apache = %{apache_ver}-%{release}
106Requires(post): openssl, dev
107
108%description -n mod_ssl
109The mod_ssl module provides strong cryptography for the Apache web
110server via the Secure Sockets Layer (SSL) and Transport Layer Security
111(TLS) protocols.
112
113%description -n mod_ssl -l ja
114apache web サーバをSSL経由で動かすための mod_ssl モジュールです.
115mod_ssl を始めてインストールしたときにはインストール時には仮のCSR
116が作成されますが、正確な情報を記述したCSRを作成してください。
117
118作成方法は rpm -q --scripts mod_ssl によって表示されるコマンドを参考に
119することもできます。
120
121%package devel
122Summary: Development tools for the Apache Web server.
123Summary(ja): Apacheウェブサーバのための開発ツール
124Group: Development/Libraries
125Obsoletes: secureweb-devel
126
127%description devel
128The apache-devel package contains the APXS binary and other files that
129you'll need to build Dynamic Shared Objects (DSOs) for Apache.
130
131If you are installing the Apache Web server, and you want to be
132able to compile or develop additional modules for Apache, you'll
133need to install this package.
134
135%description -l ja devel
136apache-develパッケージは Apache用のダイナミック共有オブジェクト(DSOs)
137を構築するのに必要なApacheウェブサーバのソースコードとAPXSバイナリを含
138んでいます。
139
140Apacheウェブサーバをインストールして、かつ、追加モジュールを開発または
141コンパイルするには、このパッケージをインストールする必要があります。
142
143
144%package manual
145Summary: Documentation for the Apache Web server.
146Summary(ja): Apacheウェブサーバのためマニュアル文章
147Group: Applications/Documentation
148Requires: apache >= 1.3.26-0vl4
149
150%description manual
151The apache-manual package contains the complete manual and reference
152guide for the Apache Web server.  If you need Apache documentation
153installed on the local machine, install this package.  The information
154can also be found on the Web at http://www.apache.org/docs/.
155
156%description -l ja manual
157apache-manualパッケージは Apacheウェブサーバの完全なマニュアルとリファ
158レンスガイドを含んでいます。もしApacheの文章がローカルマシン上に必要な
159ら、このパッケージをインストールしてください。
160この情報は、http://www.apache.org/docs/にも見ることができます。
161
162%prep
163%setup -q -n apache_%{apache_ver} -a 1 -a 2 -a 3
164%ifarch x86_64
165%patch300 -p0 -b .lib64
166%endif
167
168
169EAPI_MM=`pwd`/mm-%{mm_ver} ; export EAPI_MM
170
171pushd mm-%{mm_ver}
172# %patch200 -p1 -b .mm
173#configure --disable-shared
174popd
175
176#%patch6 -p0 -b .openssl
177pushd mod_ssl-%{mod_ssl_ver}-%{apache_ver}
178%patch4 -p2 -b .tty
179#configure --with-apache=`cd ..;pwd` --with-mm=$EAPI_MM
180popd
181
182%patch0 -p1 -b .redhat
183%patch1 -p1 -b .apxs
184#%patch3 -p0 -b .eapi
185#%patch2 -p1 -b .phhttpd
186%patch5 -p1 -b .piranha
187#%patch10 -p1 -b .disable_iso8859_charset
188%patch20 -p1 -b .use_expat_lite
189%patch30 -p1 -b .layout
190%patch40 -p0 -b .getline
191
192# %patch210 -p1 -b .htpasswd
193# %patch290 -p1 -b .CVE-2007-5000
194# %patch300 -p4 -b .CVE-2007-6388
195%patch310 -p1 -b .CVE-2007-4465
196%patch320 -p1 -b .CVE-2008-0005
197%patch330 -p4 -b .CVE-2010-0010
198
199# mv eapi guys
200cp -p mod_ssl-%{mod_ssl_ver}-%{apache_ver}/pkg.eapi/*.c src/ap/
201cp -p mod_ssl-%{mod_ssl_ver}-%{apache_ver}/pkg.eapi/*.h src/include/
202
203%build
204EAPI_MM=`pwd`/mm-%{mm_ver} ; export EAPI_MM
205
206pushd $EAPI_MM
207%configure --disable-shared
208make
209popd
210
211pushd mod_ssl-%{mod_ssl_ver}-%{apache_ver}
212%configure --with-apache=`cd ..;pwd` --with-mm=$EAPI_MM
213popd
214
215OPTIM="$RPM_OPT_FLAGS" \
216        ./configure --prefix=%{_prefix} \
217        --libexecdir=%{_libdir}/apache \
218        --mandir=%{_mandir} \
219        --with-layout=Vine \
220        --add-module=%{SOURCE12} \
221        --add-module=%{SOURCE13} \
222%if 0
223        --activate-module=src/modules/throttle/mod_throttle.o \
224%endif
225    --add-module=src/modules/throttle/mod_throttle.c \
226        --enable-module=all \
227        --enable-shared=max \
228        --enable-shared=ssl \
229        --enable-rule=EAPI \
230        --disable-rule=WANTHSREGEX \
231        --disable-module=auth_dbm \
232        --with-perl=/usr/bin/perl \
233        --enable-suexec \
234        --suexec-docroot=%{contentdir}/html \
235        --suexec-caller=apache
236make
237
238%install
239rm -rf $RPM_BUILD_ROOT
240make install root=$RPM_BUILD_ROOT
241strip $RPM_BUILD_ROOT%{_sbindir}/httpd
242strip $RPM_BUILD_ROOT%{_libdir}/apache/*so
243
244# remove apachectl; we have our own SYSV init stuff
245rm $RPM_BUILD_ROOT%{_sbindir}/apachectl
246rm $RPM_BUILD_ROOT%{_mandir}/man8/apachectl.8
247
248# install SYSV init stuff
249mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
250%ifarch x86_64
251install -m755 %{SOURCE207} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/httpd
252%else
253install -m755 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/httpd
254%endif
255
256for I in 0 1 2 6; do
257        mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/rc$I.d
258        ln -s ../init.d/httpd $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/rc$I.d/K15httpd
259done
260for I in 3 5; do
261        mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/rc$I.d
262        ln -s ../init.d/httpd $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/rc$I.d/S85httpd
263done
264
265# install log rotation stuff
266mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
267install -m644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/apache
268
269ln -s ../..%{_var}/log/httpd $RPM_BUILD_ROOT%{_sysconfdir}/httpd/logs
270ln -s ../..%{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/httpd/modules
271
272mkdir -p $RPM_BUILD_ROOT%{contentdir}/html
273rm -f $RPM_BUILD_ROOT%{contentdir}/html/index.html.ja.*
274install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{contentdir}/html/index.html.ja
275install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{contentdir}/html/index.html.html
276install -m644 %{SOURCE6} $RPM_BUILD_ROOT%{contentdir}/html
277
278# jpdocs
279tar xzf %{SOURCE100}
280cp -r apache-jpdocs/httpd-docs-1.3-ja/htdocs/manual $RPM_BUILD_ROOT%{contentdir}/html/manual-ja
281mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man1
282cp apache-jpdocs/httpd-docs-1.3-ja/man/*.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1
283mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man8
284cp apache-jpdocs/httpd-docs-1.3-ja/man/*.8 $RPM_BUILD_ROOT%{_mandir}/ja/man8
285rm $RPM_BUILD_ROOT%{_mandir}/ja/man8/apachectl.8
286pushd $RPM_BUILD_ROOT%{_mandir}/ja/man1 ; gzip -9 * ; popd
287pushd $RPM_BUILD_ROOT%{_mandir}/ja/man8 ; gzip -9 * ; popd
288
289# replace Apache's default config files with our own versions
290install -m644 %{SOURCE9} $RPM_BUILD_ROOT/etc/httpd/conf/access.conf
291install -m644 %{SOURCE10} $RPM_BUILD_ROOT/etc/httpd/conf/httpd.conf
292install -m644 %{SOURCE11} $RPM_BUILD_ROOT/etc/httpd/conf/srm.conf
293
294# install conf.d directory
295install -d $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d
296install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/README
297
298# Remove default keys and certs, install docs, and point to the right makefile.
299mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_ssl/
300install -m644 mod_ssl-%{mod_ssl_ver}-%{apache_ver}/pkg.ssldoc/*.{html,gif,jpg} \
301        $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_ssl/
302rm -f $RPM_BUILD_ROOT/etc/httpd/conf/ssl.*/server.*
303ln -s ../../../usr/share/ssl/certs/Makefile $RPM_BUILD_ROOT/etc/httpd/conf
304
305# install apache source code for devel package
306#mkdir -p $RPM_BUILD_ROOT/usr/src
307#tar xzf $RPM_SOURCE_DIR/apache_%{version}.tar.gz -C $RPM_BUILD_ROOT/usr/src
308find $RPM_BUILD_ROOT -type f | \
309        xargs grep -l "/usr/local/bin/perl5" | \
310        xargs perl -pi -e "s|/usr/local/bin/perl5|/usr/bin/perl|g;"
311find $RPM_BUILD_ROOT -type f | \
312        xargs grep -l "/usr/local/bin/perl" | \
313        xargs perl -pi -e "s|/usr/local/bin/perl|/usr/bin/perl|g;"
314
315
316# clean up apxs
317sed "s^$RPM_BUILD_ROOT^^g" $RPM_BUILD_ROOT%{_sbindir}/apxs > apxs.tmp && \
318cat apxs.tmp > $RPM_BUILD_ROOT%{_sbindir}/apxs
319
320# create a prototype session cache
321mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/
322touch $RPM_BUILD_ROOT%{_localstatedir}/cache/ssl_gcache_data.{dir,pag,sem}
323
324# fixup the documentation file naming
325#find $RPM_BUILD_ROOT%{contentdir} -name "*.html.html" | xargs rename .html.html .html
326
327%clean
328rm -rf $RPM_BUILD_ROOT
329
330%post
331/sbin/chkconfig --add httpd
332/etc/rc.d/init.d/httpd condrestart
333[ -f %{_sysconfdir}/mime.types ] || exit 0
334# safely add .htm to mime types if it is not already there
335TEMPTYPES=`/bin/mktemp /tmp/mimetypes.XXXXXX`
336[ -z "$TEMPTYPES" ] && {
337  echo "could not make temporary file, htm not added to /etc/mime.types" >&2
338  exit 1
339}
340( grep -v "^text/html"  %{_sysconfdir}/mime.types
341  types=$(grep "^text/html" %{_sysconfdir}/mime.types | cut -f2-)
342  echo -en "text/html\t\t\t"
343  for val in $types ; do
344      if [ "$val" = "htm" ] ; then
345          continue
346      fi
347      echo -n "$val "
348  done
349  echo "htm"
350) > $TEMPTYPES
351cat $TEMPTYPES > %{_sysconfdir}/mime.types && /bin/rm -f $TEMPTYPES
352
353%pre
354# Add the "apache" user
355/usr/sbin/useradd -c "Apache" -u 48 \
356        -s /bin/false -r -d %{contentdir} apache 2> /dev/null || :
357exit 0
358
359%preun
360if [ $1 = 0 ]; then
361   %{_sysconfdir}/rc.d/init.d/httpd stop > /dev/null 2>&1
362   /sbin/chkconfig --del httpd
363fi
364
365%post -n mod_ssl
366/sbin/ldconfig
367umask 077
368
369if [ ! -f %{_sysconfdir}/httpd/conf/ssl.key/server.key ] ; then
370%{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/httpd/conf/ssl.key/server.key 2> /dev/null
371fi
372
373if [ ! -f %{_sysconfdir}/httpd/conf/ssl.crt/server.crt ] ; then
374cat << EOF | %{_bindir}/openssl req -new -key %{_sysconfdir}/httpd/conf/ssl.key/server.key -x509 -days 365 -out %{_sysconfdir}/httpd/conf/ssl.crt/server.crt 2>/dev/null
375--
376SomeCountry
377SomeState
378SomeCity
379SomeOrganization
380SomeOrganizationalUnit
381localhost.localdomain
382root@localhost.localdomain
383EOF
384fi
385
386 
387%files
388%defattr(-,root,root)
389%doc ABOUT_APACHE LICENSE README cgi-bin
390%dir %{_sysconfdir}/httpd/
391%dir %{_sysconfdir}/httpd/conf
392%dir %{_sysconfdir}/httpd/conf.d
393%{_sysconfdir}/httpd/conf.d/README
394%config(noreplace) %{_sysconfdir}/httpd/conf/access.conf
395%config(noreplace) %{_sysconfdir}/httpd/conf/srm.conf
396%config(noreplace) %{_sysconfdir}/httpd/conf/httpd.conf
397%config(noreplace) %{_sysconfdir}/httpd/conf/magic
398
399%{_sysconfdir}/httpd/logs
400%{_sysconfdir}/httpd/modules
401%config(noreplace) %{_sysconfdir}/logrotate.d/apache
402%config %{_sysconfdir}/rc.d/init.d/httpd
403
404%config(missingok) /etc/rc.d/rc3.d/S85httpd
405%config(missingok) /etc/rc.d/rc5.d/S85httpd
406%config(missingok) /etc/rc.d/rc0.d/K15httpd
407%config(missingok) /etc/rc.d/rc1.d/K15httpd
408%config(missingok) /etc/rc.d/rc2.d/K15httpd
409%config(missingok) /etc/rc.d/rc6.d/K15httpd
410
411%dir %{contentdir}
412%dir %{contentdir}/cgi-bin
413%dir %{contentdir}/html
414%config(noreplace) %{contentdir}/html/index.html*
415%{contentdir}/html/*.png
416%{contentdir}/html/*.gif
417%{contentdir}/icons
418
419%dir %{_libdir}/apache
420%{_libdir}/apache/httpd.exp
421%{_libdir}/apache/libproxy.so
422%{_libdir}/apache/mod*.so
423
424%{_mandir}/man1/*
425%{_mandir}/man8/ab.8*
426%{_mandir}/man8/httpd.8*
427%{_mandir}/man8/logresolve.8*
428%{_mandir}/man8/rotatelogs.8*
429%{_mandir}/man8/suexec.8*
430
431%{_mandir}/ja/*/*
432
433%{_sbindir}/ab
434%{_sbindir}/httpd
435%{_sbindir}/logresolve
436%{_sbindir}/rotatelogs
437#%attr(4510,root,apache) %{_sbindir}/suexec
438%attr(0711,root,root) %{_sbindir}/suexec
439%{_bindir}/*
440
441#%attr(-,nobody,nobody) %dir %{_var}/cache/httpd
442%attr(0755,apache,root) %dir %{_var}/cache/httpd
443%dir %{_var}/log/httpd
444
445%files manual
446%defattr(-,root,root)
447%{contentdir}/html/manual
448%{contentdir}/html/manual-ja
449
450%files devel
451%defattr(-,root,root)
452%{_includedir}/apache
453%{_sbindir}/apxs
454%{_mandir}/man8/apxs.8*
455
456%files -n mod_ssl
457%defattr(-,root,root)
458%doc $RPM_SOURCE_DIR/SSL-Certificate-Creation
459%doc mod_ssl-%{mod_ssl_ver}-%{apache_ver}/{README*,LICENSE,NEWS,CHANGES,CREDITS}
460%{contentdir}/html/manual/mod/mod_ssl/
461%{_libdir}/apache/libssl.so
462%{_sysconfdir}/httpd/conf/Makefile
463%attr(0700,root,root) %dir %{_sysconfdir}/httpd/conf/ssl.*
464%attr(0600,root,root) %ghost %{_localstatedir}/cache/ssl_gcache_data.dir
465%attr(0600,root,root) %ghost %{_localstatedir}/cache/ssl_gcache_data.pag
466%attr(0600,root,root) %ghost %{_localstatedir}/cache/ssl_gcache_data.sem
467%dir %{_sysconfdir}/httpd
468%{_sysconfdir}/httpd/conf/ssl.*/*
469
470%changelog
471* Thu Jul 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.41-3
472- added Patch330 for CVE-2010-0010
473- added Patch40 for building currnet toolchain
474- added BR: db4-devel, gdbm-devel
475- updated mm to 1.4.2
476
477* Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.41-2vl5
478- updated mod_ssl-2.8.28-libssl.lib64.patch to 2.8.31
479- spec in utf-8
480
481* Wed Jun 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.41-1vl5
482- rebuilt with db4-4.6.21
483- applied new versioning policy
484- sync with VinePlus/4.0 package
485  * Tue Feb 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.41-0vl1
486  - build for VinePlus 4.x
487  - new upstream release with security fix
488  - drop unnessary unnecessary patches (patch 290,300)
489  * Wed Jan 16 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.39-0vl2
490  - add patch310 for fix CVE-2007-4465
491  - add patch320 for fix CVE-2008-0005
492  * Thu Jan 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.39-0vl1
493  - new upstream release with security fix
494  - add patch290 CVE-2007-5000
495  - add patch300 CVE-2007-6388
496
497* Sat Jun  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.37-0vl6
498- rebuilt with openssl-0.9.8e
499
500* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.37-0vl5
501- rebuilt with new toolchain and db4-4.3.x
502
503* Tue Mar 27 2007 Shu KONNO <owa@bg.wakwak.com> 1.3.37-0vl4
504- added Patch300: mod_ssl-2.8.28-libssl.lib64.patch
505
506* Sat Oct 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.37-0vl3
507- changed apache-manual Group to Applications/Documentation
508
509* Mon Jul 31 2006 Shu KONNO <owa@bg.wakwak.com> 1.3.37-0vl2
510- updated apache to 1.3.37 (CVE-2006-3747)
511- updated mod_ssl to 2.8.28-1.3.37
512- changed URLs
513
514* Fri Mar 03 2006 Shu KONNO <owa@bg.wakwak.com> 1.3.34-0vl2
515- added option '--libexecdir=%%{_libdir}/apache' to configure
516- added httpd.init.lib64
517
518* Wed Nov 09 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.34-0vl1
519- rebuild for VineSeed
520- blush up doc section
521
522* Mon Oct 24 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.34-0vl0.1
523- Test package
524- new upstream release
525  - update to 1.3.34
526  - update to mod_ssl 2.8.25-1.3.34
527  - update to mm 1.4.0
528
529* Sat Nov 27 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.3.33-0vl2
530- Added a security patch for buffer overflow in the htpasswd utility.
531  - Patch210: apache-htpasswd.patch
532- Moved %%patch4 above %%configure in mod_ssl-* directory.
533
534* Sun Oct 31 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.33-0vl1
535- new upstream release
536  - update to 1.3.33
537  - update mod_ssl to 2.8.22-1.3.33
538- drop obsolete patch (Patch100)
539
540* Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.32-0vl2
541- add Patch100 to fix buffer overflow in mod_include (CAN-2004-0940).
542
543* Sun Oct 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.32-0vl1
544- new upstream release
545  - update to 1.3.32
546  - update mod_ssl to 2.8.21-1.3.32
547- drop obsolete patch (Patch210)
548
549* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.31-0vl6
550- rebuilt with db4-4.2.25
551
552* Fri Jul 23 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.3.31-0vl5
553- Patch210: fix buffer overflow in mod_proxy (CVE CAN-2004-0492)
554- update License
555- apache-manual requires apache for %{contentdir} and MultiViews
556
557* Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.31-0vl4
558- update mod_ssl to 2.8.19-1.3.31
559  - Changes with mod_ssl 2.8.19 (27-May-2004 to 16-Jul-2004)
560     *) Fix ssl_log() related format string vulnerability in mod_proxy
561        hook functions.
562
563* Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.31-0vl3
564- add %%{_sysconfdir}/httpd/conf.d for additional configuration file (conf.d/*.conf)
565  thanks to HOTTA Michihide <hotta AT net-newbie DOT com>
566
567* Sat May 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.31-0vl2
568- update mod_ssl to 2.8.18-1.3.31
569  - Changes with mod_ssl 2.8.18 (11-May-2004 to 27-May-2004)
570     *) Fix buffer overflow in "SSLOptions +FakeBasicAuth" implementation
571        if the Subject-DN in the client certificate exceeds 6KB in length.
572        (CVE CAN-2004-0488).
573     *) Handle the case of OpenSSL retry requests after interrupted system
574        calls during the SSL handshake phase.
575     *) Remove some unused functions.
576
577* Thu May 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.31-0vl1
578- new upstream release
579- update mod_ssl to 2.8.17-1.3.31
580
581* Fri Mar 26 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.29-0vl2
582- rebuild with openssl-0.9.7d
583
584* Mon Nov 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.29-0vl1
585- new upstream release 1.3.29
586- update mod_ssl to 2.8.16-1.3.29
587
588* Sun Jul 20 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.28-0vl1
589- new upstream release 1.3.28
590- update mod_ssl to 2.8.15-1.3.28
591
592* Sat Mar 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.27-0vl3
593- update mod_ssl to 2.8.14-1.3.27
594  - Changes with mod_ssl 2.8.14 (18-Mar-2002 to 21-Mar-2003)
595    *) Fixed logic in the destruction of a temporary certificate
596       structure and this way avoid a crash due to freeing NULL object.
597    *) Removed one newly introduced X509_free() call in the context of
598       SSL_get_certificate(), because this function does not increment a
599       reference count (although SSL_get_peer_certificate() does).
600    *) Fixed hash-table based shared memory session cache (shmht)
601       implementation by making sure that the underlying hash table
602       library does not crash if memory cannot be allocated.
603  - Changes with mod_ssl 2.8.13 (23-Oct-2002 to 18-Mar-2003)
604    *) Always enforce RSA blinding on RSA private keys in order to be
605       resistent to timing attacks.
606    *) Added timeout also to the "pre-sucking" of the trailing data in
607       POST request handling.
608    *) Correctly shutdown shared memory pools on fork+exec situations.
609    *) Bugfix SSL client certificate verification: OpenSSL was not
610       informed with SSL_set_verify_result(ssl, X509_V_OK) in case
611       mod_ssl forced the verification to be ok.
612    *) Consistently use OPENSSL_free() instead of plain free() to
613       deallocate memory chunks allocated inside OpenSSL.
614    *) Fixed various memory leaks related to X509 certificates.
615
616* Sat Oct 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.27-0vl2
617- update mod_ssl to 2.8.12-1.3.27
618  - security bug fix.
619    - Fixed potential Cross-Site-Scripting bug.
620    - Allow also 8192 bytes of shared memory data size.
621
622* Sat Oct 5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.27-0vl1
623- new upstream release 1.3.27 for security fix
624- update mod_ssl to 2.8.11-1.3.27
625
626* Thu Aug 8 2002 Masaki Shinomiya <shino@pos.to>  1.3.26-0vl4
627- MultiViews manual (see [VineSeed:06745] )
628- condrestart in %post
629- allow to rebuild on Vine 2.0/2.1/2.5
630
631* Wed Jul 31 2002 IWAI Masaharu <iwai@alib.jp> 1.3.26-0vl3
632- SECURITY: fixed for tmp-file problem
633  - from SuSE 8.0 mm-1.1.3-290
634    * Fri Jul 26 2002 - poeml@suse.de
635    - security fix for tmp-file problem
636
637* Sun Jun 30 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.26-0vl2
638- update mod_ssl to 2.8.10-1.3.26
639- update patch0,
640  do not show distribution name, when ServerTokens was set.
641
642* Wed Jun 19 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.26-0vl1
643- new upstream release 1.3.24
644  - fixed security hole
645- update mod_ssl to 2.8.9-1.3.26
646- add patch30 to use Vine Linux layout
647
648* Wed Mar 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.24-0vl1
649- new upstream release 1.3.24
650- update mod_ssl 2.8.8-1.3.24
651- fixed missing tag "</a>" in apache-vine-index.html
652- added manual-ja to %%files manual
653
654* Wed Mar 27 2002 Shoji Matsumoto <shom@vinelinux.org> 1.3.23-0vl5
655- update Japanese Document (www.apache.jp to CVS tree)
656- update apache-vine-index.html
657
658* Sun Mar 17 2002 Shoji Matsumoto <shom@vinelinux.org> 1.3.23-0vl4
659- add www.apache.jp-20020317.tgz (Japanese Document Mirror)
660- update apache-vine-index.html
661
662* Wed Feb 27 2002 Toru Sagami <sagami@vinelinux.org> 1.3.23-0vl3
663- use --add-module for mod_throttle.c instead of --activate-module
664- make configtest exits with RETVAL
665- remove missing doc
666
667* Wed Feb 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.3.23-0vl2
668- added patch2 for openssl patch(updated ;p)
669
670* Thu Feb 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.23-0vl1
671- new upstream release 1.3.23
672- update mod_throttle 2.11
673- update mod_ssl 2.8.7-1.3.23
674- drop patch2, patch6
675
676* Wed Jan 23 2002 Toru Sagami <sagami@vinelinux.org> 1.3.22-0vl3
677- added %%{_localstatedir} definition as /var (%%{_var})
678- added pre script to add user "apache" and prereq for /usr/sbin/useradd
679- change owner/group of cache directory to "apache" from "nobody"
680- changed httpd.conf to run httpd as user/owner "apache"
681- added more mod_ssl docs
682- typo fixed in default index.html
683- added graceful/configtest in httpd.init (courtesy of [vine-users:038237])
684- set NameWidth=* by default
685- don't put "noreplace" to httpd.init
686
687* Thu Oct 25 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.3.22-0vl2
688- added patch20 to force using libexpat-lite in the source
689  even if external expat packages (found in VineSeedPlus) are installed
690
691* Wed Oct 17 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.22-0vl1
692- upstream release 1.3.22
693- update mod_ssl to 2.8.5-1.3.22
694- remove waste files..
695
696* Thu Oct  4 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.3.20-0vl7
697- added noreplace flag (%%config file is not replaced)
698
699* Thu Sep 13 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
700- 1.3.20-0vl6
701- fix a typo in Prereq
702
703* Wed Sep 12 2001 Shoji Matsumoto <shom@vinelinux.org> 1.3.20-0vl5
704- replace filenames in *Req: to packagenames (for apt)
705
706* Wed Aug 29 2001 Jun Nishii <jun@vinelinux.org> 1.3.20-0vl4
707- restore index.html and poweredby.png for Vine
708
709* Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
710- 1.3.20-0vl3
711- rebuilt with openssl-0.9.6b
712
713* Tue Jul  3 2001 Jun Nishii <jun@vinelinux.org> 1.3.20-0vl2
714- added mod_ssl subpackage
715
716* Thu Mar  1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.20-0vl1
717- update to 1.3.20
718
719* Thu Mar  1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.19-0vl1
720- update to 1.3.19
721
722* Fri Feb  2 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.17-0vl1
723- update to 1.3.17-fix
724
725* Wed Dec 27 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 1.3.14-0vl4
726- fix to handle man pages correctly with _mandir
727
728* Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 1.3.14-0vl3
729- build with gcc-2.95.3
730- partially used rpmmacros
731
732* Sat Nov  7 2000 Kazuhisa TAKEI <takei@vinelinux.org> 1.3.14-0vl2
733- change from file depend to package name depend. (Requires: )
734
735* Sat Oct 14 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.14-0vl1
736- update to 1.3.14
737
738* Thu Jul 20 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
739- fixed typo at default index.html.
740
741* Thu Jun  8 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
742- remove '"' of path from default httpd.conf for linuxconf.
743
744* Thu Apr 20 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
745- added disable_iso8859_charset patch for character turnning depend on server side.
746
747* Wed Apr 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
748- modified default httpd.conf about LanguageProc
749- use vine-patch instead of RedHat.
750- modified default index.html for Vine.
751
752* Wed Apr 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
753- added japanese summary and descriptions
754
755* Wed Mar 01 2000 Nalin Dahyabhai <nalin@redhat.com>
756- make suexec limit UIDs and GIDs to < 51 instead of 100
757
758* Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
759- update to 1.3.12
760- add EAPI patch
761
762* Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
763- ifmodule directive for php stuff.
764- load mod_perl before mod_php (#8169)
765
766* Tue Feb 14 2000 Zach Brown <zab@redhat.com>
767- minor fix to phhttpd patch
768
769* Thu Feb 10 2000 Preston Brown <pbrown@redhat.com>
770- improved default index.html.
771
772* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
773- strip dynamically loadable modules.
774
775* Mon Feb 02 2000 Zach Brown <zab@redhat.com>
776- add phhttpd 'Tunnel' directive and code to use it
777
778* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
779- rebuild to fix depenencies
780
781* Tue Jan 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
782- 1.3.11
783- deal with the fact that RPM now gzips man pages
784
785* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
786- new poweredby.png w/new logo
787- apxs.8 man page moved to devel archive (#6661)
788- don't remove old logfiles on package de-install (#8268)
789- more updates to logrotate to avoid spurious cron mail (#8110)
790
791* Mon Jan 10 2000 Preston Brown <pbrown@redhat.com>
792- mod_throttle added; mod_bandwidth updated.
793
794* Mon Dec 17 1999 Dale Lovelace <dale@redhat.com>
795- Add configuration for mod_put to httpd.conf
796
797* Mon Dec 06 1999 Preston Brown <pbrown@redhat.com>
798- documentation cleanups in httpd.conf (#5357, #6655)
799- fixed logrotate script to ignore error if no apache running (#7074)
800
801* Wed Nov 10 1999 Jeff Johnson <jbj@redhat.com>
802- add put module.
803
804* Thu Nov 04 1999 Preston Brown <pbrown@redhat.com>
805- make suexec non-suid.  People can enable it if they wish themselves.
806- somehow the unified httpd.conf got trashed.  fixed.
807- manual is now a subpackage
808- point to /usr/share/magic as the magic file location; don't use the
809  apache-specific one.
810- fix apxs module installation issues (#5650)
811
812
813* Tue Sep 21 1999 Bill Nottingham <notting@redhat.com>
814- move DSO in httpd.conf to after ServerRoot
815
816* Mon Sep 20 1999 Preston Brown <pbrown@redhat.com>
817- it is httpd stop, not httpsd stop (# 5254)
818- suexec added (# 5257)
819
820* Thu Sep 09 1999 Preston Brown <pbrown@redhat.com>
821- remove apachectl man page (# 4459)
822
823* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
824- upgraded to 1.3.9
825- fix bug # 3680 (suexec docroot was wrong)
826- fix bug # 2378 (logrotate with -USR1 not -HUP)
827- fix bug # 3548 (logrotate complains if apache not running)
828- httpd.conf is now in the unified apache format as distributed
829
830* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
831- initscript munging
832
833* Sat May 21 1999 Bill Nottingham <notting@redhat.com>
834- fix broken link in index.html
835
836* Wed Apr 07 1999 Bill Nottingham <notting@redhat.com>
837- allow indexes in /doc
838
839* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
840- strip binaries
841
842* Mon Apr 05 1999 Preston Brown <pbrown@redhat.com>
843- prerequire /bin/rm, added /doc path pointing to /usr/doc for localhost
844
845* Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
846- updated log rotating scripts to not complain if logs aren't present.
847
848* Thu Mar 25 1999 Preston Brown <pbrown@redhat.com>
849- fixed up path to perl
850
851* Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
852- updated init script to conform to new standards
853- upgraded to 1.3.6, fixed apxs patch
854
855* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
856- clean up logfiles on deinstallation
857
858* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
859- auto rebuild in the new build environment (release 4)
860
861* Fri Mar 12 1999 Cristian Gafton <gafton@redhat.com>
862- added mod_bandwidth
863- updated to 1.3.4
864- prereq mailcap
865
866* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
867- added patch to disable building support for ndbm
868- build against glibc 2.1
869
870* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
871- updated to 1.3.3 to catch up with bug fixes
872- added the /usr/bin/* binaries to the spec file list
873
874* Fri Sep 25 1998 Cristian Gafton <gafton@redhat.com>
875- change ownership of cache dir to nobody
876- added "Red Hat" to the server string
877- updated to version 1.3.2
878- fixed all references to httpsd in config files
879
880* Fri Sep 04 1998 Cristian Gafton <gafton@redhat.com>
881- small fixes to the spec file
882- patch to handle correctly the -d <newroot> option
883- leave out the .usr.src.apache_%{version} for now
884
885* Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
886- patched apxs not to bomb out if it can't find httpd
887
888* Wed Sep 02 1998 Preston Brown <pbrown@redhat.com>
889- upgraded to apache 1.3.1.
890- Heavy rewrite.
891- changed providing a_web_server to just webserver.  Humor is not an option.
892
893* Mon Aug 10 1998 Erik Troan <ewt@redhat.com>
894- updated to build as non-root user
895- added patch to defeat header dos attack
896
897* Thu May 07 1998 Prospector System <bugs@redhat.com>
898- translations modified for de, fr, tr
899
900* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
901- fixed the default config files to be more paranoid about security
902
903* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
904- fixed init script
905- added index.htm to the list of acceptable indexes
906
907* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
908- updated to 1.2.6
909- added post script to install htm extension for text/html into
910  /etc/mime.types
911
912* Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
913- enhanced sysv init script
914
915* Tue Jan 06 1998 Erik Troan <ewt@redhat.com>
916- updated to 1.2.5, which includes many security fixes
917
918* Wed Dec 31 1997 Otto Hammersmith <otto@redhat.com>
919- fixed overkill on http.init stop
920
921* Wed Dec 31 1997 Erik Troan <ewt@redhat.com>
922- added patch for backslash DOS attach
923
924* Thu Nov 06 1997 Donnie Barnes <djb@redhat.com>
925- added htdigest binary to file list
926
927* Mon Nov 03 1997 Donnie Barnes <djb@redhat.com>
928- made the default index.html be config(noreplace) so we no longer
929  blow away other folks' index.html
930
931* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
932- added chkconfig support
933- added restart|status options to initscript
934- renamed httpd.init to httpd
935
936* Tue Oct 07 1997 Elliot Lee <sopwith@redhat.com>
937- Redid spec file, patches, etc. from scratch.
Note: See TracBrowser for help on using the repository browser.