nginx.spec 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. #
  2. %define nginx_home %{_localstatedir}/cache/nginx
  3. %define nginx_user nginx
  4. %define nginx_group nginx
  5. %define nginx_loggroup adm
  6. BuildRequires: systemd
  7. Requires(post): systemd
  8. Requires(preun): systemd
  9. Requires(postun): systemd
  10. %if 0%{?rhel}
  11. %define _group System Environment/Daemons
  12. %endif
  13. %if (0%{?rhel} == 7) && (0%{?amzn} == 0)
  14. %define epoch 1
  15. Epoch: %{epoch}
  16. Requires(pre): shadow-utils
  17. Requires: openssl >= 1.0.2
  18. BuildRequires: openssl-devel >= 1.0.2
  19. %define dist .el7
  20. %endif
  21. %if (0%{?rhel} == 7) && (0%{?amzn} == 2)
  22. %define epoch 1
  23. Epoch: %{epoch}
  24. Requires(pre): shadow-utils
  25. Requires: openssl11 >= 1.1.1
  26. BuildRequires: openssl11-devel >= 1.1.1
  27. %endif
  28. %if 0%{?rhel} == 8
  29. %define epoch 1
  30. Epoch: %{epoch}
  31. Requires(pre): shadow-utils
  32. BuildRequires: openssl-devel >= 1.1.1
  33. %define _debugsource_template %{nil}
  34. %endif
  35. %if 0%{?rhel} == 9
  36. %define epoch 1
  37. Epoch: %{epoch}
  38. Requires(pre): shadow-utils
  39. BuildRequires: openssl-devel
  40. %define _debugsource_template %{nil}
  41. %endif
  42. %if 0%{?suse_version} >= 1315
  43. %define _group Productivity/Networking/Web/Servers
  44. %define nginx_loggroup trusted
  45. Requires(pre): shadow
  46. BuildRequires: libopenssl-devel
  47. %define _debugsource_template %{nil}
  48. %endif
  49. %if 0%{?fedora}
  50. %define _debugsource_template %{nil}
  51. %global _hardened_build 1
  52. %define _group System Environment/Daemons
  53. BuildRequires: openssl-devel
  54. Requires(pre): shadow-utils
  55. %endif
  56. # end of distribution specific definitions
  57. %define openssl_version 1.1.1p
  58. %define base_version 1.23.0
  59. %define base_release 1%{?dist}.ngx
  60. %define bdir %{_builddir}/%{name}-%{base_version}
  61. %define WITH_CC_OPT $(echo %{optflags} $(pcre2-config --cflags)) -fPIC
  62. %define WITH_LD_OPT -Wl,-z,relro -Wl,-z,now -pie
  63. %define BASE_CONFIGURE_ARGS $(echo "--prefix=%{_sysconfdir}/nginx --sbin-path=%{_sbindir}/nginx --modules-path=%{_libdir}/nginx/modules --conf-path=%{_sysconfdir}/nginx/nginx.conf --error-log-path=%{_localstatedir}/log/nginx/error.log --http-log-path=%{_localstatedir}/log/nginx/access.log --pid-path=%{_localstatedir}/run/nginx.pid --lock-path=%{_localstatedir}/run/nginx.lock --http-client-body-temp-path=%{_localstatedir}/cache/nginx/client_temp --http-proxy-temp-path=%{_localstatedir}/cache/nginx/proxy_temp --http-fastcgi-temp-path=%{_localstatedir}/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=%{_localstatedir}/cache/nginx/uwsgi_temp --http-scgi-temp-path=%{_localstatedir}/cache/nginx/scgi_temp --user=%{nginx_user} --group=%{nginx_group} --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module")
  64. Summary: High performance web server
  65. Name: nginx
  66. Version: %{base_version}
  67. Release: %{base_release}
  68. Vendor: NGINX Packaging <nginx-packaging@f5.com>
  69. URL: https://nginx.org/
  70. Group: %{_group}
  71. Source0: https://nginx.org/download/%{name}-%{version}.tar.gz
  72. Source1: logrotate
  73. Source2: nginx.conf
  74. Source3: nginx.default.conf
  75. Source4: nginx.service
  76. Source5: nginx.upgrade.sh
  77. Source6: nginx.suse.logrotate
  78. Source7: nginx-debug.service
  79. Source8: nginx.copyright
  80. Source9: nginx.check-reload.sh
  81. Source10: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz
  82. License: 2-clause BSD-like license
  83. BuildRoot: %{_tmppath}/%{name}-%{base_version}-%{base_release}-root
  84. BuildRequires: zlib-devel
  85. BuildRequires: pcre2-devel
  86. Provides: webserver
  87. Provides: nginx-r%{base_version}
  88. %description
  89. nginx [engine x] is an HTTP and reverse proxy server, as well as
  90. a mail proxy server.
  91. %if 0%{?suse_version} >= 1315
  92. %debug_package
  93. %endif
  94. %prep
  95. %autosetup -p1
  96. tar -zxf %{SOURCE10}
  97. %build
  98. ./configure %{BASE_CONFIGURE_ARGS} \
  99. --with-openssl=./openssl-%{openssl_version}/ \
  100. --with-cc-opt="%{WITH_CC_OPT}" \
  101. --with-ld-opt="%{WITH_LD_OPT}" \
  102. --with-debug
  103. make %{?_smp_mflags}
  104. %{__mv} %{bdir}/objs/nginx \
  105. %{bdir}/objs/nginx-debug
  106. ./configure %{BASE_CONFIGURE_ARGS} \
  107. --with-openssl=./openssl-%{openssl_version}/ \
  108. --with-cc-opt="%{WITH_CC_OPT}" \
  109. --with-ld-opt="%{WITH_LD_OPT}"
  110. make %{?_smp_mflags}
  111. %install
  112. %{__rm} -rf $RPM_BUILD_ROOT
  113. %{__make} DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor install
  114. %{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/nginx
  115. %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/html $RPM_BUILD_ROOT%{_datadir}/nginx/
  116. %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/nginx/*.default
  117. %{__rm} -f $RPM_BUILD_ROOT%{_sysconfdir}/nginx/fastcgi.conf
  118. %{__mkdir} -p $RPM_BUILD_ROOT%{_localstatedir}/log/nginx
  119. %{__mkdir} -p $RPM_BUILD_ROOT%{_localstatedir}/run/nginx
  120. %{__mkdir} -p $RPM_BUILD_ROOT%{_localstatedir}/cache/nginx
  121. %{__mkdir} -p $RPM_BUILD_ROOT%{_libdir}/nginx/modules
  122. cd $RPM_BUILD_ROOT%{_sysconfdir}/nginx && \
  123. %{__ln_s} ../..%{_libdir}/nginx/modules modules && cd -
  124. %{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{base_version}
  125. %{__install} -m 644 -p %{SOURCE8} \
  126. $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{base_version}/COPYRIGHT
  127. %{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d
  128. %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/nginx.conf
  129. %{__install} -m 644 -p %{SOURCE2} \
  130. $RPM_BUILD_ROOT%{_sysconfdir}/nginx/nginx.conf
  131. %{__install} -m 644 -p %{SOURCE3} \
  132. $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/default.conf
  133. %{__install} -p -D -m 0644 %{bdir}/objs/nginx.8 \
  134. $RPM_BUILD_ROOT%{_mandir}/man8/nginx.8
  135. %{__mkdir} -p $RPM_BUILD_ROOT%{_unitdir}
  136. %{__install} -m644 %SOURCE4 \
  137. $RPM_BUILD_ROOT%{_unitdir}/nginx.service
  138. %{__install} -m644 %SOURCE7 \
  139. $RPM_BUILD_ROOT%{_unitdir}/nginx-debug.service
  140. %{__mkdir} -p $RPM_BUILD_ROOT%{_libexecdir}/initscripts/legacy-actions/nginx
  141. %{__install} -m755 %SOURCE5 \
  142. $RPM_BUILD_ROOT%{_libexecdir}/initscripts/legacy-actions/nginx/upgrade
  143. %{__install} -m755 %SOURCE9 \
  144. $RPM_BUILD_ROOT%{_libexecdir}/initscripts/legacy-actions/nginx/check-reload
  145. # install log rotation stuff
  146. %{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
  147. %if 0%{?suse_version}
  148. %{__install} -m 644 -p %{SOURCE6} \
  149. $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/nginx
  150. %else
  151. %{__install} -m 644 -p %{SOURCE1} \
  152. $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/nginx
  153. %endif
  154. %{__install} -m755 %{bdir}/objs/nginx-debug \
  155. $RPM_BUILD_ROOT%{_sbindir}/nginx-debug
  156. %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/koi-utf
  157. %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/koi-win
  158. %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/win-utf
  159. %check
  160. %{__rm} -rf $RPM_BUILD_ROOT/usr/src
  161. cd %{bdir}
  162. grep -v 'usr/src' debugfiles.list > debugfiles.list.new && mv debugfiles.list.new debugfiles.list
  163. cat /dev/null > debugsources.list
  164. %if 0%{?suse_version} >= 1500
  165. cat /dev/null > debugsourcefiles.list
  166. %endif
  167. %clean
  168. %{__rm} -rf $RPM_BUILD_ROOT
  169. %files
  170. %defattr(-,root,root)
  171. %{_sbindir}/nginx
  172. %{_sbindir}/nginx-debug
  173. %dir %{_sysconfdir}/nginx
  174. %dir %{_sysconfdir}/nginx/conf.d
  175. %{_sysconfdir}/nginx/modules
  176. %config(noreplace) %{_sysconfdir}/nginx/nginx.conf
  177. %config(noreplace) %{_sysconfdir}/nginx/conf.d/default.conf
  178. %config(noreplace) %{_sysconfdir}/nginx/mime.types
  179. %config(noreplace) %{_sysconfdir}/nginx/fastcgi_params
  180. %config(noreplace) %{_sysconfdir}/nginx/scgi_params
  181. %config(noreplace) %{_sysconfdir}/nginx/uwsgi_params
  182. %config(noreplace) %{_sysconfdir}/logrotate.d/nginx
  183. %{_unitdir}/nginx.service
  184. %{_unitdir}/nginx-debug.service
  185. %dir %{_libexecdir}/initscripts/legacy-actions/nginx
  186. %{_libexecdir}/initscripts/legacy-actions/nginx/*
  187. %attr(0755,root,root) %dir %{_libdir}/nginx
  188. %attr(0755,root,root) %dir %{_libdir}/nginx/modules
  189. %dir %{_datadir}/nginx
  190. %dir %{_datadir}/nginx/html
  191. %{_datadir}/nginx/html/*
  192. %attr(0755,root,root) %dir %{_localstatedir}/cache/nginx
  193. %attr(0755,root,root) %dir %{_localstatedir}/log/nginx
  194. %dir %{_datadir}/doc/%{name}-%{base_version}
  195. %doc %{_datadir}/doc/%{name}-%{base_version}/COPYRIGHT
  196. %{_mandir}/man8/nginx.8*
  197. %pre
  198. # Add the "nginx" user
  199. getent group %{nginx_group} >/dev/null || groupadd -r %{nginx_group}
  200. getent passwd %{nginx_user} >/dev/null || \
  201. useradd -r -g %{nginx_group} -s /sbin/nologin \
  202. -d %{nginx_home} -c "nginx user" %{nginx_user}
  203. exit 0
  204. %post
  205. # Register the nginx service
  206. if [ $1 -eq 1 ]; then
  207. /usr/bin/systemctl preset nginx.service >/dev/null 2>&1 ||:
  208. /usr/bin/systemctl preset nginx-debug.service >/dev/null 2>&1 ||:
  209. # print site info
  210. cat <<BANNER
  211. ----------------------------------------------------------------------
  212. Thanks for using nginx!
  213. Please find the official documentation for nginx here:
  214. * https://nginx.org/en/docs/
  215. Please subscribe to nginx-announce mailing list to get
  216. the most important news about nginx:
  217. * https://nginx.org/en/support.html
  218. Commercial subscriptions for nginx are available on:
  219. * https://nginx.com/products/
  220. ----------------------------------------------------------------------
  221. BANNER
  222. # Touch and set permisions on default log files on installation
  223. if [ -d %{_localstatedir}/log/nginx ]; then
  224. if [ ! -e %{_localstatedir}/log/nginx/access.log ]; then
  225. touch %{_localstatedir}/log/nginx/access.log
  226. %{__chmod} 640 %{_localstatedir}/log/nginx/access.log
  227. %{__chown} nginx:%{nginx_loggroup} %{_localstatedir}/log/nginx/access.log
  228. fi
  229. if [ ! -e %{_localstatedir}/log/nginx/error.log ]; then
  230. touch %{_localstatedir}/log/nginx/error.log
  231. %{__chmod} 640 %{_localstatedir}/log/nginx/error.log
  232. %{__chown} nginx:%{nginx_loggroup} %{_localstatedir}/log/nginx/error.log
  233. fi
  234. fi
  235. fi
  236. %preun
  237. if [ $1 -eq 0 ]; then
  238. /usr/bin/systemctl --no-reload disable nginx.service >/dev/null 2>&1 ||:
  239. /usr/bin/systemctl stop nginx.service >/dev/null 2>&1 ||:
  240. fi
  241. %postun
  242. /usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
  243. if [ $1 -ge 1 ]; then
  244. /sbin/service nginx status >/dev/null 2>&1 || exit 0
  245. /sbin/service nginx upgrade >/dev/null 2>&1 || echo \
  246. "Binary upgrade failed, please check nginx's error.log"
  247. fi
  248. %changelog
  249. * Tue Jun 21 2022 Nginx Packaging <nginx-packaging@f5.com> - 1.23.0-1%{?dist}.ngx
  250. - 1.23.0-1
  251. * Tue Jan 25 2022 Mikhail Isachenkov <mikhail.isachenkov@nginx.com> - 1.21.6-1%{?dist}.ngx
  252. - 1.21.6-1
  253. * Tue Dec 28 2021 Konstantin Pavlov <thresh@nginx.com> - 1.21.5-1%{?dist}.ngx
  254. - 1.21.5-1
  255. - built with PCRE2
  256. * Tue Nov 2 2021 Konstantin Pavlov <thresh@nginx.com> - 1.21.4-1%{?dist}.ngx
  257. - 1.21.4-1
  258. * Tue Sep 7 2021 Konstantin Pavlov <thresh@nginx.com> - 1.21.3-1%{?dist}.ngx
  259. - 1.21.3-1
  260. * Tue Aug 31 2021 Andrei Belov <defan@nginx.com> - 1.21.2-1%{?dist}.ngx
  261. - 1.21.2-1
  262. * Tue Jul 6 2021 Konstantin Pavlov <thresh@nginx.com> - 1.21.1-1%{?dist}.ngx
  263. - 1.21.1-1
  264. * Tue May 25 2021 Konstantin Pavlov <thresh@nginx.com> - 1.21.0-1%{?dist}.ngx
  265. - 1.21.0-1
  266. * Tue Apr 13 2021 Andrei Belov <defan@nginx.com> - 1.19.10-1%{?dist}.ngx
  267. - 1.19.10-1
  268. * Tue Mar 30 2021 Konstantin Pavlov <thresh@nginx.com> - 1.19.9-1%{?dist}.ngx
  269. - 1.19.9-1
  270. * Tue Mar 9 2021 Konstantin Pavlov <thresh@nginx.com> - 1.19.8-1%{?dist}.ngx
  271. - 1.19.8-1
  272. * Tue Feb 16 2021 Konstantin Pavlov <thresh@nginx.com> - 1.19.7-1%{?dist}.ngx
  273. - 1.19.7-1
  274. * Tue Dec 15 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.6-1%{?dist}.ngx
  275. - 1.19.6-1
  276. * Tue Nov 24 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.5-1%{?dist}.ngx
  277. - 1.19.5-1
  278. * Tue Oct 27 2020 Andrei Belov <defan@nginx.com> - 1.19.4-1%{?dist}.ngx
  279. - 1.19.4-1
  280. * Tue Sep 29 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.3-1%{?dist}.ngx
  281. - 1.19.3
  282. * Tue Aug 11 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.2-1%{?dist}.ngx
  283. - 1.19.2
  284. * Tue Jul 7 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.1-1%{?dist}.ngx
  285. - 1.19.1
  286. * Tue May 26 2020 Konstantin Pavlov <thresh@nginx.com> - 1.19.0-1%{?dist}.ngx
  287. - 1.19.0
  288. * Tue Apr 14 2020 Konstantin Pavlov <thresh@nginx.com> - 1.17.10-1%{?dist}.ngx
  289. - 1.17.10
  290. * Tue Mar 3 2020 Konstantin Pavlov <thresh@nginx.com> - 1.17.9-1%{?dist}.ngx
  291. - 1.17.9
  292. * Tue Jan 21 2020 Konstantin Pavlov <thresh@nginx.com> - 1.17.8-1%{?dist}.ngx
  293. - 1.17.8
  294. * Tue Dec 24 2019 Konstantin Pavlov <thresh@nginx.com> - 1.17.7-1%{?dist}.ngx
  295. - 1.17.7
  296. * Tue Nov 19 2019 Konstantin Pavlov <thresh@nginx.com> - 1.17.6-1%{?dist}.ngx
  297. - 1.17.6
  298. * Tue Oct 22 2019 Andrei Belov <defan@nginx.com> - 1.17.5-1%{?dist}.ngx
  299. - 1.17.5
  300. * Tue Sep 24 2019 Konstantin Pavlov <thresh@nginx.com> - 1.17.4-1%{?dist}.ngx
  301. - 1.17.4
  302. * Tue Aug 13 2019 Andrei Belov <defan@nginx.com> - 1.17.3-1%{?dist}.ngx
  303. - 1.17.3
  304. * Tue Jul 23 2019 Konstantin Pavlov <thresh@nginx.com> - 1.17.2-1%{?dist}.ngx
  305. - 1.17.2
  306. * Tue Jun 25 2019 Andrei Belov <defan@nginx.com> - 1.17.1-1%{?dist}.ngx
  307. - 1.17.1
  308. * Tue May 21 2019 Konstantin Pavlov <thresh@nginx.com> - 1.17.0-1%{?dist}.ngx
  309. - 1.17.0
  310. * Tue Apr 16 2019 Konstantin Pavlov <thresh@nginx.com> - 1.15.12-1%{?dist}.ngx
  311. - 1.15.12
  312. * Tue Apr 9 2019 Konstantin Pavlov <thresh@nginx.com> - 1.15.11-1%{?dist}.ngx
  313. - 1.15.11
  314. * Tue Mar 26 2019 Konstantin Pavlov <thresh@nginx.com> - 1.15.10-1%{?dist}.ngx
  315. - 1.15.10
  316. * Tue Feb 26 2019 Konstantin Pavlov <thresh@nginx.com> - 1.15.9-1%{?dist}.ngx
  317. - 1.15.9
  318. * Tue Dec 25 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.8-1%{?dist}.ngx
  319. - 1.15.8
  320. * Tue Nov 27 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.7-1%{?dist}.ngx
  321. - 1.15.7
  322. * Tue Nov 6 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.6-1%{?dist}.ngx
  323. - 1.15.6
  324. - Security: fixes CVE-2018-16843.
  325. - Security: fixes CVE-2018-16844.
  326. - Security: fixes CVE-2018-16845.
  327. * Tue Oct 2 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.5-1%{?dist}.ngx
  328. - 1.15.5
  329. * Tue Sep 25 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.4-1%{?dist}.ngx
  330. - 1.15.4
  331. * Tue Aug 28 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.3-1%{?dist}.ngx
  332. - 1.15.3
  333. * Tue Jul 24 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.2-1%{?dist}.ngx
  334. - 1.15.2
  335. * Tue Jul 3 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.1-1%{?dist}.ngx
  336. - 1.15.1
  337. * Tue Jun 5 2018 Konstantin Pavlov <thresh@nginx.com> - 1.15.0-1%{?dist}.ngx
  338. - 1.15.0
  339. * Mon Apr 9 2018 Konstantin Pavlov <thresh@nginx.com> - 1.13.12-1%{?dist}.ngx
  340. - 1.13.12
  341. * Tue Apr 3 2018 Konstantin Pavlov <thresh@nginx.com> - 1.13.11-1%{?dist}.ngx
  342. - 1.13.11
  343. * Tue Mar 20 2018 Konstantin Pavlov <thresh@nginx.com> - 1.13.10-1%{?dist}.ngx
  344. - 1.13.10
  345. * Tue Feb 20 2018 Konstantin Pavlov <thresh@nginx.com> - 1.13.9-1%{?dist}.ngx
  346. - 1.13.9
  347. * Tue Dec 26 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.8-1%{?dist}.ngx
  348. - 1.13.8
  349. * Tue Nov 21 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.7-1%{?dist}.ngx
  350. - 1.13.7
  351. * Thu Sep 14 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.6-1%{?dist}.ngx
  352. - 1.13.6
  353. - Bugfix: in systemd service support
  354. (https://trac.nginx.org/nginx/ticket/1380).
  355. * Thu Sep 14 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.5-1%{?dist}.ngx
  356. - 1.13.5
  357. * Tue Aug 8 2017 Sergey Budnevitch <sb@nginx.com> - 1.13.4-1%{?dist}.ngx
  358. - 1.13.4
  359. * Tue Jul 11 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.3-1%{?dist}.ngx
  360. - 1.13.3
  361. - Security: fixes CVE-2017-7529.
  362. * Tue Jun 27 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.2-1%{?dist}.ngx
  363. - 1.13.2
  364. * Tue May 30 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.1-1%{?dist}.ngx
  365. - 1.13.1
  366. * Tue Apr 25 2017 Konstantin Pavlov <thresh@nginx.com> - 1.13.0-1%{?dist}.ngx
  367. - 1.13.0
  368. * Tue Apr 4 2017 Konstantin Pavlov <thresh@nginx.com> - 1.11.13-1%{?dist}.ngx
  369. - 1.11.13
  370. - Made upgrade loops/timeouts configurable via /etc/defaults/nginx.
  371. * Fri Mar 24 2017 Konstantin Pavlov <thresh@nginx.com> - 1.11.12-1%{?dist}.ngx
  372. - 1.11.12
  373. * Tue Mar 21 2017 Konstantin Pavlov <thresh@nginx.com> - 1.11.11-1%{?dist}.ngx
  374. - 1.11.11
  375. * Tue Feb 14 2017 Konstantin Pavlov <thresh@nginx.com> - 1.11.10-1%{?dist}.ngx
  376. - 1.11.10
  377. * Tue Jan 24 2017 Konstantin Pavlov <thresh@nginx.com> - 1.11.9-1%{?dist}.ngx
  378. - 1.11.9
  379. - Extended hardening build flags.
  380. - Added check-reload target to init script / systemd service.
  381. * Tue Dec 27 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.8-1%{?dist}.ngx
  382. - 1.11.8
  383. * Tue Dec 13 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.7-1%{?dist}.ngx
  384. - 1.11.7
  385. * Fri Nov 25 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.6-1%{?dist}.ngx
  386. - 1.11.6
  387. * Mon Oct 10 2016 Andrei Belov <defan@nginx.com> - 1.11.5-1%{?dist}.ngx
  388. - 1.11.5
  389. * Tue Sep 13 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.4-1%{?dist}.ngx
  390. - 1.11.4
  391. - njs updated to 0.1.2.
  392. * Tue Jul 26 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.3-1%{?dist}.ngx
  393. - 1.11.3
  394. - njs updated to 0.1.0.
  395. - njs stream dynamic module added to nginx-module-njs package.
  396. - geoip stream dynamic module added to nginx-module-geoip package.
  397. * Tue Jul 5 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.2-1%{?dist}.ngx
  398. - 1.11.2
  399. - njs updated to ef2b708510b1.
  400. * Tue May 31 2016 Konstantin Pavlov <thresh@nginx.com> - 1.11.1-1%{?dist}.ngx
  401. - 1.11.1
  402. * Tue May 24 2016 Sergey Budnevitch <sb@nginx.com> - 1.11.0-1%{?dist}.ngx
  403. - 1.11.0
  404. - Bugfix: fixed logrotate error if nginx is not running.
  405. * Tue Apr 19 2016 Konstantin Pavlov <thresh@nginx.com> - 1.9.15-1%{?dist}.ngx
  406. - 1.9.15
  407. - njs updated to 1c50334fbea6.
  408. * Tue Apr 5 2016 Konstantin Pavlov <thresh@nginx.com> - 1.9.14-1%{?dist}.ngx
  409. - 1.9.14
  410. * Tue Mar 29 2016 Konstantin Pavlov <thresh@nginx.com> - 1.9.13-1%{?dist}.ngx
  411. - 1.9.13
  412. - Fixed modules path
  413. - Added perl and njs dynamic modules subpackages
  414. * Wed Feb 24 2016 Sergey Budnevitch <sb@nginx.com> - 1.9.12-1%{?dist}.ngx
  415. - 1.9.12
  416. - common configure args are now in variable
  417. - xslt, image-filter and geoip dynamic modules added
  418. * Tue Feb 9 2016 Sergey Budnevitch <sb@nginx.com> - 1.9.11-1%{?dist}.ngx
  419. - 1.9.11
  420. - dynamic modules path and symlink in /etc/nginx added
  421. * Tue Jan 26 2016 Konstantin Pavlov <thresh@nginx.com> - 1.9.10-1%{?dist}.ngx
  422. - 1.9.10
  423. * Wed Dec 9 2015 Konstantin Pavlov <thresh@nginx.com> - 1.9.9-1%{?dist}.ngx
  424. - 1.9.9
  425. * Tue Dec 8 2015 Konstantin Pavlov <thresh@nginx.com> - 1.9.8-1%{?dist}.ngx
  426. - 1.9.8
  427. - http_slice module enabled
  428. * Tue Nov 17 2015 Konstantin Pavlov <thresh@nginx.com> - 1.9.7-1%{?dist}.ngx
  429. - 1.9.7
  430. * Tue Oct 27 2015 Sergey Budnevitch <sb@nginx.com> - 1.9.6-1%{?dist}.ngx
  431. - 1.9.6
  432. * Tue Sep 22 2015 Andrei Belov <defan@nginx.com> - 1.9.5-1%{?dist}.ngx
  433. - 1.9.5
  434. - http_spdy module replaced with http_v2 module
  435. * Tue Aug 18 2015 Konstantin Pavlov <thresh@nginx.com> - 1.9.4-1%{?dist}.ngx
  436. - 1.9.4
  437. * Tue Jul 14 2015 Sergey Budnevitch <sb@nginx.com> - 1.9.3-1%{?dist}.ngx
  438. - 1.9.3
  439. * Tue Jun 16 2015 Sergey Budnevitch <sb@nginx.com> - 1.9.2-1%{?dist}.ngx
  440. - 1.9.2
  441. * Tue May 26 2015 Sergey Budnevitch <sb@nginx.com> - 1.9.1-1%{?dist}.ngx
  442. - 1.9.1
  443. * Tue Apr 28 2015 Sergey Budnevitch <sb@nginx.com> - 1.9.0-1%{?dist}.ngx
  444. - 1.9.0
  445. - thread pool support added
  446. - stream module added
  447. - example_ssl.conf removed
  448. * Tue Apr 7 2015 Sergey Budnevitch <sb@nginx.com> - 1.7.12-1%{?dist}.ngx
  449. - 1.7.12
  450. * Tue Mar 24 2015 Sergey Budnevitch <sb@nginx.com> - 1.7.11-1%{?dist}.ngx
  451. - 1.7.11
  452. * Tue Feb 10 2015 Sergey Budnevitch <sb@nginx.com> - 1.7.10-1%{?dist}.ngx
  453. - 1.7.10
  454. * Tue Dec 23 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.9-1%{?dist}.ngx
  455. - 1.7.9
  456. - init-script now sends signal only to the PID derived from pidfile
  457. * Tue Dec 2 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.8-1%{?dist}.ngx
  458. - 1.7.8
  459. - package with debug symbols added
  460. * Tue Oct 28 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.7-1%{?dist}.ngx
  461. - 1.7.7
  462. * Tue Sep 30 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.6-1%{?dist}.ngx
  463. - 1.7.6
  464. * Tue Sep 16 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.5-1%{?dist}.ngx
  465. - 1.7.5
  466. * Tue Aug 5 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.4-1%{?dist}.ngx
  467. - 1.7.4
  468. - init-script now returns 0 on stop command if nginx is not running
  469. * Tue Jul 8 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.3-1%{?dist}.ngx
  470. - 1.7.3
  471. * Tue Jun 17 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.2-1%{?dist}.ngx
  472. - 1.7.2
  473. * Tue May 27 2014 Sergey Budnevitch <sb@nginx.com> - 1.7.1-1%{?dist}.ngx
  474. - 1.7.1
  475. * Thu Apr 24 2014 Konstantin Pavlov <thresh@nginx.com> - 1.7.0-1%{?dist}.ngx
  476. - 1.7.0
  477. * Tue Apr 8 2014 Sergey Budnevitch <sb@nginx.com> - 1.5.13-1%{?dist}.ngx
  478. - 1.5.13
  479. * Tue Mar 18 2014 Sergey Budnevitch <sb@nginx.com> - 1.5.12-1%{?dist}.ngx
  480. - 1.5.12
  481. - warning added when binary upgrade returns non-zero exit code
  482. * Tue Mar 4 2014 Sergey Budnevitch <sb@nginx.com> - 1.5.11-1%{?dist}.ngx
  483. - 1.5.11
  484. * Tue Feb 4 2014 Sergey Budnevitch <sb@nginx.com> - 1.5.10-1%{?dist}.ngx
  485. - 1.5.10
  486. * Wed Jan 22 2014 Sergey Budnevitch <sb@nginx.com> - 1.5.9-1%{?dist}.ngx
  487. - 1.5.9
  488. * Tue Dec 17 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.8-1%{?dist}.ngx
  489. - 1.5.8
  490. * Fri Nov 29 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.7-1%{?dist}.ngx
  491. - 1.5.7
  492. - init script now honours additional options sourced from /etc/default/nginx
  493. * Tue Oct 1 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.6-1%{?dist}.ngx
  494. - 1.5.6
  495. * Tue Sep 17 2013 Andrei Belov <defan@nginx.com> - 1.5.5-1%{?dist}.ngx
  496. - 1.5.5
  497. * Tue Aug 27 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.4-1%{?dist}.ngx
  498. - 1.5.4
  499. - auth request module added
  500. * Tue Jul 30 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.3-1%{?dist}.ngx
  501. - 1.5.3
  502. * Tue Jul 2 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.2-1%{?dist}.ngx
  503. - 1.5.2
  504. * Tue Jun 4 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.1-1%{?dist}.ngx
  505. - 1.5.1
  506. - dpkg-buildflags options now passed by --with-{cc,ld}-opt
  507. * Mon May 6 2013 Sergey Budnevitch <sb@nginx.com> - 1.5.0-1%{?dist}.ngx
  508. - 1.5.0
  509. - fixed openssl version detection with dash as /bin/sh
  510. * Tue Apr 16 2013 Sergey Budnevitch <sb@nginx.com> - 1.3.16-1%{?dist}.ngx
  511. - 1.3.16
  512. * Tue Mar 26 2013 Sergey Budnevitch <sb@nginx.com> - 1.3.15-1%{?dist}.ngx
  513. - 1.3.15
  514. - gunzip module added
  515. - spdy module added if openssl version >= 1.0.1
  516. - set permissions on default log files at installation