Move all to deprecated folder.
This commit is contained in:
36
deprecated/firmware/buildroot/package/sqlcipher/Config.in
Normal file
36
deprecated/firmware/buildroot/package/sqlcipher/Config.in
Normal file
@@ -0,0 +1,36 @@
|
||||
config BR2_PACKAGE_SQLCIPHER
|
||||
bool "sqlcipher"
|
||||
depends on !BR2_PACKAGE_SQLITE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
SQLCipher is an SQLite extension that provides 256 bits AES
|
||||
encryption of database files. Note that it is a fork of SQLite
|
||||
and they cannot be installed side-by-side.
|
||||
|
||||
http://sqlcipher.net
|
||||
|
||||
if BR2_PACKAGE_SQLCIPHER
|
||||
|
||||
config BR2_PACKAGE_SQLCIPHER_READLINE
|
||||
bool "Command-line editing"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
Enable command-line editing. This requires ncurses and readline.
|
||||
|
||||
config BR2_PACKAGE_SQLCIPHER_STAT3
|
||||
bool "Additional query optimizations (stat3)"
|
||||
help
|
||||
Adds additional logic to the ANALYZE command and to the query
|
||||
planner that can help SQLite to choose a better query plan under
|
||||
certain situations.
|
||||
|
||||
endif
|
||||
|
||||
comment "sqlcipher conflicts with sqlite"
|
||||
depends on BR2_PACKAGE_SQLITE
|
||||
|
||||
comment "sqlcipher needs a toolchain w/ threads"
|
||||
depends on !BR2_PACKAGE_SQLITE
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
34
deprecated/firmware/buildroot/package/sqlcipher/sqlcipher.mk
Normal file
34
deprecated/firmware/buildroot/package/sqlcipher/sqlcipher.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# sqlcipher
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SQLCIPHER_VERSION = v3.2.0
|
||||
SQLCIPHER_SITE = $(call github,sqlcipher,sqlcipher,$(SQLCIPHER_VERSION))
|
||||
SQLCIPHER_DEPENDENCIES = openssl host-tcl
|
||||
SQLCIPHER_INSTALL_STAGING = YES
|
||||
|
||||
SQLCIPHER_CONF_ENV = \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(SQLCIPHER_CFLAGS)" \
|
||||
TCLSH_CMD=$(HOST_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR)
|
||||
|
||||
SQLCIPHER_CONF_OPTS = \
|
||||
--enable-threadsafe \
|
||||
--disable-tcl
|
||||
|
||||
SQLCIPHER_CFLAGS += -DSQLITE_HAS_CODEC # Required according to the README
|
||||
SQLCIPHER_CONF_ENV += LIBS="-lcrypto -lz"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLCIPHER_STAT3),y)
|
||||
SQLCIPHER_CFLAGS += -DSQLITE_ENABLE_STAT3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQLCIPHER_READLINE),y)
|
||||
SQLCIPHER_DEPENDENCIES += ncurses readline
|
||||
SQLCIPHER_CONF_OPTS += --with-readline-inc="-I$(STAGING_DIR)/usr/include"
|
||||
else
|
||||
SQLCIPHER_CONF_OPTS += --disable-readline
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user