-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release of 4.4.3a version of the SQLCipher
- Loading branch information
0 parents
commit 36e4319
Showing
7 changed files
with
249,778 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Max Kalashnikoff | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# SQLCipher amalgamation file for React Native | ||
|
||
[![npm version](https://badge.fury.io/js/sqlcipher-amalgamation.svg)](https://badge.fury.io/js/sqlcipher-amalgamation) | ||
|
||
SQLCipher C sources amalgamation file NPM package for building in the React Native project. | ||
|
||
## Using for Android builds | ||
|
||
You can use it as an npm package dependency at the top level of the project and include it in the `native/android/app/CMakeLists.txt`: | ||
|
||
``` | ||
include_directories( | ||
... | ||
../../node_modules/@commapp/sqlcipher-amalgamation/src | ||
) | ||
file(GLOB SQLCIPHER "../../node_modules/@commapp/sqlcipher-amalgamation/src/*.c") | ||
add_library( | ||
... | ||
${SQLCIPHER} | ||
) | ||
``` | ||
|
||
## Using for iOS | ||
|
||
The package must be installed as an npm dependency at the top level of the project and include in the `native/ios/Podfile`: | ||
|
||
``` | ||
target 'Project' do | ||
... | ||
pod 'SQLCipher-Amalgamation', :path => '../../node_modules/@commapp/sqlcipher-amalgamation' | ||
``` | ||
|
||
## Release and versioning | ||
|
||
This package release version is the same as the SQLCipher release version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"authors": "Comm Technologies, Inc.", | ||
"default_subspecs": "standard", | ||
"description": "SQLCipher sources amalgamation file for using in Xcode projects.", | ||
"homepage": "https://github.com/CommE2E/sqlcipher-amalgamation", | ||
"license": "MIT", | ||
"name": "SQLCipher-Amalgamation", | ||
"platforms": { | ||
"ios": "11.0" | ||
}, | ||
"requires_arc": false, | ||
"source": { | ||
"git": "https://github.com/CommE2E/sqlcipher-amalgamation.git", | ||
"tag": "v4.4.3a" | ||
}, | ||
"summary": "Full Database Encryption for SQLite.", | ||
"version": "4.4.3a", | ||
"module_name": "SQLCipher", | ||
"dependencies": { | ||
"OpenSSL-Universal": [] | ||
}, | ||
"frameworks": [ | ||
"Foundation" | ||
], | ||
"subspecs": [ | ||
{ | ||
"compiler_flags": [ | ||
"-DNDEBUG", | ||
"-DSQLITE_HAS_CODEC", | ||
"-DSQLITE_TEMP_STORE=2" | ||
], | ||
"name": "common", | ||
"source_files": "src/sqlite3.{h,c}", | ||
"header_dir": "src", | ||
"xcconfig": { | ||
"USE_HEADERMAP": "NO", | ||
"GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SQLITE_HAS_CODEC=1 SQLITE_TEMP_STORE=2", | ||
"OTHER_CFLAGS": "$(inherited) -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLCIPHER_CRYPTO_OPENSSL" | ||
} | ||
}, | ||
{ | ||
"dependencies": { | ||
"SQLCipher-Amalgamation/common": [] | ||
}, | ||
"name": "standard" | ||
}, | ||
{ | ||
"compiler_flags": "", | ||
"dependencies": { | ||
"SQLCipher-Amalgamation/common": [] | ||
}, | ||
"name": "unlock_notify", | ||
"xcconfig": { | ||
"OTHER_CFLAGS": "$(inherited)" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "@commapp/sqlcipher-amalgamation", | ||
"version": "4.4.3a", | ||
"description": "SQLCipher sources amalgamation file", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/CommE2E/sqlcipher-amalgamation.git" | ||
}, | ||
"keywords": [ | ||
"sqlcipher", | ||
"sqlite", | ||
"sqlite3" | ||
], | ||
"author": "Max Kalashnikov", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/CommE2E/sqlcipher-amalgamation/issues" | ||
}, | ||
"homepage": "https://github.com/CommE2E/sqlcipher-amalgamation#readme", | ||
"dependencies": {}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"devDependencies": {}, | ||
"main": "index.js" | ||
} |
Oops, something went wrong.