apache2-vl.spec 34 KB

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