|
|
810fe6 |
%{?scl:%scl_package nginx}
|
|
|
810fe6 |
|
|
|
673bbd |
%if 0%{?rhel} > 6
|
|
|
810fe6 |
%define use_systemd 1
|
|
|
673bbd |
%else
|
|
|
673bbd |
%define use_systemd 0
|
|
|
673bbd |
%endif
|
|
|
673bbd |
|
|
|
810fe6 |
%define use_geoip 0
|
|
|
810fe6 |
%define use_perl 0
|
|
|
810fe6 |
%global with_gperftools 0
|
|
|
673bbd |
%global with_passenger 1
|
|
|
673bbd |
%global passenger_version 4.0.50
|
|
|
810fe6 |
|
|
|
810fe6 |
%global _hardened_build 1
|
|
|
810fe6 |
%global nginx_user nginx
|
|
|
810fe6 |
%global nginx_group %{nginx_user}
|
|
|
810fe6 |
%global nginx_home %{_localstatedir}/lib/nginx
|
|
|
810fe6 |
%global nginx_home_tmp %{nginx_home}/tmp
|
|
|
810fe6 |
%global nginx_confdir %{_sysconfdir}/nginx
|
|
|
810fe6 |
%global nginx_datadir %{_datadir}/nginx
|
|
|
810fe6 |
%global nginx_logdir %{_root_localstatedir}/log/nginx16
|
|
|
810fe6 |
%global nginx_webroot %{nginx_datadir}/html
|
|
|
810fe6 |
|
|
|
673bbd |
%global service_name %{?scl_prefix}nginx
|
|
|
673bbd |
|
|
|
810fe6 |
Name: %{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
Epoch: 1
|
|
|
673bbd |
Version: 1.6.2
|
|
|
673bbd |
Release: 3%{?dist}
|
|
|
810fe6 |
|
|
|
810fe6 |
Summary: A high performance web server and reverse proxy server
|
|
|
810fe6 |
Group: System Environment/Daemons
|
|
|
810fe6 |
# BSD License (two clause)
|
|
|
810fe6 |
# http://www.freebsd.org/copyright/freebsd-license.html
|
|
|
810fe6 |
License: BSD
|
|
|
810fe6 |
URL: http://nginx.org/
|
|
|
810fe6 |
|
|
|
810fe6 |
Source0: http://nginx.org/download/nginx-%{version}.tar.gz
|
|
|
673bbd |
Source1: http://s3.amazonaws.com/phusion-passenger/releases/passenger-%{passenger_version}.tar.gz
|
|
|
810fe6 |
Source10: nginx.service
|
|
|
810fe6 |
Source11: nginx.logrotate
|
|
|
810fe6 |
Source12: nginx.conf
|
|
|
810fe6 |
Source13: action-upgrade.sh
|
|
|
810fe6 |
Source15: nginx.init
|
|
|
810fe6 |
Source16: nginx.sysconfig
|
|
|
810fe6 |
Source100: index.html
|
|
|
810fe6 |
Source101: poweredby.png
|
|
|
810fe6 |
Source102: nginx-logo.png
|
|
|
810fe6 |
Source103: 404.html
|
|
|
810fe6 |
Source104: 50x.html
|
|
|
810fe6 |
|
|
|
810fe6 |
# removes -Werror in upstream build scripts. -Werror conflicts with
|
|
|
810fe6 |
# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
|
|
|
810fe6 |
Patch0: nginx-auto-cc-gcc.patch
|
|
|
673bbd |
# Build Passenger against Fedora's (renamed) libeio
|
|
|
673bbd |
Patch200: passenger-4.0.38-libeio.patch
|
|
|
673bbd |
|
|
|
673bbd |
%if 0%{?with_passenger}
|
|
|
673bbd |
BuildRequires: %{?scl:rh-passenger40-}libeio-devel
|
|
|
673bbd |
BuildRequires: %{?scl:rh-passenger40-}libev-devel >= 4.0.0
|
|
|
673bbd |
BuildRequires: %{?scl:rh-passenger40-}rubygem(mizuho)
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}ruby
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}ruby-devel
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygems
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygems-devel
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygem(rake) >= 0.8.1
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygem(rack)
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygem(rspec)
|
|
|
673bbd |
BuildRequires: %{?scl:ruby193-}rubygem(mime-types)
|
|
|
673bbd |
BuildRequires: libcurl-devel
|
|
|
673bbd |
BuildRequires: zlib-devel
|
|
|
673bbd |
BuildRequires: pcre-devel
|
|
|
673bbd |
BuildRequires: openssl-devel
|
|
|
673bbd |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
# BuildRequires: GeoIP-devel
|
|
|
810fe6 |
BuildRequires: gd-devel
|
|
|
810fe6 |
%if 0%{?with_gperftools}
|
|
|
810fe6 |
BuildRequires: gperftools-devel
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
BuildRequires: libxslt-devel
|
|
|
810fe6 |
BuildRequires: openssl-devel
|
|
|
810fe6 |
BuildRequires: pcre-devel
|
|
|
810fe6 |
BuildRequires: perl-devel
|
|
|
810fe6 |
BuildRequires: perl(ExtUtils::Embed)
|
|
|
810fe6 |
BuildRequires: zlib-devel
|
|
|
810fe6 |
%if 0%{?use_geoip}
|
|
|
810fe6 |
Requires: GeoIP
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
Requires: gd
|
|
|
810fe6 |
Requires: openssl
|
|
|
810fe6 |
Requires: pcre
|
|
|
810fe6 |
%if 0%{?use_perl}
|
|
|
810fe6 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
Requires(pre): shadow-utils
|
|
|
810fe6 |
Provides: webserver
|
|
|
810fe6 |
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
810fe6 |
BuildRequires: systemd
|
|
|
810fe6 |
Requires(post): systemd
|
|
|
810fe6 |
Requires(preun): systemd
|
|
|
810fe6 |
Requires(postun): systemd
|
|
|
810fe6 |
%else
|
|
|
810fe6 |
Requires(post): chkconfig
|
|
|
810fe6 |
Requires(preun): chkconfig, initscripts
|
|
|
810fe6 |
Requires(postun): initscripts
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
Requires(post): policycoreutils-python libselinux-utils
|
|
|
810fe6 |
%{?scl:Requires:%scl_runtime}
|
|
|
810fe6 |
|
|
|
810fe6 |
%description
|
|
|
810fe6 |
Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
|
|
|
810fe6 |
IMAP protocols, with a strong focus on high concurrency, performance and low
|
|
|
810fe6 |
memory usage.
|
|
|
810fe6 |
|
|
|
810fe6 |
|
|
|
810fe6 |
%prep
|
|
|
810fe6 |
%setup -q -n nginx-%{version}
|
|
|
810fe6 |
%patch0 -p0
|
|
|
810fe6 |
|
|
|
673bbd |
%if 0%{?with_passenger}
|
|
|
673bbd |
tar -xf %{SOURCE1}
|
|
|
673bbd |
pushd passenger-%{passenger_version}
|
|
|
673bbd |
%patch200 -p1 -b .uselibeio
|
|
|
673bbd |
popd
|
|
|
673bbd |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
%build
|
|
|
673bbd |
%if 0%{?with_passenger}
|
|
|
673bbd |
%{?scl:scl enable ruby193 rh-passenger40 - << \EOF}
|
|
|
673bbd |
pushd passenger-%{passenger_version}
|
|
|
673bbd |
export USE_VENDORED_LIBEV=false
|
|
|
673bbd |
export USE_VENDORED_LIBEIO=false
|
|
|
673bbd |
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
|
|
|
673bbd |
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
|
|
|
673bbd |
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
|
|
|
673bbd |
|
|
|
673bbd |
export LANG=en_US.UTF-8
|
|
|
673bbd |
export LANGUAGE=en_US.UTF-8
|
|
|
673bbd |
export LC_ALL=en_US.UTF-8
|
|
|
673bbd |
|
|
|
673bbd |
rake nginx \
|
|
|
673bbd |
NATIVE_PACKAGING_METHOD=rpm \
|
|
|
673bbd |
EXTRA_CFLAGS="-fPIC" \
|
|
|
673bbd |
EXTRA_CXXFLAGS="-fPIC" \
|
|
|
673bbd |
FS_PREFIX=%{_prefix} \
|
|
|
673bbd |
FS_BINDIR=%{_bindir} \
|
|
|
673bbd |
FS_SBINDIR=%{_sbindir} \
|
|
|
673bbd |
FS_DATADIR=%{_datadir} \
|
|
|
673bbd |
FS_LIBDIR=%{_libdir} \
|
|
|
673bbd |
FS_DOCDIR=%{_docdir} \
|
|
|
673bbd |
RUBYLIBDIR=%{_datadir}/passenger/
|
|
|
673bbd |
RUBYARCHDIR=%{_libdir}/passenger/
|
|
|
673bbd |
popd
|
|
|
673bbd |
%endif
|
|
|
673bbd |
|
|
|
810fe6 |
# nginx does not utilize a standard configure script. It has its own
|
|
|
810fe6 |
# and the standard configure options cause the nginx configure script
|
|
|
810fe6 |
# to error out. This is is also the reason for the DESTDIR environment
|
|
|
810fe6 |
# variable.
|
|
|
810fe6 |
export DESTDIR=%{buildroot}
|
|
|
810fe6 |
./configure \
|
|
|
810fe6 |
--prefix=%{nginx_datadir} \
|
|
|
810fe6 |
--sbin-path=%{_sbindir}/nginx \
|
|
|
810fe6 |
--conf-path=%{nginx_confdir}/nginx.conf \
|
|
|
810fe6 |
--error-log-path=%{nginx_logdir}/error.log \
|
|
|
810fe6 |
--http-log-path=%{nginx_logdir}/access.log \
|
|
|
810fe6 |
--http-client-body-temp-path=%{nginx_home_tmp}/client_body \
|
|
|
810fe6 |
--http-proxy-temp-path=%{nginx_home_tmp}/proxy \
|
|
|
810fe6 |
--http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
|
|
|
810fe6 |
--http-uwsgi-temp-path=%{nginx_home_tmp}/uwsgi \
|
|
|
810fe6 |
--http-scgi-temp-path=%{nginx_home_tmp}/scgi \
|
|
|
810fe6 |
--pid-path=%{_localstatedir}/run/nginx/nginx.pid \
|
|
|
810fe6 |
--lock-path=%{_localstatedir}/lock/subsys/nginx \
|
|
|
810fe6 |
--user=%{nginx_user} \
|
|
|
810fe6 |
--group=%{nginx_group} \
|
|
|
810fe6 |
--with-file-aio \
|
|
|
810fe6 |
--with-ipv6 \
|
|
|
810fe6 |
--with-http_ssl_module \
|
|
|
810fe6 |
--with-http_spdy_module \
|
|
|
810fe6 |
--with-http_realip_module \
|
|
|
810fe6 |
--with-http_addition_module \
|
|
|
810fe6 |
--with-http_xslt_module \
|
|
|
810fe6 |
--with-http_image_filter_module \
|
|
|
810fe6 |
%if 0%{?use_geoip}
|
|
|
810fe6 |
--with-http_geoip_module \
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
--with-http_sub_module \
|
|
|
810fe6 |
--with-http_dav_module \
|
|
|
810fe6 |
--with-http_flv_module \
|
|
|
810fe6 |
--with-http_mp4_module \
|
|
|
810fe6 |
--with-http_gunzip_module \
|
|
|
810fe6 |
--with-http_gzip_static_module \
|
|
|
810fe6 |
--with-http_random_index_module \
|
|
|
810fe6 |
--with-http_secure_link_module \
|
|
|
810fe6 |
--with-http_degradation_module \
|
|
|
810fe6 |
--with-http_stub_status_module \
|
|
|
810fe6 |
%if 0%{?use_perl}
|
|
|
810fe6 |
--with-http_perl_module \
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
--with-mail \
|
|
|
810fe6 |
--with-mail_ssl_module \
|
|
|
810fe6 |
--with-pcre \
|
|
|
810fe6 |
%if 0%{?with_gperftools}
|
|
|
810fe6 |
--with-google_perftools_module \
|
|
|
810fe6 |
%endif
|
|
|
673bbd |
%if 0%{?with_passenger}
|
|
|
673bbd |
--add-module="./passenger-%{passenger_version}/ext/nginx" \
|
|
|
673bbd |
%endif
|
|
|
810fe6 |
--with-debug \
|
|
|
810fe6 |
--with-cc-opt="%{optflags} $(pcre-config --cflags)" \
|
|
|
810fe6 |
--with-ld-opt="$RPM_LD_FLAGS -Wl,-E" # so the perl module finds its symbols
|
|
|
810fe6 |
|
|
|
810fe6 |
make %{?_smp_mflags}
|
|
|
810fe6 |
|
|
|
673bbd |
%if 0%{?with_passenger}
|
|
|
673bbd |
%{?scl:EOF}
|
|
|
673bbd |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
%install
|
|
|
810fe6 |
make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
|
|
|
810fe6 |
|
|
|
810fe6 |
find %{buildroot} -type f -name .packlist -exec rm -f '{}' \;
|
|
|
810fe6 |
find %{buildroot} -type f -name perllocal.pod -exec rm -f '{}' \;
|
|
|
810fe6 |
find %{buildroot} -type f -empty -exec rm -f '{}' \;
|
|
|
810fe6 |
find %{buildroot} -type f -iname '*.so' -exec chmod 0755 '{}' \;
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
810fe6 |
install -p -D -m 0644 %{SOURCE10} \
|
|
|
810fe6 |
%{buildroot}%{_unitdir}/%{?scl:%scl_prefix}nginx.service
|
|
|
810fe6 |
|
|
|
810fe6 |
sed -i 's|\$sbindir|%{_sbindir}|' \
|
|
|
810fe6 |
%{buildroot}%{_unitdir}/%{?scl:%scl_prefix}nginx.service
|
|
|
810fe6 |
sed -i 's|\$localstatedir|%{_localstatedir}|' \
|
|
|
810fe6 |
%{buildroot}%{_unitdir}/%{?scl:%scl_prefix}nginx.service
|
|
|
810fe6 |
|
|
|
810fe6 |
# Install action scripts
|
|
|
810fe6 |
mkdir -p $RPM_BUILD_ROOT%{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
for f in upgrade; do
|
|
|
810fe6 |
install -p -m 755 $RPM_SOURCE_DIR/action-${f}.sh \
|
|
|
810fe6 |
$RPM_BUILD_ROOT%{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx/${f}
|
|
|
810fe6 |
sed -i 's|\$nginxservice|%{?scl:%scl_prefix}nginx|' \
|
|
|
810fe6 |
$RPM_BUILD_ROOT%{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx/${f}
|
|
|
810fe6 |
sed -i 's|\$localstatedir|%{_localstatedir}|' \
|
|
|
810fe6 |
$RPM_BUILD_ROOT%{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx/${f}
|
|
|
810fe6 |
done
|
|
|
810fe6 |
|
|
|
810fe6 |
%else
|
|
|
810fe6 |
install -p -D -m 0755 %{SOURCE15} \
|
|
|
810fe6 |
%{buildroot}/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
sed -i 's|\$sbindir|%{_sbindir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
sed -i 's|\$localstatedir|%{_localstatedir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
sed -i 's|\$sysconfdir|%{_sysconfdir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
sed -i 's|\$scl|%scl_prefix|' \
|
|
|
810fe6 |
%{buildroot}/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -D -m 0644 %{SOURCE16} \
|
|
|
810fe6 |
%{buildroot}/etc/sysconfig/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
sed -i 's|\$sysconfdir|%{_sysconfdir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/sysconfig/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -D -m 0644 %{SOURCE11} \
|
|
|
810fe6 |
%{buildroot}/etc/logrotate.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
sed -i 's|\$logdir|%{nginx_logdir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/logrotate.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
sed -i 's|\$localstatedir|%{_localstatedir}|' \
|
|
|
810fe6 |
%{buildroot}/etc/logrotate.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home}
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}/client_body
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}/proxy
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}/fastcgi
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}/uwsgi
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}/scgi
|
|
|
810fe6 |
install -p -d -m 0700 %{buildroot}%{nginx_logdir}
|
|
|
810fe6 |
install -p -d -m 0755 %{buildroot}%{nginx_webroot}
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -m 0644 %{SOURCE12} \
|
|
|
810fe6 |
%{buildroot}%{nginx_confdir}
|
|
|
810fe6 |
|
|
|
810fe6 |
# Change the nginx.conf paths
|
|
|
810fe6 |
sed -i 's|\$datadir|%{_datadir}|' \
|
|
|
810fe6 |
%{buildroot}%{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
sed -i 's|\$sysconfdir|%{_sysconfdir}|' \
|
|
|
810fe6 |
%{buildroot}%{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
sed -i 's|\$localstatedir|%{_localstatedir}|' \
|
|
|
810fe6 |
%{buildroot}%{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
sed -i 's|\$logdir|%{nginx_logdir}|' \
|
|
|
810fe6 |
%{buildroot}%{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
|
|
|
810fe6 |
touch -r %{SOURCE12} %{buildroot}%{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -m 0644 %{SOURCE100} \
|
|
|
810fe6 |
%{buildroot}%{nginx_webroot}
|
|
|
810fe6 |
install -p -m 0644 %{SOURCE101} %{SOURCE102} \
|
|
|
810fe6 |
%{buildroot}%{nginx_webroot}
|
|
|
810fe6 |
install -p -m 0644 %{SOURCE103} %{SOURCE104} \
|
|
|
810fe6 |
%{buildroot}%{nginx_webroot}
|
|
|
810fe6 |
|
|
|
810fe6 |
install -p -D -m 0644 %{_builddir}/nginx-%{version}/man/nginx.8 \
|
|
|
810fe6 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
810fe6 |
|
|
|
810fe6 |
%if 0%{?scl:1} && 0%{?use_perl}
|
|
|
810fe6 |
# pm man page is installed to bad directory for some reason... Move it to
|
|
|
810fe6 |
# the proper one.
|
|
|
810fe6 |
mkdir -p %{buildroot}%{_mandir}/man3/
|
|
|
810fe6 |
mv %{buildroot}/usr/share/man/man3/* %{buildroot}%{_mandir}/man3/
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
mkdir -p %{buildroot}%{_localstatedir}/run/nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
# Replaces variables in man page with proper values
|
|
|
810fe6 |
sed -i 's|\%\%PREFIX\%\%|%{nginx_datadir}|' \
|
|
|
810fe6 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
810fe6 |
sed -i 's|\%\%PID_PATH\%\%|%{_localstatedir}/run/nginx/nginx.pid|' \
|
|
|
810fe6 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
810fe6 |
sed -i 's|\%\%CONF_PATH\%\%|%{nginx_confdir}/nginx.conf|' \
|
|
|
810fe6 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
810fe6 |
sed -i 's|\%\%ERROR_LOG_PATH\%\%|%{nginx_logdir}/error.log|' \
|
|
|
810fe6 |
%{buildroot}%{_mandir}/man8/nginx.8
|
|
|
810fe6 |
|
|
|
810fe6 |
%pre
|
|
|
810fe6 |
getent group %{nginx_group} > /dev/null || groupadd -r %{nginx_group}
|
|
|
810fe6 |
getent passwd %{nginx_user} > /dev/null || \
|
|
|
810fe6 |
useradd -r -d %{nginx_home} -g %{nginx_group} \
|
|
|
810fe6 |
-s /sbin/nologin -c "Nginx web server" %{nginx_user}
|
|
|
810fe6 |
exit 0
|
|
|
810fe6 |
|
|
|
810fe6 |
%post
|
|
|
673bbd |
restorecon -R %{_scl_root} >/dev/null 2>&1 || :
|
|
|
810fe6 |
semanage fcontext -a -e /var/log/nginx %{nginx_logdir} >/dev/null 2>&1 || :
|
|
|
810fe6 |
restorecon -R %{nginx_logdir} >/dev/null 2>&1 || :
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
673bbd |
%systemd_post %{service_name}.service
|
|
|
810fe6 |
%else
|
|
|
673bbd |
semanage fcontext -a -e /etc/rc.d/init.d/nginx /etc/rc.d/init.d/%{?scl:%scl_prefix}nginx >/dev/null 2>&1 || :
|
|
|
673bbd |
restorecon -R /etc/rc.d/init.d/%{?scl:%scl_prefix}nginx >/dev/null 2>&1 || :
|
|
|
810fe6 |
if [ $1 -eq 1 ]; then
|
|
|
810fe6 |
/sbin/chkconfig --add %{name}
|
|
|
810fe6 |
fi
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
if [ $1 -eq 2 ]; then
|
|
|
810fe6 |
# Make sure these directories are not world readable.
|
|
|
810fe6 |
chmod 700 %{nginx_home}
|
|
|
810fe6 |
chmod -R 700 %{nginx_home_tmp}
|
|
|
810fe6 |
chmod 700 %{nginx_logdir}
|
|
|
810fe6 |
fi
|
|
|
810fe6 |
|
|
|
810fe6 |
%preun
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
673bbd |
%systemd_preun %{service_name}.service
|
|
|
810fe6 |
%else
|
|
|
810fe6 |
if [ $1 -eq 0 ]; then
|
|
|
810fe6 |
/sbin/service %{name} stop >/dev/null 2>&1
|
|
|
810fe6 |
/sbin/chkconfig --del %{name}
|
|
|
810fe6 |
fi
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
%postun
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
673bbd |
%systemd_postun %{service_name}.service
|
|
|
810fe6 |
%else
|
|
|
810fe6 |
if [ $1 -eq 2 ]; then
|
|
|
810fe6 |
/sbin/service %{name} upgrade || :
|
|
|
810fe6 |
fi
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
|
|
|
810fe6 |
%files
|
|
|
810fe6 |
%doc LICENSE CHANGES README
|
|
|
810fe6 |
%{nginx_datadir}/
|
|
|
810fe6 |
%{_sbindir}/nginx
|
|
|
810fe6 |
%if 0%{?use_perl}
|
|
|
810fe6 |
%{_mandir}/man3/nginx.3pm*
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
%{_mandir}/man8/nginx.8*
|
|
|
810fe6 |
%if %{use_systemd}
|
|
|
673bbd |
%{_unitdir}/%{service_name}.service
|
|
|
810fe6 |
%dir %{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
%{_root_libexecdir}/initscripts/legacy-actions/%{?scl:%scl_prefix}nginx/*
|
|
|
810fe6 |
%else
|
|
|
810fe6 |
/etc/rc.d/init.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
%config(noreplace) /etc/sysconfig/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
%dir %{nginx_confdir}
|
|
|
810fe6 |
%dir %{nginx_confdir}/conf.d
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/fastcgi.conf
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/fastcgi.conf.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/fastcgi_params
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/fastcgi_params.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/koi-utf
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/koi-win
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/mime.types
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/mime.types.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/nginx.conf
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/nginx.conf.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/scgi_params
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/scgi_params.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/uwsgi_params
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/uwsgi_params.default
|
|
|
810fe6 |
%config(noreplace) %{nginx_confdir}/win-utf
|
|
|
810fe6 |
%config(noreplace) /etc/logrotate.d/%{?scl:%scl_prefix}nginx
|
|
|
810fe6 |
%if 0%{?use_perl}
|
|
|
810fe6 |
%dir %{perl_vendorarch}/auto/nginx
|
|
|
810fe6 |
%{perl_vendorarch}/nginx.pm
|
|
|
810fe6 |
%{perl_vendorarch}/auto/nginx/nginx.so
|
|
|
810fe6 |
%endif
|
|
|
810fe6 |
%attr(700,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
|
|
|
810fe6 |
%attr(700,%{nginx_user},%{nginx_group}) %{nginx_home_tmp}
|
|
|
810fe6 |
%attr(700,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
|
|
|
810fe6 |
%attr(700,%{nginx_user},%{nginx_group}) %dir %{_localstatedir}/run/nginx
|
|
|
810fe6 |
|
|
|
810fe6 |
%changelog
|
|
|
673bbd |
* Wed Jan 21 2015 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.2-3
|
|
|
673bbd |
- set use_systemd only on RHEL7
|
|
|
673bbd |
|
|
|
673bbd |
* Mon Jan 19 2015 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.2-2
|
|
|
673bbd |
- add support for Phusion Passenger
|
|
|
673bbd |
|
|
|
673bbd |
* Tue Jan 06 2015 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.2-1
|
|
|
673bbd |
- update to version 1.6.2
|
|
|
673bbd |
- do not use conditionals in systemd macros (#1152514)
|
|
|
673bbd |
|
|
|
810fe6 |
* Wed Sep 17 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.1-2
|
|
|
810fe6 |
- prevent SSL session reuse in unrelated server{} blocks (CVE-2014-3616)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Aug 06 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.1-1
|
|
|
810fe6 |
- update to 1.6.1 (CVE-2014-3556)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Jun 24 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.6.0-2
|
|
|
810fe6 |
- rebuild because of rename to nginx16
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Jun 9 2014 Joe Orton <jorton@redhat.com> - 1:1.6.0-1
|
|
|
810fe6 |
- update to 1.6.0 (#1101921)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Mar 4 2014 Joe Orton <jorton@redhat.com> - 1:1.4.4-10
|
|
|
810fe6 |
- run restorecon in %%post for #1072266
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Mar 4 2014 Joe Orton <jorton@redhat.com> - 1:1.4.4-9
|
|
|
810fe6 |
- fix SELinux context for log directory (#1072266)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Feb 20 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.4-8
|
|
|
810fe6 |
- update poweredby logo and show it on default pages (#1065981)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Feb 18 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.4-7
|
|
|
810fe6 |
- correct 404 and 50x error pages (#1065981)
|
|
|
810fe6 |
- use initscripts legacy actions for nginx-upgrade (#1065981)
|
|
|
810fe6 |
- expand nginx man page variables (#1066056)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Jan 06 2014 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.4-6
|
|
|
810fe6 |
- create temp subdirectories in nginx_home_tmp during installation (#1040470)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1:1.4.4-5
|
|
|
810fe6 |
- further default config tweak
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1:1.4.4-4
|
|
|
810fe6 |
- update config file for log directory
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1:1.4.4-3
|
|
|
810fe6 |
- change log directory
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Nov 19 2013 Joe Orton <jorton@redhat.com> - 1:1.4.4-1
|
|
|
810fe6 |
- update to 1.4.4 (CVE-2013-4547)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Nov 18 2013 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.2-6
|
|
|
810fe6 |
- require scl_runtime
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Nov 18 2013 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.2-5
|
|
|
810fe6 |
- improved index.html
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Nov 18 2013 Jan Kaluza <jkaluza@redhat.com> - 1:1.4.2-4
|
|
|
810fe6 |
- support for software collections
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Aug 09 2013 Jonathan Steffan <jsteffan@fedoraproject.org> - 1:1.4.2-3
|
|
|
810fe6 |
- Add in conditionals to build for non-systemd targets
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-2
|
|
|
810fe6 |
- Perl 5.18 rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Jul 19 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.2-1
|
|
|
810fe6 |
- update to upstream release 1.4.2
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.1-3
|
|
|
810fe6 |
- Perl 5.18 rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 1:1.4.1-2
|
|
|
810fe6 |
- rebuild for new GD 2.1.0
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue May 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.1-1
|
|
|
810fe6 |
- update to upstream release 1.4.1 (#960605, #960606):
|
|
|
810fe6 |
CVE-2013-2028 stack-based buffer overflow when handling certain chunked
|
|
|
810fe6 |
transfer encoding requests
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Apr 28 2013 Dan Horák <dan[at]danny.cz> - 1:1.4.0-2
|
|
|
810fe6 |
- gperftools exist only on selected arches
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Apr 26 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.0-1
|
|
|
810fe6 |
- update to upstream release 1.4.0
|
|
|
810fe6 |
- enable SPDY module (new in this version)
|
|
|
810fe6 |
- enable http gunzip module (new in this version)
|
|
|
810fe6 |
- enable google perftools module and add gperftools-devel to BR
|
|
|
810fe6 |
- enable debugging (#956845)
|
|
|
810fe6 |
- trim changelog
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Apr 02 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.8-1
|
|
|
810fe6 |
- update to upstream release 1.2.8
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Feb 22 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-2
|
|
|
810fe6 |
- make sure nginx directories are not world readable (#913724, #913735)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-1
|
|
|
810fe6 |
- update to upstream release 1.2.7
|
|
|
810fe6 |
- add .asc file
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Feb 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-6
|
|
|
810fe6 |
- use 'kill' instead of 'systemctl' when rotating log files to workaround
|
|
|
810fe6 |
SELinux issue (#889151)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
|
|
|
810fe6 |
- uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
|
|
|
810fe6 |
conf.d directory empty (#903065)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-4
|
|
|
810fe6 |
- add comment in nginx.conf regarding "include /etc/nginf/conf.d/*.conf"
|
|
|
810fe6 |
(#903065)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Dec 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-3
|
|
|
810fe6 |
- use correct file ownership when rotating log files
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Dec 18 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-2
|
|
|
810fe6 |
- send correct kill signal and use correct file permissions when rotating
|
|
|
810fe6 |
log files (#888225)
|
|
|
810fe6 |
- send correct kill signal in nginx-upgrade
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Dec 11 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-1
|
|
|
810fe6 |
- update to upstream release 1.2.6
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sat Nov 17 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.5-1
|
|
|
810fe6 |
- update to upstream release 1.2.5
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Oct 28 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.4-1
|
|
|
810fe6 |
- update to upstream release 1.2.4
|
|
|
810fe6 |
- introduce new systemd-rpm macros (#850228)
|
|
|
810fe6 |
- link to official documentation not the community wiki (#870733)
|
|
|
810fe6 |
- do not run systemctl try-restart after package upgrade to allow the
|
|
|
810fe6 |
administrator to run nginx-upgrade and avoid downtime
|
|
|
810fe6 |
- add nginx man page (#870738)
|
|
|
810fe6 |
- add nginx-upgrade man page and remove README.fedora
|
|
|
810fe6 |
- remove chkconfig from Requires(post/preun)
|
|
|
810fe6 |
- remove initscripts from Requires(preun/postun)
|
|
|
810fe6 |
- remove separate configuration files in "/etc/nginx/conf.d" directory
|
|
|
810fe6 |
and revert to upstream default of a centralized nginx.conf file
|
|
|
810fe6 |
(#803635) (#842738)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Sep 21 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.3-1
|
|
|
810fe6 |
- update to upstream release 1.2.3
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-3
|
|
|
810fe6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.1-2
|
|
|
810fe6 |
- Perl 5.16 rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Jun 10 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.1-1
|
|
|
810fe6 |
- update to upstream release 1.2.1
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.0-2
|
|
|
810fe6 |
- Perl 5.16 rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.0-1
|
|
|
810fe6 |
- update to upstream release 1.2.0
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-4
|
|
|
810fe6 |
- add nginx-upgrade to replace functionality from the nginx initscript
|
|
|
810fe6 |
that was lost after migration to systemd
|
|
|
810fe6 |
- add README.fedora to describe usage of nginx-upgrade
|
|
|
810fe6 |
- nginx.logrotate: use built-in systemd kill command in postrotate script
|
|
|
810fe6 |
- nginx.service: start after syslog.target and network.target
|
|
|
810fe6 |
- nginx.service: remove unnecessary references to config file location
|
|
|
810fe6 |
- nginx.service: use /bin/kill instead of "/usr/sbin/nginx -s" following
|
|
|
810fe6 |
advice from nginx-devel
|
|
|
810fe6 |
- nginx.service: use private /tmp
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon May 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-3
|
|
|
810fe6 |
- fix incorrect postrotate script in nginx.logrotate
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Apr 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-2
|
|
|
810fe6 |
- renable auto-cc-gcc patch due to warnings on rawhide
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sat Apr 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-1
|
|
|
810fe6 |
- update to upstream release 1.0.15
|
|
|
810fe6 |
- no need to apply auto-cc-gcc patch
|
|
|
810fe6 |
- add %%global _hardened_build 1
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Mar 15 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.14-1
|
|
|
810fe6 |
- update to upstream release 1.0.14
|
|
|
810fe6 |
- amend some %%changelog formatting
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Mar 06 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.13-1
|
|
|
810fe6 |
- update to upstream release 1.0.13
|
|
|
810fe6 |
- amend --pid-path and --log-path
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-5
|
|
|
810fe6 |
- change pid path in nginx.conf to match systemd service file
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-3
|
|
|
810fe6 |
- fix %%pre scriptlet
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Feb 20 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-2
|
|
|
810fe6 |
- update upstream URL
|
|
|
810fe6 |
- replace %%define with %%global
|
|
|
810fe6 |
- remove obsolete BuildRoot tag, %%clean section and %%defattr
|
|
|
810fe6 |
- remove various unnecessary commands
|
|
|
810fe6 |
- add systemd service file and update scriptlets
|
|
|
810fe6 |
- add Epoch to accommodate %%triggerun as part of systemd migration
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Feb 19 2012 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.12-1
|
|
|
810fe6 |
- Update to 1.0.12
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Nov 17 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.10-1
|
|
|
810fe6 |
- Bugfix: a segmentation fault might occur in a worker process if resolver got a big DNS response. Thanks to Ben Hawkes.
|
|
|
810fe6 |
- Bugfix: in cache key calculation if internal MD5 implementation wasused; the bug had appeared in 1.0.4.
|
|
|
810fe6 |
- Bugfix: the module ngx_http_mp4_module sent incorrect "Content-Length" response header line if the "start" argument was used. Thanks to Piotr Sikora.
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Oct 27 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.8-1
|
|
|
810fe6 |
- Update to new 1.0.8 stable release
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Aug 26 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.5-1
|
|
|
810fe6 |
- Update nginx to Latest Stable Release
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-3
|
|
|
810fe6 |
- Perl mass rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-2
|
|
|
810fe6 |
- Perl 5.14 mass rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Wed Apr 27 2011 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.0-1
|
|
|
810fe6 |
- Update to 1.0.0
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.53-6
|
|
|
810fe6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53.5
|
|
|
810fe6 |
- Extract out default config into its own file (bug #635776)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-4
|
|
|
810fe6 |
- Revert ownership of log dir
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
|
|
|
810fe6 |
- Change ownership of /var/log/nginx to be 0700 nginx:nginx
|
|
|
810fe6 |
- update init script to use killproc -p
|
|
|
810fe6 |
- add reopen_logs command to init script
|
|
|
810fe6 |
- update init script to use nginx -q option
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-2
|
|
|
810fe6 |
- Fix linking of perl module
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-1
|
|
|
810fe6 |
- Update to new stable 0.8.53
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sat Jul 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-2
|
|
|
810fe6 |
- add Provides: webserver (bug #619693)
|
|
|
810fe6 |
|
|
|
810fe6 |
* Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-1
|
|
|
810fe6 |
- Update to new stable 0.7.67
|
|
|
810fe6 |
- fix bugzilla #591543
|
|
|
810fe6 |
|
|
|
810fe6 |
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.65-2
|
|
|
810fe6 |
- Mass rebuild with perl-5.12.0
|
|
|
810fe6 |
|
|
|
810fe6 |
* Mon Feb 15 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.65-1
|
|
|
810fe6 |
- Update to new stable 0.7.65
|
|
|
810fe6 |
- change ownership of logdir to root:root
|
|
|
810fe6 |
- add support for ipv6 (bug #561248)
|
|
|
810fe6 |
- add random_index_module
|
|
|
810fe6 |
- add secure_link_module
|
|
|
810fe6 |
|
|
|
810fe6 |
* Fri Dec 04 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.64-1
|
|
|
810fe6 |
- Update to new stable 0.7.64
|