diff options
author | Mario Preksavec <mario@slackware.hr> | 2016-07-24 19:03:55 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-30 08:28:21 +0700 |
commit | deff7ed5948989f4eb1649c0c34196ea50982d68 (patch) | |
tree | fe82b5edad2b26b3569c2bf841bf0ece394f346b /system/sqlcipher | |
parent | fccdf683daf4dccce0dbc51009f2f852037e4b9b (diff) |
system/sqlcipher: Updated for version 3.4.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/sqlcipher')
-rw-r--r-- | system/sqlcipher/README | 6 | ||||
-rw-r--r-- | system/sqlcipher/sqlcipher.SlackBuild | 13 | ||||
-rw-r--r-- | system/sqlcipher/sqlcipher.info | 6 |
3 files changed, 19 insertions, 6 deletions
diff --git a/system/sqlcipher/README b/system/sqlcipher/README index 53c425606c57..efbb45c125e9 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 21cfe599e0f7..d1c09fddc39f 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 a07fe97e4304..c43ee1506dca 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="" |