]> git.pld-linux.org Git - packages/nginx.git/commitdiff
update rtmp plugin to 1.0.2, enable bcond auto/th/nginx-1.4.1-3
authorElan Ruusamäe <glen@delfi.ee>
Fri, 16 Aug 2013 11:32:23 +0000 (14:32 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 16 Aug 2013 11:32:23 +0000 (14:32 +0300)
nginx-light.init [changed mode: 0644->0755]
nginx-mail.init [changed mode: 0644->0755]
nginx-perl.init [changed mode: 0644->0755]
nginx-standard.init [changed mode: 0644->0755]
nginx.spec

old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 4f300a73d085edc35da48873edd26f9d676d3505..626db4db9965de8f81567d0b909136858fbcffad 100644 (file)
 %bcond_without status          # stats module
 %bcond_without ssl             # ssl support
 %bcond_with    http_browser    # header "User-agent" parser
-%bcond_with    rtmp            # rtmp support
-#
-%define                rtmp_githash    a3cffbb
+%bcond_without rtmp            # rtmp support
+
+%define                rtmp_version    1.0.2
 Summary:       High perfomance HTTP and reverse proxy server
 Summary(pl.UTF-8):     Serwer HTTP i odwrotne proxy o wysokiej wydajności
 Name:          nginx
 Version:       1.4.1
-Release:       2
+Release:       3
 License:       BSD-like
 Group:         Networking/Daemons/HTTP
 Source0:       http://nginx.org/download/%{name}-%{version}.tar.gz
@@ -49,8 +49,8 @@ Source14:     %{name}-standard.conf
 Source15:      %{name}-standard.monitrc
 Source16:      %{name}-standard.init
 Source17:      %{name}-mime.types.sh
-Source101:     https://github.com/arut/nginx-rtmp-module/tarball/master/nginx-rtmp-module.tar.gz
-# Source101-md5:       66a01b57858a3ae66e803652caa17bc7
+Source101:     https://github.com/arut/nginx-rtmp-module/archive/v%{rtmp_version}.tar.gz
+# Source101-md5:       989659b13382e4ee3649fcaa6573c08e
 Patch0:                nginx-no-Werror.patch
 URL:           http://nginx.net/
 BuildRequires: mailcap
@@ -216,6 +216,10 @@ Plik monitrc do monitorowania serwera WWW nginx.
 %setup -q %{?with_rtmp:-a101}
 %patch0 -p0
 
+%if %{with rtmp}
+mv nginx-rtmp-module-%{rtmp_version} nginx-rtmp-module
+%endif
+
 # build mime.types.conf
 #sh %{SOURCE17} /etc/mime.types
 
@@ -250,7 +254,7 @@ cp -f configure auto/
        %{?with_status:--with-http_stub_status_module} \
        %{?with_ssl:--with-http_ssl_module} \
        %{!?with_http_browser:--without-http_browser_module} \
-       %{?with_rtmp:--add-module=./arut-nginx-rtmp-module-%{rtmp_githash}} \
+       %{?with_rtmp:--add-module=./nginx-rtmp-module} \
        --http-client-body-temp-path=%{_localstatedir}/cache/%{name}-perl/client_body_temp \
        --http-proxy-temp-path=%{_localstatedir}/cache/%{name}-perl/proxy_temp \
        --http-fastcgi-temp-path=%{_localstatedir}/cache/%{name}-perl/fastcgi_temp \
@@ -312,7 +316,7 @@ mv -f objs/nginx contrib/nginx-mail
        %{?with_select:--with-select_module} \
        %{?with_status:--with-http_stub_status_module} \
        %{?with_ssl:--with-http_ssl_module} \
-       %{?with_rtmp:--add-module=./arut-nginx-rtmp-module-%{rtmp_githash}} \
+       %{?with_rtmp:--add-module=./nginx-rtmp-module} \
        --without-http_browser_module \
        --without-mail_pop3_module \
        --without-mail_imap_module \
@@ -350,7 +354,7 @@ mv -f objs/nginx contrib/nginx-light
        %{?with_status:--with-http_stub_status_module} \
        %{?with_ssl:--with-http_ssl_module} \
        %{!?with_http_browser:--without-http_browser_module} \
-       %{?with_rtmp:--add-module=./arut-nginx-rtmp-module-%{rtmp_githash}} \
+       %{?with_rtmp:--add-module=./nginx-rtmp-module} \
        --http-client-body-temp-path=%{_localstatedir}/cache/%{name}-standard/client_body_temp \
        --http-proxy-temp-path=%{_localstatedir}/cache/%{name}-standard/proxy_temp \
        --http-fastcgi-temp-path=%{_localstatedir}/cache/%{name}-standard/fastcgi_temp \
This page took 0.047971 seconds and 4 git commands to generate.