Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2013-11-27 11:54:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d631882d34b57f87ac5d01166c964607d8f06bb4
d631882d
1 parent
c78baedf
use nginx-1.5.7 for security hole fixed
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
7 行增加
和
7 行删除
trunk/3rdparty/nginx-1.5.0.zip
trunk/3rdparty/nginx-1.5.7.zip
trunk/configure
trunk/3rdparty/nginx-1.5.0.zip
已删除
100644 → 0
查看文件 @
c78baed
不能预览此文件类型
trunk/3rdparty/nginx-1.5.7.zip
0 → 100644
查看文件 @
d631882
不能预览此文件类型
trunk/configure
查看文件 @
d631882
...
...
@@ -47,20 +47,20 @@ if [[ ! -f ${GLOBAL_DIR_OBJS}/http-parser-2.1/http_parser.h ]]; then echo "build
if
[[
! -f
${
GLOBAL_DIR_OBJS
}
/http-parser-2.1/libhttp_parser.a
]]
;
then
echo
"build http-parser-2.1 failed"
;
exit
-1;
fi
# nginx for HLS, nginx-1.5.0
if
[[
-f
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.0/_release/sbin/nginx
]]
;
then
echo
"nginx-1.5.0 is ok."
;
if
[[
-f
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.7/_release/sbin/nginx
]]
;
then
echo
"nginx-1.5.7 is ok."
;
else
echo
"build nginx-1.5.
0
"
;
echo
"build nginx-1.5.
7
"
;
(
rm -rf
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.0
&&
cd
${
GLOBAL_DIR_OBJS
}
&&
unzip -q ../3rdparty/nginx-1.5.0.zip
&&
cd
nginx-1.5.0
&&
rm -rf
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.7
&&
cd
${
GLOBAL_DIR_OBJS
}
&&
unzip -q ../3rdparty/nginx-1.5.7.zip
&&
cd
nginx-1.5.7
&&
./configure --prefix
=
`
pwd
`
/_release
&&
make
&&
make install
&&
ln -sf
`
pwd
`
/_release ../nginx
)
fi
# check status
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
echo
"build nginx-1.5.0 failed, ret=
$ret
"
;
exit
$ret
;
fi
if
[
! -f
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.0/_release/sbin/nginx
]
;
then
echo
"build nginx-1.5.0 failed."
;
exit
-1;
fi
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
echo
"build nginx-1.5.7 failed, ret=
$ret
"
;
exit
$ret
;
fi
if
[
! -f
${
GLOBAL_DIR_OBJS
}
/nginx-1.5.7/_release/sbin/nginx
]
;
then
echo
"build nginx-1.5.7 failed."
;
exit
-1;
fi
# use current user to config nginx,
# srs will write ts/m3u8 file use current user,
...
...
请
注册
或
登录
后发表评论