summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCan Celasun2015-09-18 22:34:49 +0300
committerCan Celasun2015-09-18 22:34:49 +0300
commit53bd38b060faebfd04d54035989a737c5e461948 (patch)
treef7875380124b2bf643e55a0cb5d38bb8d1e6244d
parent0a828fc004bd7d94478536b8ae967f2728bd43ee (diff)
downloadaur-53bd38b060faebfd04d54035989a737c5e461948.tar.gz
Update snowflake-client
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--sfsql.patch14
3 files changed, 10 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 082dc1f6bd7..49164db47d2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = snowflake-client
pkgdesc = Snowflake Database command line and JDBC client
- pkgver = 2.4
- pkgrel = 2
+ pkgver = 2.7.2
+ pkgrel = 1
url = http://www.snowflake.net/
arch = i686
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = snowflake-client
depends = bash
depends = libtinfo
source = sfsql.patch
- md5sums = 3ab11cead59dab3a869d22f15cdff050
+ md5sums = 4ddf438900d60621b586979c96078426
pkgname = snowflake-client
diff --git a/PKGBUILD b/PKGBUILD
index 277369ae098..1a904dafe68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
pkgname=snowflake-client
-pkgver=2.4
-pkgrel=2
+pkgver=2.7.2
+pkgrel=1
pkgdesc="Snowflake Database command line and JDBC client"
arch=('i686' 'x86_64')
url="http://www.snowflake.net/"
license=('custom: commercial')
depends=(gcc-libs java-environment bash libtinfo)
source=(sfsql.patch)
-md5sums=('3ab11cead59dab3a869d22f15cdff050')
+md5sums=('4ddf438900d60621b586979c96078426')
_vpkg=snowflake_client.tar.gz
@@ -25,7 +25,7 @@ build() {
fi
fi
msg "Found package, unpacking..."
- tar -xzf "${pkgpath}/${_vpkg}" -C "${srcdir}"
+ tar -xf "${pkgpath}/${_vpkg}" -C "${srcdir}"
cd "${srcdir}"
patch -Np1 -i "${srcdir}/sfsql.patch"
diff --git a/sfsql.patch b/sfsql.patch
index 7ab04e46980..92554605e30 100644
--- a/sfsql.patch
+++ b/sfsql.patch
@@ -1,5 +1,6 @@
---- a/client/sfsql 2015-04-27 10:51:46.081074936 +0300
-+++ b/client/sfsql 2015-04-27 10:51:09.323555791 +0300
+diff -Nur a/client/sfsql b/client/sfsql
+--- a/client/sfsql 2015-09-18 22:25:07.000000000 +0300
++++ b/client/sfsql 2015-09-18 22:31:18.395451951 +0300
@@ -4,7 +4,7 @@
# options are ignored if SF_SQL_CONNECT_URL if set
@@ -9,12 +10,3 @@
HENPLUS_DIR="$( cd "${CLIENT_DIR}/henplus" && pwd )"
Usage()
-@@ -50,7 +50,7 @@
- FOUND=0
- for JAVA in "$JAVA1" "$JAVA2"; do
-
-- JAVA_VERSION=$("$JAVA" -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q')
-+ JAVA_VERSION=$("$JAVA" -version 2>&1| awk -F\" '/version/ {print $2}' | awk -F '.' '{print $1$2}')
-
- # if not integer, java not installed
- if [ "$JAVA_VERSION" -eq "$JAVA_VERSION" ] 2>/dev/null ; then