Advertisement
Guest User

nginx.spec

a guest
Nov 2nd, 2016
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.22 KB | None | 0 0
  1. %global _hardened_build 1
  2. %global nginx_user nginx
  3.  
  4. # gperftools exist only on selected arches
  5. %ifnarch s390 s390x
  6. %global with_gperftools 1
  7. %endif
  8.  
  9. %global with_aio 1
  10.  
  11. %if 0%{?fedora} > 22
  12. %global with_mailcap_mimetypes 1
  13. %endif
  14.  
  15. Name: nginx
  16. Epoch: 1
  17. Version: 1.10.1
  18. Release: 1%{?dist}
  19.  
  20. Summary: A high performance web server and reverse proxy server
  21. Group: System Environment/Daemons
  22. # BSD License (two clause)
  23. # http://www.freebsd.org/copyright/freebsd-license.html
  24. License: BSD
  25. URL: http://nginx.org/
  26.  
  27. Source0: http://nginx.org/download/nginx-%{version}.tar.gz
  28. Source1: http://nginx.org/download/nginx-%{version}.tar.gz.asc
  29. Source10: nginx.service
  30. Source11: nginx.logrotate
  31. Source12: nginx.conf
  32. Source13: nginx-upgrade
  33. Source14: nginx-upgrade.8
  34. Source100: index.html
  35. Source101: poweredby.png
  36. Source102: nginx-logo.png
  37. Source103: 404.html
  38. Source104: 50x.html
  39. Source200: README.dynamic
  40. Source210: UPGRADE-NOTES-1.6-to-1.10
  41. Source300: ngx_cache_purge-2.3.tar.gz
  42.  
  43. # removes -Werror in upstream build scripts. -Werror conflicts with
  44. # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
  45. Patch0: nginx-auto-cc-gcc.patch
  46.  
  47. %if 0%{?with_gperftools}
  48. BuildRequires: gperftools-devel
  49. %endif
  50. BuildRequires: openssl-devel
  51. BuildRequires: pcre-devel
  52. BuildRequires: zlib-devel
  53.  
  54. Requires: nginx-filesystem = %{epoch}:%{version}-%{release}
  55.  
  56. %if 0%{?rhel} || 0%{?fedora} < 24
  57. # Introduced at 1:1.10.0-1 to ease upgrade path. To be removed later.
  58. Requires: nginx-all-modules = %{epoch}:%{version}-%{release}
  59. %endif
  60.  
  61. Requires: openssl
  62. Requires: pcre
  63. Requires(pre): nginx-filesystem
  64. %if 0%{?with_mailcap_mimetypes}
  65. Requires: nginx-mimetypes
  66. %endif
  67. Provides: webserver
  68.  
  69. BuildRequires: systemd
  70. Requires(post): systemd
  71. Requires(preun): systemd
  72. Requires(postun): systemd
  73.  
  74. %description
  75. Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
  76. IMAP protocols, with a strong focus on high concurrency, performance and low
  77. memory usage.
  78.  
  79. %package all-modules
  80. Group: System Environment/Daemons
  81. Summary: A meta package that installs all available Nginx modules
  82. BuildArch: noarch
  83.  
  84. Requires: nginx-mod-http-geoip = %{epoch}:%{version}-%{release}
  85. Requires: nginx-mod-http-image-filter = %{epoch}:%{version}-%{release}
  86. Requires: nginx-mod-http-perl = %{epoch}:%{version}-%{release}
  87. Requires: nginx-mod-http-xslt-filter = %{epoch}:%{version}-%{release}
  88. Requires: nginx-mod-mail = %{epoch}:%{version}-%{release}
  89. Requires: nginx-mod-stream = %{epoch}:%{version}-%{release}
  90.  
  91. %description all-modules
  92. %{summary}.
  93. %if 0%{?rhel}
  94. The main nginx package depends on this to ease the upgrade path. After a grace
  95. period of several months, modules will become optional.
  96. %endif
  97. %if 0%{?fedora} && 0%{?fedora} < 24
  98. The main nginx package depends on this to ease the upgrade path. Starting from
  99. Fedora 24, modules are optional.
  100. %endif
  101.  
  102. %package filesystem
  103. Group: System Environment/Daemons
  104. Summary: The basic directory layout for the Nginx server
  105. BuildArch: noarch
  106. Requires(pre): shadow-utils
  107.  
  108. %description filesystem
  109. The nginx-filesystem package contains the basic directory layout
  110. for the Nginx server including the correct permissions for the
  111. directories.
  112.  
  113. %package mod-http-geoip
  114. Group: System Environment/Daemons
  115. Summary: Nginx HTTP geoip module
  116. BuildRequires: GeoIP-devel
  117. Requires: nginx
  118. Requires: GeoIP
  119.  
  120. %description mod-http-geoip
  121. %{summary}.
  122.  
  123. %package mod-http-image-filter
  124. Group: System Environment/Daemons
  125. Summary: Nginx HTTP image filter module
  126. BuildRequires: gd-devel
  127. Requires: nginx
  128. Requires: gd
  129.  
  130. %description mod-http-image-filter
  131. %{summary}.
  132.  
  133. %package mod-http-perl
  134. Group: System Environment/Daemons
  135. Summary: Nginx HTTP perl module
  136. BuildRequires: perl-devel
  137. %if 0%{?fedora} >= 24
  138. BuildRequires: perl-generators
  139. %endif
  140. BuildRequires: perl(ExtUtils::Embed)
  141. Requires: nginx
  142. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  143.  
  144. %description mod-http-perl
  145. %{summary}.
  146.  
  147. %package mod-http-xslt-filter
  148. Group: System Environment/Daemons
  149. Summary: Nginx XSLT module
  150. BuildRequires: libxslt-devel
  151. Requires: nginx
  152.  
  153. %description mod-http-xslt-filter
  154. %{summary}.
  155.  
  156. %package mod-mail
  157. Group: System Environment/Daemons
  158. Summary: Nginx mail modules
  159. Requires: nginx
  160.  
  161. %description mod-mail
  162. %{summary}.
  163.  
  164. %package mod-stream
  165. Group: System Environment/Daemons
  166. Summary: Nginx stream modules
  167. Requires: nginx
  168.  
  169. %description mod-stream
  170. %{summary}.
  171.  
  172.  
  173. %prep
  174. %setup -q
  175.  
  176.  
  177. %patch0 -p0
  178. cp %{SOURCE200} .
  179. cp %{SOURCE210} .
  180.  
  181. %if 0%{?rhel} < 8
  182. sed -i -e 's#KillMode=.*#KillMode=process#g' %{SOURCE10}
  183. sed -i -e 's#PROFILE=SYSTEM#HIGH:!aNULL:!MD5#' %{SOURCE12}
  184. %endif
  185.  
  186. %{__tar} zxvf %{SOURCE300}
  187. %setup -T -D -a 300
  188.  
  189.  
  190. %build
  191. # nginx does not utilize a standard configure script. It has its own
  192. # and the standard configure options cause the nginx configure script
  193. # to error out. This is is also the reason for the DESTDIR environment
  194. # variable.
  195. export DESTDIR=%{buildroot}
  196. ./configure \
  197. --prefix=%{_datadir}/nginx \
  198. --sbin-path=%{_sbindir}/nginx \
  199. --modules-path=%{_libdir}/nginx/modules \
  200. --conf-path=%{_sysconfdir}/nginx/nginx.conf \
  201. --error-log-path=%{_localstatedir}/log/nginx/error.log \
  202. --http-log-path=%{_localstatedir}/log/nginx/access.log \
  203. --http-client-body-temp-path=%{_localstatedir}/lib/nginx/tmp/client_body \
  204. --http-proxy-temp-path=%{_localstatedir}/lib/nginx/tmp/proxy \
  205. --http-fastcgi-temp-path=%{_localstatedir}/lib/nginx/tmp/fastcgi \
  206. --http-uwsgi-temp-path=%{_localstatedir}/lib/nginx/tmp/uwsgi \
  207. --http-scgi-temp-path=%{_localstatedir}/lib/nginx/tmp/scgi \
  208. --pid-path=/run/nginx.pid \
  209. --lock-path=/run/lock/subsys/nginx \
  210. --user=%{nginx_user} \
  211. --group=%{nginx_user} \
  212. %if 0%{?with_aio}
  213. --with-file-aio \
  214. %endif
  215. --with-ipv6 \
  216. --with-http_ssl_module \
  217. --with-http_v2_module \
  218. --with-http_realip_module \
  219. --with-http_addition_module \
  220. --with-http_xslt_module=dynamic \
  221. --with-http_image_filter_module=dynamic \
  222. --with-http_geoip_module=dynamic \
  223. --with-http_sub_module \
  224. --with-http_dav_module \
  225. --with-http_flv_module \
  226. --with-http_mp4_module \
  227. --with-http_gunzip_module \
  228. --with-http_gzip_static_module \
  229. --with-http_random_index_module \
  230. --with-http_secure_link_module \
  231. --with-http_degradation_module \
  232. --with-http_slice_module \
  233. --with-http_stub_status_module \
  234. --with-http_perl_module=dynamic \
  235. --with-mail=dynamic \
  236. --with-mail_ssl_module \
  237. --with-pcre \
  238. --with-pcre-jit \
  239. --with-stream=dynamic \
  240. --with-stream_ssl_module \
  241. %if 0%{?with_gperftools}
  242. --with-google_perftools_module \
  243. %endif
  244. --with-debug \
  245. --with-cc-opt="%{optflags} $(pcre-config --cflags)" \
  246. --with-ld-opt="$RPM_LD_FLAGS -Wl,-E" # so the perl module finds its symbols \
  247. --add-module=%{_builddir}/%{name}-%{version}/ngx_cache_purge-2.3
  248.  
  249.  
  250. make %{?_smp_mflags}
  251.  
  252.  
  253. %install
  254. make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
  255.  
  256. find %{buildroot} -type f -name .packlist -exec rm -f '{}' \;
  257. find %{buildroot} -type f -name perllocal.pod -exec rm -f '{}' \;
  258. find %{buildroot} -type f -empty -exec rm -f '{}' \;
  259. find %{buildroot} -type f -iname '*.so' -exec chmod 0755 '{}' \;
  260.  
  261. install -p -D -m 0644 %{SOURCE10} \
  262. %{buildroot}%{_unitdir}/nginx.service
  263. install -p -D -m 0644 %{SOURCE11} \
  264. %{buildroot}%{_sysconfdir}/logrotate.d/nginx
  265.  
  266. install -p -d -m 0755 %{buildroot}%{_sysconfdir}/nginx/conf.d
  267. install -p -d -m 0755 %{buildroot}%{_sysconfdir}/nginx/default.d
  268.  
  269. install -p -d -m 0700 %{buildroot}%{_localstatedir}/lib/nginx
  270. install -p -d -m 0700 %{buildroot}%{_localstatedir}/lib/nginx/tmp
  271. install -p -d -m 0700 %{buildroot}%{_localstatedir}/log/nginx
  272.  
  273. install -p -d -m 0755 %{buildroot}%{_datadir}/nginx/html
  274. install -p -d -m 0755 %{buildroot}%{_datadir}/nginx/modules
  275. install -p -d -m 0755 %{buildroot}%{_libdir}/nginx/modules
  276.  
  277. install -p -m 0644 %{SOURCE12} \
  278. %{buildroot}%{_sysconfdir}/nginx
  279. install -p -m 0644 %{SOURCE100} \
  280. %{buildroot}%{_datadir}/nginx/html
  281. install -p -m 0644 %{SOURCE101} %{SOURCE102} \
  282. %{buildroot}%{_datadir}/nginx/html
  283. install -p -m 0644 %{SOURCE103} %{SOURCE104} \
  284. %{buildroot}%{_datadir}/nginx/html
  285.  
  286. %if 0%{?with_mailcap_mimetypes}
  287. rm -f %{buildroot}%{_sysconfdir}/nginx/mime.types
  288. %endif
  289.  
  290. install -p -D -m 0644 %{_builddir}/nginx-%{version}/man/nginx.8 \
  291. %{buildroot}%{_mandir}/man8/nginx.8
  292.  
  293. install -p -D -m 0755 %{SOURCE13} %{buildroot}%{_bindir}/nginx-upgrade
  294. install -p -D -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
  295.  
  296. for i in ftdetect indent syntax; do
  297. install -p -D -m644 contrib/vim/${i}/nginx.vim \
  298. %{buildroot}%{_datadir}/vim/vimfiles/${i}/nginx.vim
  299. done
  300.  
  301. echo 'load_module "%{_libdir}/nginx/modules/ngx_http_geoip_module.so";' \
  302. > %{buildroot}%{_datadir}/nginx/modules/mod-http-geoip.conf
  303. echo 'load_module "%{_libdir}/nginx/modules/ngx_http_image_filter_module.so";' \
  304. > %{buildroot}%{_datadir}/nginx/modules/mod-http-image-filter.conf
  305. echo 'load_module "%{_libdir}/nginx/modules/ngx_http_perl_module.so";' \
  306. > %{buildroot}%{_datadir}/nginx/modules/mod-http-perl.conf
  307. echo 'load_module "%{_libdir}/nginx/modules/ngx_http_xslt_filter_module.so";' \
  308. > %{buildroot}%{_datadir}/nginx/modules/mod-http-xslt-filter.conf
  309. echo 'load_module "%{_libdir}/nginx/modules/ngx_mail_module.so";' \
  310. > %{buildroot}%{_datadir}/nginx/modules/mod-mail.conf
  311. echo 'load_module "%{_libdir}/nginx/modules/ngx_stream_module.so";' \
  312. > %{buildroot}%{_datadir}/nginx/modules/mod-stream.conf
  313.  
  314. %pre filesystem
  315. getent group %{nginx_user} > /dev/null || groupadd -r %{nginx_user}
  316. getent passwd %{nginx_user} > /dev/null || \
  317. useradd -r -d %{_localstatedir}/lib/nginx -g %{nginx_user} \
  318. -s /sbin/nologin -c "Nginx web server" %{nginx_user}
  319. exit 0
  320.  
  321. %post
  322. %systemd_post nginx.service
  323.  
  324. %post mod-http-geoip
  325. if [ $1 -eq 1 ]; then
  326. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  327. fi
  328.  
  329. %post mod-http-image-filter
  330. if [ $1 -eq 1 ]; then
  331. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  332. fi
  333.  
  334. %post mod-http-perl
  335. if [ $1 -eq 1 ]; then
  336. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  337. fi
  338.  
  339. %post mod-http-xslt-filter
  340. if [ $1 -eq 1 ]; then
  341. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  342. fi
  343.  
  344. %post mod-mail
  345. if [ $1 -eq 1 ]; then
  346. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  347. fi
  348.  
  349. %post mod-stream
  350. if [ $1 -eq 1 ]; then
  351. /usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
  352. fi
  353.  
  354. %preun
  355. %systemd_preun nginx.service
  356.  
  357. %postun
  358. %systemd_postun nginx.service
  359. if [ $1 -ge 1 ]; then
  360. /usr/bin/nginx-upgrade >/dev/null 2>&1 || :
  361. fi
  362.  
  363. %files
  364. %license LICENSE
  365. %doc CHANGES README README.dynamic
  366. %if 0%{rhel} == 7
  367. %doc UPGRADE-NOTES-1.6-to-1.10
  368. %endif
  369. %{_datadir}/nginx/html/*
  370. %{_bindir}/nginx-upgrade
  371. %{_sbindir}/nginx
  372. %{_datadir}/vim/vimfiles/ftdetect/nginx.vim
  373. %{_datadir}/vim/vimfiles/syntax/nginx.vim
  374. %{_datadir}/vim/vimfiles/indent/nginx.vim
  375. %{_mandir}/man3/nginx.3pm*
  376. %{_mandir}/man8/nginx.8*
  377. %{_mandir}/man8/nginx-upgrade.8*
  378. %{_unitdir}/nginx.service
  379. %config(noreplace) %{_sysconfdir}/nginx/fastcgi.conf
  380. %config(noreplace) %{_sysconfdir}/nginx/fastcgi.conf.default
  381. %config(noreplace) %{_sysconfdir}/nginx/fastcgi_params
  382. %config(noreplace) %{_sysconfdir}/nginx/fastcgi_params.default
  383. %config(noreplace) %{_sysconfdir}/nginx/koi-utf
  384. %config(noreplace) %{_sysconfdir}/nginx/koi-win
  385. %if ! 0%{?with_mailcap_mimetypes}
  386. %config(noreplace) %{_sysconfdir}/nginx/mime.types
  387. %endif
  388. %config(noreplace) %{_sysconfdir}/nginx/mime.types.default
  389. %config(noreplace) %{_sysconfdir}/nginx/nginx.conf
  390. %config(noreplace) %{_sysconfdir}/nginx/nginx.conf.default
  391. %config(noreplace) %{_sysconfdir}/nginx/scgi_params
  392. %config(noreplace) %{_sysconfdir}/nginx/scgi_params.default
  393. %config(noreplace) %{_sysconfdir}/nginx/uwsgi_params
  394. %config(noreplace) %{_sysconfdir}/nginx/uwsgi_params.default
  395. %config(noreplace) %{_sysconfdir}/nginx/win-utf
  396. %config(noreplace) %{_sysconfdir}/logrotate.d/nginx
  397. %attr(700,%{nginx_user},%{nginx_user}) %dir %{_localstatedir}/lib/nginx
  398. %attr(700,%{nginx_user},%{nginx_user}) %dir %{_localstatedir}/lib/nginx/tmp
  399. %attr(700,%{nginx_user},%{nginx_user}) %dir %{_localstatedir}/log/nginx
  400. %dir %{_libdir}/nginx/modules
  401.  
  402. %files all-modules
  403.  
  404. %files filesystem
  405. %dir %{_datadir}/nginx
  406. %dir %{_datadir}/nginx/html
  407. %dir %{_sysconfdir}/nginx
  408. %dir %{_sysconfdir}/nginx/conf.d
  409. %dir %{_sysconfdir}/nginx/default.d
  410.  
  411. %files mod-http-geoip
  412. %{_datadir}/nginx/modules/mod-http-geoip.conf
  413. %{_libdir}/nginx/modules/ngx_http_geoip_module.so
  414.  
  415. %files mod-http-image-filter
  416. %{_datadir}/nginx/modules/mod-http-image-filter.conf
  417. %{_libdir}/nginx/modules/ngx_http_image_filter_module.so
  418.  
  419. %files mod-http-perl
  420. %{_datadir}/nginx/modules/mod-http-perl.conf
  421. %{_libdir}/nginx/modules/ngx_http_perl_module.so
  422. %dir %{perl_vendorarch}/auto/nginx
  423. %{perl_vendorarch}/nginx.pm
  424. %{perl_vendorarch}/auto/nginx/nginx.so
  425.  
  426. %files mod-http-xslt-filter
  427. %{_datadir}/nginx/modules/mod-http-xslt-filter.conf
  428. %{_libdir}/nginx/modules/ngx_http_xslt_filter_module.so
  429.  
  430. %files mod-mail
  431. %{_datadir}/nginx/modules/mod-mail.conf
  432. %{_libdir}/nginx/modules/ngx_mail_module.so
  433.  
  434. %files mod-stream
  435. %{_datadir}/nginx/modules/mod-stream.conf
  436. %{_libdir}/nginx/modules/ngx_stream_module.so
  437.  
  438.  
  439. %changelog
  440. * Tue May 31 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.1-1
  441. - update to upstream release 1.10.1
  442.  
  443. * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.10.0-4
  444. - Perl 5.24 rebuild
  445.  
  446. * Sun May 8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.10.0-3
  447. - Enable AIO on aarch64 (rhbz 1258414)
  448.  
  449. * Wed Apr 27 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.0-2
  450. - only Require nginx-all-modules for EPEL and current Fedora releases
  451.  
  452. * Wed Apr 27 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.0-1
  453. - update to upstream release 1.10.0
  454. - split dynamic modules into subpackages
  455. - spec file cleanup
  456.  
  457. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.1-2
  458. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  459.  
  460. * Tue Jan 26 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.1-1
  461. - update to upstream release 1.8.1
  462. - CVE-2016-0747: Insufficient limits of CNAME resolution in resolver
  463. - CVE-2016-0746: Use-after-free during CNAME response processing in resolver
  464. - CVE-2016-0742: Invalid pointer dereference in resolver
  465.  
  466. * Sun Oct 04 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-14
  467. - consistently use '%%global with_foo' style of logic
  468. - remove PID file before starting nginx (#1268621)
  469.  
  470. * Fri Sep 25 2015 Ville Skyttä <ville.skytta@iki.fi> - 1:1.8.0-13
  471. - Use nginx-mimetypes from mailcap (#1248736)
  472. - Mark LICENSE as %%license
  473.  
  474. * Thu Sep 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-12
  475. - also build with gperftools on aarch64 (#1258412)
  476.  
  477. * Wed Aug 12 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1:1.8.0-11
  478. - nginx.conf: added commented-out SSL configuration directives (#1179232)
  479.  
  480. * Fri Jul 03 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-10
  481. - switch back to /bin/kill in logrotate script due to SELinux denials
  482.  
  483. * Tue Jun 16 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-9
  484. - fix path to png in error pages (#1232277)
  485. - optimize png images with optipng
  486.  
  487. * Sun Jun 14 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-8
  488. - replace /bin/kill with /usr/bin/systemctl kill in logrotate script (#1231543)
  489. - remove After=syslog.target in nginx.service (#1231543)
  490. - replace ExecStop with KillSignal=SIGQUIT in nginx.service (#1231543)
  491.  
  492. * Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.8.0-7
  493. - Perl 5.22 rebuild
  494.  
  495. * Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-6
  496. - revert previous change
  497.  
  498. * Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-5
  499. - move default server to default.conf (#1220094)
  500.  
  501. * Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-4
  502. - add TimeoutStopSec=5 and KillMode=mixed to nginx.service
  503. - set worker_processes to auto
  504. - add some common options to the http block in nginx.conf
  505. - run nginx-upgrade on package update
  506. - remove some redundant scriptlet commands
  507. - listen on ipv6 for default server (#1217081)
  508.  
  509. * Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-3
  510. - improve nginx-upgrade script
  511.  
  512. * Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-2
  513. - add --with-pcre-jit
  514.  
  515. * Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-1
  516. - update to upstream release 1.8.0
  517.  
  518. * Thu Apr 09 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.7.12-1
  519. - update to upstream release 1.7.12
  520.  
  521. * Sun Feb 15 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.7.10-1
  522. - update to upstream release 1.7.10
  523. - remove systemd conditionals
  524.  
  525. * Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-4
  526. - fix package ownership of directories
  527.  
  528. * Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-3
  529. - add vim files (#1142849)
  530.  
  531. * Mon Sep 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-2
  532. - create nginx-filesystem subpackage (patch from Remi Collet)
  533. - create /etc/nginx/default.d as a drop-in directory for configuration files
  534. for the default server block
  535. - clean up nginx.conf
  536.  
  537. * Wed Sep 17 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-1
  538. - update to upstream release 1.6.2
  539. - CVE-2014-3616 nginx: virtual host confusion (#1142573)
  540.  
  541. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.6.1-4
  542. - Perl 5.20 rebuild
  543.  
  544. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.1-3
  545. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  546.  
  547. * Tue Aug 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.1-2
  548. - add logic for EPEL 7
  549.  
  550. * Tue Aug 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.1-1
  551. - update to upstream release 1.6.1
  552. - (#1126891) CVE-2014-3556: SMTP STARTTLS plaintext injection flaw
  553.  
  554. * Wed Jul 02 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.6.0-3
  555. - Fix FTBFS on aarch64 (#1115559)
  556.  
  557. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-2
  558. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  559.  
  560. * Sat Apr 26 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.0-1
  561. - update to upstream release 1.6.0
  562.  
  563. * Tue Mar 18 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.7-1
  564. - update to upstream release 1.4.7
  565.  
  566. * Wed Mar 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.6-1
  567. - update to upstream release 1.4.6
  568.  
  569. * Sun Feb 16 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.5-2
  570. - avoid multiple index directives (#1065488)
  571.  
  572. * Sun Feb 16 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.5-1
  573. - update to upstream release 1.4.5
  574.  
  575. * Wed Nov 20 2013 Peter Borsa <peter.borsa@gmail.com> - 1:1.4.4-1
  576. - Update to upstream release 1.4.4
  577. - Security fix BZ 1032267
  578.  
  579. * Sun Nov 03 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.3-1
  580. - update to upstream release 1.4.3
  581.  
  582. * Fri Aug 09 2013 Jonathan Steffan <jsteffan@fedoraproject.org> - 1:1.4.2-3
  583. - Add in conditionals to build for non-systemd targets
  584.  
  585. * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-2
  586. - Perl 5.18 rebuild
  587.  
  588. * Fri Jul 19 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.2-1
  589. - update to upstream release 1.4.2
  590.  
  591. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.1-3
  592. - Perl 5.18 rebuild
  593.  
  594. * Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 1:1.4.1-2
  595. - rebuild for new GD 2.1.0
  596.  
  597. * Tue May 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.1-1
  598. - update to upstream release 1.4.1 (#960605, #960606):
  599. CVE-2013-2028 stack-based buffer overflow when handling certain chunked
  600. transfer encoding requests
  601.  
  602. * Sun Apr 28 2013 Dan Horák <dan[at]danny.cz> - 1:1.4.0-2
  603. - gperftools exist only on selected arches
  604.  
  605. * Fri Apr 26 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.0-1
  606. - update to upstream release 1.4.0
  607. - enable SPDY module (new in this version)
  608. - enable http gunzip module (new in this version)
  609. - enable google perftools module and add gperftools-devel to BR
  610. - enable debugging (#956845)
  611. - trim changelog
  612.  
  613. * Tue Apr 02 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.8-1
  614. - update to upstream release 1.2.8
  615.  
  616. * Fri Feb 22 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-2
  617. - make sure nginx directories are not world readable (#913724, #913735)
  618.  
  619. * Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-1
  620. - update to upstream release 1.2.7
  621. - add .asc file
  622.  
  623. * Tue Feb 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-6
  624. - use 'kill' instead of 'systemctl' when rotating log files to workaround
  625. SELinux issue (#889151)
  626.  
  627. * Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
  628. - uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
  629. conf.d directory empty (#903065)
  630.  
  631. * Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-4
  632. - add comment in nginx.conf regarding "include /etc/nginf/conf.d/*.conf"
  633. (#903065)
  634.  
  635. * Wed Dec 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-3
  636. - use correct file ownership when rotating log files
  637.  
  638. * Tue Dec 18 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-2
  639. - send correct kill signal and use correct file permissions when rotating
  640. log files (#888225)
  641. - send correct kill signal in nginx-upgrade
  642.  
  643. * Tue Dec 11 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-1
  644. - update to upstream release 1.2.6
  645.  
  646. * Sat Nov 17 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.5-1
  647. - update to upstream release 1.2.5
  648.  
  649. * Sun Oct 28 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.4-1
  650. - update to upstream release 1.2.4
  651. - introduce new systemd-rpm macros (#850228)
  652. - link to official documentation not the community wiki (#870733)
  653. - do not run systemctl try-restart after package upgrade to allow the
  654. administrator to run nginx-upgrade and avoid downtime
  655. - add nginx man page (#870738)
  656. - add nginx-upgrade man page and remove README.fedora
  657. - remove chkconfig from Requires(post/preun)
  658. - remove initscripts from Requires(preun/postun)
  659. - remove separate configuration files in "/etc/nginx/conf.d" directory
  660. and revert to upstream default of a centralized nginx.conf file
  661. (#803635) (#842738)
  662.  
  663. * Fri Sep 21 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.3-1
  664. - update to upstream release 1.2.3
  665.  
  666. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-3
  667. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  668.  
  669. * Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.1-2
  670. - Perl 5.16 rebuild
  671.  
  672. * Sun Jun 10 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.1-1
  673. - update to upstream release 1.2.1
  674.  
  675. * Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.0-2
  676. - Perl 5.16 rebuild
  677.  
  678. * Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.0-1
  679. - update to upstream release 1.2.0
  680.  
  681. * Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-4
  682. - add nginx-upgrade to replace functionality from the nginx initscript
  683. that was lost after migration to systemd
  684. - add README.fedora to describe usage of nginx-upgrade
  685. - nginx.logrotate: use built-in systemd kill command in postrotate script
  686. - nginx.service: start after syslog.target and network.target
  687. - nginx.service: remove unnecessary references to config file location
  688. - nginx.service: use /bin/kill instead of "/usr/sbin/nginx -s" following
  689. advice from nginx-devel
  690. - nginx.service: use private /tmp
  691.  
  692. * Mon May 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-3
  693. - fix incorrect postrotate script in nginx.logrotate
  694.  
  695. * Thu Apr 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-2
  696. - renable auto-cc-gcc patch due to warnings on rawhide
  697.  
  698. * Sat Apr 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-1
  699. - update to upstream release 1.0.15
  700. - no need to apply auto-cc-gcc patch
  701. - add %%global _hardened_build 1
  702.  
  703. * Thu Mar 15 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.14-1
  704. - update to upstream release 1.0.14
  705. - amend some %%changelog formatting
  706.  
  707. * Tue Mar 06 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.13-1
  708. - update to upstream release 1.0.13
  709. - amend --pid-path and --log-path
  710.  
  711. * Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-5
  712. - change pid path in nginx.conf to match systemd service file
  713.  
  714. * Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-3
  715. - fix %%pre scriptlet
  716.  
  717. * Mon Feb 20 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-2
  718. - update upstream URL
  719. - replace %%define with %%global
  720. - remove obsolete BuildRoot tag, %%clean section and %%defattr
  721. - remove various unnecessary commands
  722. - add systemd service file and update scriptlets
  723. - add Epoch to accommodate %%triggerun as part of systemd migration
  724.  
  725. * Sun Feb 19 2012 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.12-1
  726. - Update to 1.0.12
  727.  
  728. * Thu Nov 17 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.10-1
  729. - Bugfix: a segmentation fault might occur in a worker process if resolver got a big DNS response. Thanks to Ben Hawkes.
  730. - Bugfix: in cache key calculation if internal MD5 implementation wasused; the bug had appeared in 1.0.4.
  731. - Bugfix: the module ngx_http_mp4_module sent incorrect "Content-Length" response header line if the "start" argument was used. Thanks to Piotr Sikora.
  732.  
  733. * Thu Oct 27 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.8-1
  734. - Update to new 1.0.8 stable release
  735.  
  736. * Fri Aug 26 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.5-1
  737. - Update nginx to Latest Stable Release
  738.  
  739. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-3
  740. - Perl mass rebuild
  741.  
  742. * Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-2
  743. - Perl 5.14 mass rebuild
  744.  
  745. * Wed Apr 27 2011 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.0-1
  746. - Update to 1.0.0
  747.  
  748. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.53-6
  749. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  750.  
  751. * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53.5
  752. - Extract out default config into its own file (bug #635776)
  753.  
  754. * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-4
  755. - Revert ownership of log dir
  756.  
  757. * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
  758. - Change ownership of /var/log/nginx to be 0700 nginx:nginx
  759. - update init script to use killproc -p
  760. - add reopen_logs command to init script
  761. - update init script to use nginx -q option
  762.  
  763. * Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-2
  764. - Fix linking of perl module
  765.  
  766. * Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-1
  767. - Update to new stable 0.8.53
  768.  
  769. * Sat Jul 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-2
  770. - add Provides: webserver (bug #619693)
  771.  
  772. * Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-1
  773. - Update to new stable 0.7.67
  774. - fix bugzilla #591543
  775.  
  776. * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.65-2
  777. - Mass rebuild with perl-5.12.0
  778.  
  779. * Mon Feb 15 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.65-1
  780. - Update to new stable 0.7.65
  781. - change ownership of logdir to root:root
  782. - add support for ipv6 (bug #561248)
  783. - add random_index_module
  784. - add secure_link_module
  785.  
  786. * Fri Dec 04 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.64-1
  787. - Update to new stable 0.7.64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement