apache2-vl.spec 33 KB

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