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