Guest User

nginx.spec

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