[12121] | 1 | %global nginx_version 1.16.1 |
---|
| 2 | |
---|
[3785] | 3 | # build mod_wsgi |
---|
| 4 | %bcond_with wsgi |
---|
| 5 | |
---|
[6903] | 6 | # build http_geoip_module |
---|
[7199] | 7 | %if "%{_dist_release}" >= "vl7" |
---|
[6903] | 8 | %bcond_without geoip |
---|
[7199] | 9 | %else |
---|
| 10 | %bcond_with geoip |
---|
| 11 | %endif |
---|
[12121] | 12 | %bcond_without geoip2 |
---|
| 13 | %bcond_without naxsi |
---|
[6903] | 14 | |
---|
[12121] | 15 | %global nginx_modulesdir %{_libdir}/nginx/modules |
---|
| 16 | %global nginx_modconfdir %{_sysconfdir}/nginx/modules.d |
---|
| 17 | |
---|
[6601] | 18 | %if "%{_dist_release}" > "vl6" |
---|
| 19 | %define nginx_user www-data |
---|
| 20 | %else |
---|
[521] | 21 | %define nginx_user nginx |
---|
[6601] | 22 | %endif |
---|
[521] | 23 | %define nginx_group %{nginx_user} |
---|
| 24 | %define nginx_home %{_localstatedir}/lib/nginx |
---|
| 25 | %define nginx_home_tmp %{nginx_home}/tmp |
---|
[854] | 26 | %define nginx_home_cache %{nginx_home}/cache |
---|
[521] | 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 | |
---|
| 32 | Summary: Robust, small and high performance http and reverse proxy server |
---|
| 33 | Summary(ja): 堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ |
---|
| 34 | Name: nginx |
---|
[12121] | 35 | Version: %{nginx_version} |
---|
| 36 | # do not reset or decrease. |
---|
| 37 | Release: 1%{?_dist_release} |
---|
[521] | 38 | |
---|
| 39 | Group: System Environment/Daemons |
---|
| 40 | # BSD License (two clause) |
---|
| 41 | # http://www.freebsd.org/copyright/freebsd-license.html |
---|
| 42 | License: BSD |
---|
| 43 | URL: http://nginx.net/ |
---|
[854] | 44 | |
---|
| 45 | Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz |
---|
| 46 | Source1: %{name}.init |
---|
| 47 | Source2: %{name}.logrotate |
---|
| 48 | Source3: nginx-virtual.conf.template |
---|
| 49 | Source4: nginx-ssl.conf |
---|
| 50 | Source5: %{name}.sysconfig |
---|
| 51 | Source10: nginx-vine.conf |
---|
| 52 | Source11: nginx-default-vine |
---|
| 53 | Source20: proxy_cache.conf |
---|
| 54 | Source100: nginx-index.html |
---|
| 55 | Source101: poweredby-vine.png |
---|
| 56 | Source102: nginx-logo.png |
---|
| 57 | Source103: nginx-50x.html |
---|
| 58 | Source104: nginx-404.html |
---|
[11577] | 59 | |
---|
[11873] | 60 | %define ngx_fancyindex_version 0.4.3 |
---|
[11577] | 61 | Source1000: ngx-fancyindex-%{ngx_fancyindex_version}.tar.gz |
---|
| 62 | |
---|
| 63 | %define nginx_accept_language_module_version 2f69842 |
---|
[2236] | 64 | Source1010: giom-nginx_accept_language_module-%{nginx_accept_language_module_version}.tar.gz |
---|
[10356] | 65 | |
---|
| 66 | ## https://github.com/phusion/passenger/archive/release-%{passenger_version}.tar.gz |
---|
[12062] | 67 | %define passenger_version 6.0.2 |
---|
[3906] | 68 | Source1020: passenger-%{passenger_version}.tar.gz |
---|
[11577] | 69 | |
---|
| 70 | %define upstream_fair_version a18b409 |
---|
[3906] | 71 | Source1030: gnosek-nginx-upstream-fair-%{upstream_fair_version}.tar.gz |
---|
[854] | 72 | |
---|
[3906] | 73 | %define mod_wsgi_version 6975f0ec7eeb |
---|
| 74 | Source2000: lifeeth-mod_wsgi-%{mod_wsgi_version}.tar.bz2 |
---|
| 75 | |
---|
[12062] | 76 | %define nginx_dav_ext_module_version 3.0.0 |
---|
[11577] | 77 | Source2010: 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 | |
---|
[12121] | 79 | %if %{with naxsi} |
---|
| 80 | %global with_naxsi 1 |
---|
| 81 | %global naxsi_version 0.56 |
---|
| 82 | %global naxsi_srcversion untagged-afabfc163946baa8036f |
---|
| 83 | Source2020: https://github.com/nbs-system/naxsi/archive/%{naxsi_srcversion}.tar.gz#/naxsi-%{naxsi_srcversion}.tar.gz |
---|
| 84 | Source2021: naxsi_params |
---|
| 85 | %endif |
---|
| 86 | |
---|
| 87 | %if %{with geoip2} |
---|
| 88 | %global with_geoip2 1 |
---|
| 89 | %global geoip2_version 3.2 |
---|
| 90 | Source2030: https://github.com/leev/ngx_http_geoip2_module/archive/%{geoip2_version}.tar.gz#/ngx_http_geoip2_module-3.2.tar.gz |
---|
| 91 | %endif |
---|
| 92 | |
---|
[854] | 93 | # removes -Werror in upstream build scripts. -Werror conflicts with |
---|
| 94 | # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. |
---|
| 95 | Patch0: nginx-auto-cc-gcc.patch |
---|
| 96 | |
---|
[8125] | 97 | # to fix https://svn.boost.org/trac/boost/ticket/8731 |
---|
| 98 | Patch100: boost-changeset_84950.diff |
---|
| 99 | |
---|
[10824] | 100 | # to fix https://github.com/gnosek/nginx-upstream-fair/pull/23 |
---|
| 101 | Patch101: gnosek-nginx-upstream-fair-pull-23.patch |
---|
| 102 | |
---|
[10356] | 103 | # to fix compile error with C++11. |
---|
| 104 | Patch1000: passenger-5.0.28-boost.patch |
---|
| 105 | |
---|
[521] | 106 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 107 | |
---|
[10925] | 108 | %if "%{_dist_release}" > "vl6" |
---|
| 109 | BuildRequires: libboost-devel |
---|
| 110 | %endif |
---|
[12062] | 111 | BuildRequires: libxcrypt-devel |
---|
| 112 | BuildRequires: libnsl2-devel |
---|
[521] | 113 | BuildRequires: pcre-devel |
---|
| 114 | BuildRequires: zlib-devel |
---|
| 115 | BuildRequires: openssl-devel |
---|
[1898] | 116 | BuildRequires: libxml2-devel |
---|
| 117 | BuildRequires: libxslt-devel |
---|
[3906] | 118 | BuildRequires: curl-devel |
---|
[1898] | 119 | |
---|
[521] | 120 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 121 | # for /usr/sbin/useradd |
---|
| 122 | Requires(pre): shadow-utils |
---|
| 123 | Requires(post): chkconfig |
---|
| 124 | # for /sbin/service |
---|
| 125 | Requires(preun): chkconfig, initscripts |
---|
| 126 | Requires(postun): initscripts |
---|
[6601] | 127 | %if "%{_dist_release}" > "vl6" |
---|
| 128 | Requires(pre): www-common |
---|
| 129 | %endif |
---|
[521] | 130 | |
---|
[3785] | 131 | Provides: webserver |
---|
| 132 | |
---|
[854] | 133 | Vendor: Project Vine |
---|
| 134 | Distribution: Vine Linux |
---|
| 135 | Packager: daisuke |
---|
[521] | 136 | |
---|
| 137 | %description |
---|
| 138 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 139 | proxy server written by Igor Sysoev. |
---|
| 140 | |
---|
| 141 | %description -l ja |
---|
| 142 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 143 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 144 | - HTTP(S) サーバ |
---|
| 145 | - HTTP(S) リバースプロキシサーバ |
---|
| 146 | - IMAP/POP3 プロキシサーバ |
---|
| 147 | |
---|
[3847] | 148 | %package passenger |
---|
| 149 | Summary: Nginx with mod_passenger support |
---|
| 150 | Summary(ja): Passenger サポート入りの Nginx |
---|
[12121] | 151 | Version: %{passenger_version} |
---|
[7199] | 152 | Group: System Environment/Daemons |
---|
| 153 | BuildRequires: ruby, rubygem-rake |
---|
| 154 | Requires: ruby, rubygem-rake |
---|
| 155 | %if "%{_dist_release}" >= "vl7" |
---|
| 156 | BuildRequires: ruby-devel, ruby-rubygems |
---|
| 157 | Requires: ruby-rubygems |
---|
| 158 | %else |
---|
| 159 | BuildRequires: rubygems |
---|
| 160 | Requires: rubygems |
---|
| 161 | %endif |
---|
[12121] | 162 | Requires: %{name} = %{nginx_version} |
---|
[3847] | 163 | |
---|
| 164 | %description passenger |
---|
| 165 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 166 | This package contains nginx server with passenger support. |
---|
| 167 | |
---|
| 168 | %description -l ja passenger |
---|
| 169 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 170 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 171 | - HTTP(S) サーバ |
---|
| 172 | - HTTP(S) リバースプロキシサーバ |
---|
| 173 | - IMAP/POP3 プロキシサーバ |
---|
| 174 | このパッケージには Passenger サポートを含んだ nginxサーバが入っています。 |
---|
| 175 | |
---|
[12121] | 176 | %if %{with geoip} |
---|
| 177 | %package geoip |
---|
| 178 | Summary: Nginx HTTP geoip module |
---|
| 179 | BuildRequires: GeoIP-devel |
---|
| 180 | Requires: nginx = %{nginx_version} |
---|
| 181 | Requires: GeoIP |
---|
| 182 | |
---|
| 183 | %description geoip |
---|
| 184 | %{summary}. |
---|
| 185 | %endif |
---|
| 186 | |
---|
| 187 | %package image-filter |
---|
| 188 | Summary: Nginx HTTP image filter module |
---|
| 189 | BuildRequires: gd-devel |
---|
| 190 | Requires: %{name} = %{nginx_version} |
---|
| 191 | Requires: gd |
---|
| 192 | |
---|
| 193 | %description image-filter |
---|
| 194 | %{summary}. |
---|
| 195 | |
---|
| 196 | %package perl |
---|
| 197 | Summary: Nginx HTTP perl module |
---|
| 198 | BuildRequires: perl |
---|
| 199 | BuildRequires: perl(ExtUtils::Embed) |
---|
| 200 | Requires: %{name} = %{nginx_version} |
---|
| 201 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 202 | |
---|
| 203 | %description perl |
---|
| 204 | %{summary}. |
---|
| 205 | |
---|
| 206 | %package xslt-filter |
---|
| 207 | Summary: Nginx XSLT module |
---|
| 208 | BuildRequires: libxslt-devel |
---|
| 209 | Requires: %{name} = %{nginx_version} |
---|
| 210 | |
---|
| 211 | %description xslt-filter |
---|
| 212 | %{summary}. |
---|
| 213 | |
---|
| 214 | %package mail |
---|
| 215 | Summary: Nginx mail modules |
---|
| 216 | Requires: %{name} = %{nginx_version} |
---|
| 217 | |
---|
| 218 | %description mail |
---|
| 219 | %{summary}. |
---|
| 220 | |
---|
| 221 | %package stream |
---|
| 222 | Summary: Nginx stream modules |
---|
| 223 | Requires: %{name} = %{nginx_version} |
---|
| 224 | |
---|
| 225 | %description stream |
---|
| 226 | %{summary}. |
---|
| 227 | |
---|
| 228 | %package dav-ext |
---|
| 229 | Summary: Nginx dav-ext modules |
---|
| 230 | Version: %{nginx_dav_ext_module_version} |
---|
| 231 | Requires: %{name} = %{nginx_version} |
---|
| 232 | |
---|
| 233 | %description dav-ext |
---|
| 234 | %{summary}. |
---|
| 235 | |
---|
| 236 | %if %{with geoip2} |
---|
| 237 | %package http-geoip2 |
---|
| 238 | Summary: Nginx HTTP geoip2 modules |
---|
| 239 | Version: %{geoip2_version} |
---|
| 240 | BuildRequires: libmaxminddb-devel |
---|
| 241 | Requires: %{name} = %{nginx_version} |
---|
| 242 | |
---|
| 243 | %description http-geoip2 |
---|
| 244 | %{summary}. |
---|
| 245 | |
---|
| 246 | %package stream-geoip2 |
---|
| 247 | Summary: Nginx stream geoip2 modules |
---|
| 248 | Version: %{geoip2_version} |
---|
| 249 | BuildRequires: libmaxminddb-devel |
---|
| 250 | Requires: %{name} = %{nginx_version} |
---|
| 251 | Requires: %{name}-stream = %{nginx_version} |
---|
| 252 | |
---|
| 253 | %description stream-geoip2 |
---|
| 254 | %{summary}. |
---|
| 255 | %endif |
---|
| 256 | |
---|
| 257 | %if %{with naxsi} |
---|
| 258 | %package naxsi |
---|
| 259 | Summary: an open-source, high performance, low rules maintenance WAF for NGINX |
---|
| 260 | Summary(ja): NGiNXのためのOSS・高パフォーマンス・低メンテナンスコストなWAF |
---|
| 261 | Version: %{naxsi_version} |
---|
| 262 | License: GPL3 |
---|
| 263 | Requires: %{name} = %{nginx_version} |
---|
| 264 | |
---|
| 265 | %description naxsi |
---|
| 266 | NAXSI means Nginx Anti XSS & SQL Injection. |
---|
| 267 | |
---|
| 268 | Technically, it is a third party nginx module, available as a package for |
---|
| 269 | many UNIX-like platforms. This module, by default, reads a small subset of |
---|
| 270 | simple (and readable) rules containing 99% of known patterns involved in |
---|
| 271 | website vulnerabilities. For example, <, | or drop are not supposed to be |
---|
| 272 | part of a URI. |
---|
| 273 | |
---|
| 274 | Being very simple, those patterns may match legitimate queries, it is |
---|
| 275 | the Naxsi's administrator duty to add specific rules that will whitelist |
---|
| 276 | legitimate behaviours. The administrator can either add whitelists manually |
---|
| 277 | by analyzing nginx's error log, or (recommended) start the project with an intensive auto-learning phase that will automatically generate whitelisting |
---|
| 278 | rules regarding a website's behaviour. |
---|
| 279 | |
---|
| 280 | In short, Naxsi behaves like a DROP-by-default firewall, the only task is |
---|
| 281 | to add required ACCEPT rules for the target website to work properly. |
---|
| 282 | %endif |
---|
| 283 | |
---|
| 284 | |
---|
[521] | 285 | %prep |
---|
[12121] | 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} |
---|
[521] | 287 | |
---|
| 288 | %patch0 -p0 |
---|
| 289 | |
---|
[9935] | 290 | # pushd passenger-%{passenger_version}/ext/ |
---|
| 291 | # %patch100 -p2 |
---|
| 292 | # popd |
---|
[8125] | 293 | |
---|
[10824] | 294 | pushd gnosek-nginx-upstream-fair-%{upstream_fair_version} |
---|
| 295 | %patch101 -p1 |
---|
| 296 | popd |
---|
| 297 | |
---|
| 298 | %if %{?_dist_release} == "vl7" |
---|
[10356] | 299 | pushd passenger-%{passenger_version} |
---|
[10925] | 300 | #% patch1000 -p1 |
---|
[10356] | 301 | popd |
---|
[10824] | 302 | %endif |
---|
[10356] | 303 | |
---|
[521] | 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. |
---|
[3847] | 310 | |
---|
[521] | 311 | export DESTDIR=%{buildroot} |
---|
[3847] | 312 | |
---|
[7655] | 313 | |
---|
| 314 | CONFIGOPTS="\ |
---|
[521] | 315 | --user=%{nginx_user} \ |
---|
| 316 | --group=%{nginx_group} \ |
---|
| 317 | --prefix=%{nginx_datadir} \ |
---|
| 318 | --sbin-path=%{_sbindir}/%{name} \ |
---|
[12121] | 319 | --modules-path=%{nginx_modulesdir} \ |
---|
[521] | 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} \ |
---|
[854] | 328 | --with-file-aio \ |
---|
| 329 | --with-ipv6 \ |
---|
[521] | 330 | --with-http_ssl_module \ |
---|
[9935] | 331 | --with-http_v2_module \ |
---|
[521] | 332 | --with-http_realip_module \ |
---|
| 333 | --with-http_addition_module \ |
---|
[12121] | 334 | --with-http_xslt_module=dynamic \ |
---|
| 335 | --with-http_image_filter_module=dynamic \ |
---|
[8257] | 336 | %if %{with geoip} |
---|
[12121] | 337 | --with-http_geoip_module=dynamic \ |
---|
[8257] | 338 | %endif |
---|
[521] | 339 | --with-http_sub_module \ |
---|
| 340 | --with-http_dav_module \ |
---|
| 341 | --with-http_flv_module \ |
---|
[7472] | 342 | --with-http_mp4_module \ |
---|
[8257] | 343 | --with-http_gunzip_module \ |
---|
[521] | 344 | --with-http_gzip_static_module \ |
---|
[8257] | 345 | --with-http_auth_request_module \ |
---|
[854] | 346 | --with-http_random_index_module \ |
---|
| 347 | --with-http_secure_link_module \ |
---|
[7655] | 348 | --with-http_degradation_module \ |
---|
[521] | 349 | --with-http_stub_status_module \ |
---|
[12121] | 350 | --with-http_perl_module=dynamic \ |
---|
| 351 | --with-mail=dynamic \ |
---|
[521] | 352 | --with-mail_ssl_module \ |
---|
[12121] | 353 | --with-stream=dynamic \ |
---|
[11577] | 354 | --with-stream_ssl_preread_module \ |
---|
[1898] | 355 | --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \ |
---|
[2236] | 356 | --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \ |
---|
[3906] | 357 | --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \ |
---|
[3785] | 358 | %if %{with wsgi} |
---|
| 359 | --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \ |
---|
| 360 | %endif |
---|
[12121] | 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 \ |
---|
[3847] | 369 | %ifarch i686 |
---|
| 370 | --with-cpu-opt=pentiumpro \ |
---|
| 371 | --with-zlib-asm=pentiumpro \ |
---|
| 372 | --with-md5-asm \ |
---|
| 373 | --with-sha1-asm \ |
---|
[3785] | 374 | %endif |
---|
[7655] | 375 | " |
---|
| 376 | |
---|
| 377 | ./configure \ |
---|
| 378 | $CONFIGOPTS \ |
---|
| 379 | --with-cc-opt="%{optflags}" |
---|
| 380 | |
---|
[521] | 381 | make %{?_smp_mflags} |
---|
| 382 | |
---|
| 383 | %install |
---|
| 384 | rm -rf %{buildroot} |
---|
| 385 | make install DESTDIR=%{buildroot} INSTALLDIRS=vendor |
---|
| 386 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 387 | find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \; |
---|
| 388 | find %{buildroot} -type f -empty -exec rm -f {} \; |
---|
| 389 | find %{buildroot} -type f -exec chmod 0644 {} \; |
---|
| 390 | find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \; |
---|
[12121] | 391 | chmod 0755 %{buildroot}%{_sbindir}/nginx |
---|
[521] | 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 |
---|
[854] | 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 |
---|
[521] | 398 | %{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf |
---|
[6601] | 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 |
---|
[854] | 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} |
---|
[521] | 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 | |
---|
[12121] | 413 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_modulesdir} |
---|
| 414 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_modconfdir} |
---|
| 415 | |
---|
[3785] | 416 | %if %{with wsgi} |
---|
| 417 | %{__install} -p -m 0644 \ |
---|
| 418 | lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \ |
---|
| 419 | %{buildroot}%{nginx_confdir} |
---|
| 420 | cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi |
---|
| 421 | %endif |
---|
| 422 | |
---|
[3906] | 423 | # upstream fair module document |
---|
| 424 | cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair |
---|
| 425 | |
---|
[11577] | 426 | # document for nginx-dav-ext-module |
---|
| 427 | cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/LICENSE LICENSE.dav-ext-module |
---|
| 428 | cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/README.rst README.dav-ext-module.rst |
---|
| 429 | |
---|
[12121] | 430 | # configuration for dynamic modules |
---|
| 431 | %if %{with geoip} |
---|
| 432 | echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip_module.so";' \ |
---|
| 433 | > %{buildroot}%{nginx_modconfdir}/geoip.conf |
---|
| 434 | %endif |
---|
| 435 | echo 'load_module "%{nginx_modulesdir}/ngx_http_image_filter_module.so";' \ |
---|
| 436 | > %{buildroot}%{nginx_modconfdir}/image-filter.conf |
---|
| 437 | echo 'load_module "%{nginx_modulesdir}/ngx_http_perl_module.so";' \ |
---|
| 438 | > %{buildroot}%{nginx_modconfdir}/perl.conf |
---|
| 439 | echo 'load_module "%{nginx_modulesdir}/ngx_http_xslt_filter_module.so";' \ |
---|
| 440 | > %{buildroot}%{nginx_modconfdir}/xslt-filter.conf |
---|
| 441 | echo 'load_module "%{nginx_modulesdir}/ngx_mail_module.so";' \ |
---|
| 442 | > %{buildroot}%{nginx_modconfdir}/mail.conf |
---|
| 443 | echo 'load_module "%{nginx_modulesdir}/ngx_stream_module.so";' \ |
---|
| 444 | > %{buildroot}%{nginx_modconfdir}/stream.conf |
---|
| 445 | echo 'load_module "%{nginx_modulesdir}/ngx_http_dav_ext_module.so";' \ |
---|
| 446 | > %{buildroot}%{nginx_modconfdir}/dav-ext.conf |
---|
| 447 | |
---|
| 448 | echo 'load_module "%{nginx_modulesdir}/ngx_http_passenger_module.so";' \ |
---|
| 449 | > %{buildroot}%{nginx_modconfdir}/passenger.conf |
---|
| 450 | |
---|
| 451 | %if %{with geoip2} |
---|
| 452 | # geoip2 module |
---|
| 453 | cp -f ngx_http_geoip2_module-%{geoip2_version}/LICENSE LICENSE.geoip2 |
---|
| 454 | cp -f ngx_http_geoip2_module-%{geoip2_version}/README.md README.geoip2.md |
---|
| 455 | echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip2_module.so";' \ |
---|
| 456 | > %{buildroot}%{nginx_modconfdir}/http-geoip2.conf |
---|
| 457 | echo '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 |
---|
| 463 | cp -f naxsi-%{naxsi_srcversion}/LICENSE LICENSE.naxsi |
---|
| 464 | cp -f naxsi-%{naxsi_srcversion}/README.md README.naxsi.md |
---|
| 465 | install -p -m0644 naxsi-%{naxsi_srcversion}/naxsi_config/naxsi_core.rules \ |
---|
| 466 | %{buildroot}%{nginx_confdir}/ |
---|
| 467 | install -p -m0644 %{SOURCE2021} %{buildroot}%{nginx_confdir}/naxsi_params |
---|
| 468 | echo 'load_module "%{nginx_modulesdir}/ngx_http_naxsi_module.so";' \ |
---|
| 469 | > %{buildroot}%{nginx_modconfdir}/naxsi.conf |
---|
| 470 | %endif |
---|
| 471 | |
---|
[854] | 472 | touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf |
---|
| 473 | |
---|
[521] | 474 | # convert to UTF-8 all files that give warnings. |
---|
| 475 | for textfile in CHANGES |
---|
| 476 | do |
---|
| 477 | mv $textfile $textfile.old |
---|
| 478 | iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old |
---|
| 479 | rm -f $textfile.old |
---|
| 480 | done |
---|
| 481 | |
---|
| 482 | %clean |
---|
| 483 | rm -rf %{buildroot} |
---|
| 484 | |
---|
[12121] | 485 | %pre |
---|
| 486 | if [ -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 |
---|
| 490 | fi |
---|
| 491 | |
---|
[521] | 492 | %post |
---|
| 493 | if [ $1 == 1 ]; then |
---|
| 494 | /sbin/chkconfig --add %{name} |
---|
| 495 | fi |
---|
| 496 | |
---|
| 497 | %preun |
---|
| 498 | if [ $1 = 0 ]; then |
---|
| 499 | /sbin/service %{name} stop >/dev/null 2>&1 |
---|
| 500 | /sbin/chkconfig --del %{name} |
---|
| 501 | fi |
---|
| 502 | |
---|
| 503 | %postun |
---|
| 504 | if [ $1 == 2 ]; then |
---|
| 505 | /sbin/service %{name} upgrade || : |
---|
| 506 | fi |
---|
| 507 | |
---|
| 508 | %files |
---|
| 509 | %defattr(-,root,root,-) |
---|
[12121] | 510 | %license LICENSE |
---|
| 511 | %doc CHANGES README |
---|
[3906] | 512 | %doc README.upstream_fair |
---|
| 513 | %doc %{?with_wsgi:README.mod_wsgi} |
---|
[521] | 514 | %{nginx_datadir}/ |
---|
[12121] | 515 | %{_sbindir}/%{name} |
---|
[521] | 516 | %{_mandir}/man3/%{name}.3pm.gz |
---|
| 517 | %{_initrddir}/%{name} |
---|
[12121] | 518 | %dir %{nginx_modulesdir} |
---|
| 519 | %dir %{nginx_modconfdir} |
---|
[521] | 520 | %dir %{nginx_confdir} |
---|
| 521 | %dir %{nginx_confdir}/conf.d |
---|
| 522 | %config(noreplace) %{nginx_confdir}/conf.d/*.conf |
---|
[854] | 523 | %ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf |
---|
| 524 | %config(noreplace) %{nginx_confdir}/sites.d/* |
---|
[521] | 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 |
---|
[854] | 534 | %config(noreplace) %{nginx_confdir}/fastcgi.conf |
---|
| 535 | %config(noreplace) %{nginx_confdir}/fastcgi.conf.default |
---|
[1898] | 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 |
---|
[3785] | 540 | %if %{with wsgi} |
---|
| 541 | %config(noreplace) %{nginx_confdir}/wsgi_vars |
---|
| 542 | %endif |
---|
[12121] | 543 | %config(noreplace) %{nginx_confdir}/naxsi_params |
---|
| 544 | %config(noreplace) %{nginx_confdir}/naxsi_core.rules |
---|
[521] | 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} |
---|
[854] | 549 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache} |
---|
[521] | 550 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir} |
---|
| 551 | |
---|
[3847] | 552 | %files passenger |
---|
| 553 | %defattr(-,root,root,-) |
---|
[8386] | 554 | %doc passenger-%{passenger_version}/doc/*.md |
---|
[7655] | 555 | %doc passenger-%{passenger_version}/doc/*.txt |
---|
| 556 | %doc passenger-%{passenger_version}/doc/*.html |
---|
[8386] | 557 | %doc passenger-%{passenger_version}/doc/templates |
---|
[3847] | 558 | %doc passenger-%{passenger_version}/doc/users_guide_snippets |
---|
| 559 | %doc passenger-%{passenger_version}/doc/images |
---|
[12121] | 560 | %config(noreplace) %{nginx_modconfdir}/passenger.conf |
---|
| 561 | %{nginx_modulesdir}/ngx_http_passenger_module.so |
---|
[521] | 562 | |
---|
[12121] | 563 | %if %{with geoip} |
---|
| 564 | %files geoip |
---|
| 565 | %config(noreplace) %{nginx_modconfdir}/geoip.conf |
---|
| 566 | %{nginx_modulesdir}/ngx_http_geoip_module.so |
---|
| 567 | %endif |
---|
[3847] | 568 | |
---|
[12121] | 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 | |
---|
[521] | 621 | %changelog |
---|
[12121] | 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 | |
---|
[12120] | 629 | * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-2 |
---|
| 630 | - rebuilt with perl-5.26. |
---|
| 631 | |
---|
[12062] | 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 | |
---|
[11873] | 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 | |
---|
[11577] | 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 | |
---|
[11181] | 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 | |
---|
[11143] | 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 | |
---|
[11130] | 660 | * Fri Jul 14 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.3-1 |
---|
| 661 | - updated to 1.13.3 |
---|
| 662 | |
---|
[11124] | 663 | * Sat Jul 1 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.2-1 |
---|
| 664 | - updated to 1.13.2 |
---|
| 665 | |
---|
[11115] | 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 | |
---|
[10984] | 673 | * Wed Apr 5 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.13-1 |
---|
| 674 | - updated to 1.11.13 |
---|
| 675 | |
---|
[10977] | 676 | * Sat Mar 25 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.12-1 |
---|
| 677 | - updated to 1.11.12 |
---|
| 678 | |
---|
[10925] | 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 | |
---|
[10868] | 686 | * Wed Dec 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.8-1 |
---|
| 687 | - updated to 1.11.8 |
---|
| 688 | |
---|
[10824] | 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 | |
---|
[10778] | 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 | |
---|
[10767] | 697 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.10.1-2 |
---|
| 698 | - rebuild with gcc-5.4.0 |
---|
| 699 | |
---|
[10356] | 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 | |
---|
[10205] | 704 | * Wed Apr 20 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.15-1 |
---|
| 705 | - updated to 1.9.15 |
---|
| 706 | |
---|
[10124] | 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 | |
---|
[10122] | 711 | * Wed Apr 6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.13-1 |
---|
| 712 | - new upstream release |
---|
| 713 | |
---|
[10074] | 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 | |
---|
[10033] | 718 | * Wed Feb 17 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.11-1 |
---|
| 719 | - new upstream release |
---|
| 720 | |
---|
[10003] | 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 | |
---|
[9935] | 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 | |
---|
[9712] | 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 | |
---|
[9624] | 744 | * Thu Jun 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.2-2 |
---|
| 745 | - updated Source4 (ssl.conf). |
---|
| 746 | |
---|
[9619] | 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 | |
---|
[8983] | 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 | |
---|
[9619] | 756 | * Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.1-1 |
---|
[8893] | 757 | - new upstream release |
---|
| 758 | |
---|
[8754] | 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 | |
---|
[8386] | 765 | * Fri Apr 25 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-1 |
---|
| 766 | - update to 1.6.0 (stable) |
---|
| 767 | |
---|
[8275] | 768 | * Thu Feb 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-2 |
---|
| 769 | - update fancyindex to 0.3.3 |
---|
| 770 | |
---|
[8257] | 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 | |
---|
[8125] | 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 | |
---|
[7947] | 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 | |
---|
[7856] | 783 | * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-2 |
---|
| 784 | - rebuilt with gd-2.1.0. |
---|
| 785 | |
---|
[7662] | 786 | * Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1 |
---|
| 787 | - update to 1.4.1 |
---|
| 788 | |
---|
[7655] | 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 | |
---|
[7472] | 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 | |
---|
[7199] | 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 | |
---|
[6997] | 802 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-3 |
---|
| 803 | - rebuild with pcre-8.31 |
---|
| 804 | |
---|
[6903] | 805 | * Tue Oct 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-2 |
---|
| 806 | - added http_geoip_module. |
---|
| 807 | |
---|
[6847] | 808 | * Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1 |
---|
| 809 | - update to 1.2.4 |
---|
| 810 | |
---|
[6601] | 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 | |
---|
[6028] | 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 | |
---|
[5922] | 824 | * Mon Mar 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1 |
---|
| 825 | - new upstream release |
---|
| 826 | |
---|
[5741] | 827 | * Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1 |
---|
| 828 | - update to 1.0.12 |
---|
| 829 | |
---|
[5388] | 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 | |
---|
[5167] | 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 | |
---|
[4684] | 840 | * Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 841 | - update to 1.0.6 |
---|
| 842 | |
---|
[4093] | 843 | * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 844 | - update to 1.0.4 |
---|
| 845 | |
---|
[3906] | 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 | |
---|
[3847] | 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 | |
---|
[3844] | 855 | * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 856 | - update to 1.0.2 |
---|
| 857 | |
---|
[3785] | 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 | |
---|
[3419] | 867 | * Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 868 | - new upstream release 1.0.0! |
---|
| 869 | |
---|
[3146] | 870 | * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2 |
---|
| 871 | - rebuild with perl-5.12.3 |
---|
| 872 | |
---|
[2525] | 873 | * Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1 |
---|
| 874 | - update to 0.8.54 |
---|
| 875 | |
---|
[2236] | 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 | |
---|
[7472] | 880 | * Fri Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1 |
---|
[1898] | 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 | |
---|
[854] | 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 | |
---|
[7472] | 892 | * Fri Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1 |
---|
[521] | 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 |
---|