Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
ad7860fd
Commit
ad7860fd
authored
Nov 6, 2017
by
Jenkins2
Committed by
Gerrit Code Review
Nov 6, 2017
Browse files
Options
Downloads
Plain Diff
Merge "install_prereq: Checkout of libSRTP 2.x." into 13
parents
55001ea3
5f419773
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/scripts/install_prereq
+10
-14
10 additions, 14 deletions
contrib/scripts/install_prereq
with
10 additions
and
14 deletions
contrib/scripts/install_prereq
+
10
−
14
View file @
ad7860fd
...
@@ -165,23 +165,19 @@ install_unpackaged() {
...
@@ -165,23 +165,19 @@ install_unpackaged() {
/sbin/ldconfig
/sbin/ldconfig
fi
fi
# Only install libsrtp if it wasn't installed via package
# Only install libsrtp
2
if it wasn't installed via package
if
!
test
-f
/usr/include/srtp/srtp.h
;
then
if
!
test
-f
/usr/include/srtp/srtp.h
;
then
echo
"*** Installing libsrtp ***"
if
!
test
-f
/usr/include/srtp2/srtp.h
;
then
if
[
!
-d
libsrtp
]
;
then
echo
"*** Installing libsrtp2 ***"
git clone https://github.com/cisco/libsrtp.git
wget
-O
- http://github.com/cisco/libsrtp/archive/v2.tar.gz | zcat |
tar
-xf
-
cd
libsrtp
cd
libsrtp-2
else
./configure
--enable-openssl
cd
libsrtp
git pull
fi
git checkout
"1_5_x_throttle"
./configure
--disable-debug
--disable-stdout
--enable-openssl
make shared_library uninstall
install
make shared_library uninstall
install
cd
..
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
/sbin/ldconfig
fi
fi
fi
# Only install pjproject if it wasn't installed via package
# Only install pjproject if it wasn't installed via package
if
!
test
-f
/usr/include/pjlib.h
;
then
if
!
test
-f
/usr/include/pjlib.h
;
then
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment