source: projects/specs/trunk/n/nginx/nginx-vl.spec @ 12407

Revision 12407, 38.5 KB checked in by tomop, 4 years ago (diff)

nginx-1.18.0-7

Line 
1%bcond_with systemd
2%global nginx_version 1.18.0
3
4# build mod_wsgi
5%bcond_with wsgi
6
7# build http_geoip_module
8%if "%{_dist_release}" >= "vl7"
9%bcond_without geoip
10%bcond_without geoip2
11%else
12%bcond_with geoip
13%endif
14
15# build naxsi module
16%bcond_with naxsi
17
18# build modsecurity module
19%bcond_without modsecurity
20
21%global nginx_modulesdir %{_libdir}/nginx/modules
22%global nginx_modconfdir %{_sysconfdir}/nginx/modules.d
23
24%if "%{_dist_release}" > "vl6"
25%define nginx_user      www-data
26%else
27%define nginx_user      nginx
28%endif
29%define nginx_group     %{nginx_user}
30%define nginx_home      %{_localstatedir}/lib/nginx
31%define nginx_home_tmp  %{nginx_home}/tmp
32%define nginx_home_cache %{nginx_home}/cache
33%define nginx_logdir    %{_localstatedir}/log/nginx
34%define nginx_confdir   %{_sysconfdir}/nginx
35%define nginx_datadir   %{_datadir}/nginx
36%define nginx_webroot   %{nginx_datadir}/html
37
38Summary:        Robust, small and high performance http and reverse proxy server
39Summary(ja):    堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ
40Name:           nginx
41Group:          System Environment/Daemons   
42Version:        %{nginx_version}
43# do not reset or decrease.
44Release:        7%{?_dist_release}%{?with_systemd:.systemd}
45
46# BSD License (two clause)
47# http://www.freebsd.org/copyright/freebsd-license.html
48License:        BSD
49URL:            https://nginx.org/
50Source0:        https://nginx.org/download/nginx-%{version}.tar.gz
51Source1:        %{name}.init
52Source2:        %{name}.logrotate
53Source3:        nginx-virtual.conf.template
54Source4:        nginx-ssl.conf
55Source5:        %{name}.sysconfig
56Source10:       nginx-vine.conf
57Source11:       nginx-default-vine
58Source20:       proxy_cache.conf
59Source21:       nginx.service
60Source22:       nginx-upgrade
61Source23:       nginx-upgrade.8
62Source100:      nginx-index.html
63Source101:      poweredby-vine.png
64Source102:      nginx-logo.png
65Source103:      nginx-50x.html
66Source104:      nginx-404.html
67
68%define         ngx_fancyindex_version 0.4.3
69Source1000:     ngx-fancyindex-%{ngx_fancyindex_version}.tar.gz
70
71%define         nginx_accept_language_module_version 2f69842
72Source1010:     giom-nginx_accept_language_module-%{nginx_accept_language_module_version}.tar.gz
73
74%define         passenger_version 6.0.4
75Source1020:     https://github.com/phusion/passenger/releases/download/release-%{passenger_version}/passenger-%{passenger_version}.tar.gz
76
77%define         upstream_fair_version a18b409
78Source1030:     gnosek-nginx-upstream-fair-%{upstream_fair_version}.tar.gz
79
80%define         mod_wsgi_version 6975f0ec7eeb
81Source2000:     lifeeth-mod_wsgi-%{mod_wsgi_version}.tar.bz2
82
83%define         nginx_dav_ext_module_version 3.0.0
84Source2010:     https://github.com/arut/nginx-dav-ext-module/archive/v%{nginx_dav_ext_module_version}.tar.gz#/nginx-dav-ext-module-%{nginx_dav_ext_module_version}.tar.gz
85
86%if %{with naxsi}
87%global         with_naxsi 1
88%endif
89%global         naxsi_version 0.56
90%global         naxsi_srcversion untagged-afabfc163946baa8036f
91Source2020:     https://github.com/nbs-system/naxsi/archive/%{naxsi_srcversion}.tar.gz#/naxsi-%{naxsi_srcversion}.tar.gz
92Source2021:     naxsi_params
93
94%if %{with geoip2}
95%global         with_geoip2 1
96%global         geoip2_version 3.3
97Source2030:     https://github.com/leev/ngx_http_geoip2_module/archive/%{geoip2_version}.tar.gz#/ngx_http_geoip2_module-%{geoip2_version}.tar.gz
98%endif
99
100%if %{with modsecurity}
101%global         with_modsecurity 1
102%global         modsecurity_version 1.0.1
103Source2040:     https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v%{modsecurity_version}/modsecurity-nginx-v%{modsecurity_version}.tar.gz
104%endif
105
106# removes -Werror in upstream build scripts.  -Werror conflicts with
107# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
108Patch0:         nginx-auto-cc-gcc.patch
109
110# to fix https://svn.boost.org/trac/boost/ticket/8731
111Patch100:       boost-changeset_84950.diff
112
113# to fix https://github.com/gnosek/nginx-upstream-fair/pull/23
114Patch101:       gnosek-nginx-upstream-fair-pull-23.patch
115
116# to fix compile error with C++11.
117Patch1000:      passenger-5.0.28-boost.patch
118
119BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
120
121%if "%{_dist_release}" > "vl6"
122BuildRequires:  libboost-devel
123%endif
124BuildRequires:  libxcrypt-devel
125BuildRequires:  libnsl2-devel
126BuildRequires:  pcre-devel
127BuildRequires:  zlib-devel
128BuildRequires:  openssl-devel
129BuildRequires:  libxml2-devel
130BuildRequires:  libxslt-devel
131BuildRequires:  curl-devel
132
133Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
134# for /usr/sbin/useradd
135Requires(pre):      shadow-utils
136%if %{with systemd}
137BuildRequires:     systemd
138Requires(post):    systemd
139Requires(preun):   systemd
140Requires(postun):  systemd
141%else
142Requires(post):     chkconfig
143# for /sbin/service
144Requires(preun):    chkconfig, initscripts
145Requires(postun):   initscripts
146%endif
147%if "%{_dist_release}" > "vl6"
148Requires(pre):      www-common
149%endif
150
151Provides: webserver
152
153Vendor: Project Vine
154Distribution: Vine Linux
155Packager: daisuke
156
157%description
158Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
159proxy server written by Igor Sysoev.
160
161%description -l ja
162Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ
163堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。
164 - HTTP(S) サーバ
165 - HTTP(S) リバースプロキシサーバ
166 - IMAP/POP3 プロキシサーバ
167
168%package passenger
169Summary: Nginx with mod_passenger support
170Summary(ja): Passenger サポート入りの Nginx
171Version: %{passenger_version}
172Group: System Environment/Daemons
173BuildRequires: ruby, rubygem-rake
174Requires: ruby, rubygem-rake
175%if "%{_dist_release}" >= "vl7"
176BuildRequires: ruby-devel, ruby-rubygems
177Requires: ruby-rubygems
178%else
179BuildRequires: rubygems
180Requires: rubygems
181%endif
182Requires: %{name} = %{nginx_version}-%{release}
183
184%description passenger
185Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
186This package contains nginx server with passenger support.
187
188%description -l ja passenger
189Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ
190堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。
191 - HTTP(S) サーバ
192 - HTTP(S) リバースプロキシサーバ
193 - IMAP/POP3 プロキシサーバ
194このパッケージには Passenger サポートを含んだ nginxサーバが入っています。
195
196%if %{with geoip}
197%package geoip
198Summary:           Nginx HTTP geoip module
199BuildRequires:     GeoIP-devel
200Requires:          %{name} = %{nginx_version}-%{release}
201Requires:          GeoIP
202
203%description geoip
204%{summary}.
205%endif
206
207%package image-filter
208Summary:           Nginx HTTP image filter module
209BuildRequires:     gd-devel
210Requires:          %{name} = %{nginx_version}-%{release}
211Requires:          gd
212
213%description image-filter
214%{summary}.
215
216%package perl
217Summary:           Nginx HTTP perl module
218BuildRequires:     perl
219BuildRequires:     perl(ExtUtils::Embed)
220Requires:          %{name} = %{nginx_version}-%{release}
221Requires:          perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
222
223%description perl
224%{summary}.
225
226%package xslt-filter
227Summary:           Nginx XSLT module
228BuildRequires:     libxslt-devel
229Requires:          %{name} = %{nginx_version}-%{release}
230
231%description xslt-filter
232%{summary}.
233
234%package mail
235Summary:           Nginx mail modules
236Requires:          %{name} = %{nginx_version}-%{release}
237
238%description mail
239%{summary}.
240
241%package stream
242Summary:           Nginx stream modules
243Requires:          %{name} = %{nginx_version}-%{release}
244
245%description stream
246%{summary}.
247
248%package dav-ext
249Summary:           Nginx dav-ext modules
250Version:           %{nginx_dav_ext_module_version}
251Requires:          %{name} = %{nginx_version}-%{release}
252
253%description dav-ext
254%{summary}.
255
256%if %{with geoip2}
257%package http-geoip2
258Summary:           Nginx HTTP geoip2 modules
259Version:           %{geoip2_version}
260BuildRequires:     libmaxminddb-devel
261Requires:          %{name} = %{nginx_version}-%{release}
262
263%description http-geoip2
264%{summary}.
265
266%package stream-geoip2
267Summary:           Nginx stream geoip2 modules
268Version:           %{geoip2_version}
269BuildRequires:     libmaxminddb-devel
270Requires:          %{name} = %{nginx_version}-%{release}
271Requires:          %{name}-stream = %{nginx_version}-%{release}
272
273%description stream-geoip2
274%{summary}.
275%endif
276
277%if %{with naxsi}
278%package naxsi
279Summary:           an open-source, high performance, low rules maintenance WAF for NGINX
280Summary(ja):       NGiNXのためのOSS・高パフォーマンス・低メンテナンスコストなWAF
281Version:           %{naxsi_version}
282License:           GPL3
283Requires:          %{name} = %{nginx_version}-%{release}
284
285%description naxsi
286NAXSI means Nginx Anti XSS & SQL Injection.
287
288 Technically, it is a third party nginx module, available as a package for
289many UNIX-like platforms. This module, by default, reads a small subset of
290simple (and readable) rules containing 99% of known patterns involved in
291website vulnerabilities. For example, <, | or drop are not supposed to be
292part of a URI.
293
294 Being very simple, those patterns may match legitimate queries, it is
295the Naxsi's administrator duty to add specific rules that will whitelist
296legitimate behaviours. The administrator can either add whitelists manually
297by analyzing nginx's error log, or (recommended) start the project with an intensive auto-learning phase that will automatically generate whitelisting
298rules regarding a website's behaviour.
299
300 In short, Naxsi behaves like a DROP-by-default firewall, the only task is
301to add required ACCEPT rules for the target website to work properly.
302%endif
303
304%if %{with modsecurity}
305%package modsecurity
306Summary:           The ModSecurity-nginx connector
307Summary(ja):       ModSecurity Nginxコネクター
308Version:           %{modsecurity_version}
309License:           ASL 2.0
310BuildRequires:     libmodsecurity-devel
311Requires:          %{name} = %{nginx_version}-%{release}
312
313%description modsecurity
314 The ModSecurity-nginx connector is the connection point between
315nginx and libmodsecurity (ModSecurity v3). Said another way, this
316project provides a communication channel between nginx and libmodsecurity.
317This connector is required to use LibModSecurity with nginx.
318%endif
319
320
321%debug_package
322
323
324%prep
325%setup -q -a 1000 -a 1010 -a 1020 -a 1030 %{?with_wsgi:-a 2000} -a 2010 %{?with_naxsi:-a 2020} %{?with_geoip2:-a 2030} %{?with_modsecurity:-a 2040}
326
327%patch0 -p0
328
329# pushd passenger-%{passenger_version}/ext/
330# %patch100 -p2
331# popd
332
333pushd gnosek-nginx-upstream-fair-%{upstream_fair_version}
334%patch101 -p1
335popd
336
337%if %{?_dist_release} == "vl7"
338pushd passenger-%{passenger_version}
339#% patch1000 -p1
340popd
341%endif
342
343%if %{with modsecurity}
344pushd modsecurity-nginx-v%{modsecurity_version}
345%endif
346
347%build
348# nginx does not utilize a standard configure script.  It has its own
349# and the standard configure options cause the nginx configure script
350# to error out.  This is is also the reason for the DESTDIR environment
351# variable.  The configure script(s) have been patched (Patch1 and
352# Patch2) in order to support installing into a build environment.
353
354export DESTDIR=%{buildroot}
355
356
357CONFIGOPTS="\
358    --user=%{nginx_user} \
359    --group=%{nginx_group} \
360    --prefix=%{nginx_datadir} \
361    --sbin-path=%{_sbindir}/%{name} \
362    --modules-path=%{nginx_modulesdir} \
363    --conf-path=%{nginx_confdir}/%{name}.conf \
364    --error-log-path=%{nginx_logdir}/error.log \
365    --http-log-path=%{nginx_logdir}/access.log \
366    --http-client-body-temp-path=%{nginx_home_tmp}/client_body \
367    --http-proxy-temp-path=%{nginx_home_tmp}/proxy \
368    --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
369%if %{with systemd}
370    --pid-path=/run/nginx.pid \
371%else
372    --pid-path=%{_localstatedir}/run/%{name}.pid \
373%endif
374    --lock-path=%{_localstatedir}/lock/subsys/%{name} \
375    --with-file-aio \
376    --with-ipv6 \
377    --with-http_ssl_module \
378    --with-http_v2_module \
379    --with-http_realip_module \
380    --with-http_addition_module \
381    --with-http_xslt_module=dynamic \
382    --with-http_image_filter_module=dynamic \
383%if %{with geoip}
384    --with-http_geoip_module=dynamic \
385%endif
386    --with-http_sub_module \
387    --with-http_dav_module \
388    --with-http_flv_module \
389    --with-http_mp4_module \
390    --with-http_gunzip_module \
391    --with-http_gzip_static_module \
392    --with-http_auth_request_module \
393    --with-http_random_index_module \
394    --with-http_secure_link_module \
395    --with-http_degradation_module \
396    --with-http_stub_status_module \
397    --with-http_perl_module=dynamic \
398    --with-mail=dynamic \
399    --with-mail_ssl_module \
400    --with-stream=dynamic \
401    --with-stream_ssl_preread_module \
402    --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \
403    --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \
404    --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \
405%if %{with wsgi}
406    --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \
407%endif
408    --add-dynamic-module=nginx-dav-ext-module-%{nginx_dav_ext_module_version} \
409%if %{with naxsi}
410    --add-dynamic-module=naxsi-%{naxsi_srcversion}/naxsi_src \
411%endif
412%if %{with geoip2}
413    --add-dynamic-module=ngx_http_geoip2_module-%{geoip2_version} \
414%endif
415%if %{with modsecurity}
416    --add-dynamic-module=modsecurity-nginx-v%{modsecurity_version} \
417%endif
418    --add-dynamic-module=passenger-%{passenger_version}/src/nginx_module \
419%ifarch i686
420    --with-cpu-opt=pentiumpro \
421    --with-zlib-asm=pentiumpro \
422    --with-md5-asm \
423    --with-sha1-asm \
424%endif
425"
426
427./configure \
428    $CONFIGOPTS \
429    --with-cc-opt="%{optflags}"
430
431make %{?_smp_mflags}
432
433%install
434rm -rf %{buildroot}
435make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
436find %{buildroot} -type f -name .packlist -exec rm -f {} \;
437find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \;
438find %{buildroot} -type f -empty -exec rm -f {} \;
439find %{buildroot} -type f -exec chmod 0644 {} \;
440find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \;
441chmod 0755 %{buildroot}%{_sbindir}/nginx
442
443%if %{with systemd}
444install -p -d -m 0755 %{buildroot}%{_unitdir}
445install -p -D -m 0644 %{SOURCE21} \
446    %{buildroot}%{_unitdir}/nginx.service
447sed -i -e 's#KillMode=.*#KillMode=process#g' \
448    %{buildroot}%{_unitdir}/nginx.service
449install -p -D -m 0755 %{SOURCE22} %{buildroot}%{_bindir}/nginx-upgrade
450install -p -D -m 0644 %{SOURCE23} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
451%else
452%{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
453%endif
454
455%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
456%{__install} -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
457%{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
458%{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/sites.d
459%{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{nginx_confdir}/sites.d/virtual.conf.template
460%{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf
461%{__sed} \
462        -e 's/__NGINXUSER__/%{nginx_user}/g' \
463%if %{with systemd}
464        -e 's|/var/run/nginx.pid|/run/nginx.pid|g' \
465%endif
466        %{SOURCE10} > %{buildroot}%{nginx_confdir}/nginx.conf
467%{__cp} %{buildroot}%{nginx_confdir}/nginx.conf %{buildroot}%{nginx_confdir}/nginx.conf.default
468%{__install} -p -m 0644 %{SOURCE11} %{buildroot}%{nginx_confdir}/sites.d/default
469%{__install} -p -m 0644 %{SOURCE20} %{buildroot}%{nginx_confdir}/conf.d/proxy_cache.conf
470%{__install} -p -d -m 0755 %{buildroot}%{nginx_home_cache}
471%{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
472%{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
473%{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot}
474%{__install} -p -m 0644 %{SOURCE100} %{buildroot}%{nginx_webroot}/index.html
475%{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{nginx_webroot}/poweredby.png
476%{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{nginx_webroot}/nginx-logo.png
477%{__install} -p -m 0644 %{SOURCE103} %{buildroot}%{nginx_webroot}/50x.html
478%{__install} -p -m 0644 %{SOURCE104} %{buildroot}%{nginx_webroot}/404.html
479
480%{__install} -p -d -m 0755 %{buildroot}%{nginx_modulesdir}
481%{__install} -p -d -m 0755 %{buildroot}%{nginx_modconfdir}
482
483%if %{with wsgi}
484%{__install} -p -m 0644 \
485    lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \
486    %{buildroot}%{nginx_confdir}
487cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi
488%endif
489
490# upstream fair module document
491cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair
492
493# document for nginx-dav-ext-module
494cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/LICENSE LICENSE.dav-ext-module
495cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/README.rst README.dav-ext-module.rst
496
497# configuration for dynamic modules
498%if %{with geoip}
499echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip_module.so";' \
500    > %{buildroot}%{nginx_modconfdir}/geoip.conf
501%endif
502echo 'load_module "%{nginx_modulesdir}/ngx_http_image_filter_module.so";' \
503    > %{buildroot}%{nginx_modconfdir}/image-filter.conf
504echo 'load_module "%{nginx_modulesdir}/ngx_http_perl_module.so";' \
505    > %{buildroot}%{nginx_modconfdir}/perl.conf
506echo 'load_module "%{nginx_modulesdir}/ngx_http_xslt_filter_module.so";' \
507    > %{buildroot}%{nginx_modconfdir}/xslt-filter.conf
508echo 'load_module "%{nginx_modulesdir}/ngx_mail_module.so";' \
509    > %{buildroot}%{nginx_modconfdir}/mail.conf
510echo 'load_module "%{nginx_modulesdir}/ngx_stream_module.so";' \
511    > %{buildroot}%{nginx_modconfdir}/stream.conf
512echo 'load_module "%{nginx_modulesdir}/ngx_http_dav_ext_module.so";' \
513    > %{buildroot}%{nginx_modconfdir}/dav-ext.conf
514
515echo 'load_module "%{nginx_modulesdir}/ngx_http_passenger_module.so";' \
516    > %{buildroot}%{nginx_modconfdir}/passenger.conf
517
518%if %{with geoip2}
519# geoip2 module
520cp -f ngx_http_geoip2_module-%{geoip2_version}/LICENSE LICENSE.geoip2
521cp -f ngx_http_geoip2_module-%{geoip2_version}/README.md README.geoip2.md
522echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip2_module.so";' \
523    > %{buildroot}%{nginx_modconfdir}/http-geoip2.conf
524echo 'load_module "%{nginx_modulesdir}/ngx_stream_geoip2_module.so";' \
525    > %{buildroot}%{nginx_modconfdir}/stream-geoip2.conf
526%endif
527
528%if %{with naxsi}
529# NAXSI module
530cp -f naxsi-%{naxsi_srcversion}/LICENSE LICENSE.naxsi
531cp -f naxsi-%{naxsi_srcversion}/README.md README.naxsi.md
532install -p -m0644 naxsi-%{naxsi_srcversion}/naxsi_config/naxsi_core.rules \
533    %{buildroot}%{nginx_confdir}/
534install -p -m0644 %{SOURCE2021} %{buildroot}%{nginx_confdir}/naxsi_params
535echo 'load_module "%{nginx_modulesdir}/ngx_http_naxsi_module.so";' \
536    > %{buildroot}%{nginx_modconfdir}/naxsi.conf
537%endif
538
539%if %{with modsecurity}
540# modsecurity module
541echo 'load_module "%{nginx_modulesdir}/ngx_http_modsecurity_module.so";' \
542    > %{buildroot}%{nginx_modconfdir}/modsecurity.conf
543%endif
544
545touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf
546
547# convert to UTF-8 all files that give warnings.
548for textfile in CHANGES
549do
550    mv $textfile $textfile.old
551    iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old
552    rm -f $textfile.old
553done
554
555%clean
556rm -rf %{buildroot}
557
558%pre
559if [ -L %{_sbindir}/nginx ]; then
560    update-alternatives --remove nginx %{_sbindir}/nginx.normal ||:
561    update-alternatives --remove nginx %{_sbindir}/nginx.passenger ||:
562        rm -f %{_sbindir}/nginx
563fi
564
565%post
566%if %{with systemd}
567%systemd_post nginx.service
568%else
569if [ $1 == 1 ]; then
570    /sbin/chkconfig --add %{name}
571fi
572%endif
573
574%preun
575%if %{with systemd}
576%systemd_preun nginx.service
577%else
578if [ $1 = 0 -o -x /bin/systemctl ]; then
579    /sbin/service %{name} stop >/dev/null 2>&1
580    /sbin/chkconfig --del %{name}
581fi
582%endif
583
584%postun
585%if %{with systemd}
586%systemd_postun nginx.service
587if [ $1 -ge 1 ]; then
588    /usr/bin/nginx-upgrade >/dev/null 2>&1 || :
589fi
590%else
591if [ $1 == 2 ]; then
592    /sbin/service %{name} upgrade || :
593fi
594%endif
595
596%if %{with systemd}
597%if %{with geoip}
598%post geoip
599if [ $1 -eq 1 ]; then
600    systemctl reload nginx.service >/dev/null 2>&1 || :
601fi
602%endif
603
604%post image-filter
605if [ $1 -eq 1 ]; then
606    systemctl reload nginx.service >/dev/null 2>&1 || :
607fi
608
609%post perl
610if [ $1 -eq 1 ]; then
611    systemctl reload nginx.service >/dev/null 2>&1 || :
612fi
613
614%post xslt-filter
615if [ $1 -eq 1 ]; then
616    systemctl reload nginx.service >/dev/null 2>&1 || :
617fi
618
619%post mail
620if [ $1 -eq 1 ]; then
621    systemctl reload nginx.service >/dev/null 2>&1 || :
622fi
623
624%post stream
625if [ $1 -eq 1 ]; then
626    systemctl reload nginx.service >/dev/null 2>&1 || :
627fi
628
629%post dav-ext
630if [ $1 -eq 1 ]; then
631    systemctl reload nginx.service >/dev/null 2>&1 || :
632fi
633
634%post http-geoip2
635if [ $1 -eq 1 ]; then
636    systemctl reload nginx.service >/dev/null 2>&1 || :
637fi
638
639%post stream-geoip2
640if [ $1 -eq 1 ]; then
641    systemctl reload nginx.service >/dev/null 2>&1 || :
642fi
643
644%if %{with naxsi}
645%post naxsi
646if [ $1 -eq 1 ]; then
647    systemctl reload nginx.service >/dev/null 2>&1 || :
648fi
649%endif
650
651%if %{with modsecurity}
652%post modsecurity
653if [ $1 -eq 1 ]; then
654    systemctl reload nginx.service >/dev/null 2>&1 || :
655fi
656%endif
657%endif
658
659
660%files
661%defattr(-,root,root,-)
662%license LICENSE
663%doc CHANGES README
664%doc README.upstream_fair
665%doc %{?with_wsgi:README.mod_wsgi}
666%{nginx_datadir}/
667%{_sbindir}/%{name}
668%{_mandir}/man3/%{name}.3pm.gz
669%if %{with systemd}
670%{_bindir}/nginx-upgrade
671%{_mandir}/man8/nginx-upgrade.8*
672%{_unitdir}/nginx.service
673%else
674%{_initrddir}/%{name}
675%endif
676%dir %{nginx_modulesdir}
677%dir %{nginx_modconfdir}
678%dir %{nginx_confdir}
679%dir %{nginx_confdir}/conf.d
680%config(noreplace) %{nginx_confdir}/conf.d/*.conf
681%ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf
682%config(noreplace) %{nginx_confdir}/sites.d/*
683%config(noreplace) %{nginx_confdir}/win-utf
684%config(noreplace) %{nginx_confdir}/%{name}.conf.default
685%config(noreplace) %{nginx_confdir}/mime.types.default
686%config(noreplace) %{nginx_confdir}/fastcgi_params
687%config(noreplace) %{nginx_confdir}/fastcgi_params.default
688%config(noreplace) %{nginx_confdir}/koi-win
689%config(noreplace) %{nginx_confdir}/koi-utf
690%config(noreplace) %{nginx_confdir}/%{name}.conf
691%config(noreplace) %{nginx_confdir}/mime.types
692%config(noreplace) %{nginx_confdir}/fastcgi.conf
693%config(noreplace) %{nginx_confdir}/fastcgi.conf.default
694%config(noreplace) %{nginx_confdir}/scgi_params
695%config(noreplace) %{nginx_confdir}/scgi_params.default
696%config(noreplace) %{nginx_confdir}/uwsgi_params
697%config(noreplace) %{nginx_confdir}/uwsgi_params.default
698%if %{with wsgi}
699%config(noreplace) %{nginx_confdir}/wsgi_vars
700%endif
701%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
702%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
703%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
704%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
705%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache}
706%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
707
708%files passenger
709%defattr(-,root,root,-)
710%doc passenger-%{passenger_version}/doc/*.md
711%doc passenger-%{passenger_version}/doc/*.txt
712%doc passenger-%{passenger_version}/doc/*.html
713%doc passenger-%{passenger_version}/doc/templates
714%doc passenger-%{passenger_version}/doc/users_guide_snippets
715%doc passenger-%{passenger_version}/doc/images
716%config(noreplace) %{nginx_modconfdir}/passenger.conf
717%{nginx_modulesdir}/ngx_http_passenger_module.so
718
719%if %{with geoip}
720%files geoip
721%config(noreplace) %{nginx_modconfdir}/geoip.conf
722%{nginx_modulesdir}/ngx_http_geoip_module.so
723%endif
724
725%files image-filter
726%config(noreplace) %{nginx_modconfdir}/image-filter.conf
727%{nginx_modulesdir}/ngx_http_image_filter_module.so
728
729%files perl
730%config(noreplace) %{nginx_modconfdir}/perl.conf
731%{nginx_modulesdir}/ngx_http_perl_module.so
732%dir %{perl_vendorarch}/auto/%{name}
733%{perl_vendorarch}/%{name}.pm
734%{perl_vendorarch}/auto/%{name}/%{name}.so
735
736%files xslt-filter
737%config(noreplace) %{nginx_modconfdir}/xslt-filter.conf
738%{nginx_modulesdir}/ngx_http_xslt_filter_module.so
739
740%files mail
741%config(noreplace) %{nginx_modconfdir}/mail.conf
742%{nginx_modulesdir}/ngx_mail_module.so
743
744%files stream
745%config(noreplace) %{nginx_modconfdir}/stream.conf
746%{nginx_modulesdir}/ngx_stream_module.so
747
748%files dav-ext
749%license LICENSE.dav-ext-module
750%doc README.dav-ext-module.rst
751%config(noreplace) %{nginx_modconfdir}/dav-ext.conf
752%{nginx_modulesdir}/ngx_http_dav_ext_module.so
753
754%if %{with geoip2}
755%files http-geoip2
756%license LICENSE.geoip2
757%doc README.geoip2.md
758%{nginx_modulesdir}/ngx_http_geoip2_module.so
759%config(noreplace) %{nginx_modconfdir}/http-geoip2.conf
760
761%files stream-geoip2
762%license LICENSE.geoip2
763%doc README.geoip2.md
764%{nginx_modulesdir}/ngx_stream_geoip2_module.so
765%config(noreplace) %{nginx_modconfdir}/stream-geoip2.conf
766%endif
767
768%if %{with naxsi}
769%files naxsi
770%defattr(-,root,root,-)
771%license LICENSE.naxsi
772%doc README.naxsi.md
773%{nginx_modulesdir}/ngx_http_naxsi_module.so
774%config(noreplace) %{nginx_modconfdir}/naxsi.conf
775%config(noreplace) %{nginx_confdir}/naxsi_params
776%config(noreplace) %{nginx_confdir}/naxsi_core.rules
777%endif
778
779%if %{with modsecurity}
780%files modsecurity
781%defattr(-,root,root,-)
782%license modsecurity-nginx-v%{modsecurity_version}/LICENSE
783%doc modsecurity-nginx-v%{modsecurity_version}/README.md
784%{nginx_modulesdir}/ngx_http_modsecurity_module.so
785%config(noreplace) %{nginx_modconfdir}/modsecurity.conf
786%endif
787
788%changelog
789* Tue May 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-1
790- updated to 1.18.0.
791- disabled NAXSI as default.
792
793* Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-6
794- added systemd support (disabled as default).
795
796* Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-5
797- updated modsecurity module to 1.0.1.
798- dropped Patch2040 and 2041: fixed in upstream.
799
800* Wed Nov 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-4
801- added Patch2041.
802
803* Thu Oct 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-3
804- added Patch2040.
805
806* Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-2
807- added ModSecurity module.
808
809* Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-1
810- updated to 1.16.1.
811- made to install NAXSI as a dynamic module.
812
813* Wed Aug 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-3
814- added NAXSI module.
815
816* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-2
817- rebuilt with perl-5.26.
818
819* Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
820- updated to 1.16.0.
821- updated passenger to 6.0.2.
822- updated nginx-dav-ext-module to 3.0.0.
823- dropped Patch1001: fixed in upstream.
824
825* Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.15.5-1
826- updated to 1.15.5.
827- updated passenger to 5.3.6.
828- updated ngx_fancyindex_version to 0.4.3.
829
830* Mon Mar 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.13.9-1
831- updated to 1.13.9.
832- updated ngx-fancyindex to 0.4.2.
833- updated nginx-accept_language_module to git HEAD.
834- updated nginx-upstream-fair to git HEAD.
835- updated passenger to 5.2.1.
836- added Source2010 (nginx-dav-ext-module).
837- enabled --with-stream and --with-stream_ssl_preread_module.
838
839* Fri Sep  8 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.5-1
840- updated to 1.13.5
841- updated passenger to 5.1.8
842
843* Fri Aug 11 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.4-1
844- updated to 1.13.4
845- updated passenger to 5.1.7
846
847* Fri Jul 14 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.3-1
848- updated to 1.13.3
849
850* Sat Jul  1 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.2-1
851- updated to 1.13.2
852
853* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.1-1
854- updated to 1.13.1
855- updated passenger to 5.1.5
856
857* Wed Apr 26 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.0-1
858- updated to 1.13.0
859
860* Wed Apr  5 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.13-1
861- updated to 1.11.13
862
863* Sat Mar 25 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.12-1
864- updated to 1.11.12
865
866* Tue Mar  7 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.10-1
867- updated to 1.11.10
868- updated passenger to 5.1.2
869
870* Tue Jan 31 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.9-1
871- updated to 1.11.9
872
873* Wed Dec 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.8-1
874- updated to 1.11.8
875
876* Sat Nov 19 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.6-1
877- updated to 1.11.6
878- applied gnosek-nginx-upstream-fair-pull-23.patch against nginx-1.11.6
879
880* Mon Sep  5 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.3-1
881- updated to 1.11.3
882- updated passenger to 5.0.30
883
884* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.10.1-2
885- rebuild with gcc-5.4.0
886
887* Tue Jun 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.1-1
888- updated to 1.10.1.
889- updated passenger to 5.0.28.
890
891* Wed Apr 20 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.15-1
892- updated to 1.9.15
893
894* Thu Apr  7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.14-1
895- updated to 1.9.14
896- updated passenger to 5.0.27
897
898* Wed Apr  6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.13-1
899- new upstream release
900
901* Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1
902- updated to 1.9.12.
903- updated passenger to 5.0.26.
904
905* Wed Feb 17 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.11-1
906- new upstream release
907
908* Wed Feb  3 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.10-1
909- update to 1.9.10
910- update passenger to 5.0.24
911
912* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-2
913- update passenger to 5.0.23
914
915* Sun Dec 20 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-1
916- new upstream release
917
918* Sat Dec  5 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.7-1
919- new upstream release
920
921* Sat Oct 10 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.5-1
922- new upstream release
923
924* Sun Aug 23 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.4-1
925- new upstream release
926
927* Thu Jul 16 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.3-1
928- update to 1.9.3
929- update passenger to 5.0.11
930
931* Thu Jun 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.2-2
932- updated Source4 (ssl.conf).
933
934* Wed Jun 17 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.2-1
935- update to 1.9.2
936- update passenger to 5.0.10
937- update ngx-fancyindex to 0.3.5
938
939* Thu Sep 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.2-1
940- update to 1.6.2
941- update passenger to 4.0.52
942
943* Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.1-1
944- new upstream release
945
946* Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-3
947- rebuild with new environment
948
949* Mon Jun 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-2
950- update passenger to 4.0.45
951
952* Fri Apr 25 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-1
953- update to 1.6.0 (stable)
954
955* Thu Feb 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-2
956- update fancyindex to 0.3.3
957
958* Wed Feb 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-1
959- update to 1.5.10
960- update passenger to 4.0.37
961
962* Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.6-2
963- rebuilt with GeoIP-1.6.0.
964- added Patch100.
965
966* Tue Oct 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1
967- update to 1.5.6
968- update passenger to 4.0.21
969
970* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-2
971- rebuilt with gd-2.1.0.
972
973* Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1
974- update to 1.4.1
975
976* Mon Apr 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1
977- update to 1.4.0
978- enable SPDY module
979
980* Wed Feb 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-1
981- new upstream release
982- update passenger to 3.0.19
983- update ngx-fancyindex to upstream git master
984
985* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
986- new upstream release
987- update passenger to 3.0.17
988
989* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-3
990- rebuild with pcre-8.31
991
992* Tue Oct 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-2
993- added http_geoip_module.
994
995* Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1
996- update to 1.2.4
997
998* Thu Jul 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
999- update to 1.2.2
1000
1001* Thu Jun 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
1002- update to 1.2.1
1003- change nginx user from nginx to www-data
1004- R(pre): www-common
1005
1006* Wed Apr 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
1007- update to 1.2.0
1008- update passenger to 3.0.12
1009- drop http_upstream_keepalive
1010
1011* Mon Mar 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1
1012- new upstream release
1013
1014* Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1
1015- update to 1.0.12
1016
1017* Tue Jan 10 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.11-1
1018- update to 1.0.11
1019- update passenger to 3.0.11
1020
1021* Mon Nov 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1
1022- update to 1.0.10
1023
1024* Tue Sep 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2
1025- update passenger to 3.0.9
1026
1027* Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
1028- update to 1.0.6
1029
1030* Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
1031- update to 1.0.4
1032
1033* Wed May 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-3
1034- add gnosek-nginx-upstream-fair module
1035- add ngx_http_upstream_keepalive module
1036
1037* Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
1038- add nginx-passenger sub pakckage
1039  - use alternatives to choose nginx with or without passenger
1040  - add BR: ruby, rubygems, rubygem-rake
1041
1042* Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
1043- update to 1.0.2
1044
1045* Wed May 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
1046- update to 1.0.1
1047
1048* Sun May 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2
1049- add bcond_with wsgi for mod_wsgi
1050- add bcond_with passenger
1051  - you need to install rake.gem to build with this option.
1052- add Provides: webserver
1053
1054* Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
1055- new upstream release 1.0.0!
1056
1057* Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2
1058- rebuild with perl-5.12.3
1059
1060* Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1
1061- update to 0.8.54
1062
1063* Sun Nov 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.53-1
1064- update to 0.8.53
1065- add nginx_accept_language_module
1066
1067* Fri Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1
1068- update to 0.8.50
1069- update ngx-fancyindex to 0.3
1070- add BR: libxml2-devel, libxslt-devel
1071- add scgi_params* and uwsgi_params* to %%files
1072
1073* Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1
1074- update to 0.8.35 (development version)
1075- add sites.d/ to store vitualhost settings
1076- split out default server settings to sites.d/default
1077- add fancyindex module
1078
1079* Fri Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1
1080- new upstream release
1081
1082* Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.7.62-1
1083- update to 0.7.62 (included security fix: VU#180065)
1084
1085* Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-4
1086- fix typo
1087
1088* Thu Aug 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-3
1089- add translated descriptions
1090
1091* Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-2
1092- update 404.html/50x.html to use powered by vine logo.
1093
1094* Wed Jul 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-1
1095- initial build for Vine Linux
1096- update to 0.7.61
1097
1098* Sun May 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-2
1099- init script updates from Gena Makhomed
1100- remove nginx-upstream-fair
1101
1102* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-1
1103-  update to 0.6.36
1104
1105* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-3
1106- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1107
1108* Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-2
1109- rebuild
1110
1111* Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-1
1112- update to 0.6.35
1113
1114* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.6.34-2
1115- rebuild with new openssl
1116
1117* Tue Dec 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.34-1
1118- update to 0.6.34
1119
1120* Thu Dec  4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.33-2
1121- Fix inclusion of /usr/share/nginx tree => no unowned directories.
1122
1123* Sun Nov 23 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.33-1
1124- update to 0.6.33
1125
1126* Tue Jul 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.32-1
1127- update to 0.6.32
1128- nginx now supports DESTDIR so removed the patches that enabled it
1129
1130* Mon May 26 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-3
1131- init script fixes
1132- resolve 'listen 80 default' [#447873]
1133
1134* Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-2
1135- update to 0.6.31
1136
1137* Sun May 11 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.30-2
1138- upate to new upstream stable branch 0.6
1139- added 3rd party module nginx-upstream-fair
1140- added default webpages
1141
1142* Sun Apr 20 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-2
1143- update init script to match recommended guidelines
1144- add /etc/nginx/conf.d support [#443280]
1145- use /etc/sysconfig/nginx to determine nginx.conf [#442708]
1146
1147* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3
1148- add Requires for versioned perl (libperl.so)
1149- drop silly file Requires
1150
1151* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2
1152- Autorebuild for GCC 4.3
1153
1154* Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-1
1155- update to 0.5.35
1156
1157* Sat Dec 15 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.34-1
1158- update to 0.5.34
1159
1160* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.5.33-2
1161 - Rebuild for deps
1162
1163* Sun Nov 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.33-1
1164- update to 0.5.33
1165
1166* Mon Sep 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.32-1
1167- updated to 0.5.32
1168- fixed rpmlint UTF-8 complaints.
1169
1170* Sat Aug 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-2
1171- added --with-http_stub_status_module build option.
1172- added --with-http_sub_module build option.
1173- added use of pcre-config --cflags
1174
1175* Fri Aug 17 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-1
1176- Update to 0.5.31
1177- specify license is BSD
1178
1179* Sat Aug 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-2
1180- Add BuildRequires: perl-devel - fixing rawhide build
1181
1182* Mon Jul 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-1
1183- Update to 0.5.30
1184
1185* Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.29-1
1186- Update to 0.5.29
1187
1188* Wed Jul 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.28-1
1189- Update to 0.5.28
1190
1191* Mon Jul 09 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.27-1
1192- Update to 0.5.27
1193
1194* Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.26-1
1195- Update to 0.5.26
1196
1197* Sat Apr 28 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.19-1
1198- Update to 0.5.19
1199
1200* Mon Apr 02 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.17-1
1201- Update to 0.5.17
1202
1203* Mon Mar 26 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.16-1
1204- Update to 0.5.16
1205- add ownership of /usr/share/nginx/html (#233950)
1206
1207* Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-3
1208- fixed package review bugs (#235222) given by ruben@rubenkerkhof.com
1209
1210* Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-2
1211- fixed package review bugs (#233522) given by kevin@tummy.com
1212
1213* Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-1
1214- create patches to assist with building for Fedora
1215- initial packaging for Fedora
Note: See TracBrowser for help on using the repository browser.