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

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


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


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/33/8033/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index 67a6e2b..45e352c 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -45,8 +45,6 @@
 
 KVERS=`uname -r`
 
-JANSSON_VER=2.4
-
 case "$1" in
 test)
 	testcmd=echo
@@ -161,8 +159,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/8033
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I65c587534c0ae364f063d68da1bed40bb3d5e8aa
Gerrit-Change-Number: 8033
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/58a08967/attachment-0001.html>


More information about the asterisk-code-review mailing list