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
3f46463f
Commit
3f46463f
authored
Jul 08, 2012
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing shell scripts
parent
a3281936
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
95 deletions
+5
-95
README.textile
README.textile
+5
-35
build.sh
build.sh
+0
-43
pack.sh
pack.sh
+0
-17
No files found.
README.textile
View file @
3f46463f
...
...
@@ -141,47 +141,17 @@ h1(#directives). Directives
h1(#installation). Installation <a name="installation" href="#"> </a>
You may use @build.sh@ script inside the project:
<pre>
# clone the project
git clone http://github.com/wandenberg/nginx-push-stream-module.git
NGINX_PUSH_STREAM_MODULE_PATH=$PWD/nginx-push-stream-module
cd nginx-push-stream-module
# build with 1.1.x, 1.0.x, 0.9.x, 0.8.x series
./build.sh master 1.1.15
cd build/nginx-1.1.15
# install and finish
sudo make install
# check
sudo /usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.1.15
# test configuration
sudo /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf -t
the configuration file $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf syntax is ok
configuration file $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf test is successful
# run
sudo /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf
</pre>
Or you may do by yourself:
<pre>
# clone the project
git clone http://github.com/wandenberg/nginx-push-stream-module.git
NGINX_PUSH_STREAM_MODULE_PATH=$PWD/nginx-push-stream-module
# get desired nginx version (works with 1.1.x, 1.0.x, 0.9.x, 0.8.x series)
wget http://nginx.org/download/nginx-1.
1.15
.tar.gz
# get desired nginx version (works with 1.
2.x, 1.
1.x, 1.0.x, 0.9.x, 0.8.x series)
wget http://nginx.org/download/nginx-1.
2.0
.tar.gz
# unpack, configure and build
tar xzvf nginx-1.
1.15
.tar.gz
cd nginx-1.
1.15
tar xzvf nginx-1.
2.0
.tar.gz
cd nginx-1.
2.0
./configure --add-module=../nginx-push-stream-module
make
...
...
@@ -190,7 +160,7 @@ Or you may do by yourself:
# check
sudo /usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.
1.15
nginx version: nginx/1.
2.0
# test configuration
sudo /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf -t
...
...
build.sh
deleted
100755 → 0
View file @
a3281936
#!/bin/bash
TAG
=
"
$1
"
NGINX_VERSION
=
"
$2
"
PREFIX
=
"nginx-push-stream-module"
NGINX_URL
=
"http://nginx.org/download"
CONFIGURE_OPTIONS
=
"
\
--with-http_stub_status_module
\
--add-module=nginx-push-stream-module"
WGET
=
"wget -c -N"
if
[[
-z
"
$TAG
"
||
-z
"
$NGINX_VERSION
"
]]
then
echo
"Usage:
$0
<tag> <nginx_version>"
echo
"
$0
master 1.0.0"
echo
"
$0
master 0.9.7"
echo
"
$0
master 0.8.54"
exit
1
fi
(
chmod
755
*
sh
&&
\
./pack.sh
$TAG
&&
\
cd
build
&&
\
$WGET
$NGINX_URL
/nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
rm
-rf
nginx-
${
NGINX_VERSION
}
&&
\
tar
xzvf nginx-
${
NGINX_VERSION
}
.tar.gz
&&
\
cd
nginx-
$NGINX_VERSION
&&
\
tar
xzvf ../
$PREFIX
-
$TAG
.tar.gz
&&
\
./configure
$CONFIGURE_OPTIONS
&&
\
make
&&
\
echo
"
##############################################################
Build generated: build/nginx-
$NGINX_VERSION
Configure options used:
$CONFIGURE_OPTIONS
To finish the process:
cd build/nginx-
$NGINX_VERSION
sudo make install"
)
||
\
(
echo
"There was a problem building the module"
;
exit
1
)
echo
"##############################################################"
pack.sh
deleted
100755 → 0
View file @
a3281936
#!/bin/bash
TAG
=
"
$1
"
PREFIX
=
"nginx-push-stream-module"
if
[[
-z
"
$TAG
"
]]
then
echo
"Usage:
$0
<tag>"
echo
"
$0
master"
exit
1
fi
mkdir
-p
build
git archive
--format
=
tar
--prefix
=
$PREFIX
/
$TAG
src include config |
gzip
>
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