apache2-vl.spec 33 KB

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