apache2-vl.spec 34 KB

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