apache2-vl.spec 34 KB

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