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