mirror of
https://github.com/coturn/coturn.git
synced 2025-05-14 09:36:49 +08:00
working on rpm
This commit is contained in:
parent
e770441b33
commit
183895d8c6
@ -33,7 +33,7 @@ if ! [ -f ${BUILDDIR}/SPECS/${LIBEVENT_SPEC_FILE} ] ; then
|
||||
rm -rf ${LIBEVENT_SPEC_DIR}
|
||||
mkdir ${LIBEVENT_SPEC_DIR}
|
||||
cd ${LIBEVENT_SPEC_DIR}
|
||||
wget --quiet --no-check-certificate ${LIBEVENT_SPEC_GIT_URL}/${LIBEVENT_SPEC_FILE}
|
||||
wget ${WGETOPTIONS} ${LIBEVENT_SPEC_GIT_URL}/${LIBEVENT_SPEC_FILE}
|
||||
ER=$?
|
||||
if ! [ ${ER} -eq 0 ] ; then
|
||||
cd ${CPWD}
|
||||
|
@ -26,7 +26,7 @@ To build the TURN server:
|
||||
mysql-devel (or mariadb-devel), postgresql-devel, hiredis-devel
|
||||
4) $ mkdir ~/rpmbuild
|
||||
5) $ mkdir ~/rpmbuild/SOURCES
|
||||
6) Export the TURN server from Github, "git clone git@github.com:coturn/coturn.git"
|
||||
6) Export the TURN server from Github, "git clone https://github.com/coturn/coturn.git"
|
||||
7) Create a tarball, "tar zcf ~/rpmbuild/SOURCES/turnserver-2.6.7.0.tar.gz turnserver-2.6.7.0"
|
||||
8) Build the RPMs, "rpmbuild -ta ~/rpmbuild/SOURCES/turnserver-2.6.7.0.tar.gz"
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
TURNVERSION=4.4.5.4
|
||||
BUILDDIR=~/rpmbuild
|
||||
ARCH=`uname -p`
|
||||
TURNSERVER_GIT_URL=git@github.com:coturn/coturn.git
|
||||
TURNSERVER_GIT_URL=https://github.com/coturn/coturn.git
|
||||
|
||||
WGETOPTIONS="--no-check-certificate"
|
||||
RPMOPTIONS="-ivh --force"
|
||||
|
Loading…
x
Reference in New Issue
Block a user