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