apache2-vl.spec 34 KB

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