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