From 49039a7d9687be83bc3803205fd7e6ce2077c5ad Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 14 Feb 2024 14:32:25 -0800 Subject: databases/py-sqlcipher3: New port: Python 3 bindings for SQLCipher --- databases/py-sqlcipher3/Makefile | 22 ++++++++++++++++++++++ databases/py-sqlcipher3/distinfo | 3 +++ databases/py-sqlcipher3/pkg-descr | 14 ++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 databases/py-sqlcipher3/Makefile create mode 100644 databases/py-sqlcipher3/distinfo create mode 100644 databases/py-sqlcipher3/pkg-descr (limited to 'databases/py-sqlcipher3') 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 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. -- cgit v1.2.3