diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-14 14:32:25 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-14 14:33:44 -0800 |
commit | 49039a7d9687be83bc3803205fd7e6ce2077c5ad (patch) | |
tree | 6661eb784e39ae7192256cfefebde671f7725352 | |
parent | security/vuxml: Add sysutils/eza vulnerability (diff) |
databases/py-sqlcipher3: New port: Python 3 bindings for SQLCipher
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-sqlcipher3/Makefile | 22 | ||||
-rw-r--r-- | databases/py-sqlcipher3/distinfo | 3 | ||||
-rw-r--r-- | databases/py-sqlcipher3/pkg-descr | 14 |
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 79de69cae3a4..c042eb2d0e1a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -809,6 +809,7 @@ SUBDIR += py-sqlalchemy13 SUBDIR += py-sqlalchemy14 SUBDIR += py-sqlalchemy20 + SUBDIR += py-sqlcipher3 SUBDIR += py-sqlglot SUBDIR += py-sqlite-fts4 SUBDIR += py-sqlite-utils diff --git a/databases/py-sqlcipher3/Makefile b/databases/py-sqlcipher3/Makefile new file mode 100644 index 000000000000..464a60b35128 --- /dev/null +++ b/databases/py-sqlcipher3/Makefile @@ -0,0 +1,22 @@ +PORTNAME= sqlcipher3 +DISTVERSION= 0.5.2 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python 3 bindings for SQLCipher +WWW= https://github.com/coleifer/sqlcipher3 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher + +USES= localbase python +USE_PYTHON= distutils autoplist pytest + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sqlcipher3/_sqlite3${PYTHON_EXT_SUFFIX}.so + +.include <bsd.port.mk> diff --git a/databases/py-sqlcipher3/distinfo b/databases/py-sqlcipher3/distinfo new file mode 100644 index 000000000000..6281a8bdf23b --- /dev/null +++ b/databases/py-sqlcipher3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707948034 +SHA256 (sqlcipher3-0.5.2.tar.gz) = 032619b45d54520e418c3462f8caee8e3ef08991a43713839f0e6b243beafaee +SIZE (sqlcipher3-0.5.2.tar.gz) = 40357 diff --git a/databases/py-sqlcipher3/pkg-descr b/databases/py-sqlcipher3/pkg-descr new file mode 100644 index 000000000000..fb9c5f24d256 --- /dev/null +++ b/databases/py-sqlcipher3/pkg-descr @@ -0,0 +1,14 @@ +SQLCipher is a standalone fork of the SQLite database library that adds 256 bit +AES encryption of database files and other security features like: +* on-the-fly encryption +* tamper detection +* memory sanitization +* strong key derivation + +SQLCipher is based on SQLite and stable upstream release features are +periodically integrated. While SQLCipher is maintained as a separate version of +the source tree, the project minimizes alterations to core SQLite code whenever +possible. + +SQLCipher is maintained by Zetetic, LLC, and additional information and +documentation is available on the official SQLCipher site. |