From nobody Wed May 27 12:36:18 2026 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 4gQTcz2V0Xz6dy3s for ; Wed, 27 May 2026 12:36:19 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gQTcy6Xtpz42hV for ; Wed, 27 May 2026 12:36:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779885378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+hORX7GKqqBXlB1WCDthPV5e81sblL62ty+p0Ow7ZJk=; b=vNKbSZQ6yuaVlPaPSENUfAUKPsLM/8QFjVrHgZK/bImqAA4yRcC2D24yyNIbKtaSYIdEnn rQVJSusuK/9qRP6jbnST6PjWBPBRR3QW7hns3tvgpjHoBrwo8MFEQc6N/iSrR6vaPOKi8A pj55h1oL28n/vd8Qf1YNJVg7DQWuRexaPxrHBTrpa4G06dhCXsXjaeWw9+WJolDSWVs4Di XVtfOOzrcdJKPE8iyMZmCfht1J0au+1Ivn1ayqT7oC6hFCuRoDQ+H7KCvX/IBzLXJBOxLZ tBDn5zCyK5Hgkj8z8xWBL1rlgv9V3tfe6cVlLesngIqzPRv1WsWI6K9U2Ev/yA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779885378; a=rsa-sha256; cv=none; b=IT07DJNr/xnbIGmgLVaCEpddIEJSkiTQWsnf/zVWfteBokfAU7kQTbuTM/V8jqWewm2CDY rO+Gt/pBNsa62q7000ix/9Hsk2zuN5zC8tDsI/FYGj5EpXV+TqrE1QvSlyAbBCfF09oBp6 rHVhDmvQLVf2K8yAeXENoLL7Vn5OGeuX/Em7YbWGc/aKubtovy+gsgYT+U+ytCOfQwFRNn w+psAROOZoB5140tGqwmsm+WQ7x3DGH1m4VxXhMaUam9wCwyHgzEBGRzns6lAcAVQiN5xs UXS2hdXfPMwPL/DLB0XAML2tHuQjqxR900PQwfgFmJ9Ft40PWSX+caVL2znYVQ== 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=1779885378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+hORX7GKqqBXlB1WCDthPV5e81sblL62ty+p0Ow7ZJk=; b=XyxRFs2NOb0VGbwd2HD9cQsarg+40y3L2aQWS5KjO6/rChOss7V8AdEdQQcKav2YhPyklk 8l6YwU6DCwLizTOGjZdffpjHoy2W08h85DnqI+L5J4UA32ZIyrYxcikM0v4BH3qXmR/Kyb 2hiPOC8HQ3EovUYlSnYeu/RqfXFzd9un1QVq7UV9kozo3Iq9LcvO4li8EgwpxeWnqFQasZ 4dVMcRneKa5EZDT+Lmu7esa2FJW48eVzTIsj0n76moI2XfFD6V9bmaC7hizbTo5mf7YtbO 92O9BcbrlLa4poOlUWblBS+ntQcfemPlaD8LdLnZY/mgs9nOQDYr0yNB4mYfRg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gQTcy67z3z101Z for ; Wed, 27 May 2026 12:36:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 44cc1 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 27 May 2026 12:36:18 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Alastair Hogge From: Max Brazhnikov Subject: git: 3e8d16f02b0d - main - security/py-siphash24: Add new port 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e8d16f02b0db4bcdfbde20557c0bbac73bb0ee2 Auto-Submitted: auto-generated Date: Wed, 27 May 2026 12:36:18 +0000 Message-Id: <6a16e542.44cc1.4e491af1@gitrepo.freebsd.org> The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e8d16f02b0db4bcdfbde20557c0bbac73bb0ee2 commit 3e8d16f02b0db4bcdfbde20557c0bbac73bb0ee2 Author: Alastair Hogge AuthorDate: 2026-05-27 12:35:54 +0000 Commit: Max Brazhnikov CommitDate: 2026-05-27 12:35:54 +0000 security/py-siphash24: Add new port Streaming-capable SipHash-1-3 and SipHash-2-4 Implementation WWW: https://pypi.org/project/siphash24/ PR: 294570 Co-authored-by: Max Brazhnikov --- security/Makefile | 1 + security/py-siphash24/Makefile | 31 +++++++++++++++++++++++++++++++ security/py-siphash24/distinfo | 3 +++ security/py-siphash24/pkg-descr | 4 ++++ 4 files changed, 39 insertions(+) diff --git a/security/Makefile b/security/Makefile index c8bd6d12caa5..94312e7e62b3 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1089,6 +1089,7 @@ SUBDIR += py-shamir-mnemonic SUBDIR += py-signedjson SUBDIR += py-signxml + SUBDIR += py-siphash24 SUBDIR += py-slip10 SUBDIR += py-social-auth-core SUBDIR += py-spake2 diff --git a/security/py-siphash24/Makefile b/security/py-siphash24/Makefile new file mode 100644 index 000000000000..4951c7ecd261 --- /dev/null +++ b/security/py-siphash24/Makefile @@ -0,0 +1,31 @@ +PORTNAME= siphash24 +DISTVERSION= 1.8 +CATEGORIES= security devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= python@FreeBSD.org +COMMENT= Streaming-capable SipHash-1-3 and SipHash-2-4 Implementation +WWW= https://pypi.org/project/siphash24/ + +LICENSE= APACHE20 LGPL21+ +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSES/Apache-2.0.txt +LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt + +BUILD_DEPENDS= ${LOCALBASE}/include/c-stdaux.h:devel/c-stdaux \ + ${PYTHON_PKGNAMEPREFIX}meson-python>=0.18.0:devel/meson-python@${PY_FLAVOR} +LIB_DEPENDS= libcsiphash-1.so:security/c-siphash + +USES= compiler:c11 pkgconfig python +USE_PYTHON= autoplist concurrent cython pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +BINARY_ALIAS= cython=cython-${PYTHON_VER} + +do-test: + (cd ${WRKSRC} && \ + ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./test.py) + +.include diff --git a/security/py-siphash24/distinfo b/security/py-siphash24/distinfo new file mode 100644 index 000000000000..dd1b0eefa51a --- /dev/null +++ b/security/py-siphash24/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1776312955 +SHA256 (siphash24-1.8.tar.gz) = aa932f0af4a7335caef772fdaf73a433a32580405c41eb17ff24077944b0aa97 +SIZE (siphash24-1.8.tar.gz) = 19946 diff --git a/security/py-siphash24/pkg-descr b/security/py-siphash24/pkg-descr new file mode 100644 index 000000000000..09e798619451 --- /dev/null +++ b/security/py-siphash24/pkg-descr @@ -0,0 +1,4 @@ +This module provides a C-based implementation of SipHash with an interface +compatible with the hash functions provided by the hashlib standard library +module. SipHash-1-3 and SipHash-2-4 variants are currently implemented. The +module documentation provides a detailed description of the API.