summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/sqlcipher/README6
-rw-r--r--system/sqlcipher/sqlcipher.SlackBuild13
-rw-r--r--system/sqlcipher/sqlcipher.info6
3 files changed, 19 insertions, 6 deletions
diff --git a/system/sqlcipher/README b/system/sqlcipher/README
index 53c425606c..efbb45c125 100644
--- a/system/sqlcipher/README
+++ b/system/sqlcipher/README
@@ -7,3 +7,9 @@ well suited for mobile development.
SQLCipher was initially developed by Stephen Lombardo at Zetetic LLC
(sjlombardo@zetetic.net) as the encrypted database layer for Strip, an iPhone
data vault and password manager (http://getstrip.com).
+
+TCL extension (libtclsqlite3.so) can be enabled with:
+
+ WITH_TCL=yes ./sqlcipher.SlackBuild
+
+Note however, it will clobber the stock sqlite library.
diff --git a/system/sqlcipher/sqlcipher.SlackBuild b/system/sqlcipher/sqlcipher.SlackBuild
index 21cfe599e0..d1c09fddc3 100644
--- a/system/sqlcipher/sqlcipher.SlackBuild
+++ b/system/sqlcipher/sqlcipher.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sqlcipher
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlcipher
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,13 +54,19 @@ else
LIBDIRSUFFIX=""
fi
+# Do not build TCL extension by default
+case ${WITH_TCL:-no} in
+ y|yes|Y|YES) : ;;
+ *) WITH_TCL="--disable-tcl" ;;
+esac
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,6 +87,7 @@ LDFLAGS="-lcrypto" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-tempstore=yes \
--disable-static \
+ $WITH_TCL \
--build=$ARCH-slackware-linux
make
diff --git a/system/sqlcipher/sqlcipher.info b/system/sqlcipher/sqlcipher.info
index a07fe97e43..c43ee1506d 100644
--- a/system/sqlcipher/sqlcipher.info
+++ b/system/sqlcipher/sqlcipher.info
@@ -1,8 +1,8 @@
PRGNAM="sqlcipher"
-VERSION="3.3.1"
+VERSION="3.4.0"
HOMEPAGE="http://sqlcipher.net"
-DOWNLOAD="https://github.com/sqlcipher/sqlcipher/archive/v3.3.1.tar.gz"
-MD5SUM="26be3c23220192fb42e1d60f8c90ac69"
+DOWNLOAD="https://github.com/sqlcipher/sqlcipher/archive/v3.4.0/sqlcipher-3.4.0.tar.gz"
+MD5SUM="2225da8fc163f78b5fffd0bcf8b28695"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""