system/sqlcipher: Updated for version 3.4.0.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2016-07-24 19:03:55 +02:00 committed by Willy Sudiarto Raharjo
parent fccdf683da
commit deff7ed594
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 19 additions and 6 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""