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