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