apache2-vl.spec 33 KB

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