network/skylable-sx: Updated for version 1.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
simotrone 2015-11-05 00:39:19 +07:00 committed by Willy Sudiarto Raharjo
parent 0f90383261
commit 4d0bc5f752
3 changed files with 20 additions and 4 deletions

View file

@ -0,0 +1,13 @@
diff --git a/libsxclient/src/openssl.c b/libsxclient/src/openssl.c
index 62bfc01..666430a 100644
--- a/libsxclient/src/openssl.c
+++ b/libsxclient/src/openssl.c
@@ -98,6 +98,8 @@ int sxi_sslctxfun(sxc_client_t *sx, curlev_t *ev, const struct curl_tlssessionin
return -1;
}
SSL_CTX *ctx = (SSL_CTX*)info->internals;
+ if (!ctx)
+ return -EAGAIN;
SSL_CTX_set_cert_verify_callback(ctx, ssl_verify_hostname, ev);
return 0;
}

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skylable-sx
VERSION=${VERSION:-1.1}
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix a curl-7.45 compatibility issue
patch -p1 < $CWD/patch/skylable-sx-1.2-fix-curl-7.45.patch
# CLIENT_ONLY="--disable-server"
CFLAGS="$SLKCFLAGS" \

View file

@ -1,8 +1,8 @@
PRGNAM="skylable-sx"
VERSION="1.1"
VERSION="1.2"
HOMEPAGE="http://www.skylable.com"
DOWNLOAD="http://cdn.skylable.com/source/sx-1.1.tar.gz"
MD5SUM="d8ac16ad3afbe6fe5489b926ee7ae914"
DOWNLOAD="http://cdn.skylable.com/source/sx-1.2.tar.gz"
MD5SUM="1a23ff4fc1a8f8d60306f55d8af2ae50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl fcgi"