mirror of
https://abf.rosa.ru/djam/angie.git
synced 2025-02-25 03:42:47 +00:00
Build with rtmp module support
This commit is contained in:
parent
ee3b898856
commit
0bb7ab9593
2 changed files with 9 additions and 1 deletions
1
.abf.yml
1
.abf.yml
|
@ -1,2 +1,3 @@
|
|||
sources:
|
||||
nginx-1.8.0.tar.gz: 12bad312764feae50246685ab2e74512d1aa9b2f
|
||||
nginx-rtmp-module-1.1.7.tar.gz: c46b1bec318ffdb1248ef59659805ae8d0ec7fae
|
||||
|
|
|
@ -7,10 +7,12 @@
|
|||
%define nginx_datadir %{_datadir}/nginx
|
||||
%define nginx_webroot %{nginx_datadir}/html
|
||||
|
||||
%define rtmp_version 1.1.7
|
||||
|
||||
Summary: Robust, small and high performance HTTP and reverse proxy server
|
||||
Name: nginx
|
||||
Version: 1.8.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
# BSD License (two clause)
|
||||
# http://www.freebsd.org/copyright/freebsd-license.html
|
||||
License: BSD
|
||||
|
@ -22,6 +24,8 @@ Source2: nginx.service
|
|||
Source3: nginx.logrotate
|
||||
Source4: virtual.conf
|
||||
Source5: ssl.conf
|
||||
# https://github.com/arut/nginx-rtmp-module/archive/v%{rtmp_version}.tar.gz
|
||||
Source10: nginx-rtmp-module-%{rtmp_version}.tar.gz
|
||||
Source100: index.html
|
||||
Source102: nginx-logo.png
|
||||
Source103: 50x.html
|
||||
|
@ -95,6 +99,8 @@ proxy server written by Igor Sysoev.
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
tar -xf %{SOURCE10}
|
||||
|
||||
%build
|
||||
%setup_compile_flags
|
||||
./configure \
|
||||
|
@ -110,6 +116,7 @@ proxy server written by Igor Sysoev.
|
|||
--http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
|
||||
--pid-path=/var/run/%{name}.pid \
|
||||
--lock-path=/var/lock/subsys/%{name} \
|
||||
--add-module=nginx-rtmp-module-%{rtmp_version} \
|
||||
--with-file-aio \
|
||||
--with-ipv6 \
|
||||
--with-http_ssl_module \
|
||||
|
|
Loading…
Add table
Reference in a new issue