From nobody Fri May 13 11:44:24 2022 X-Original-To: dev-commits-ports-main@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 935DE1AD563E; Fri, 13 May 2022 11:44:26 +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 4L06Ht2PgMz3r8v; Fri, 13 May 2022 11:44:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442266; 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=rUAP9Mq9S8NOvZSaGPeC/0CeiHNvkI2ILrLwDj9WZr8=; b=AuCPZBIUxU5Wlwa17vPQ70gCOHXqaY4AMJvxgParIv+vmzVTht0f92VAFd55qE9Kb2pwlU tpaiWXGXBtOm6XUCd9VEUsWeXbMtdyLm7EXfB9i6fFNwjkNhcCPqguqrWIIA6RgU1PCWkK j1DL2DvqwRADGxj0djA5eWUyzxYaDK10nIDIyQPFG5NqMxKHx3kjo/o93vGBBgky6OWRYP FS/9c4K21d24w9TiO1MvJTFB5xcDRCGZyzfLNej4FFBZUcFhxF4kqRavFJQeuQhZmUjSNd lroCDMwHtHCTmbCTFqHqJnSsjkK1zVTsB+gTC/H4FVsukpx9arVmnb1rNEQ/VQ== 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 1277521A6C; Fri, 13 May 2022 11:44:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DBiOVS062377; Fri, 13 May 2022 11:44:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DBiOoK062376; Fri, 13 May 2022 11:44:24 GMT (envelope-from git) Date: Fri, 13 May 2022 11:44:24 GMT Message-Id: <202205131144.24DBiOoK062376@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e742e9fc52dc - main - security/py-argon2-cffi-bindings: Add py-argon2-cffi-bindings 21.2.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e742e9fc52dcc50a9d48bfd7c8689f6617c7471a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442266; 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=rUAP9Mq9S8NOvZSaGPeC/0CeiHNvkI2ILrLwDj9WZr8=; b=qv3QvD1XjvDFQRJwdQBDrl7nSpzslofbYad+wGoLE20lMm3ZaeaxaX2iMzdJ13+Pi16QMy pl0QyQB1JxYsCSfsg/upUHInd4yMhHtbSlyqdPMB4xXNEb39PlAWcUjuh7YYi/wh3zmpma pgzs2uzrc72UrfM0zApIRtkUFE+TJL4YienXf135YrprxbvNN4yTZ2ZTtmgvnQU8u9AmOf 92HTGD0T54LnH4/JSmL9AfBfS6D3QK5HtpKzk2MU4Bmy8S4ZxAUQZtcHIMEpUcREhZhSyZ jKqUCDIptcselnr+omazvRkbwGjvjRsFKaePPg7Mla8R+6Hw59FvVOxQ1Hmt+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652442266; a=rsa-sha256; cv=none; b=DuTuF30Bot4MvYdov01F+cIqPcmBtOgB6GS0AqDo64R5R29qaXAv0hBkPixGDlX7t27VMi vHpYf12pnWyAdBbixmE7D8thbGPKCMNSPwG2Zr0SfPLzPKYGqsJY7ihp7q8o2287bGcPDq TnIfqkci3+MA+fn7VPhm/ef4f2MJns4BEfrl8QRISh8IC8jKIMseDWeeGR6E/SPDw3wftB Ev6D86DIPALe+81JWWykwFfFjEadWFEw0vXVsJJHlqy0cscK9VEz0+PnG+OtalzJr78H1D uOf/wsZ/HkCKnby9U4HopJWwHTGP8+9XrtolYIdk0FpXqU7gy47Bcjo2V14Mpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e742e9fc52dcc50a9d48bfd7c8689f6617c7471a commit e742e9fc52dcc50a9d48bfd7c8689f6617c7471a Author: Po-Chuan Hsieh AuthorDate: 2022-05-13 11:27:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-05-13 11:39:10 +0000 security/py-argon2-cffi-bindings: Add py-argon2-cffi-bindings 21.2.0 argon2-cffi-bindings provides low-level CFFI bindings to the Argon2 password hashing algorithm including a vendored version of them. WWW: https://github.com/hynek/argon2-cffi-bindings --- security/Makefile | 1 + security/py-argon2-cffi-bindings/Makefile | 36 ++++++++++++++++++++++++++++++ security/py-argon2-cffi-bindings/distinfo | 3 +++ security/py-argon2-cffi-bindings/pkg-descr | 4 ++++ 4 files changed, 44 insertions(+) diff --git a/security/Makefile b/security/Makefile index 0bbae56783c1..43213c26d58f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -822,6 +822,7 @@ SUBDIR += py-ailment SUBDIR += py-angr SUBDIR += py-argon2-cffi + SUBDIR += py-argon2-cffi-bindings SUBDIR += py-artifacts SUBDIR += py-asyncssh SUBDIR += py-authlib diff --git a/security/py-argon2-cffi-bindings/Makefile b/security/py-argon2-cffi-bindings/Makefile new file mode 100644 index 000000000000..97f9eab6f125 --- /dev/null +++ b/security/py-argon2-cffi-bindings/Makefile @@ -0,0 +1,36 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= argon2-cffi-bindings +PORTVERSION= 21.2.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Low-level CFFI bindings for Argon2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} +LIB_DEPENDS= libargon2.so:security/libargon2 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} + +USES= localbase python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +MAKE_ENV= ARGON2_CFFI_USE_SYSTEM=1 + +post-patch: +# Clean up bundled libraries + @${RM} -r ${WRKSRC}/extras/ + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +do-test: + cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v + +.include diff --git a/security/py-argon2-cffi-bindings/distinfo b/security/py-argon2-cffi-bindings/distinfo new file mode 100644 index 000000000000..e8e1573db616 --- /dev/null +++ b/security/py-argon2-cffi-bindings/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1652122533 +SHA256 (argon2-cffi-bindings-21.2.0.tar.gz) = bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3 +SIZE (argon2-cffi-bindings-21.2.0.tar.gz) = 1779911 diff --git a/security/py-argon2-cffi-bindings/pkg-descr b/security/py-argon2-cffi-bindings/pkg-descr new file mode 100644 index 000000000000..8ebdf73c3aa5 --- /dev/null +++ b/security/py-argon2-cffi-bindings/pkg-descr @@ -0,0 +1,4 @@ +argon2-cffi-bindings provides low-level CFFI bindings to the Argon2 password +hashing algorithm including a vendored version of them. + +WWW: https://github.com/hynek/argon2-cffi-bindings