From nobody Wed Feb 14 22:33:46 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TZtJp5zs5z53tX6; Wed, 14 Feb 2024 22:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZtJp5GBzz4CT3; Wed, 14 Feb 2024 22:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707950026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+duMZG3PA5FO3P27KPDfF6UF5raAFyftUhC2xl5ZYNs=; b=m07Qe6k+DGdwKgYdISc5/KSkDEXJHhOK7DI12USO2EOHYNE3WUGu82/57AFUQW+lV+76x1 GCxcwYmZVDThsQEZ0XoUyeLVPIlr3G952ftTK2+CVPtkk0OvWgEAibRSoG4RqXkyf5ub0t qqedfYXeTIaIcsuBQkLLGh6e2zATfoCxFHxLuy1EyLue+LRa2rJVKXbP9/IfCeVD8gCvbI pnOOv8rJysQYsP6xpRNp6OWSgl6csYInIoPagN3IuSos7ukjup5jzDkRkGhqH+LhaIXYM4 c689dmZlw0u/UUSdUEgyB9X2gYTVbFc6RklG6479s8mMSPUTcQF5OafSE6iZiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707950026; a=rsa-sha256; cv=none; b=TLQn7tajeV9c20H1JnBgY2QjECifQb+K0syK9m3pJGOseq4srW5dMbB2I1Q1A68nk+72Fu im7UDnwX+EU5EWA/YWfzpO5/92fTFdqE40qjEMK1lrQNtWr8pCHa1THCjM65GALLkxISzT S2jLu6q7L2xLzLDI7D4GuuqToJP1VhL4V+ZePd0LmXhiehY/3g8AHHwJoC33GxSKlJHtBh gL69zCdwFvyT3mm6RMqSDv3qMmfkVMjLT0qdmQFt1J3xY0svO1Op1Hswr73rVU209MjOgG Vs9uZu94402wqjdONlhv1vPDmbyCuivRagJf9gGN1MCdLuaB3tsiE1VOgTSIpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707950026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+duMZG3PA5FO3P27KPDfF6UF5raAFyftUhC2xl5ZYNs=; b=NuouYjiJjpC7dpde00C1p98ng1HJE0YY/p5PTE0nkcJcHChbxR3P1x5cdE7DUXd5eIRuby sTzHHnR848ccGG8TekcI+nQ88jto1GxLr2NGxILIuUcPoV3iR2XTAuH9sAAA4Gm6h2OnII Yz0lzPe1Izjvh+NP+UOaVc78Z4JRPek/wzvPIk/jt7SlsfqOwhhaOxaenpYz2GBhBUxW6m /KG1qfppSWHp7vC0+izDxUsX6e0Pgb4h8ul6cSAV/OVMpsM7vQX0WNauj9WYWkhoh+k4/G 7/t+R23mgDICNuvZERvNhWxaEZq2vgy+W+x9BZgYYdQo/PzGLsiXuKK6nYtB9A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TZtJp40q8zGCH; Wed, 14 Feb 2024 22:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41EMXkoe053140; Wed, 14 Feb 2024 22:33:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41EMXkxD053138; Wed, 14 Feb 2024 22:33:46 GMT (envelope-from git) Date: Wed, 14 Feb 2024 22:33:46 GMT Message-Id: <202402142233.41EMXkxD053138@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 49039a7d9687 - main - databases/py-sqlcipher3: New port: Python 3 bindings for SQLCipher List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49039a7d9687be83bc3803205fd7e6ce2077c5ad Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=49039a7d9687be83bc3803205fd7e6ce2077c5ad commit 49039a7d9687be83bc3803205fd7e6ce2077c5ad Author: Yuri Victorovich AuthorDate: 2024-02-14 22:32:25 +0000 Commit: Yuri Victorovich CommitDate: 2024-02-14 22:33:44 +0000 databases/py-sqlcipher3: New port: Python 3 bindings for SQLCipher --- databases/Makefile | 1 + databases/py-sqlcipher3/Makefile | 22 ++++++++++++++++++++++ databases/py-sqlcipher3/distinfo | 3 +++ databases/py-sqlcipher3/pkg-descr | 14 ++++++++++++++ 4 files changed, 40 insertions(+) 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 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.