[3785] | 1 | # build mod_wsgi |
---|
| 2 | %bcond_with wsgi |
---|
| 3 | |
---|
[6903] | 4 | # build http_geoip_module |
---|
[7199] | 5 | %if "%{_dist_release}" >= "vl7" |
---|
[6903] | 6 | %bcond_without geoip |
---|
[7199] | 7 | %else |
---|
| 8 | %bcond_with geoip |
---|
| 9 | %endif |
---|
[6903] | 10 | |
---|
[6601] | 11 | %if "%{_dist_release}" > "vl6" |
---|
| 12 | %define nginx_user www-data |
---|
| 13 | %else |
---|
[521] | 14 | %define nginx_user nginx |
---|
[6601] | 15 | %endif |
---|
[521] | 16 | %define nginx_group %{nginx_user} |
---|
| 17 | %define nginx_home %{_localstatedir}/lib/nginx |
---|
| 18 | %define nginx_home_tmp %{nginx_home}/tmp |
---|
[854] | 19 | %define nginx_home_cache %{nginx_home}/cache |
---|
[521] | 20 | %define nginx_logdir %{_localstatedir}/log/nginx |
---|
| 21 | %define nginx_confdir %{_sysconfdir}/nginx |
---|
| 22 | %define nginx_datadir %{_datadir}/nginx |
---|
| 23 | %define nginx_webroot %{nginx_datadir}/html |
---|
| 24 | |
---|
| 25 | Summary: Robust, small and high performance http and reverse proxy server |
---|
| 26 | Summary(ja): 堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ |
---|
| 27 | Name: nginx |
---|
[10356] | 28 | Version: 1.10.1 |
---|
[10003] | 29 | Release: 1%{?_dist_release} |
---|
[521] | 30 | |
---|
| 31 | Group: System Environment/Daemons |
---|
| 32 | # BSD License (two clause) |
---|
| 33 | # http://www.freebsd.org/copyright/freebsd-license.html |
---|
| 34 | License: BSD |
---|
| 35 | URL: http://nginx.net/ |
---|
[854] | 36 | |
---|
| 37 | Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz |
---|
| 38 | Source1: %{name}.init |
---|
| 39 | Source2: %{name}.logrotate |
---|
| 40 | Source3: nginx-virtual.conf.template |
---|
| 41 | Source4: nginx-ssl.conf |
---|
| 42 | Source5: %{name}.sysconfig |
---|
| 43 | Source10: nginx-vine.conf |
---|
| 44 | Source11: nginx-default-vine |
---|
| 45 | Source20: proxy_cache.conf |
---|
| 46 | Source100: nginx-index.html |
---|
| 47 | Source101: poweredby-vine.png |
---|
| 48 | Source102: nginx-logo.png |
---|
| 49 | Source103: nginx-50x.html |
---|
| 50 | Source104: nginx-404.html |
---|
[9619] | 51 | %define ngx_fancyindex_version 0.3.5 |
---|
[7472] | 52 | Source1000: ngx-fancyindex-%{ngx_fancyindex_version}.tar.xz |
---|
[2236] | 53 | %define nginx_accept_language_module_version 02262ce |
---|
| 54 | Source1010: giom-nginx_accept_language_module-%{nginx_accept_language_module_version}.tar.gz |
---|
[10356] | 55 | |
---|
| 56 | ## https://github.com/phusion/passenger/archive/release-%{passenger_version}.tar.gz |
---|
| 57 | %define passenger_version 5.0.28 |
---|
[3906] | 58 | Source1020: passenger-%{passenger_version}.tar.gz |
---|
| 59 | %define upstream_fair_version 2131c73 |
---|
| 60 | Source1030: gnosek-nginx-upstream-fair-%{upstream_fair_version}.tar.gz |
---|
[854] | 61 | |
---|
[3906] | 62 | %define mod_wsgi_version 6975f0ec7eeb |
---|
| 63 | Source2000: lifeeth-mod_wsgi-%{mod_wsgi_version}.tar.bz2 |
---|
| 64 | |
---|
[854] | 65 | # removes -Werror in upstream build scripts. -Werror conflicts with |
---|
| 66 | # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. |
---|
| 67 | Patch0: nginx-auto-cc-gcc.patch |
---|
| 68 | |
---|
[8125] | 69 | # to fix https://svn.boost.org/trac/boost/ticket/8731 |
---|
| 70 | Patch100: boost-changeset_84950.diff |
---|
| 71 | |
---|
[10356] | 72 | # to fix compile error with C++11. |
---|
| 73 | Patch1000: passenger-5.0.28-boost.patch |
---|
| 74 | |
---|
| 75 | |
---|
[521] | 76 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 77 | |
---|
| 78 | BuildRequires: pcre-devel |
---|
| 79 | BuildRequires: zlib-devel |
---|
| 80 | BuildRequires: openssl-devel |
---|
[854] | 81 | BuildRequires: gd-devel |
---|
[521] | 82 | BuildRequires: perl |
---|
| 83 | BuildRequires: perl(ExtUtils::Embed) |
---|
[1898] | 84 | BuildRequires: libxml2-devel |
---|
| 85 | BuildRequires: libxslt-devel |
---|
[3906] | 86 | BuildRequires: curl-devel |
---|
[6903] | 87 | %if %{with geoip} |
---|
| 88 | BuildRequires: GeoIP-devel |
---|
| 89 | %endif |
---|
[1898] | 90 | |
---|
[521] | 91 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 92 | # for /usr/sbin/useradd |
---|
| 93 | Requires(pre): shadow-utils |
---|
| 94 | Requires(post): chkconfig |
---|
| 95 | # for /sbin/service |
---|
| 96 | Requires(preun): chkconfig, initscripts |
---|
| 97 | Requires(postun): initscripts |
---|
[6601] | 98 | %if "%{_dist_release}" > "vl6" |
---|
| 99 | Requires(pre): www-common |
---|
| 100 | %endif |
---|
[521] | 101 | |
---|
[3785] | 102 | Provides: webserver |
---|
| 103 | |
---|
[854] | 104 | Vendor: Project Vine |
---|
| 105 | Distribution: Vine Linux |
---|
| 106 | Packager: daisuke |
---|
[521] | 107 | |
---|
| 108 | %description |
---|
| 109 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 110 | proxy server written by Igor Sysoev. |
---|
| 111 | |
---|
| 112 | %description -l ja |
---|
| 113 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 114 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 115 | - HTTP(S) サーバ |
---|
| 116 | - HTTP(S) リバースプロキシサーバ |
---|
| 117 | - IMAP/POP3 プロキシサーバ |
---|
| 118 | |
---|
[3847] | 119 | %package passenger |
---|
| 120 | Summary: Nginx with mod_passenger support |
---|
| 121 | Summary(ja): Passenger サポート入りの Nginx |
---|
[7199] | 122 | Group: System Environment/Daemons |
---|
| 123 | BuildRequires: ruby, rubygem-rake |
---|
| 124 | Requires: ruby, rubygem-rake |
---|
| 125 | %if "%{_dist_release}" >= "vl7" |
---|
| 126 | BuildRequires: ruby-devel, ruby-rubygems |
---|
| 127 | Requires: ruby-rubygems |
---|
| 128 | %else |
---|
| 129 | BuildRequires: rubygems |
---|
| 130 | Requires: rubygems |
---|
| 131 | %endif |
---|
[3847] | 132 | Requires: nginx |
---|
| 133 | |
---|
| 134 | %description passenger |
---|
| 135 | Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 |
---|
| 136 | This package contains nginx server with passenger support. |
---|
| 137 | |
---|
| 138 | %description -l ja passenger |
---|
| 139 | Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ |
---|
| 140 | 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。 |
---|
| 141 | - HTTP(S) サーバ |
---|
| 142 | - HTTP(S) リバースプロキシサーバ |
---|
| 143 | - IMAP/POP3 プロキシサーバ |
---|
| 144 | このパッケージには Passenger サポートを含んだ nginxサーバが入っています。 |
---|
| 145 | |
---|
[521] | 146 | %prep |
---|
[6028] | 147 | %setup -q -a 1000 -a 1010 -a 1020 -a 1030 %{?with_wsgi:-a 2000} |
---|
[521] | 148 | |
---|
| 149 | %patch0 -p0 |
---|
| 150 | |
---|
[9935] | 151 | # pushd passenger-%{passenger_version}/ext/ |
---|
| 152 | # %patch100 -p2 |
---|
| 153 | # popd |
---|
[8125] | 154 | |
---|
[10356] | 155 | pushd passenger-%{passenger_version} |
---|
| 156 | %patch1000 -p1 |
---|
| 157 | popd |
---|
| 158 | |
---|
[521] | 159 | %build |
---|
| 160 | # nginx does not utilize a standard configure script. It has its own |
---|
| 161 | # and the standard configure options cause the nginx configure script |
---|
| 162 | # to error out. This is is also the reason for the DESTDIR environment |
---|
| 163 | # variable. The configure script(s) have been patched (Patch1 and |
---|
| 164 | # Patch2) in order to support installing into a build environment. |
---|
[3847] | 165 | |
---|
[521] | 166 | export DESTDIR=%{buildroot} |
---|
[3847] | 167 | |
---|
[7655] | 168 | |
---|
| 169 | CONFIGOPTS="\ |
---|
[521] | 170 | --user=%{nginx_user} \ |
---|
| 171 | --group=%{nginx_group} \ |
---|
| 172 | --prefix=%{nginx_datadir} \ |
---|
| 173 | --sbin-path=%{_sbindir}/%{name} \ |
---|
| 174 | --conf-path=%{nginx_confdir}/%{name}.conf \ |
---|
| 175 | --error-log-path=%{nginx_logdir}/error.log \ |
---|
| 176 | --http-log-path=%{nginx_logdir}/access.log \ |
---|
| 177 | --http-client-body-temp-path=%{nginx_home_tmp}/client_body \ |
---|
| 178 | --http-proxy-temp-path=%{nginx_home_tmp}/proxy \ |
---|
| 179 | --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \ |
---|
| 180 | --pid-path=%{_localstatedir}/run/%{name}.pid \ |
---|
| 181 | --lock-path=%{_localstatedir}/lock/subsys/%{name} \ |
---|
[854] | 182 | --with-file-aio \ |
---|
| 183 | --with-ipv6 \ |
---|
[521] | 184 | --with-http_ssl_module \ |
---|
[9935] | 185 | --with-http_v2_module \ |
---|
[521] | 186 | --with-http_realip_module \ |
---|
| 187 | --with-http_addition_module \ |
---|
[854] | 188 | --with-http_xslt_module \ |
---|
| 189 | --with-http_image_filter_module \ |
---|
[8257] | 190 | %if %{with geoip} |
---|
| 191 | --with-http_geoip_module \ |
---|
| 192 | %endif |
---|
[521] | 193 | --with-http_sub_module \ |
---|
| 194 | --with-http_dav_module \ |
---|
| 195 | --with-http_flv_module \ |
---|
[7472] | 196 | --with-http_mp4_module \ |
---|
[8257] | 197 | --with-http_gunzip_module \ |
---|
[521] | 198 | --with-http_gzip_static_module \ |
---|
[8257] | 199 | --with-http_auth_request_module \ |
---|
[854] | 200 | --with-http_random_index_module \ |
---|
| 201 | --with-http_secure_link_module \ |
---|
[7655] | 202 | --with-http_degradation_module \ |
---|
[521] | 203 | --with-http_stub_status_module \ |
---|
| 204 | --with-http_perl_module \ |
---|
| 205 | --with-mail \ |
---|
| 206 | --with-mail_ssl_module \ |
---|
[1898] | 207 | --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \ |
---|
[2236] | 208 | --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \ |
---|
[3906] | 209 | --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \ |
---|
[3785] | 210 | %if %{with wsgi} |
---|
| 211 | --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \ |
---|
| 212 | %endif |
---|
[3847] | 213 | %ifarch i686 |
---|
| 214 | --with-cpu-opt=pentiumpro \ |
---|
| 215 | --with-zlib-asm=pentiumpro \ |
---|
| 216 | --with-md5-asm \ |
---|
| 217 | --with-sha1-asm \ |
---|
[3785] | 218 | %endif |
---|
[7655] | 219 | " |
---|
| 220 | |
---|
| 221 | |
---|
| 222 | ## build with passenger |
---|
| 223 | ./configure \ |
---|
| 224 | $CONFIGOPTS \ |
---|
| 225 | --with-cc-opt="%{optflags}" \ |
---|
[9935] | 226 | --add-module=passenger-%{passenger_version}/src/nginx_module |
---|
[7655] | 227 | |
---|
[3847] | 228 | make %{?_smp_mflags} |
---|
| 229 | mv objs/nginx objs/nginx.passenger |
---|
| 230 | |
---|
| 231 | ## build without passenger |
---|
| 232 | ./configure \ |
---|
[7655] | 233 | $CONFIGOPTS \ |
---|
| 234 | --with-cc-opt="%{optflags}" |
---|
| 235 | |
---|
[521] | 236 | make %{?_smp_mflags} |
---|
| 237 | |
---|
| 238 | %install |
---|
| 239 | rm -rf %{buildroot} |
---|
| 240 | make install DESTDIR=%{buildroot} INSTALLDIRS=vendor |
---|
| 241 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 242 | find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \; |
---|
| 243 | find %{buildroot} -type f -empty -exec rm -f {} \; |
---|
| 244 | find %{buildroot} -type f -exec chmod 0644 {} \; |
---|
| 245 | find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \; |
---|
[3847] | 246 | mv %{buildroot}%{_sbindir}/nginx %{buildroot}%{_sbindir}/nginx.normal |
---|
| 247 | %{__install} -m 0755 objs/nginx.passenger %{buildroot}%{_sbindir}/ |
---|
| 248 | chmod 0755 %{buildroot}%{_sbindir}/nginx.* |
---|
[521] | 249 | %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name} |
---|
| 250 | %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} |
---|
| 251 | %{__install} -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
---|
| 252 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d |
---|
[854] | 253 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/sites.d |
---|
| 254 | %{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{nginx_confdir}/sites.d/virtual.conf.template |
---|
[521] | 255 | %{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf |
---|
[6601] | 256 | %{__sed} -e 's/__NGINXUSER__/%{nginx_user}/g' %{SOURCE10} > %{buildroot}%{nginx_confdir}/nginx.conf |
---|
| 257 | %{__cp} %{buildroot}%{nginx_confdir}/nginx.conf %{buildroot}%{nginx_confdir}/nginx.conf.default |
---|
[854] | 258 | %{__install} -p -m 0644 %{SOURCE11} %{buildroot}%{nginx_confdir}/sites.d/default |
---|
| 259 | %{__install} -p -m 0644 %{SOURCE20} %{buildroot}%{nginx_confdir}/conf.d/proxy_cache.conf |
---|
| 260 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_cache} |
---|
[521] | 261 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp} |
---|
| 262 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir} |
---|
| 263 | %{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot} |
---|
| 264 | %{__install} -p -m 0644 %{SOURCE100} %{buildroot}%{nginx_webroot}/index.html |
---|
| 265 | %{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{nginx_webroot}/poweredby.png |
---|
| 266 | %{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{nginx_webroot}/nginx-logo.png |
---|
| 267 | %{__install} -p -m 0644 %{SOURCE103} %{buildroot}%{nginx_webroot}/50x.html |
---|
| 268 | %{__install} -p -m 0644 %{SOURCE104} %{buildroot}%{nginx_webroot}/404.html |
---|
| 269 | |
---|
[3785] | 270 | %if %{with wsgi} |
---|
| 271 | %{__install} -p -m 0644 \ |
---|
| 272 | lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \ |
---|
| 273 | %{buildroot}%{nginx_confdir} |
---|
| 274 | cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi |
---|
| 275 | %endif |
---|
| 276 | |
---|
[3906] | 277 | # upstream fair module document |
---|
| 278 | cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair |
---|
| 279 | |
---|
[854] | 280 | touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf |
---|
| 281 | |
---|
[521] | 282 | # convert to UTF-8 all files that give warnings. |
---|
| 283 | for textfile in CHANGES |
---|
| 284 | do |
---|
| 285 | mv $textfile $textfile.old |
---|
| 286 | iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old |
---|
| 287 | rm -f $textfile.old |
---|
| 288 | done |
---|
| 289 | |
---|
| 290 | %clean |
---|
| 291 | rm -rf %{buildroot} |
---|
| 292 | |
---|
| 293 | %post |
---|
| 294 | if [ $1 == 1 ]; then |
---|
| 295 | /sbin/chkconfig --add %{name} |
---|
| 296 | fi |
---|
[3847] | 297 | update-alternatives --install %{_sbindir}/nginx nginx %{_sbindir}/nginx.normal 20 |
---|
[521] | 298 | |
---|
[3847] | 299 | %post passenger |
---|
| 300 | update-alternatives --install %{_sbindir}/nginx nginx %{_sbindir}/nginx.passenger 30 |
---|
| 301 | |
---|
[521] | 302 | %preun |
---|
| 303 | if [ $1 = 0 ]; then |
---|
| 304 | /sbin/service %{name} stop >/dev/null 2>&1 |
---|
| 305 | /sbin/chkconfig --del %{name} |
---|
[3847] | 306 | update-alternatives --remove nginx %{_sbindir}/nginx.normal |
---|
[521] | 307 | fi |
---|
| 308 | |
---|
[3847] | 309 | %preun passenger |
---|
| 310 | if [ $1 = 0 ]; then |
---|
| 311 | update-alternatives --remove nginx %{_sbindir}/nginx.passenger |
---|
| 312 | fi |
---|
| 313 | |
---|
| 314 | |
---|
[521] | 315 | %postun |
---|
| 316 | if [ $1 == 2 ]; then |
---|
| 317 | /sbin/service %{name} upgrade || : |
---|
| 318 | fi |
---|
| 319 | |
---|
| 320 | %files |
---|
| 321 | %defattr(-,root,root,-) |
---|
[3906] | 322 | %doc LICENSE CHANGES README |
---|
| 323 | %doc README.upstream_fair |
---|
| 324 | %doc %{?with_wsgi:README.mod_wsgi} |
---|
[521] | 325 | %{nginx_datadir}/ |
---|
[3847] | 326 | %{_sbindir}/%{name}.normal |
---|
[521] | 327 | %{_mandir}/man3/%{name}.3pm.gz |
---|
| 328 | %{_initrddir}/%{name} |
---|
| 329 | %dir %{nginx_confdir} |
---|
| 330 | %dir %{nginx_confdir}/conf.d |
---|
| 331 | %config(noreplace) %{nginx_confdir}/conf.d/*.conf |
---|
[854] | 332 | %ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf |
---|
| 333 | %config(noreplace) %{nginx_confdir}/sites.d/* |
---|
[521] | 334 | %config(noreplace) %{nginx_confdir}/win-utf |
---|
| 335 | %config(noreplace) %{nginx_confdir}/%{name}.conf.default |
---|
| 336 | %config(noreplace) %{nginx_confdir}/mime.types.default |
---|
| 337 | %config(noreplace) %{nginx_confdir}/fastcgi_params |
---|
| 338 | %config(noreplace) %{nginx_confdir}/fastcgi_params.default |
---|
| 339 | %config(noreplace) %{nginx_confdir}/koi-win |
---|
| 340 | %config(noreplace) %{nginx_confdir}/koi-utf |
---|
| 341 | %config(noreplace) %{nginx_confdir}/%{name}.conf |
---|
| 342 | %config(noreplace) %{nginx_confdir}/mime.types |
---|
[854] | 343 | %config(noreplace) %{nginx_confdir}/fastcgi.conf |
---|
| 344 | %config(noreplace) %{nginx_confdir}/fastcgi.conf.default |
---|
[1898] | 345 | %config(noreplace) %{nginx_confdir}/scgi_params |
---|
| 346 | %config(noreplace) %{nginx_confdir}/scgi_params.default |
---|
| 347 | %config(noreplace) %{nginx_confdir}/uwsgi_params |
---|
| 348 | %config(noreplace) %{nginx_confdir}/uwsgi_params.default |
---|
[3785] | 349 | %if %{with wsgi} |
---|
| 350 | %config(noreplace) %{nginx_confdir}/wsgi_vars |
---|
| 351 | %endif |
---|
[521] | 352 | %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
---|
| 353 | %config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
---|
| 354 | %dir %{perl_vendorarch}/auto/%{name} |
---|
| 355 | %{perl_vendorarch}/%{name}.pm |
---|
| 356 | %{perl_vendorarch}/auto/%{name}/%{name}.so |
---|
| 357 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home} |
---|
| 358 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp} |
---|
[854] | 359 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache} |
---|
[521] | 360 | %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir} |
---|
| 361 | |
---|
[3847] | 362 | %files passenger |
---|
| 363 | %defattr(-,root,root,-) |
---|
[8386] | 364 | %doc passenger-%{passenger_version}/doc/*.md |
---|
[7655] | 365 | %doc passenger-%{passenger_version}/doc/*.txt |
---|
| 366 | %doc passenger-%{passenger_version}/doc/*.html |
---|
[8386] | 367 | %doc passenger-%{passenger_version}/doc/templates |
---|
[3847] | 368 | %doc passenger-%{passenger_version}/doc/users_guide_snippets |
---|
| 369 | %doc passenger-%{passenger_version}/doc/images |
---|
| 370 | %{_sbindir}/%{name}.passenger |
---|
[521] | 371 | |
---|
[3847] | 372 | |
---|
[521] | 373 | %changelog |
---|
[10356] | 374 | * Tue Jun 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.1-1 |
---|
| 375 | - updated to 1.10.1. |
---|
| 376 | - updated passenger to 5.0.28. |
---|
| 377 | |
---|
[10205] | 378 | * Wed Apr 20 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.15-1 |
---|
| 379 | - updated to 1.9.15 |
---|
| 380 | |
---|
[10124] | 381 | * Thu Apr 7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.14-1 |
---|
| 382 | - updated to 1.9.14 |
---|
| 383 | - updated passenger to 5.0.27 |
---|
| 384 | |
---|
[10122] | 385 | * Wed Apr 6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.13-1 |
---|
| 386 | - new upstream release |
---|
| 387 | |
---|
[10074] | 388 | * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1 |
---|
| 389 | - updated to 1.9.12. |
---|
| 390 | - updated passenger to 5.0.26. |
---|
| 391 | |
---|
[10033] | 392 | * Wed Feb 17 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.11-1 |
---|
| 393 | - new upstream release |
---|
| 394 | |
---|
[10003] | 395 | * Wed Feb 3 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.10-1 |
---|
| 396 | - update to 1.9.10 |
---|
| 397 | - update passenger to 5.0.24 |
---|
| 398 | |
---|
[9935] | 399 | * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-2 |
---|
| 400 | - update passenger to 5.0.23 |
---|
| 401 | |
---|
| 402 | * Sun Dec 20 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-1 |
---|
| 403 | - new upstream release |
---|
| 404 | |
---|
| 405 | * Sat Dec 5 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.7-1 |
---|
| 406 | - new upstream release |
---|
| 407 | |
---|
| 408 | * Sat Oct 10 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.5-1 |
---|
| 409 | - new upstream release |
---|
| 410 | |
---|
[9712] | 411 | * Sun Aug 23 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.4-1 |
---|
| 412 | - new upstream release |
---|
| 413 | |
---|
| 414 | * Thu Jul 16 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.3-1 |
---|
| 415 | - update to 1.9.3 |
---|
| 416 | - update passenger to 5.0.11 |
---|
| 417 | |
---|
[9624] | 418 | * Thu Jun 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.2-2 |
---|
| 419 | - updated Source4 (ssl.conf). |
---|
| 420 | |
---|
[9619] | 421 | * Wed Jun 17 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.2-1 |
---|
| 422 | - update to 1.9.2 |
---|
| 423 | - update passenger to 5.0.10 |
---|
| 424 | - update ngx-fancyindex to 0.3.5 |
---|
| 425 | |
---|
[8983] | 426 | * Thu Sep 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.2-1 |
---|
| 427 | - update to 1.6.2 |
---|
| 428 | - update passenger to 4.0.52 |
---|
| 429 | |
---|
[9619] | 430 | * Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.1-1 |
---|
[8893] | 431 | - new upstream release |
---|
| 432 | |
---|
[8754] | 433 | * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-3 |
---|
| 434 | - rebuild with new environment |
---|
| 435 | |
---|
| 436 | * Mon Jun 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-2 |
---|
| 437 | - update passenger to 4.0.45 |
---|
| 438 | |
---|
[8386] | 439 | * Fri Apr 25 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-1 |
---|
| 440 | - update to 1.6.0 (stable) |
---|
| 441 | |
---|
[8275] | 442 | * Thu Feb 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-2 |
---|
| 443 | - update fancyindex to 0.3.3 |
---|
| 444 | |
---|
[8257] | 445 | * Wed Feb 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-1 |
---|
| 446 | - update to 1.5.10 |
---|
| 447 | - update passenger to 4.0.37 |
---|
| 448 | |
---|
[8125] | 449 | * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.6-2 |
---|
| 450 | - rebuilt with GeoIP-1.6.0. |
---|
| 451 | - added Patch100. |
---|
| 452 | |
---|
[7947] | 453 | * Tue Oct 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1 |
---|
| 454 | - update to 1.5.6 |
---|
| 455 | - update passenger to 4.0.21 |
---|
| 456 | |
---|
[7856] | 457 | * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-2 |
---|
| 458 | - rebuilt with gd-2.1.0. |
---|
| 459 | |
---|
[7662] | 460 | * Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1 |
---|
| 461 | - update to 1.4.1 |
---|
| 462 | |
---|
[7655] | 463 | * Mon Apr 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1 |
---|
| 464 | - update to 1.4.0 |
---|
| 465 | - enable SPDY module |
---|
| 466 | |
---|
[7472] | 467 | * Wed Feb 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-1 |
---|
| 468 | - new upstream release |
---|
| 469 | - update passenger to 3.0.19 |
---|
| 470 | - update ngx-fancyindex to upstream git master |
---|
| 471 | |
---|
[7199] | 472 | * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1 |
---|
| 473 | - new upstream release |
---|
| 474 | - update passenger to 3.0.17 |
---|
| 475 | |
---|
[6997] | 476 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-3 |
---|
| 477 | - rebuild with pcre-8.31 |
---|
| 478 | |
---|
[6903] | 479 | * Tue Oct 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-2 |
---|
| 480 | - added http_geoip_module. |
---|
| 481 | |
---|
[6847] | 482 | * Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1 |
---|
| 483 | - update to 1.2.4 |
---|
| 484 | |
---|
[6601] | 485 | * Thu Jul 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1 |
---|
| 486 | - update to 1.2.2 |
---|
| 487 | |
---|
| 488 | * Thu Jun 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1 |
---|
| 489 | - update to 1.2.1 |
---|
| 490 | - change nginx user from nginx to www-data |
---|
| 491 | - R(pre): www-common |
---|
| 492 | |
---|
[6028] | 493 | * Wed Apr 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1 |
---|
| 494 | - update to 1.2.0 |
---|
| 495 | - update passenger to 3.0.12 |
---|
| 496 | - drop http_upstream_keepalive |
---|
| 497 | |
---|
[5922] | 498 | * Mon Mar 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1 |
---|
| 499 | - new upstream release |
---|
| 500 | |
---|
[5741] | 501 | * Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1 |
---|
| 502 | - update to 1.0.12 |
---|
| 503 | |
---|
[5388] | 504 | * Tue Jan 10 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.11-1 |
---|
| 505 | - update to 1.0.11 |
---|
| 506 | - update passenger to 3.0.11 |
---|
| 507 | |
---|
[5167] | 508 | * Mon Nov 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1 |
---|
| 509 | - update to 1.0.10 |
---|
| 510 | |
---|
| 511 | * Tue Sep 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2 |
---|
| 512 | - update passenger to 3.0.9 |
---|
| 513 | |
---|
[4684] | 514 | * Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 515 | - update to 1.0.6 |
---|
| 516 | |
---|
[4093] | 517 | * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 518 | - update to 1.0.4 |
---|
| 519 | |
---|
[3906] | 520 | * Wed May 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-3 |
---|
| 521 | - add gnosek-nginx-upstream-fair module |
---|
| 522 | - add ngx_http_upstream_keepalive module |
---|
| 523 | |
---|
[3847] | 524 | * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2 |
---|
| 525 | - add nginx-passenger sub pakckage |
---|
| 526 | - use alternatives to choose nginx with or without passenger |
---|
| 527 | - add BR: ruby, rubygems, rubygem-rake |
---|
| 528 | |
---|
[3844] | 529 | * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 530 | - update to 1.0.2 |
---|
| 531 | |
---|
[3785] | 532 | * Wed May 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 533 | - update to 1.0.1 |
---|
| 534 | |
---|
| 535 | * Sun May 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2 |
---|
| 536 | - add bcond_with wsgi for mod_wsgi |
---|
| 537 | - add bcond_with passenger |
---|
| 538 | - you need to install rake.gem to build with this option. |
---|
| 539 | - add Provides: webserver |
---|
| 540 | |
---|
[3419] | 541 | * Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 542 | - new upstream release 1.0.0! |
---|
| 543 | |
---|
[3146] | 544 | * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2 |
---|
| 545 | - rebuild with perl-5.12.3 |
---|
| 546 | |
---|
[2525] | 547 | * Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1 |
---|
| 548 | - update to 0.8.54 |
---|
| 549 | |
---|
[2236] | 550 | * Sun Nov 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.53-1 |
---|
| 551 | - update to 0.8.53 |
---|
| 552 | - add nginx_accept_language_module |
---|
| 553 | |
---|
[7472] | 554 | * Fri Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1 |
---|
[1898] | 555 | - update to 0.8.50 |
---|
| 556 | - update ngx-fancyindex to 0.3 |
---|
| 557 | - add BR: libxml2-devel, libxslt-devel |
---|
| 558 | - add scgi_params* and uwsgi_params* to %%files |
---|
| 559 | |
---|
[854] | 560 | * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1 |
---|
| 561 | - update to 0.8.35 (development version) |
---|
| 562 | - add sites.d/ to store vitualhost settings |
---|
| 563 | - split out default server settings to sites.d/default |
---|
| 564 | - add fancyindex module |
---|
| 565 | |
---|
[7472] | 566 | * Fri Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1 |
---|
[521] | 567 | - new upstream release |
---|
| 568 | |
---|
| 569 | * Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.7.62-1 |
---|
| 570 | - update to 0.7.62 (included security fix: VU#180065) |
---|
| 571 | |
---|
| 572 | * Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-4 |
---|
| 573 | - fix typo |
---|
| 574 | |
---|
| 575 | * Thu Aug 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-3 |
---|
| 576 | - add translated descriptions |
---|
| 577 | |
---|
| 578 | * Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-2 |
---|
| 579 | - update 404.html/50x.html to use powered by vine logo. |
---|
| 580 | |
---|
| 581 | * Wed Jul 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-1 |
---|
| 582 | - initial build for Vine Linux |
---|
| 583 | - update to 0.7.61 |
---|
| 584 | |
---|
| 585 | * Sun May 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-2 |
---|
| 586 | - init script updates from Gena Makhomed |
---|
| 587 | - remove nginx-upstream-fair |
---|
| 588 | |
---|
| 589 | * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-1 |
---|
| 590 | - update to 0.6.36 |
---|
| 591 | |
---|
| 592 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-3 |
---|
| 593 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 594 | |
---|
| 595 | * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-2 |
---|
| 596 | - rebuild |
---|
| 597 | |
---|
| 598 | * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-1 |
---|
| 599 | - update to 0.6.35 |
---|
| 600 | |
---|
| 601 | * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.6.34-2 |
---|
| 602 | - rebuild with new openssl |
---|
| 603 | |
---|
| 604 | * Tue Dec 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.34-1 |
---|
| 605 | - update to 0.6.34 |
---|
| 606 | |
---|
| 607 | * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.33-2 |
---|
| 608 | - Fix inclusion of /usr/share/nginx tree => no unowned directories. |
---|
| 609 | |
---|
| 610 | * Sun Nov 23 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.33-1 |
---|
| 611 | - update to 0.6.33 |
---|
| 612 | |
---|
| 613 | * Tue Jul 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.32-1 |
---|
| 614 | - update to 0.6.32 |
---|
| 615 | - nginx now supports DESTDIR so removed the patches that enabled it |
---|
| 616 | |
---|
| 617 | * Mon May 26 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-3 |
---|
| 618 | - init script fixes |
---|
| 619 | - resolve 'listen 80 default' [#447873] |
---|
| 620 | |
---|
| 621 | * Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-2 |
---|
| 622 | - update to 0.6.31 |
---|
| 623 | |
---|
| 624 | * Sun May 11 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.30-2 |
---|
| 625 | - upate to new upstream stable branch 0.6 |
---|
| 626 | - added 3rd party module nginx-upstream-fair |
---|
| 627 | - added default webpages |
---|
| 628 | |
---|
| 629 | * Sun Apr 20 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-2 |
---|
| 630 | - update init script to match recommended guidelines |
---|
| 631 | - add /etc/nginx/conf.d support [#443280] |
---|
| 632 | - use /etc/sysconfig/nginx to determine nginx.conf [#442708] |
---|
| 633 | |
---|
| 634 | * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3 |
---|
| 635 | - add Requires for versioned perl (libperl.so) |
---|
| 636 | - drop silly file Requires |
---|
| 637 | |
---|
| 638 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2 |
---|
| 639 | - Autorebuild for GCC 4.3 |
---|
| 640 | |
---|
| 641 | * Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-1 |
---|
| 642 | - update to 0.5.35 |
---|
| 643 | |
---|
| 644 | * Sat Dec 15 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.34-1 |
---|
| 645 | - update to 0.5.34 |
---|
| 646 | |
---|
| 647 | * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.5.33-2 |
---|
| 648 | - Rebuild for deps |
---|
| 649 | |
---|
| 650 | * Sun Nov 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.33-1 |
---|
| 651 | - update to 0.5.33 |
---|
| 652 | |
---|
| 653 | * Mon Sep 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.32-1 |
---|
| 654 | - updated to 0.5.32 |
---|
| 655 | - fixed rpmlint UTF-8 complaints. |
---|
| 656 | |
---|
| 657 | * Sat Aug 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-2 |
---|
| 658 | - added --with-http_stub_status_module build option. |
---|
| 659 | - added --with-http_sub_module build option. |
---|
| 660 | - added use of pcre-config --cflags |
---|
| 661 | |
---|
| 662 | * Fri Aug 17 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-1 |
---|
| 663 | - Update to 0.5.31 |
---|
| 664 | - specify license is BSD |
---|
| 665 | |
---|
| 666 | * Sat Aug 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-2 |
---|
| 667 | - Add BuildRequires: perl-devel - fixing rawhide build |
---|
| 668 | |
---|
| 669 | * Mon Jul 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-1 |
---|
| 670 | - Update to 0.5.30 |
---|
| 671 | |
---|
| 672 | * Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.29-1 |
---|
| 673 | - Update to 0.5.29 |
---|
| 674 | |
---|
| 675 | * Wed Jul 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.28-1 |
---|
| 676 | - Update to 0.5.28 |
---|
| 677 | |
---|
| 678 | * Mon Jul 09 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.27-1 |
---|
| 679 | - Update to 0.5.27 |
---|
| 680 | |
---|
| 681 | * Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.26-1 |
---|
| 682 | - Update to 0.5.26 |
---|
| 683 | |
---|
| 684 | * Sat Apr 28 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.19-1 |
---|
| 685 | - Update to 0.5.19 |
---|
| 686 | |
---|
| 687 | * Mon Apr 02 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.17-1 |
---|
| 688 | - Update to 0.5.17 |
---|
| 689 | |
---|
| 690 | * Mon Mar 26 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.16-1 |
---|
| 691 | - Update to 0.5.16 |
---|
| 692 | - add ownership of /usr/share/nginx/html (#233950) |
---|
| 693 | |
---|
| 694 | * Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-3 |
---|
| 695 | - fixed package review bugs (#235222) given by ruben@rubenkerkhof.com |
---|
| 696 | |
---|
| 697 | * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-2 |
---|
| 698 | - fixed package review bugs (#233522) given by kevin@tummy.com |
---|
| 699 | |
---|
| 700 | * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-1 |
---|
| 701 | - create patches to assist with building for Fedora |
---|
| 702 | - initial packaging for Fedora |
---|