Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
33151e43
Commit
33151e43
authored
Mar 11, 2011
by
Rogério Carvalho Schneider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing build and pack for v2
parent
40861beb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
build.sh
build.sh
+10
-8
pack.sh
pack.sh
+3
-1
No files found.
build.sh
View file @
33151e43
...
@@ -3,26 +3,28 @@
...
@@ -3,26 +3,28 @@
TAG
=
"
$1
"
TAG
=
"
$1
"
NGINX_VERSION
=
"
$2
"
NGINX_VERSION
=
"
$2
"
PREFIX
=
"nginx-push-stream-module"
PREFIX
=
"nginx-push-stream-module"
NGINX_URL
=
"http://sysoev.ru/nginx"
CONFIGURE_OPTIONS
=
"
\
--with-http_stub_status_module
\
--add-module=nginx-push-stream-module"
if
[[
-z
"
$TAG
"
||
-z
"
$NGINX_VERSION
"
]]
if
[[
-z
"
$TAG
"
||
-z
"
$NGINX_VERSION
"
]]
then
then
echo
"Usage:
$0
<tag> <nginx_version>"
echo
"Usage:
$0
<tag> <nginx_version>"
echo
"Example:
$0
master 0.7.67"
echo
"Example:"
echo
"
$0
master 0.8.54"
echo
"
$0
master 0.7.68"
exit
1
exit
1
fi
fi
CONFIGURE_OPTIONS
=
"
\
--with-http_stub_status_module
\
--add-module=nginx-push-stream-module"
(
chmod
755
*
sh
&&
\
(
chmod
755
*
sh
&&
\
./pack.sh
$TAG
&&
\
./pack.sh
$TAG
&&
\
cd
build
&&
\
cd
build
&&
\
wget
-N
-c
http://sysoev.ru/nginx
/nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
wget
-N
-c
$NGINX_URL
/nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
rm
-rf
nginx-
${
NGINX_VERSION
}
&&
\
rm
-rf
nginx-
${
NGINX_VERSION
}
&&
\
tar
-
xzvf
nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
tar
xzvf nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
cd
nginx-
$NGINX_VERSION
&&
\
cd
nginx-
$NGINX_VERSION
&&
\
tar
-
xzvf
../
$PREFIX
-
$TAG
.tar.gz
&&
\
tar
xzvf ../
$PREFIX
-
$TAG
.tar.gz
&&
\
./configure
$CONFIGURE_OPTIONS
&&
\
./configure
$CONFIGURE_OPTIONS
&&
\
make
&&
\
make
&&
\
echo
"
echo
"
...
...
pack.sh
View file @
33151e43
...
@@ -6,10 +6,12 @@ PREFIX="nginx-push-stream-module"
...
@@ -6,10 +6,12 @@ PREFIX="nginx-push-stream-module"
if
[[
-z
"
$TAG
"
]]
if
[[
-z
"
$TAG
"
]]
then
then
echo
"Usage:
$0
<tag>"
echo
"Usage:
$0
<tag>"
echo
"Example:"
echo
"
$0
master"
exit
1
exit
1
fi
fi
mkdir
-p
build
mkdir
-p
build
git archive
--format
=
tar
--prefix
=
$PREFIX
/
$TAG
src config |
gzip
>
build/
$PREFIX
-
$TAG
.tar.gz
git archive
--format
=
tar
--prefix
=
$PREFIX
/
$TAG
src
include
config |
gzip
>
build/
$PREFIX
-
$TAG
.tar.gz
echo
"Package generated: build/
$PREFIX
-
$TAG
.tar.gz"
echo
"Package generated: build/
$PREFIX
-
$TAG
.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment