apache2-vl.spec 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  1. %bcond_with systemd
  2. %define contentdir %{_datadir}/apache2
  3. %define docroot /var/www/apache2
  4. %define suexec_caller www-data
  5. %define mmn 20120211
  6. %define mmnisa %{mmn}%{__isa_name}%{__isa_bits}
  7. %define pkgname apache2
  8. %define vstring Vine
  9. Name: %{pkgname}
  10. Summary: Apache HTTP Server
  11. Version: 2.4.52
  12. Release: 1%{_dist_release}%{?with_systemd:.systemd}
  13. Group: servers
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: daisuke
  17. License: Apache Software License
  18. URL: https://httpd.apache.org/
  19. Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
  20. Source2: index.html
  21. Source3: apache2.logrotate
  22. Source4: apache2.init
  23. Source6: poweredby-vine.png
  24. Source7: apache2.tmpfiles
  25. Source10: httpd.conf
  26. Source11: 00-base.conf
  27. Source12: 00-mpm.conf
  28. Source13: 00-lua.conf
  29. Source14: 01-cgi.conf
  30. Source15: 00-dav.conf
  31. Source16: 00-proxy.conf
  32. Source17: 00-ssl.conf
  33. Source18: 01-ldap.conf
  34. Source19: 00-proxyhtml.conf
  35. Source20: userdir.conf
  36. Source21: ssl.conf
  37. Source22: welcome.conf
  38. Source23: manual.conf
  39. Source25: 01-session.conf
  40. Source28: 00-optional.conf
  41. # Documentation
  42. Source30: README.confd
  43. Source31: README.confmod
  44. # add vine entry to config.layout
  45. Source100: vine-config.layout
  46. Source105: httpd-ssl-pass-dialog
  47. Source106: httpd.tmpfiles
  48. Source107: httpd.service
  49. Source125: 00-systemd.conf
  50. Source128: httpd.socket
  51. Source127: 10-listen443.conf
  52. Source140: htcacheclean.service
  53. Source141: htcacheclean.sysconf
  54. Source142: httpd-init.service
  55. Source143: httpd-ssl-gencerts
  56. Source144: httpd@.service
  57. # build/scripts patches
  58. Patch2: httpd-2.4.43-apxs.patch
  59. Patch3: httpd-2.4.43-deplibs.patch
  60. # Needed for socket activation and mod_systemd patch
  61. Patch19: httpd-2.4.43-detect-systemd.patch
  62. # Features/functional changes
  63. Patch21: httpd-2.4.48-r1842929+.patch
  64. Patch22: httpd-2.4.43-mod_systemd.patch
  65. Patch23: httpd-2.4.48-export.patch
  66. Patch24: httpd-2.4.43-corelimit.patch
  67. Patch25: httpd-2.4.43-selinux.patch
  68. Patch26: httpd-2.4.43-gettid.patch
  69. Patch27: httpd-2.4.43-icons.patch
  70. Patch30: httpd-2.4.43-cachehardmax.patch
  71. Patch31: httpd-2.4.43-sslmultiproxy.patch
  72. Patch34: httpd-2.4.43-socket-activation.patch
  73. Patch38: httpd-2.4.43-sslciphdefault.patch
  74. Patch39: httpd-2.4.43-sslprotdefault.patch
  75. Patch40: httpd-2.4.43-r1861269.patch
  76. Patch41: httpd-2.4.43-r1861793+.patch
  77. Patch42: httpd-2.4.43-r1828172+.patch
  78. # Bug fixes
  79. # https://bugzilla.redhat.com/show_bug.cgi?id=1397243
  80. Patch60: httpd-2.4.43-enable-sslv3.patch
  81. Patch61: httpd-2.4.48-r1878890.patch
  82. Patch63: httpd-2.4.46-htcacheclean-dont-break.patch
  83. # Security fixes
  84. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  85. BuildRequires: db4-devel, expat-devel, xmlto
  86. BuildRequires: findutils, perl, openldap-devel, zlib-devel
  87. BuildRequires: apr-devel, apr-util-devel
  88. BuildRequires: pcre-devel, sqlite3-devel
  89. BuildRequires: lua-devel, libxml2-devel
  90. BuildRequires: libnghttp2-devel
  91. BuildRequires: brotli-devel
  92. BuildRequires: www-common
  93. Requires: mailcap, gawk, file, findutils, apr, apr-util
  94. Requires(pre): www-common
  95. Requires(pre): mktemp, fileutils
  96. %if %{with systemd}
  97. BuildRequires: systemd-devel
  98. %{?systemd_requires}
  99. %else
  100. Requires(pre): chkconfig
  101. Requires(pre): sh-utils, textutils, shadow-utils
  102. Requires(post): alternatives
  103. %endif
  104. Provides: webserver
  105. Provides: httpd = %{version}
  106. Provides: httpd-mmn = %{mmn}
  107. Provides: apache2-mmn = %{mmn}
  108. Obsoletes: apache2-apr, apache2-apr-devel
  109. Obsoletes: apache < 2.0, apache-devel < 2.0
  110. %description
  111. Apache is a powerful, full-featured, efficient, and freely-available
  112. Web server. Apache is also the most popular Web server on the
  113. Internet.
  114. %package devel
  115. Group: programming
  116. Summary: Development tools for the Apache HTTP server.
  117. Requires: libtool, apache2 = %{version}
  118. Requires: apr-devel, apr-util-devel
  119. %description devel
  120. The httpd-devel package contains the APXS binary and other files
  121. that you need to build Dynamic Shared Objects (DSOs) for Apache.
  122. If you are installing the Apache HTTP server and you want to be
  123. able to compile or develop additional modules for Apache, you need
  124. to install this package.
  125. %package manual
  126. Group: documentation
  127. Summary: Documentation for the Apache HTTP server.
  128. %description manual
  129. The httpd-manual package contains the complete manual and
  130. reference guide for the Apache HTTP server. The information can
  131. also be found at http://httpd.apache.org/docs/.
  132. %package -n mod_ssl-apache2
  133. Group: servers
  134. Summary: SSL/TLS module for the Apache HTTP server
  135. Epoch: 1
  136. BuildRequires: openssl-devel
  137. Requires(pre): net-tools, openssl, dev, /bin/cat
  138. Requires: apache2, make, apache2-mmn = %{mmn}
  139. %description -n mod_ssl-apache2
  140. The mod_ssl module provides strong cryptography for the Apache Web
  141. server via the Secure Sockets Layer (SSL) and Transport Layer
  142. Security (TLS) protocols.
  143. %debug_package
  144. %prep
  145. %setup -q -n httpd-%{version}
  146. %patch2 -p1 -b .apxs
  147. %patch3 -p1 -b .deplibs
  148. %if %{with systemd}
  149. %patch19 -p1 -b .detectsystemd
  150. %endif
  151. %patch21 -p1 -b .r1842929+
  152. %if %{with systemd}
  153. %patch22 -p1 -b .mod_systemd
  154. %patch23 -p1 -b .export
  155. %endif
  156. %patch24 -p1 -b .corelimit
  157. %patch25 -p1 -b .selinux
  158. %patch26 -p1 -b .gettid
  159. %patch27 -p1 -b .icons
  160. %patch30 -p1 -b .cachehardmax
  161. #patch31 -p1 -b .sslmultiproxy
  162. %if %{with systemd}
  163. %patch34 -p1 -b .socketactivation
  164. %endif
  165. %patch38 -p1 -b .sslciphdefault
  166. %patch39 -p1 -b .sslprotdefault
  167. %patch40 -p1 -b .r1861269
  168. %patch41 -p1 -b .r1861793+
  169. %patch42 -p1 -b .r1828172+
  170. %patch60 -p1 -b .enable-sslv3
  171. %patch61 -p1 -b .r1878890
  172. %patch63 -p1 -b .htcacheclean-dont-break
  173. perl -pi -e 's|/httpd/build|/apache2/build|' support/apxs.in
  174. # Patch in the vendor string
  175. sed -i '/^#define PLATFORM/s/Unix/%{vstring}/' os/unix/os.h
  176. # Prevent use of setcap in "install-suexec-caps" target.
  177. sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in
  178. # add Vine configure's option to config.layout
  179. sed -e "s|${prefix}/lib|${prefix}/%{_lib}|" \
  180. < $RPM_SOURCE_DIR/vine-config.layout >> config.layout
  181. %build
  182. # remove bundled apr, apr-util, pcre
  183. rm -rf srclib/{apr,apr-util,pcre}
  184. # regenerate configure scripts
  185. autoheader && autoconf || exit 1
  186. export CFLAGS="$RPM_OPT_FLAGS"
  187. export LDFLAGS="-Wl,-z,relro,-z,now"
  188. %if %{with systemd}
  189. export HTTPD_LIBS="-lsystemd"
  190. %endif
  191. ./configure \
  192. --prefix=%{_sysconfdir}/apache2 \
  193. --exec-prefix=%{_prefix} \
  194. --bindir=%{_bindir} \
  195. --sbindir=%{_sbindir} \
  196. --mandir=%{_mandir} \
  197. --libdir=%{_libdir} \
  198. --sysconfdir=%{_sysconfdir}/apache2/conf \
  199. --includedir=%{_includedir}/apache2 \
  200. --libexecdir=%{_libdir}/apache2/modules \
  201. --datadir=%{contentdir} \
  202. --with-installbuilddir=%{_libdir}/apache2/build \
  203. --enable-layout=Vine \
  204. --with-program-name=apache2 \
  205. --with-ldap \
  206. --enable-ldap --enable-authnz-ldap \
  207. --enable-mods-shared=all \
  208. --enable-cache=shared \
  209. --enable-cgi=shared \
  210. --enable-cgid=shared \
  211. --enable-rewrite=shared \
  212. --enable-disk-cache=shared \
  213. --enable-file-cache=shared \
  214. --enable-mem-cache=shared \
  215. --enable-authn-anon --enable-authn-alias \
  216. --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
  217. --enable-suexec --with-suexec \
  218. --enable-suexec-capabilities \
  219. --with-suexec-caller=%{suexec_caller} \
  220. --with-suexec-docroot=%{docroot} \
  221. --with-suexec-logfile=%{_localstatedir}/log/apache2/suexec.log \
  222. --with-suexec-bin=%{_sbindir}/suexec \
  223. --with-suexec-uidmin=500 --with-suexec-gidmin=500 \
  224. --with-brotli \
  225. --enable-pie \
  226. --with-pcre \
  227. --enable-ssl --with-ssl \
  228. --enable-deflate \
  229. --enable-proxy --enable-proxy-connect \
  230. --enable-proxy-http --enable-proxy-ftp \
  231. --enable-case-filter --enable-case-filter-in \
  232. --enable-http2 \
  233. %if %{with systemd}
  234. --enable-systemd \
  235. %endif
  236. --enable-mpms-shared=all
  237. make %{?_smp_mflags}
  238. %install
  239. rm -rf $RPM_BUILD_ROOT
  240. make DESTDIR=$RPM_BUILD_ROOT install
  241. %if %{with systemd}
  242. # Install systemd service files
  243. mkdir -p $RPM_BUILD_ROOT%{_unitdir}
  244. for s in httpd.service htcacheclean.service httpd.socket \
  245. httpd@.service httpd-init.service; do
  246. install -p -m 644 $RPM_SOURCE_DIR/${s} \
  247. $RPM_BUILD_ROOT%{_unitdir}/${s}
  248. done
  249. # install systemd override drop directory
  250. # Web application packages can drop snippets into this location if
  251. # they need ExecStart[pre|post].
  252. mkdir $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d
  253. mkdir $RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d
  254. install -m 644 -p $RPM_SOURCE_DIR/10-listen443.conf \
  255. $RPM_BUILD_ROOT%{_unitdir}/httpd.socket.d/10-listen443.conf
  256. mkdir $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  257. install -m 644 -p $RPM_SOURCE_DIR/htcacheclean.sysconf \
  258. $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/htcacheclean
  259. # tmpfiles.d configuration
  260. mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
  261. install -m 644 -p $RPM_SOURCE_DIR/httpd.tmpfiles \
  262. $RPM_BUILD_ROOT%{_tmpfilesdir}/httpd.conf
  263. # install http-ssl-pass-dialog
  264. mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
  265. install -m755 $RPM_SOURCE_DIR/httpd-ssl-pass-dialog \
  266. $RPM_BUILD_ROOT%{_libexecdir}/httpd-ssl-pass-dialog
  267. # install http-ssl-gencerts
  268. install -m755 $RPM_SOURCE_DIR/httpd-ssl-gencerts \
  269. $RPM_BUILD_ROOT%{_libexecdir}/httpd-ssl-gencerts
  270. %else
  271. # install SYSV init stuff
  272. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  273. install -m755 $RPM_SOURCE_DIR/apache2.init \
  274. $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
  275. %{__perl} -pi -e "s:\@docdir\@:%{_docdir}/%{name}-%{version}:g" \
  276. $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
  277. %endif
  278. # create apache2ctl symlink
  279. ln -sf apachectl $RPM_BUILD_ROOT%{_sbindir}/apache2ctl
  280. # install conf file/directory
  281. mkdir $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d \
  282. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d \
  283. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/sites.d
  284. install -m 644 $RPM_SOURCE_DIR/README.confd \
  285. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/README
  286. install -m 644 $RPM_SOURCE_DIR/README.confmod \
  287. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d/README
  288. for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
  289. 00-proxy.conf 00-ssl.conf 01-ldap.conf 00-proxyhtml.conf \
  290. 01-ldap.conf 01-session.conf 00-optional.conf; do
  291. install -m 644 -p $RPM_SOURCE_DIR/$f \
  292. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d/$f
  293. done
  294. %if %{with systemd}
  295. install -m 644 -p %{SOURCE125} \
  296. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d/
  297. %endif
  298. for f in welcome.conf ssl.conf manual.conf userdir.conf; do
  299. install -m 644 -p $RPM_SOURCE_DIR/$f \
  300. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/$f
  301. done
  302. # Split-out extra config shipped as default in conf.d:
  303. for f in autoindex; do
  304. install -m 644 docs/conf/extra/httpd-${f}.conf \
  305. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/${f}.conf
  306. done
  307. # Extra config trimmed:
  308. rm -v docs/conf/extra/httpd-{ssl,userdir}.conf
  309. rm $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/*.conf
  310. install -m 644 -p $RPM_SOURCE_DIR/httpd.conf \
  311. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/httpd.conf
  312. ln -sf httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/apache2.conf
  313. # Other directories
  314. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav \
  315. $RPM_BUILD_ROOT/run/apache2/htcacheclean
  316. # Create cache directory
  317. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2 \
  318. $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2/proxy \
  319. $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2/ssl
  320. # Make the MMN accessible to module packages
  321. echo %{mmnisa} > $RPM_BUILD_ROOT%{_includedir}/apache2/.mmn
  322. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
  323. cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.apache2 <<EOF
  324. %%_httpd_mmn %{mmnisa}
  325. %%_httpd_apxs %%{_bindir}/apxs
  326. %%_httpd_modconfdir %%{_sysconfdir}/apache2/conf.modules.d
  327. %%_httpd_confdir %%{_sysconfdir}/apache2/conf.d
  328. %%_httpd_contentdir %{contentdir}
  329. %%_httpd_moddir %%{_libdir}/apache2/modules
  330. %%_apache2_mmn %{mmnisa}
  331. %%_apache2_apxs %%{_bindir}/apxs
  332. %%_apache2_modconfdir %%{_sysconfdir}/apache2/conf.modules.d
  333. %%_apache2_confdir %%{_sysconfdir}/apache2/conf.d
  334. %%_apache2_contentdir %{contentdir}
  335. %%_apache2_moddir %%{_libdir}/apache2/modules
  336. EOF
  337. # Handle contentdir
  338. mkdir $RPM_BUILD_ROOT%{contentdir}/noindex
  339. install -m 644 -p $RPM_SOURCE_DIR/index.html \
  340. $RPM_BUILD_ROOT%{contentdir}/noindex/index.html
  341. install -m 644 -p $RPM_SOURCE_DIR/poweredby-vine.png \
  342. $RPM_BUILD_ROOT%{contentdir}/icons/
  343. rm -rf %{contentdir}/htdocs
  344. # remove manual sources
  345. find $RPM_BUILD_ROOT%{contentdir}/manual \( \
  346. -name \*.xml -o -name \*.xml.* -o -name \*.ent -o -name \*.xsl -o -name \*.dtd \
  347. \) -print0 | xargs -0 rm -f
  348. # Strip the manual down just to English and replace the typemaps with flat files:
  349. set +x
  350. for f in `find $RPM_BUILD_ROOT%{contentdir}/manual -name \*.html -type f`; do
  351. if test -f ${f}.en; then
  352. cp ${f}.en ${f}
  353. rm ${f}.*
  354. fi
  355. done
  356. set -x
  357. # Clean Document Root
  358. rm -v $RPM_BUILD_ROOT%{docroot}/html/*.html
  359. rm -v $RPM_BUILD_ROOT/var/www/cgi-bin/*
  360. # symlinks for /etc/apache2
  361. ln -s ../..%{_localstatedir}/log/apache2 $RPM_BUILD_ROOT/etc/apache2/logs
  362. ln -s /run/apache2 $RPM_BUILD_ROOT/etc/apache2/run
  363. ln -s ../..%{_libdir}/apache2/modules $RPM_BUILD_ROOT/etc/apache2/modules
  364. # Install logrotate config
  365. mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
  366. install -m 644 -p $RPM_SOURCE_DIR/apache2.logrotate \
  367. $RPM_BUILD_ROOT/etc/logrotate.d/apache2
  368. # fix man page paths
  369. sed -e "s|/usr/local/apache2/conf/httpd.conf|/etc/apache2/conf/httpd.conf|" \
  370. -e "s|/usr/local/apache2/conf/mime.types|/etc/mime.types|" \
  371. -e "s|/usr/local/apache2/conf/magic|/etc/apache2/conf/magic|" \
  372. -e "s|/usr/local/apache2/logs/error_log|/var/log/apache2/error_log|" \
  373. -e "s|/usr/local/apache2/logs/access_log|/var/log/apache2/access_log|" \
  374. -e "s|/usr/local/apache2/logs/httpd.pid|/run/apache2/apache2.pid|" \
  375. -e "s|/usr/local/apache2|/etc/httpd|" < docs/man/httpd.8 \
  376. > $RPM_BUILD_ROOT%{_mandir}/man8/httpd.8
  377. # Make ap_config_layout.h libdir-agnostic
  378. sed -i '/.*DEFAULT_..._LIBEXECDIR/d;/DEFAULT_..._INSTALLBUILDDIR/d' \
  379. $RPM_BUILD_ROOT%{_includedir}/apache2/ap_config_layout.h
  380. # Fix path to instdso in special.mk
  381. sed -i '/instdso/s,top_srcdir,top_builddir,' \
  382. $RPM_BUILD_ROOT%{_libdir}/apache2/build/special.mk
  383. # Remove unpackaged files
  384. rm -vf \
  385. $RPM_BUILD_ROOT%{_libdir}/*.exp \
  386. $RPM_BUILD_ROOT/etc/apache2/conf/mime.types \
  387. $RPM_BUILD_ROOT%{_libdir}/apache2/modules/*.exp \
  388. $RPM_BUILD_ROOT%{_libdir}/apache2/build/config.nice \
  389. $RPM_BUILD_ROOT%{_bindir}/{ap?-config,dbmmanage} \
  390. $RPM_BUILD_ROOT%{_sbindir}/{checkgid,envvars*} \
  391. $RPM_BUILD_ROOT%{contentdir}/htdocs/* \
  392. $RPM_BUILD_ROOT%{_mandir}/man1/dbmmanage.* \
  393. $RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
  394. rm -rf $RPM_BUILD_ROOT/etc/apache2/conf/{original,extra}
  395. %clean
  396. rm -rf $RPM_BUILD_ROOT
  397. %triggerpostun -- apache < 2.0
  398. /sbin/chkconfig --add apache2
  399. %post
  400. %if %{with systemd}
  401. %systemd_post httpd.service htcacheclean.service httpd.socket
  402. %else
  403. /sbin/chkconfig --add apache2
  404. %endif
  405. %preun
  406. %if %{with systemd}
  407. %systemd_preun httpd.service htcacheclean.service httpd.socket
  408. %else
  409. if [ $1 = 0 -o -x /bin/systemctl ]; then
  410. /sbin/service apache2 stop > /dev/null 2>&1
  411. /sbin/chkconfig --del apache2
  412. fi
  413. %endif
  414. %postun
  415. %if %{with systemd}
  416. %systemd_postun httpd.service htcacheclean.service httpd.socket
  417. %else
  418. if [ "$1" -ge 1 ]; then
  419. /sbin/service apache2 condrestart
  420. fi
  421. %endif
  422. %define sslcert %{_sysconfdir}/pki/tls/certs/localhost.crt
  423. %define sslkey %{_sysconfdir}/pki/tls/private/localhost.key
  424. %post -n mod_ssl-apache2
  425. umask 077
  426. if [ -f %{sslkey} -o -f %{sslcert} ]; then
  427. exit 0
  428. fi
  429. %{_bindir}/openssl genrsa \
  430. -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime \
  431. 2048 > %{sslkey} 2> /dev/null ||:
  432. FQDN=`hostname` ||:
  433. if [ "x${FQDN}" = "x" ]; then
  434. FQDN=localhost.localdomain
  435. fi
  436. cat << EOF | %{_bindir}/openssl req -new -key %{sslkey} \
  437. -x509 -sha256 -days 3650 -set_serial $RANDOM -extensions v3_req \
  438. -out %{sslcert} 2>/dev/null ||:
  439. --
  440. SomeState
  441. SomeCity
  442. SomeOrganization
  443. SomeOrganizationalUnit
  444. ${FQDN}
  445. root@${FQDN}
  446. EOF
  447. %files
  448. %defattr(-,root,root)
  449. %license LICENSE
  450. %doc ABOUT_APACHE README CHANGES LAYOUT
  451. %doc docs/conf/extra/*.conf
  452. %dir %{_sysconfdir}/apache2
  453. %{_sysconfdir}/apache2/modules
  454. %{_sysconfdir}/apache2/logs
  455. %{_sysconfdir}/apache2/run
  456. %dir %{_sysconfdir}/apache2/conf
  457. %config(noreplace) %{_sysconfdir}/apache2/conf/httpd.conf
  458. %config(noreplace) %{_sysconfdir}/apache2/conf/apache2.conf
  459. %config(noreplace) %{_sysconfdir}/apache2/conf/magic
  460. %config(noreplace) %{_sysconfdir}/logrotate.d/apache2
  461. %if %{with systemd}
  462. %{_unitdir}/httpd.service
  463. %{_unitdir}/httpd@.service
  464. %{_unitdir}/htcacheclean.service
  465. %{_unitdir}/*.socket
  466. %attr(755,root,root) %dir %{_unitdir}/httpd.service.d
  467. %attr(755,root,root) %dir %{_unitdir}/httpd.socket.d
  468. %config(noreplace) %{_sysconfdir}/sysconfig/htcacheclean
  469. %{_tmpfilesdir}/httpd.conf
  470. %else
  471. %config %{_sysconfdir}/rc.d/init.d/apache2
  472. %endif
  473. %dir %{_sysconfdir}/apache2/conf.d
  474. %{_sysconfdir}/apache2/conf.d/README
  475. %config(noreplace) %{_sysconfdir}/apache2/conf.d/*.conf
  476. %exclude %{_sysconfdir}/apache2/conf.d/ssl.conf
  477. %exclude %{_sysconfdir}/apache2/conf.d/manual.conf
  478. %dir %{_sysconfdir}/apache2/conf.modules.d
  479. %{_sysconfdir}/apache2/conf.modules.d/README
  480. %config(noreplace) %{_sysconfdir}/apache2/conf.modules.d/*.conf
  481. %exclude %{_sysconfdir}/apache2/conf.modules.d/00-ssl.conf
  482. %dir %{_sysconfdir}/apache2/sites.d
  483. %{_bindir}/ab
  484. %{_bindir}/ht*
  485. %{_bindir}/logresolve
  486. %{_sbindir}/ht*
  487. %{_sbindir}/apache2
  488. %{_sbindir}/apachectl
  489. %{_sbindir}/apache2ctl
  490. %{_sbindir}/rotatelogs
  491. %{_sbindir}/fcgistarter
  492. %attr(4510,root,%{suexec_caller}) %{_sbindir}/suexec
  493. %dir %{_libdir}/apache2
  494. %dir %{_libdir}/apache2/modules
  495. %{_libdir}/apache2/modules/mod_*.so
  496. %exclude %{_libdir}/apache2/modules/mod_ssl.so
  497. %dir %{contentdir}
  498. %dir %{contentdir}/icons
  499. %dir %{contentdir}/error
  500. %dir %{contentdir}/error/include
  501. %dir %{contentdir}/noindex
  502. %{contentdir}/icons/*
  503. %{contentdir}/error/README
  504. %{contentdir}/error/*.var
  505. %{contentdir}/error/include/*.html
  506. %{contentdir}/noindex/index.html
  507. %dir %{docroot}/html
  508. %dir /var/www/cgi-bin
  509. %attr(0710,root,www-data) %dir /run/apache2
  510. %attr(0700,www-data,www-data) %dir /run/apache2/htcacheclean
  511. %attr(0700,root,root) %dir %{_localstatedir}/log/apache2
  512. %attr(0700,www-data,www-data) %dir %{_localstatedir}/lib/dav
  513. %attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2
  514. %attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2/proxy
  515. %{_mandir}/man1/*
  516. %exclude %{_mandir}/man1/apxs*
  517. %{_mandir}/man8/*
  518. %files manual
  519. %defattr(-,root,root)
  520. %{contentdir}/manual
  521. %config(noreplace) %{_sysconfdir}/apache2/conf.d/manual.conf
  522. %files -n mod_ssl-apache2
  523. %defattr(-,root,root)
  524. %{_libdir}/apache2/modules/mod_ssl.so
  525. %config(noreplace) %{_sysconfdir}/apache2/conf.modules.d/00-ssl.conf
  526. %config(noreplace) %{_sysconfdir}/apache2/conf.d/ssl.conf
  527. %attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2/ssl
  528. %if %{with systemd}
  529. %{_libexecdir}/httpd-ssl-pass-dialog
  530. %{_libexecdir}/httpd-ssl-gencerts
  531. %{_unitdir}/httpd-init.service
  532. %{_unitdir}/httpd.socket.d/10-listen443.conf
  533. %endif
  534. %files devel
  535. %defattr(-,root,root)
  536. %{_includedir}/apache2
  537. %{_bindir}/apxs
  538. %{_mandir}/man1/apxs*
  539. %dir %{_libdir}/apache2/build
  540. %{_libdir}/apache2/build/*.mk
  541. %{_libdir}/apache2/build/*.sh
  542. %{_sysconfdir}/rpm/macros.apache2
  543. %changelog
  544. * Wed Jan 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.52-1
  545. - new upstream release.
  546. * Wed Oct 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.51-1
  547. - new upstream release.
  548. - built with openssl-3.0.0.
  549. * Tue Sep 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.49-1
  550. - new upstream release.
  551. - dropped Patch1000: fixed in upstream.
  552. * Thu Aug 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.48-2
  553. - imported Patch1000 from upstream to fix CVE-2021-33193.
  554. * Thu Jun 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.48-1
  555. - new upstream release.
  556. - dropped ldconfig scriptlets.
  557. - updated Patch21 and 23.
  558. - dropped Patch43, 44 and 62.
  559. - imported Patch61 and 63 from rawhide.
  560. * Wed Aug 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.46-1
  561. - new upstream release.
  562. - added systemd support (disabled as default).
  563. * Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.41-1
  564. - new upstream release.
  565. - dropped Patch1 and 5.
  566. - updated Patch23, 36 and 39.
  567. - imported Patch21 and 40-42 from rawhide.
  568. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.37-1
  569. - new upstream release.
  570. - updated patches.
  571. * Sun Apr 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.33-1
  572. - new upstream release.
  573. - updated Patch35 and 58.
  574. - disabled Patch31.
  575. - dropped Patch23: fixed in upstream.
  576. - imported Patch23 from rawhide.
  577. * Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.29-1
  578. - new upstream release.
  579. - fixed apxs.
  580. - dropped Patch56,60 and 61: fixed in upstream.
  581. * Sun Oct 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.28-1
  582. - new upstream release.
  583. * Fri Mar 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.25-1
  584. - new upstream release.
  585. - dropped Patch55: fixed in upstream.
  586. * Fri Jul 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.23-1
  587. - new upstream release.
  588. * Tue Jun 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.20-2
  589. - enabled HTTP/2.
  590. * Sun May 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.20-1
  591. - updated to 2.4.20.
  592. - updated Patch58.
  593. - fixed %%files.
  594. - fixed location of suexec (BTS#3007).
  595. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.18-2
  596. - rebuilt with openssl 1.0.2g
  597. * Thu Feb 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.18-1
  598. - updated to 2.4.18.
  599. - fixed 00-base.conf.
  600. - updated Patch31.
  601. * Mon Dec 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.17-2
  602. - fixed configuration files.
  603. * Fri Dec 4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.17-1
  604. - update to 2.4.17.
  605. - fixed dependency.
  606. * Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.9-2
  607. - modify dependency
  608. * Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.9-1
  609. - update to 2.4.9
  610. - remove suffix '2' from {htdigest,htpasswd,rotatelogs}2
  611. - use /run instead of /var/run
  612. - remove /etc/apache2/conf/ssl* , use /etc/pki now.
  613. - move suexec from %%{_libdir}/apache2 to %%{_sbindir}
  614. - split all LoadModules to conf.modules.d/*.conf
  615. - split module configs to conf.d/*.conf
  616. - cleanup docroot, move apache specific files to %%{_datadir}/apache2
  617. - add BR: lua-devel, libxml2-devel
  618. - add /etc/apache2/sites.d for virtual host settings.
  619. * Wed Dec 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.25-2
  620. - merge VineSeed spec file
  621. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.23-2
  622. - rebuild with pcre-8.31
  623. * Wed Mar 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.23-1
  624. - update to 2.2.23
  625. - add R(pre): www-common, BR: www-common
  626. - move apache contents to %{contentdir}
  627. * Sat Sep 28 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.25-1
  628. - new upstream release with security fix (CVE-2013-1862,1896)
  629. - drop patch100 (is included in new release)
  630. * Fri May 17 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-2
  631. - add patch100 for fix CVE-2013-1862 (mod_rewrite)
  632. * Wed Feb 27 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-1
  633. - new upstream release with security fix (CVE-2012-3499, 4558)
  634. * Sun Sep 16 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.23-1
  635. - new upstream release with security fix (CVE-2012-3502,CVE-2012-2687)
  636. - update patch22 to fit new release
  637. - update man filename convert list
  638. * Wed Mar 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.22-1
  639. - update to 2.2.22
  640. - CVE-2012-0021 (mod_log_config)
  641. - CVE-2012-0031
  642. - CVE-2012-0053
  643. - remove upstreamed patches
  644. * Fri Dec 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-5
  645. - add patch120 for fix CVE-2011-4317 (mod_rewrite/mod_proxy)
  646. * Fri Nov 18 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-4
  647. - add patch110 for fix CVE-2011-3607-4415 (ModSetEnvIf)
  648. * Wed Oct 12 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-3
  649. - add patch70 for fix byterange filter
  650. * Tue Oct 11 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-2
  651. - add Patch100 for fix CVE-2011-3368 (mod_proxy)
  652. * Wed Sep 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-1
  653. - new upstream release with security fix (CVE-2011-3348)
  654. - regression fixes of CVE-2011-3192 byterange fix in 2.2.20
  655. * Tue Sep 6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-3
  656. - update Patch101 (Thanks to debian team)
  657. * Sat Sep 3 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-2
  658. - add Patch101 for fix CVE-2011-3192 regression
  659. * Thu Sep 1 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-1
  660. - new upstream release with security fix (CVE-2011-3192)
  661. - drop patch100 (is included in new release)
  662. * Thu Aug 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.19-2
  663. - add patch100 for fix CVE-2011-3192 (Range Header DoS)
  664. * Mon May 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.19-1
  665. - update to 2.2.19
  666. * Sat Apr 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-9
  667. - remove old Obsoletes/Conflicts
  668. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.14-8
  669. - rebuild with openssl-1.0.0c
  670. * Sat Aug 21 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.14-7
  671. - add patch120 for fix CVE-2010-1452 (mod_dav/mod_cache) from mdk2010
  672. * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-6
  673. - add R(post): alternatives
  674. * Sat Mar 20 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-5
  675. - add patch110 for fix CVE-2010-0434 from mdk 2010
  676. * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-4
  677. - add patch100 for fix CVE-2010-0408 (mod_proxy_ajp)
  678. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.14-3
  679. - rebuilt with rpm-4.8.0-3 (on ppc)
  680. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-2
  681. - rebuild with db4-4.8.0
  682. * Tue Jan 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-1
  683. - new upstream release with security fix
  684. (CVE-2009-2699, CVE-2009-3095, CVE-2009-3094)
  685. - fix ssl.conf (2.2.13-1 includes wrong file)
  686. * Sun Aug 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.13-1
  687. - new upstream release
  688. * Wed Jul 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.12-1
  689. - new upstream release
  690. (including security fix for CVE-2009-1890, CVE-2009-1191,
  691. CVE-2009-1195, CVE-2009-1955, CVE-2009-1956, CVE-2009-0023)
  692. * Fri Jan 09 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.11-2
  693. - rebuilt with openldap-2.4.11
  694. * Fri Jan 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.11-1
  695. - new upstream release
  696. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-1
  697. - new upstream release (including security fix for CVE-2008-2939)
  698. * Fri Jun 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.9-1
  699. - new upstream release (including security fix for CVE-2008-2364, CVE-2007-6420)
  700. - built with db4-4.6.21, apr 1.3.0
  701. * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8-1
  702. - add Patch60 (to fix bug#31418).
  703. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.8-0vl2
  704. - rebuild with expat-2.0.1
  705. * Tue Jan 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  706. - new upstream release
  707. * Sat Nov 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-0vl2
  708. - added postun script from VinePlus/4.0 package
  709. * Tue Sep 11 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.3-0vl3.2
  710. - add postun script to restart daemon with message
  711. * Sun Jul 01 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl8
  712. - updated Patch2: httpd-2.2.3-apxs.patch
  713. * Sun Jun 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl7
  714. - modified libdir in config.layout for lib64 architecture
  715. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6
  716. - rebuilt with openssl-0.9.8e
  717. * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.3-0vl5
  718. - rebuilt with new toolchain and db4-4.3.x
  719. * Wed Feb 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl4
  720. - added BuildRequires: pcre-devel, sqlite3-devel <BTS:VineLinux:474>
  721. * Mon Sep 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.2.3-0vl3
  722. - change manual Group to Applications/Documentation. <BTS:VineLinux:163>
  723. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl2
  724. - rebuilt with openldap-2.3.27-0vl1
  725. * Sat Jul 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
  726. - new upstream release including security fix (CVE-2006-3747)
  727. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  728. - new upstream release
  729. - update to 2.2.2
  730. - remove apr/apr-devel subpackage,
  731. use external apr/apr-util instead of internal one.
  732. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.58-0vl1
  733. - new upstream release
  734. - use apache2.prefork as default.
  735. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl3
  736. - rebuild to use new _localstatedir (rpm-4.4.2-0vl11)
  737. - remove unpackaged files in %%install section
  738. * Fri Jan 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl2
  739. - fix logrotate configuration (use apache2.pid instead of httpd.pid)
  740. (BTS:10)
  741. - use Epoch instead of Serial
  742. * Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl1
  743. - new upstream release
  744. - drop obsolete security patches which is merged in upstream
  745. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.54-0vl1
  746. - new upstream release
  747. * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl2
  748. - added Patch122 to 125 for secutiry fix
  749. (CAN-2004-{1268,2088,2700,2728})
  750. - fix %install section
  751. * Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl1
  752. - new upstream release
  753. * Sat Nov 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.52-0vl1
  754. - new upstream release
  755. * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.50-0vl4
  756. - rebuilt with db4-4.2.52
  757. * Sat Sep 4 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.0.50-0vl3
  758. - separate apr, apr-devel packages
  759. - add BuildPreReq: zlib-devel
  760. * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.50-0vl2
  761. - fix %%files to include instdso.sh
  762. thanks to jax <jax AT morejams DOT no-ip DOT com>
  763. - add %%{?_smp_mflags} to make option.
  764. * Sun Jul 4 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.50-0vl1
  765. - new upstream version
  766. * Sun Nov 23 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.48-0vl1
  767. - new upstream version
  768. * Mon Sep 15 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.47-0vl1
  769. - new upstream version
  770. - update apxs patch (Patch101)
  771. - fix dependency:
  772. - change file name to package name in Requires and {Build,}Prereq
  773. - add BuildPrereq: openldap-devel
  774. - update %%files section
  775. - rename httpd.8 manpage
  776. * Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.45-0vl1
  777. - new upstream version
  778. - used vine-config.layout in srclib
  779. * Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.44-0vl9
  780. - rebuild
  781. * Sun Apr 6 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl8
  782. - change pkg name from mod_ssl to mod_ssl-apache2
  783. - remove "apache-manual" entry from Obsoletes:
  784. * Thu Apr 3 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl7
  785. - remove "mod_dav" and "apache-devel" from Obsoletes:
  786. - enable MPMS(worker %mpms )
  787. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl6
  788. - add correct config_vars.mk
  789. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl5
  790. - apply apxs's patch ( from Debian)
  791. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl4
  792. - add apr-config,apu-config to devel's %file
  793. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl3
  794. - change apxs path ( /usr/sbin -> /usr/bin
  795. - add symlink under /etc/apache2/conf
  796. (logs, run), httpd.conf -> apache2.conf
  797. - fixed apache2 initscript.
  798. * Sat Mar 29 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl2
  799. - build Vine Linux
  800. - new upstream version
  801. - sharing with apache1
  802. * Wed Sep 4 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.40-8
  803. - link httpd with libssl to avoid library loading/unloading weirdness
  804. * Tue Sep 3 2002 Joe Orton <jorton@redhat.com> 2.0.40-7
  805. - add LoadModule lines for proxy modules in httpd.conf (#73349)
  806. - fix permissions of conf/ssl.*/ directories; add Makefiles for
  807. certificate management (#73352)
  808. * Mon Sep 2 2002 Joe Orton <jorton@redhat.com> 2.0.40-6
  809. - provide "httpd-mmn" to manage module ABI compatibility
  810. * Sun Sep 1 2002 Joe Orton <jorton@redhat.com> 2.0.40-5
  811. - fix SSL session cache (#69699)
  812. - revert addition of LDAP support to apr-util
  813. * Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-4
  814. - set SIGXFSZ disposition to "ignored" (#69520)
  815. - make dummy connections to the first listener in config (#72692)
  816. * Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-3
  817. - allow "apachectl configtest" on a 1.3 httpd.conf
  818. - add mod_deflate
  819. - enable LDAP support in apr-util
  820. - don't package everything in /var/www/error as config(noreplace)
  821. * Wed Aug 21 2002 Bill Nottingham <notting@redhat.com> 2.0.40-2
  822. - add trigger (#68657)
  823. * Mon Aug 12 2002 Joe Orton <jorton@redhat.com> 2.0.40-1
  824. - update to 2.0.40
  825. * Wed Jul 24 2002 Joe Orton <jorton@redhat.com> 2.0.36-8
  826. - improve comment on use of UserDir in default config (#66886)
  827. * Wed Jul 10 2002 Joe Orton <jorton@redhat.com> 2.0.36-7
  828. - use /sbin/nologin as shell for apache user (#68371)
  829. - add patch from CVS to fix possible infinite loop when processing
  830. internal redirects
  831. * Wed Jun 26 2002 Gary Benson <gbenson@redhat.com> 2.0.36-6
  832. - modify init script to detect 1.3.x httpd.conf's and direct users
  833. to the migration guide
  834. * Tue Jun 25 2002 Gary Benson <gbenson@redhat.com> 2.0.36-5
  835. - patch apachectl to detect 1.3.x httpd.conf's and direct users
  836. to the migration guide
  837. - ship the migration guide
  838. * Fri Jun 21 2002 Joe Orton <jorton@redhat.com>
  839. - move /etc/httpd2 back to /etc/httpd
  840. - add noindex.html page and poweredby logo; tweak default config
  841. to load noindex.html if no default "/" page is present.
  842. - add patch to prevent mutex errors on graceful restart
  843. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.0.36-4
  844. - automated rebuild
  845. * Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-3
  846. - add patch to fix SSL mutex handling
  847. * Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-2
  848. - improved config directory patch
  849. * Mon May 20 2002 Joe Orton <jorton@redhat.com>
  850. - initial build; based heavily on apache.spec and mod_ssl.spec
  851. - fixes: #65214, #58490, #57376, #61265, #65518, #58177, #57245