[Asterisk-code-review] install prereq: Checkout of libSRTP 1.5.x. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Mon Jul 11 10:20:10 CDT 2016


Alexander Traud has uploaded a new change for review.

  https://gerrit.asterisk.org/3164

Change subject: install_prereq: Checkout of libSRTP 1.5.x.
......................................................................

install_prereq: Checkout of libSRTP 1.5.x.

Since 5th November 2014, the master branch of libSRTP changed the prefix of
several member names and is not compatible with the source code in Asterisk
anymore. Therefore instead, this change checks out the latest version of the
libSRTP 1.5.x branch. Furthermore now, libSRTP is compiled with OpenSSL as
backend. This makes AES-GCM and AES-IN possible.

ASTERISK-22131 #close

Change-Id: I2e396cdc01da0ff610686e398ed210ca7408f7d6
---
M contrib/scripts/install_prereq
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/64/3164/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index bda28e9..fb24089 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -175,7 +175,9 @@
 			cd libsrtp
 			git pull
 		fi
-		./configure CFLAGS=-fPIC && make libsrtp.a && make uninstall && make install
+		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

-- 
To view, visit https://gerrit.asterisk.org/3164
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e396cdc01da0ff610686e398ed210ca7408f7d6
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>



More information about the asterisk-code-review mailing list