|
|
67ea12 |
%global _hardened_build 1
|
|
|
67ea12 |
%global nginx_user nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
# Disable strict symbol checks in the link editor.
|
|
|
67ea12 |
# See: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/078af19
|
|
|
67ea12 |
%undefine _strict_symbol_defs_build
|
|
|
67ea12 |
|
|
|
67ea12 |
%global with_gperftools 0
|
|
|
67ea12 |
|
|
|
67ea12 |
%bcond_with geoip
|
|
|
67ea12 |
|
|
|
67ea12 |
|
|
|
67ea12 |
%global with_aio 1
|
|
|
67ea12 |
|
|
|
67ea12 |
%if 0%{?fedora} > 22
|
|
|
67ea12 |
%global with_mailcap_mimetypes 1
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
Name: nginx
|
|
|
67ea12 |
Epoch: 1
|
|
|
67ea12 |
Version: 1.14.1
|
|
Igor Raits |
290b06 |
Release: 10%{?dist}
|
|
|
67ea12 |
|
|
|
67ea12 |
Summary: A high performance web server and reverse proxy server
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
# BSD License (two clause)
|
|
|
67ea12 |
# http://www.freebsd.org/copyright/freebsd-license.html
|
|
|
67ea12 |
License: BSD
|
|
|
67ea12 |
URL: http://nginx.org/
|
|
|
67ea12 |
|
|
|
67ea12 |
Source0: https://nginx.org/download/nginx-%{version}.tar.gz
|
|
|
67ea12 |
Source10: nginx.service
|
|
|
67ea12 |
Source11: nginx.logrotate
|
|
|
67ea12 |
Source12: nginx.conf
|
|
|
67ea12 |
Source13: nginx-upgrade
|
|
|
67ea12 |
Source14: nginx-upgrade.8
|
|
|
67ea12 |
Source100: index.html
|
|
|
67ea12 |
Source101: poweredby.png
|
|
|
67ea12 |
Source102: nginx-logo.png
|
|
|
67ea12 |
Source103: 404.html
|
|
|
67ea12 |
Source104: 50x.html
|
|
|
67ea12 |
Source200: README.dynamic
|
|
|
67ea12 |
Source210: UPGRADE-NOTES-1.6-to-1.10
|
|
|
67ea12 |
|
|
|
67ea12 |
# removes -Werror in upstream build scripts. -Werror conflicts with
|
|
|
67ea12 |
# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
|
|
|
67ea12 |
Patch0: nginx-auto-cc-gcc.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# Apply fix for bug in glibc libcrypt, if needed only.
|
|
|
67ea12 |
# That has been fixed some time in glibc-2.3.X and is
|
|
|
67ea12 |
# not needed with libxcrypt anyways.
|
|
|
67ea12 |
Patch1: 0001-unix-ngx_user-Apply-fix-for-really-old-bug-in-glibc-.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# downstream patch - changing logs permissions to 664 instead
|
|
|
67ea12 |
# previous 644
|
|
|
67ea12 |
Patch2: nginx-1.14.0-logs-perm.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# PKCS#11 engine fix
|
|
|
67ea12 |
Patch3: nginx-1.14.0-pkcs11.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1655530
|
|
|
67ea12 |
Patch4: nginx-1.14.1-perl-module-hardening.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1643647
|
|
|
67ea12 |
Patch5: nginx-1.14.1-enable-tls1v3-by-default.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1741860
|
|
|
67ea12 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1735741
|
|
|
67ea12 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1741864
|
|
|
67ea12 |
Patch200: nginx-1.14.1-CVE-2019-9511.patch
|
|
|
67ea12 |
Patch201: nginx-1.14.1-CVE-2019-9513.patch
|
|
|
67ea12 |
Patch202: nginx-1.14.1-CVE-2019-9516.patch
|
|
Igor Raits |
290b06 |
Patch203: https://github.com/nginx/nginx/commit/9f1dcb0c0473641730b871dee984016ff19d2c53.patch#/nginx-1.14.1-CVE-2021-23017.patch
|
|
|
67ea12 |
|
|
|
67ea12 |
%if 0%{?with_gperftools}
|
|
|
67ea12 |
BuildRequires: gperftools-devel
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
BuildRequires: openssl-devel
|
|
|
67ea12 |
BuildRequires: pcre-devel
|
|
|
67ea12 |
BuildRequires: zlib-devel
|
|
|
67ea12 |
|
|
|
67ea12 |
Requires: nginx-filesystem = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
|
|
|
67ea12 |
%if 0%{?rhel} || 0%{?fedora} < 24
|
|
|
67ea12 |
# Introduced at 1:1.10.0-1 to ease upgrade path. To be removed later.
|
|
|
67ea12 |
Requires: nginx-all-modules = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
Requires: openssl
|
|
|
67ea12 |
Requires: pcre
|
|
|
67ea12 |
Requires(pre): nginx-filesystem
|
|
|
67ea12 |
%if 0%{?with_mailcap_mimetypes}
|
|
|
67ea12 |
Requires: nginx-mimetypes
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
Provides: webserver
|
|
|
67ea12 |
|
|
|
67ea12 |
BuildRequires: systemd
|
|
|
67ea12 |
Requires(post): systemd
|
|
|
67ea12 |
Requires(preun): systemd
|
|
|
67ea12 |
Requires(postun): systemd
|
|
|
67ea12 |
|
|
|
67ea12 |
%description
|
|
|
67ea12 |
Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
|
|
|
67ea12 |
IMAP protocols, with a strong focus on high concurrency, performance and low
|
|
|
67ea12 |
memory usage.
|
|
|
67ea12 |
|
|
|
67ea12 |
%package all-modules
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: A meta package that installs all available Nginx modules
|
|
|
67ea12 |
BuildArch: noarch
|
|
|
67ea12 |
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
Requires: nginx-mod-http-geoip = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
Requires: nginx-mod-http-image-filter = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
Requires: nginx-mod-http-perl = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
Requires: nginx-mod-http-xslt-filter = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
Requires: nginx-mod-mail = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
Requires: nginx-mod-stream = %{epoch}:%{version}-%{release}
|
|
|
67ea12 |
|
|
|
67ea12 |
%description all-modules
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
%if 0%{?rhel}
|
|
|
67ea12 |
The main nginx package depends on this to ease the upgrade path. After a grace
|
|
|
67ea12 |
period of several months, modules will become optional.
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
%if 0%{?fedora} && 0%{?fedora} < 24
|
|
|
67ea12 |
The main nginx package depends on this to ease the upgrade path. Starting from
|
|
|
67ea12 |
Fedora 24, modules are optional.
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
%package filesystem
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: The basic directory layout for the Nginx server
|
|
|
67ea12 |
BuildArch: noarch
|
|
|
67ea12 |
Requires(pre): shadow-utils
|
|
|
67ea12 |
|
|
|
67ea12 |
%description filesystem
|
|
|
67ea12 |
The nginx-filesystem package contains the basic directory layout
|
|
|
67ea12 |
for the Nginx server including the correct permissions for the
|
|
|
67ea12 |
directories.
|
|
|
67ea12 |
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
%package mod-http-geoip
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx HTTP geoip module
|
|
|
67ea12 |
BuildRequires: GeoIP-devel
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
Requires: GeoIP
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-http-geoip
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
%package mod-http-image-filter
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx HTTP image filter module
|
|
|
67ea12 |
BuildRequires: gd-devel
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
Requires: gd
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-http-image-filter
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
|
|
|
67ea12 |
%package mod-http-perl
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx HTTP perl module
|
|
|
67ea12 |
BuildRequires: perl-devel
|
|
|
67ea12 |
%if 0%{?fedora} >= 24
|
|
|
67ea12 |
BuildRequires: perl-generators
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
BuildRequires: perl(ExtUtils::Embed)
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
67ea12 |
Requires: perl(constant)
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-http-perl
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
|
|
|
67ea12 |
%package mod-http-xslt-filter
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx XSLT module
|
|
|
67ea12 |
BuildRequires: libxslt-devel
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-http-xslt-filter
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
|
|
|
67ea12 |
%package mod-mail
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx mail modules
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-mail
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
|
|
|
67ea12 |
%package mod-stream
|
|
|
67ea12 |
Group: System Environment/Daemons
|
|
|
67ea12 |
Summary: Nginx stream modules
|
|
|
67ea12 |
Requires: nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
%description mod-stream
|
|
|
67ea12 |
%{summary}.
|
|
|
67ea12 |
|
|
|
67ea12 |
|
|
|
67ea12 |
%prep
|
|
|
67ea12 |
%setup -q
|
|
|
67ea12 |
%patch0 -p0
|
|
|
67ea12 |
%patch1 -p1
|
|
|
67ea12 |
%patch2 -p1
|
|
|
67ea12 |
%patch3 -p1
|
|
|
67ea12 |
%patch4 -p1
|
|
|
67ea12 |
%patch5 -p1
|
|
|
67ea12 |
|
|
|
67ea12 |
%patch200 -p1
|
|
|
67ea12 |
%patch201 -p1
|
|
|
67ea12 |
%patch202 -p1
|
|
Igor Raits |
290b06 |
%patch203 -p1
|
|
|
67ea12 |
|
|
|
67ea12 |
cp %{SOURCE200} %{SOURCE210} %{SOURCE10} %{SOURCE12} .
|
|
|
67ea12 |
|
|
|
67ea12 |
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
|
|
|
67ea12 |
sed -i -e 's#KillMode=.*#KillMode=process#g' nginx.service
|
|
|
67ea12 |
sed -i -e 's#PROFILE=SYSTEM#HIGH:!aNULL:!MD5#' nginx.conf
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
|
|
|
67ea12 |
%build
|
|
|
67ea12 |
# nginx does not utilize a standard configure script. It has its own
|
|
|
67ea12 |
# and the standard configure options cause the nginx configure script
|
|
|
67ea12 |
# to error out. This is is also the reason for the DESTDIR environment
|
|
|
67ea12 |
# variable.
|
|
|
67ea12 |
export DESTDIR=%{buildroot}
|
|
|
67ea12 |
./configure \
|
|
|
67ea12 |
--prefix=%{_datadir}/nginx \
|
|
|
67ea12 |
--sbin-path=%{_sbindir}/nginx \
|
|
|
67ea12 |
--modules-path=%{_libdir}/nginx/modules \
|
|
|
67ea12 |
--conf-path=%{_sysconfdir}/nginx/nginx.conf \
|
|
|
67ea12 |
--error-log-path=%{_localstatedir}/log/nginx/error.log \
|
|
|
67ea12 |
--http-log-path=%{_localstatedir}/log/nginx/access.log \
|
|
|
67ea12 |
--http-client-body-temp-path=%{_localstatedir}/lib/nginx/tmp/client_body \
|
|
|
67ea12 |
--http-proxy-temp-path=%{_localstatedir}/lib/nginx/tmp/proxy \
|
|
|
67ea12 |
--http-fastcgi-temp-path=%{_localstatedir}/lib/nginx/tmp/fastcgi \
|
|
|
67ea12 |
--http-uwsgi-temp-path=%{_localstatedir}/lib/nginx/tmp/uwsgi \
|
|
|
67ea12 |
--http-scgi-temp-path=%{_localstatedir}/lib/nginx/tmp/scgi \
|
|
|
67ea12 |
--pid-path=/run/nginx.pid \
|
|
|
67ea12 |
--lock-path=/run/lock/subsys/nginx \
|
|
|
67ea12 |
--user=%{nginx_user} \
|
|
|
67ea12 |
--group=%{nginx_user} \
|
|
|
67ea12 |
%if 0%{?with_aio}
|
|
|
67ea12 |
--with-file-aio \
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
--with-ipv6 \
|
|
|
67ea12 |
--with-http_ssl_module \
|
|
|
67ea12 |
--with-http_v2_module \
|
|
|
67ea12 |
--with-http_realip_module \
|
|
|
67ea12 |
--with-http_addition_module \
|
|
|
67ea12 |
--with-http_xslt_module=dynamic \
|
|
|
67ea12 |
--with-http_image_filter_module=dynamic \
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
--with-http_geoip_module=dynamic \
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
--with-http_sub_module \
|
|
|
67ea12 |
--with-http_dav_module \
|
|
|
67ea12 |
--with-http_flv_module \
|
|
|
67ea12 |
--with-http_mp4_module \
|
|
|
67ea12 |
--with-http_gunzip_module \
|
|
|
67ea12 |
--with-http_gzip_static_module \
|
|
|
67ea12 |
--with-http_random_index_module \
|
|
|
67ea12 |
--with-http_secure_link_module \
|
|
|
67ea12 |
--with-http_degradation_module \
|
|
|
67ea12 |
--with-http_slice_module \
|
|
|
67ea12 |
--with-http_stub_status_module \
|
|
|
67ea12 |
--with-http_perl_module=dynamic \
|
|
|
67ea12 |
--with-http_auth_request_module \
|
|
|
67ea12 |
--with-mail=dynamic \
|
|
|
67ea12 |
--with-mail_ssl_module \
|
|
|
67ea12 |
--with-pcre \
|
|
|
67ea12 |
--with-pcre-jit \
|
|
|
67ea12 |
--with-stream=dynamic \
|
|
|
67ea12 |
--with-stream_ssl_module \
|
|
|
67ea12 |
%if 0%{?with_gperftools}
|
|
|
67ea12 |
--with-google_perftools_module \
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
--with-debug \
|
|
|
67ea12 |
--with-cc-opt="%{optflags} $(pcre-config --cflags)" \
|
|
|
67ea12 |
--with-ld-opt="$RPM_LD_FLAGS -Wl,-E" # so the perl module finds its symbols
|
|
|
67ea12 |
|
|
|
67ea12 |
make %{?_smp_mflags}
|
|
|
67ea12 |
|
|
|
67ea12 |
|
|
|
67ea12 |
%install
|
|
|
67ea12 |
make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
|
|
|
67ea12 |
|
|
|
67ea12 |
find %{buildroot} -type f -name .packlist -exec rm -f '{}' \;
|
|
|
67ea12 |
find %{buildroot} -type f -name perllocal.pod -exec rm -f '{}' \;
|
|
|
67ea12 |
find %{buildroot} -type f -empty -exec rm -f '{}' \;
|
|
|
67ea12 |
find %{buildroot} -type f -iname '*.so' -exec chmod 0755 '{}' \;
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -D -m 0644 ./nginx.service \
|
|
|
67ea12 |
%{buildroot}%{_unitdir}/nginx.service
|
|
|
67ea12 |
install -p -D -m 0644 %{SOURCE11} \
|
|
|
67ea12 |
%{buildroot}%{_sysconfdir}/logrotate.d/nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_sysconfdir}/systemd/system/nginx.service.d
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_unitdir}/nginx.service.d
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_sysconfdir}/nginx/conf.d
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_sysconfdir}/nginx/default.d
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -d -m 0700 %{buildroot}%{_localstatedir}/lib/nginx
|
|
|
67ea12 |
install -p -d -m 0700 %{buildroot}%{_localstatedir}/lib/nginx/tmp
|
|
|
67ea12 |
install -p -d -m 0700 %{buildroot}%{_localstatedir}/log/nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_datadir}/nginx/html
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_datadir}/nginx/modules
|
|
|
67ea12 |
install -p -d -m 0755 %{buildroot}%{_libdir}/nginx/modules
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -m 0644 ./nginx.conf \
|
|
|
67ea12 |
%{buildroot}%{_sysconfdir}/nginx
|
|
|
67ea12 |
install -p -m 0644 %{SOURCE100} \
|
|
|
67ea12 |
%{buildroot}%{_datadir}/nginx/html
|
|
|
67ea12 |
install -p -m 0644 %{SOURCE101} %{SOURCE102} \
|
|
|
67ea12 |
%{buildroot}%{_datadir}/nginx/html
|
|
|
67ea12 |
install -p -m 0644 %{SOURCE103} %{SOURCE104} \
|
|
|
67ea12 |
%{buildroot}%{_datadir}/nginx/html
|
|
|
67ea12 |
|
|
|
67ea12 |
%if 0%{?with_mailcap_mimetypes}
|
|
|
67ea12 |
rm -f %{buildroot}%{_sysconfdir}/nginx/mime.types
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -D -m 0644 %{_builddir}/nginx-%{version}/objs/nginx.8 \
|
|
|
67ea12 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
67ea12 |
|
|
|
67ea12 |
install -p -D -m 0755 %{SOURCE13} %{buildroot}%{_bindir}/nginx-upgrade
|
|
|
67ea12 |
install -p -D -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
|
|
|
67ea12 |
|
|
|
67ea12 |
for i in ftdetect indent syntax; do
|
|
|
67ea12 |
install -p -D -m644 contrib/vim/${i}/nginx.vim \
|
|
|
67ea12 |
%{buildroot}%{_datadir}/vim/vimfiles/${i}/nginx.vim
|
|
|
67ea12 |
done
|
|
|
67ea12 |
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_geoip_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-http-geoip.conf
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_image_filter_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-http-image-filter.conf
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_perl_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-http-perl.conf
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_xslt_filter_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-http-xslt-filter.conf
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_mail_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-mail.conf
|
|
|
67ea12 |
echo 'load_module "%{_libdir}/nginx/modules/ngx_stream_module.so";' \
|
|
|
67ea12 |
> %{buildroot}%{_datadir}/nginx/modules/mod-stream.conf
|
|
|
67ea12 |
|
|
|
67ea12 |
%pre filesystem
|
|
|
67ea12 |
getent group %{nginx_user} > /dev/null || groupadd -r %{nginx_user}
|
|
|
67ea12 |
getent passwd %{nginx_user} > /dev/null || \
|
|
|
67ea12 |
useradd -r -d %{_localstatedir}/lib/nginx -g %{nginx_user} \
|
|
|
67ea12 |
-s /sbin/nologin -c "Nginx web server" %{nginx_user}
|
|
|
67ea12 |
exit 0
|
|
|
67ea12 |
|
|
|
67ea12 |
%post
|
|
|
67ea12 |
%systemd_post nginx.service
|
|
|
67ea12 |
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
%post mod-http-geoip
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
%post mod-http-image-filter
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%post mod-http-perl
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%post mod-http-xslt-filter
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%post mod-mail
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%post mod-stream
|
|
|
67ea12 |
if [ $1 -eq 1 ]; then
|
|
|
67ea12 |
/usr/bin/systemctl reload nginx.service >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%preun
|
|
|
67ea12 |
%systemd_preun nginx.service
|
|
|
67ea12 |
|
|
|
67ea12 |
%postun
|
|
|
67ea12 |
%systemd_postun nginx.service
|
|
|
67ea12 |
if [ $1 -ge 1 ]; then
|
|
|
67ea12 |
/usr/bin/nginx-upgrade >/dev/null 2>&1 || :
|
|
|
67ea12 |
fi
|
|
|
67ea12 |
|
|
|
67ea12 |
%files
|
|
|
67ea12 |
%license LICENSE
|
|
|
67ea12 |
%doc CHANGES README README.dynamic
|
|
|
67ea12 |
%if 0%{?rhel} == 7
|
|
|
67ea12 |
%doc UPGRADE-NOTES-1.6-to-1.10
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
%{_datadir}/nginx/html/*
|
|
|
67ea12 |
%{_bindir}/nginx-upgrade
|
|
|
67ea12 |
%{_sbindir}/nginx
|
|
|
67ea12 |
%{_datadir}/vim/vimfiles/ftdetect/nginx.vim
|
|
|
67ea12 |
%{_datadir}/vim/vimfiles/syntax/nginx.vim
|
|
|
67ea12 |
%{_datadir}/vim/vimfiles/indent/nginx.vim
|
|
|
67ea12 |
%{_mandir}/man3/nginx.3pm*
|
|
|
67ea12 |
%{_mandir}/man8/nginx.8*
|
|
|
67ea12 |
%{_mandir}/man8/nginx-upgrade.8*
|
|
|
67ea12 |
%{_unitdir}/nginx.service
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/fastcgi.conf
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/fastcgi.conf.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/fastcgi_params
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/fastcgi_params.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/koi-utf
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/koi-win
|
|
|
67ea12 |
%if ! 0%{?with_mailcap_mimetypes}
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/mime.types.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/nginx.conf
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/nginx.conf.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/scgi_params
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/scgi_params.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/uwsgi_params
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/uwsgi_params.default
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/nginx/win-utf
|
|
|
67ea12 |
%config(noreplace) %{_sysconfdir}/logrotate.d/nginx
|
|
|
67ea12 |
%attr(770,%{nginx_user},root) %dir %{_localstatedir}/lib/nginx
|
|
|
67ea12 |
%attr(770,%{nginx_user},root) %dir %{_localstatedir}/lib/nginx/tmp
|
|
|
67ea12 |
%attr(770,%{nginx_user},root) %dir %{_localstatedir}/log/nginx
|
|
|
67ea12 |
%dir %{_libdir}/nginx/modules
|
|
|
67ea12 |
|
|
|
67ea12 |
%files all-modules
|
|
|
67ea12 |
|
|
|
67ea12 |
%files filesystem
|
|
|
67ea12 |
%dir %{_datadir}/nginx
|
|
|
67ea12 |
%dir %{_datadir}/nginx/html
|
|
|
67ea12 |
%dir %{_sysconfdir}/nginx
|
|
|
67ea12 |
%dir %{_sysconfdir}/nginx/conf.d
|
|
|
67ea12 |
%dir %{_sysconfdir}/nginx/default.d
|
|
|
67ea12 |
%dir %{_sysconfdir}/systemd/system/nginx.service.d
|
|
|
67ea12 |
%dir %{_unitdir}/nginx.service.d
|
|
|
67ea12 |
|
|
|
67ea12 |
%if %{with geoip}
|
|
|
67ea12 |
%files mod-http-geoip
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-http-geoip.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_http_geoip_module.so
|
|
|
67ea12 |
%endif
|
|
|
67ea12 |
|
|
|
67ea12 |
%files mod-http-image-filter
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-http-image-filter.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_http_image_filter_module.so
|
|
|
67ea12 |
|
|
|
67ea12 |
%files mod-http-perl
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-http-perl.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_http_perl_module.so
|
|
|
67ea12 |
%dir %{perl_vendorarch}/auto/nginx
|
|
|
67ea12 |
%{perl_vendorarch}/nginx.pm
|
|
|
67ea12 |
%{perl_vendorarch}/auto/nginx/nginx.so
|
|
|
67ea12 |
|
|
|
67ea12 |
%files mod-http-xslt-filter
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-http-xslt-filter.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_http_xslt_filter_module.so
|
|
|
67ea12 |
|
|
|
67ea12 |
%files mod-mail
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-mail.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_mail_module.so
|
|
|
67ea12 |
|
|
|
67ea12 |
%files mod-stream
|
|
|
67ea12 |
%{_datadir}/nginx/modules/mod-stream.conf
|
|
|
67ea12 |
%{_libdir}/nginx/modules/ngx_stream_module.so
|
|
|
67ea12 |
|
|
|
67ea12 |
|
|
|
67ea12 |
%changelog
|
|
Igor Raits |
290b06 |
* Wed Dec 01 2021 Igor Raits <igor.raits@gooddata.com> - 1:1.14.1-10
|
|
Igor Raits |
290b06 |
- Fix CVE-2021-23017
|
|
Igor Raits |
290b06 |
|
|
|
67ea12 |
* Fri Aug 30 2019 Lubos Uhliarik <luhliari@redhat.com> - 1:1.14.1-9
|
|
|
67ea12 |
- Resolves: #1744811 - CVE-2019-9511 nginx:1.14/nginx: HTTP/2: large amount of
|
|
|
67ea12 |
data request leads to denial of service
|
|
|
67ea12 |
- Resolves: #1744325 - CVE-2019-9513 nginx:1.14/nginx: HTTP/2: flood using
|
|
|
67ea12 |
PRIORITY frames resulting in excessive resource consumption
|
|
|
67ea12 |
- Resolves: #1745094 - CVE-2019-9516 nginx:1.14/nginx: HTTP/2: 0-length
|
|
|
67ea12 |
headers leads to denial of service
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Dec 12 2018 Lubos Uhliarik <luhliari@redhat.com> - 1:1.14.1-8
|
|
|
67ea12 |
- enable TLS 1.3 by default (#1643647)
|
|
|
67ea12 |
- TLSv1.0 and TLSv1.1 can be enabled now (#1644746)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Dec 11 2018 Joe Orton <jorton@redhat.com> - 1:1.14.1-3
|
|
|
67ea12 |
- fix unexpanded paths in nginx(8) (#1643069)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Dec 03 2018 Lubos Uhliarik <luhliari@redhat.com> - 1:1.14.1-2
|
|
|
67ea12 |
- Resolves: #1655530 - Hardening tests fail for nginx
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Nov 19 2018 Lubos Uhliarik <luhliari@redhat.com> - 1:1.14.1-1
|
|
|
67ea12 |
- new version 1.14.1
|
|
|
67ea12 |
- Resolves: #1647257 - CVE-2018-16845 nginx: Denial of service and
|
|
|
67ea12 |
memory disclosure via mp4 module
|
|
|
67ea12 |
- Resolves: #1647262 - CVE-2018-16844 nginx: Excessive CPU usage
|
|
|
67ea12 |
via flaw in HTTP/2 implementation
|
|
|
67ea12 |
- Resolves: #1647263 - CVE-2018-16843 nginx: Excessive memory consumption
|
|
|
67ea12 |
via flaw in HTTP/2 implementation
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Aug 8 2018 Joe Orton <jorton@redhat.com> - 1:1.14.0-3
|
|
|
67ea12 |
- fix PKCS#11 support (Anderson Sasaki, #1545526)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Aug 06 2018 Lubos Uhliarik <luhliari@redhat.com> - 1:1.14.0-2
|
|
|
67ea12 |
- add dependency on perl(constant)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Jul 30 2018 Luboš Uhliarik <luhliari@redhat.com> - 1:1.14.0-1
|
|
|
67ea12 |
- Resolves: #1558420 - directory permissions are now correct after processing
|
|
|
67ea12 |
USR1 signal
|
|
|
67ea12 |
- Resolves: #1601414 - nginx: drop GeoIP support
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Jul 19 2018 Joe Orton <jorton@redhat.com> - 1:1.12.1-12
|
|
|
67ea12 |
- add build conditional for geoip support
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu May 03 2018 Luboš Uhliarik <luhliari@redhat.com> - 1:1.14.0-1
|
|
|
67ea12 |
- new version 1.14.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 25 2018 Luboš Uhliarik <luhliari@redhat.com> - 1:1.12.1-9
|
|
|
67ea12 |
- changed directory permissions (#1558420)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Mar 23 2018 Joe Orton <jorton@redhat.com> - 1:1.12.1-8
|
|
|
67ea12 |
- disable gperftools (#1496868)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Mar 22 2018 Joe Orton <jorton@redhat.com> - 1:1.12.1-7
|
|
|
67ea12 |
- update branding (#1512565)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.1-6
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jan 24 2018 Björn Esser <besser82@fedoraproject.org> - 1:1.12.1-5
|
|
|
67ea12 |
- Add patch to apply glibc bugfix if really needed only
|
|
|
67ea12 |
- Disable strict symbol checks in the link editor
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1:1.12.1-4
|
|
|
67ea12 |
- Rebuilt for switch to libxcrypt
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Oct 24 2017 Joe Orton <jorton@redhat.com> - 1:1.12.1-3
|
|
|
67ea12 |
- rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Sep 19 2017 Remi Collet <remi@fedoraproject.org> - 1:1.12.1-2
|
|
|
67ea12 |
- own system drop-in directories #1493036
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Aug 15 2017 Joe Orton <jorton@redhat.com> - 1:1.12.1-1
|
|
|
67ea12 |
- update to 1.12.1 (#1469924)
|
|
|
67ea12 |
- enable http_auth_request_module (Tim Niemueller, #1471106)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.0-4
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.12.0-3
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.12.0-2
|
|
|
67ea12 |
- Perl 5.26 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue May 30 2017 Luboš Uhliarik <luhliari@redhat.com> - 1:1.12.0-1
|
|
|
67ea12 |
- new version 1.12.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Feb 8 2017 Joe Orton <jorton@redhat.com> - 1:1.10.3-1
|
|
|
67ea12 |
- update to upstream release 1.10.3
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Oct 31 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.2-1
|
|
|
67ea12 |
- update to upstream release 1.10.2
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue May 31 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.1-1
|
|
|
67ea12 |
- update to upstream release 1.10.1
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.10.0-4
|
|
|
67ea12 |
- Perl 5.24 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun May 8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.10.0-3
|
|
|
67ea12 |
- Enable AIO on aarch64 (rhbz 1258414)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 27 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.0-2
|
|
|
67ea12 |
- only Require nginx-all-modules for EPEL and current Fedora releases
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 27 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.10.0-1
|
|
|
67ea12 |
- update to upstream release 1.10.0
|
|
|
67ea12 |
- split dynamic modules into subpackages
|
|
|
67ea12 |
- spec file cleanup
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.8.1-2
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Jan 26 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.1-1
|
|
|
67ea12 |
- update to upstream release 1.8.1
|
|
|
67ea12 |
- CVE-2016-0747: Insufficient limits of CNAME resolution in resolver
|
|
|
67ea12 |
- CVE-2016-0746: Use-after-free during CNAME response processing in resolver
|
|
|
67ea12 |
- CVE-2016-0742: Invalid pointer dereference in resolver
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Oct 04 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-14
|
|
|
67ea12 |
- consistently use '%%global with_foo' style of logic
|
|
|
67ea12 |
- remove PID file before starting nginx (#1268621)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Sep 25 2015 Ville Skyttä <ville.skytta@iki.fi> - 1:1.8.0-13
|
|
|
67ea12 |
- Use nginx-mimetypes from mailcap (#1248736)
|
|
|
67ea12 |
- Mark LICENSE as %%license
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Sep 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-12
|
|
|
67ea12 |
- also build with gperftools on aarch64 (#1258412)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Aug 12 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1:1.8.0-11
|
|
|
67ea12 |
- nginx.conf: added commented-out SSL configuration directives (#1179232)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Jul 03 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-10
|
|
|
67ea12 |
- switch back to /bin/kill in logrotate script due to SELinux denials
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Jun 16 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-9
|
|
|
67ea12 |
- fix path to png in error pages (#1232277)
|
|
|
67ea12 |
- optimize png images with optipng
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Jun 14 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-8
|
|
|
67ea12 |
- replace /bin/kill with /usr/bin/systemctl kill in logrotate script (#1231543)
|
|
|
67ea12 |
- remove After=syslog.target in nginx.service (#1231543)
|
|
|
67ea12 |
- replace ExecStop with KillSignal=SIGQUIT in nginx.service (#1231543)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.8.0-7
|
|
|
67ea12 |
- Perl 5.22 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-6
|
|
|
67ea12 |
- revert previous change
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-5
|
|
|
67ea12 |
- move default server to default.conf (#1220094)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun May 10 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-4
|
|
|
67ea12 |
- add TimeoutStopSec=5 and KillMode=mixed to nginx.service
|
|
|
67ea12 |
- set worker_processes to auto
|
|
|
67ea12 |
- add some common options to the http block in nginx.conf
|
|
|
67ea12 |
- run nginx-upgrade on package update
|
|
|
67ea12 |
- remove some redundant scriptlet commands
|
|
|
67ea12 |
- listen on ipv6 for default server (#1217081)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-3
|
|
|
67ea12 |
- improve nginx-upgrade script
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-2
|
|
|
67ea12 |
- add --with-pcre-jit
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 22 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.8.0-1
|
|
|
67ea12 |
- update to upstream release 1.8.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Apr 09 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.7.12-1
|
|
|
67ea12 |
- update to upstream release 1.7.12
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Feb 15 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.7.10-1
|
|
|
67ea12 |
- update to upstream release 1.7.10
|
|
|
67ea12 |
- remove systemd conditionals
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-4
|
|
|
67ea12 |
- fix package ownership of directories
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-3
|
|
|
67ea12 |
- add vim files (#1142849)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Sep 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-2
|
|
|
67ea12 |
- create nginx-filesystem subpackage (patch from Remi Collet)
|
|
|
67ea12 |
- create /etc/nginx/default.d as a drop-in directory for configuration files
|
|
|
67ea12 |
for the default server block
|
|
|
67ea12 |
- clean up nginx.conf
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Sep 17 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-1
|
|
|
67ea12 |
- update to upstream release 1.6.2
|
|
|
67ea12 |
- CVE-2014-3616 nginx: virtual host confusion (#1142573)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.6.1-4
|
|
|
67ea12 |
- Perl 5.20 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.1-3
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Aug 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.1-2
|
|
|
67ea12 |
- add logic for EPEL 7
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Aug 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.1-1
|
|
|
67ea12 |
- update to upstream release 1.6.1
|
|
|
67ea12 |
- (#1126891) CVE-2014-3556: SMTP STARTTLS plaintext injection flaw
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jul 02 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.6.0-3
|
|
|
67ea12 |
- Fix FTBFS on aarch64 (#1115559)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.6.0-2
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Apr 26 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.0-1
|
|
|
67ea12 |
- update to upstream release 1.6.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Mar 18 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.7-1
|
|
|
67ea12 |
- update to upstream release 1.4.7
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Mar 05 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.6-1
|
|
|
67ea12 |
- update to upstream release 1.4.6
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Feb 16 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.5-2
|
|
|
67ea12 |
- avoid multiple index directives (#1065488)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Feb 16 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.5-1
|
|
|
67ea12 |
- update to upstream release 1.4.5
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Nov 20 2013 Peter Borsa <peter.borsa@gmail.com> - 1:1.4.4-1
|
|
|
67ea12 |
- Update to upstream release 1.4.4
|
|
|
67ea12 |
- Security fix BZ 1032267
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Nov 03 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.3-1
|
|
|
67ea12 |
- update to upstream release 1.4.3
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Aug 09 2013 Jonathan Steffan <jsteffan@fedoraproject.org> - 1:1.4.2-3
|
|
|
67ea12 |
- Add in conditionals to build for non-systemd targets
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-2
|
|
|
67ea12 |
- Perl 5.18 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Jul 19 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.2-1
|
|
|
67ea12 |
- update to upstream release 1.4.2
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.1-3
|
|
|
67ea12 |
- Perl 5.18 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 1:1.4.1-2
|
|
|
67ea12 |
- rebuild for new GD 2.1.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue May 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.1-1
|
|
|
67ea12 |
- update to upstream release 1.4.1 (#960605, #960606):
|
|
|
67ea12 |
CVE-2013-2028 stack-based buffer overflow when handling certain chunked
|
|
|
67ea12 |
transfer encoding requests
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Apr 28 2013 Dan Horák <dan[at]danny.cz> - 1:1.4.0-2
|
|
|
67ea12 |
- gperftools exist only on selected arches
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Apr 26 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.0-1
|
|
|
67ea12 |
- update to upstream release 1.4.0
|
|
|
67ea12 |
- enable SPDY module (new in this version)
|
|
|
67ea12 |
- enable http gunzip module (new in this version)
|
|
|
67ea12 |
- enable google perftools module and add gperftools-devel to BR
|
|
|
67ea12 |
- enable debugging (#956845)
|
|
|
67ea12 |
- trim changelog
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Apr 02 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.8-1
|
|
|
67ea12 |
- update to upstream release 1.2.8
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Feb 22 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-2
|
|
|
67ea12 |
- make sure nginx directories are not world readable (#913724, #913735)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-1
|
|
|
67ea12 |
- update to upstream release 1.2.7
|
|
|
67ea12 |
- add .asc file
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Feb 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-6
|
|
|
67ea12 |
- use 'kill' instead of 'systemctl' when rotating log files to workaround
|
|
|
67ea12 |
SELinux issue (#889151)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
|
|
|
67ea12 |
- uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
|
|
|
67ea12 |
conf.d directory empty (#903065)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-4
|
|
|
67ea12 |
- add comment in nginx.conf regarding "include /etc/nginf/conf.d/*.conf"
|
|
|
67ea12 |
(#903065)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Dec 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-3
|
|
|
67ea12 |
- use correct file ownership when rotating log files
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Dec 18 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-2
|
|
|
67ea12 |
- send correct kill signal and use correct file permissions when rotating
|
|
|
67ea12 |
log files (#888225)
|
|
|
67ea12 |
- send correct kill signal in nginx-upgrade
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Dec 11 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-1
|
|
|
67ea12 |
- update to upstream release 1.2.6
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Nov 17 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.5-1
|
|
|
67ea12 |
- update to upstream release 1.2.5
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Oct 28 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.4-1
|
|
|
67ea12 |
- update to upstream release 1.2.4
|
|
|
67ea12 |
- introduce new systemd-rpm macros (#850228)
|
|
|
67ea12 |
- link to official documentation not the community wiki (#870733)
|
|
|
67ea12 |
- do not run systemctl try-restart after package upgrade to allow the
|
|
|
67ea12 |
administrator to run nginx-upgrade and avoid downtime
|
|
|
67ea12 |
- add nginx man page (#870738)
|
|
|
67ea12 |
- add nginx-upgrade man page and remove README.fedora
|
|
|
67ea12 |
- remove chkconfig from Requires(post/preun)
|
|
|
67ea12 |
- remove initscripts from Requires(preun/postun)
|
|
|
67ea12 |
- remove separate configuration files in "/etc/nginx/conf.d" directory
|
|
|
67ea12 |
and revert to upstream default of a centralized nginx.conf file
|
|
|
67ea12 |
(#803635) (#842738)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Sep 21 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.3-1
|
|
|
67ea12 |
- update to upstream release 1.2.3
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-3
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.1-2
|
|
|
67ea12 |
- Perl 5.16 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Jun 10 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.1-1
|
|
|
67ea12 |
- update to upstream release 1.2.1
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.0-2
|
|
|
67ea12 |
- Perl 5.16 rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.0-1
|
|
|
67ea12 |
- update to upstream release 1.2.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-4
|
|
|
67ea12 |
- add nginx-upgrade to replace functionality from the nginx initscript
|
|
|
67ea12 |
that was lost after migration to systemd
|
|
|
67ea12 |
- add README.fedora to describe usage of nginx-upgrade
|
|
|
67ea12 |
- nginx.logrotate: use built-in systemd kill command in postrotate script
|
|
|
67ea12 |
- nginx.service: start after syslog.target and network.target
|
|
|
67ea12 |
- nginx.service: remove unnecessary references to config file location
|
|
|
67ea12 |
- nginx.service: use /bin/kill instead of "/usr/sbin/nginx -s" following
|
|
|
67ea12 |
advice from nginx-devel
|
|
|
67ea12 |
- nginx.service: use private /tmp
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon May 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-3
|
|
|
67ea12 |
- fix incorrect postrotate script in nginx.logrotate
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Apr 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-2
|
|
|
67ea12 |
- renable auto-cc-gcc patch due to warnings on rawhide
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Apr 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-1
|
|
|
67ea12 |
- update to upstream release 1.0.15
|
|
|
67ea12 |
- no need to apply auto-cc-gcc patch
|
|
|
67ea12 |
- add %%global _hardened_build 1
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Mar 15 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.14-1
|
|
|
67ea12 |
- update to upstream release 1.0.14
|
|
|
67ea12 |
- amend some %%changelog formatting
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Mar 06 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.13-1
|
|
|
67ea12 |
- update to upstream release 1.0.13
|
|
|
67ea12 |
- amend --pid-path and --log-path
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-5
|
|
|
67ea12 |
- change pid path in nginx.conf to match systemd service file
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-3
|
|
|
67ea12 |
- fix %%pre scriptlet
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Feb 20 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-2
|
|
|
67ea12 |
- update upstream URL
|
|
|
67ea12 |
- replace %%define with %%global
|
|
|
67ea12 |
- remove obsolete BuildRoot tag, %%clean section and %%defattr
|
|
|
67ea12 |
- remove various unnecessary commands
|
|
|
67ea12 |
- add systemd service file and update scriptlets
|
|
|
67ea12 |
- add Epoch to accommodate %%triggerun as part of systemd migration
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Feb 19 2012 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.12-1
|
|
|
67ea12 |
- Update to 1.0.12
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Nov 17 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.10-1
|
|
|
67ea12 |
- Bugfix: a segmentation fault might occur in a worker process if resolver got a big DNS response. Thanks to Ben Hawkes.
|
|
|
67ea12 |
- Bugfix: in cache key calculation if internal MD5 implementation wasused; the bug had appeared in 1.0.4.
|
|
|
67ea12 |
- Bugfix: the module ngx_http_mp4_module sent incorrect "Content-Length" response header line if the "start" argument was used. Thanks to Piotr Sikora.
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Oct 27 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.8-1
|
|
|
67ea12 |
- Update to new 1.0.8 stable release
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Aug 26 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.5-1
|
|
|
67ea12 |
- Update nginx to Latest Stable Release
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-3
|
|
|
67ea12 |
- Perl mass rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-2
|
|
|
67ea12 |
- Perl 5.14 mass rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Wed Apr 27 2011 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.0-1
|
|
|
67ea12 |
- Update to 1.0.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.53-6
|
|
|
67ea12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53.5
|
|
|
67ea12 |
- Extract out default config into its own file (bug #635776)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-4
|
|
|
67ea12 |
- Revert ownership of log dir
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
|
|
|
67ea12 |
- Change ownership of /var/log/nginx to be 0700 nginx:nginx
|
|
|
67ea12 |
- update init script to use killproc -p
|
|
|
67ea12 |
- add reopen_logs command to init script
|
|
|
67ea12 |
- update init script to use nginx -q option
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-2
|
|
|
67ea12 |
- Fix linking of perl module
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-1
|
|
|
67ea12 |
- Update to new stable 0.8.53
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sat Jul 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-2
|
|
|
67ea12 |
- add Provides: webserver (bug #619693)
|
|
|
67ea12 |
|
|
|
67ea12 |
* Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-1
|
|
|
67ea12 |
- Update to new stable 0.7.67
|
|
|
67ea12 |
- fix bugzilla #591543
|
|
|
67ea12 |
|
|
|
67ea12 |
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.65-2
|
|
|
67ea12 |
- Mass rebuild with perl-5.12.0
|
|
|
67ea12 |
|
|
|
67ea12 |
* Mon Feb 15 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.65-1
|
|
|
67ea12 |
- Update to new stable 0.7.65
|
|
|
67ea12 |
- change ownership of logdir to root:root
|
|
|
67ea12 |
- add support for ipv6 (bug #561248)
|
|
|
67ea12 |
- add random_index_module
|
|
|
67ea12 |
- add secure_link_module
|
|
|
67ea12 |
|
|
|
67ea12 |
* Fri Dec 04 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.64-1
|
|
|
67ea12 |
- Update to new stable 0.7.64
|