diff options
author | simotrone <simotrone@gmail.com> | 2015-11-05 00:39:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-05 00:45:21 +0700 |
commit | 4d0bc5f7520418d9640c0a20d5b7502dcf08542d (patch) | |
tree | b63313a17708d41842f6da29077714c1252dd0d7 /network | |
parent | 0f903832610bd30daa0ea8cbba928bf71c06c338 (diff) |
network/skylable-sx: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch | 13 | ||||
-rw-r--r-- | network/skylable-sx/skylable-sx.SlackBuild | 5 | ||||
-rw-r--r-- | network/skylable-sx/skylable-sx.info | 6 |
3 files changed, 20 insertions, 4 deletions
diff --git a/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch new file mode 100644 index 0000000000000..00d9f683c3e65 --- /dev/null +++ b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch @@ -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; + } diff --git a/network/skylable-sx/skylable-sx.SlackBuild b/network/skylable-sx/skylable-sx.SlackBuild index 20cdfd94d5446..cd16f14cc3d9e 100644 --- a/network/skylable-sx/skylable-sx.SlackBuild +++ b/network/skylable-sx/skylable-sx.SlackBuild @@ -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" \ diff --git a/network/skylable-sx/skylable-sx.info b/network/skylable-sx/skylable-sx.info index 311f38af6d2a6..bd3f143e6014e 100644 --- a/network/skylable-sx/skylable-sx.info +++ b/network/skylable-sx/skylable-sx.info @@ -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" |