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

Revision 12506, 39.0 KB checked in by tomop, 3 years ago (diff)

updated 16 packages

bluez-5.55-1

firefox-78.4.0-1

llvm-11.0.0-2

libdrm-2.4.102-1

libmodsecurity-3.0.4-2

mesa-20.2.1-1

nginx-1.18.0-8

nspr-4.29-1

nss-3.58-1

oniguruma-6.9.5.rev1-3

python-mako-1.1.3-1

python-markupsafe-1.1.1-2

rust-1.47.0-1

thunderbird-78.4.0-1

tigervnc-1.11.0-1

xorg-x11-server-1.20.9-2

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