[Asterisk-code-review] install prereq: Download latest Jansson. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Sat Jan 20 13:27:28 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8032


Change subject: install_prereq: Download latest Jansson.
......................................................................

install_prereq: Download latest Jansson.

ASTERISK-27603

Change-Id: I65c587534c0ae364f063d68da1bed40bb3d5e8aa
---
M contrib/scripts/install_prereq
1 file changed, 2 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/32/8032/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index e3b217c..ab92430 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -46,8 +46,6 @@
 
 KVERS=`uname -r`
 
-JANSSON_VER=2.4
-
 case "$1" in
 test)
 	testcmd=echo
@@ -162,8 +160,8 @@
 	# Only install Jansson if it wasn't installed via package
 	if ! test -f /usr/include/jansson.h; then
 		echo "*** Installing jansson ***"
-		wget -O - http://www.digip.org/jansson/releases/jansson-${JANSSON_VER}.tar.gz | zcat | tar -xf -
-		cd jansson-${JANSSON_VER}
+		wget -O - http://www.digip.org/jansson/releases/jansson-2-latest.tar.gz | zcat | tar -xf -
+		cd jansson-2.*
 		./configure && make all && make install
 		cd ..
 		echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I65c587534c0ae364f063d68da1bed40bb3d5e8aa
Gerrit-Change-Number: 8032
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180120/26aabff2/attachment.html>


More information about the asterisk-code-review mailing list