apache2-vl.spec 30 KB

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