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

Revision 12121, 33.6 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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