From feb6617dc914de88ffa53704e49e81b70187e1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Wed, 18 Jan 2017 18:41:15 -0200 Subject: [PATCH] updates centos provisioner --- wrapper/python/wolfssl/.centos-provisioner.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wrapper/python/wolfssl/.centos-provisioner.sh b/wrapper/python/wolfssl/.centos-provisioner.sh index 84d6a0173..302b64c7c 100644 --- a/wrapper/python/wolfssl/.centos-provisioner.sh +++ b/wrapper/python/wolfssl/.centos-provisioner.sh @@ -1,11 +1,13 @@ [ "$(whoami)" != "root" ] && echo "Sorry, you are not root." && exit 1 -rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm +rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm yum update yum install -y \ - git autoconf libtool libffi-devel python-devel python3-devel python-pip + git autoconf libtool libffi-devel python-devel python34-devel python2-pip -git clone https://github.com/wolfssl/wolfssl.git +pip install -U pip setuptools + +git clone --depth 1 https://github.com/wolfssl/wolfssl.git [ $? -ne 0 ] && echo "\n\nCouldn't download wolfssl.\n\n" && exit 1 pushd wolfssl