apache-vl.spec 31 KB

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