ignatenkobrain / rpms / nginx

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