Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
http-testing
>
nginx
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 30
[-]
[+]
Changed
nginx-SLE_11.spec
@@ -1,5 +1,5 @@ # -# spec file for package nginx-0.8 (Version 1.4.2) +# spec file for package nginx (Version 1.5.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,7 +11,7 @@ # norootforbuild Name: nginx -Version: 1.4.2 +Version: 1.5.6 Release: 1 # %define pkg_name nginx @@ -29,6 +29,15 @@ %define ngx_tmp_proxy %{ngx_home}/proxy/ %define ngx_tmp_fcgi %{ngx_home}/fastcgi/ %define ngx_user_group nginx +%define rtmp_ext nginx-rtmp-module +%define rtmp_ext_version 1.0.5 +%define rtmp %{rtmp_ext}-%{rtmp_ext_version} +%define rtmp_nover %{rtmp_ext} +%define with_rtmp_ext 1 +%define sticky_module_version 1.1 + + + # License: BSD Group: Productivity/Networking/Web/Proxy @@ -44,12 +53,19 @@ Source: http://sysoev.ru/nginx/nginx-%{version}.tar.gz Source1: nginx.init.suse Source2: nginx.logrotate +Source8: ngx_slowfs_cache-1.5.tar.gz +Source9: Nginx-limit-traffic-rate-module.tar.gz +Source10: %{rtmp}.tar.bz2 +Source11: nginx_upstream_check_module-master.tar.gz + Patch: nginx-0.4.0-no_Werror.patch Patch1: nginx-0.6.31-DESTDIR.patch Patch2: check_1.2.6+.patch -Patch2: nginx-0.6.38-html.patch -#Patch3: nginx-0.4.0-perl_vendor_install.patch +#Patch3: nginx-0.6.38-html.patch +#Patch3: nginx-0.4.0-perl_vendor_install.patch Patch4: nginx-0.6.31_default_config.patch + + # Summary: A HTTP server and IMAP/POP3 proxy server %description @@ -69,6 +85,14 @@ #%patch2 #%patch3 %patch4 +%{__tar} zxvf %{SOURCE5} +%{__tar} zxvf %{SOURCE9} +%{__tar} jxvf %{SOURCE10} +%{__tar} zxvf %{SOURCE11} + +unzip %{SOURCE13} + + dos2unix contrib/geo2nginx.pl %build @@ -108,13 +132,22 @@ --with-sha1=/usr \ --with-file-aio \ --with-http_spdy_module \ -%if 0%{?suse_version} > 1000 || 0%{?fedora_version} > 4 || 0%{?mandriva_version} > 2006 - --with-cc-opt="%{optflags} -fstack-protector" -%else - --with-cc-opt="%{optflags}" + --with-cc-opt="%{optflags} -fstack-protector" \ + --with-cc-opt="%{optflags}" \ + --add-module=%{_builddir}/nginx-%{version}/nginx-upstream-fair \ + --add-module=%{_builddir}/nginx-%{version}/nginx_upstream_check_module-master \ +%if 0%{with_rtmp_ext} + --add-module=%{_builddir}/nginx-%{version}/%{rtmp} \ %endif + --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \ + --with-file-aio + + %{__make} +mv nginx-upstream-fair/README nginx-upstream-fair/README.nginx-upstream-fair + + %install %makeinstall %perl_process_packlist @@ -157,13 +190,12 @@ %config(noreplace) %{ngx_conf_dir}/fastcgi.conf %config(noreplace) %{ngx_conf_dir}/fastcgi.conf.default %config(noreplace) %{ngx_conf_dir}/win-utf -%config(noreplace) %{ngx_conf_dir}/scgi_params +%config(noreplace) %{ngx_conf_dir}/scgi_params %config(noreplace) %{ngx_conf_dir}/scgi_params.default %config(noreplace) %{ngx_conf_dir}/uwsgi_params %config(noreplace) %{ngx_conf_dir}/uwsgi_params.default %config(noreplace) /etc/logrotate.d/%{name} - %dir %{perl_vendorarch}/auto/nginx/ %{perl_vendorarch}/auto/nginx/.packlist %{perl_vendorarch}/auto/nginx/nginx.bs @@ -181,7 +213,7 @@ %dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/tmp/ %dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/proxy/ %dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/fastcgi/ -%doc CHANGES* LICENSE README +%doc CHANGES* LICENSE README nginx-upstream-fair/README.nginx-upstream-fair %doc conf/ contrib/ %changelog
[-]
[+]
Changed
nginx-SLE_11_SP2.spec
^
@@ -61,7 +61,7 @@ Patch: nginx-0.4.0-no_Werror.patch Patch1: nginx-0.6.31-DESTDIR.patch Patch2: check_1.2.6+.patch -Patch3: nginx-0.6.38-html.patch +#Patch3: nginx-0.6.38-html.patch #Patch3: nginx-0.4.0-perl_vendor_install.patch Patch4: nginx-0.6.31_default_config.patch @@ -83,7 +83,7 @@ %patch %patch1 -p1 #%patch2 -%patch3 +#%patch3 %patch4 %{__tar} zxvf %{SOURCE5} %{__tar} zxvf %{SOURCE9}