Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
ad7860fd
Commit
ad7860fd
authored
7 years ago
by
Jenkins2
Committed by
Gerrit Code Review
7 years ago
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
Hide 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,22 +165,18 @@ install_unpackaged() {
...
@@ -165,22 +165,18 @@ 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
make shared_library uninstall
install
git pull
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
fi
fi
git checkout
"1_5_x_throttle"
./configure
--disable-debug
--disable-stdout
--enable-openssl
make shared_library uninstall
install
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
fi
fi
# Only install pjproject if it wasn't installed via package
# Only install pjproject if it wasn't installed via package
...
...
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
register
or
sign in
to comment