From nobody Fri Apr 08 09:27:21 2022 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 A856A1A94AF4; Fri, 8 Apr 2022 09:27:21 +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 4KZXvs4Mkgz4bMK; Fri, 8 Apr 2022 09:27:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649410041; 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=ZxCRYtYbwdLVhsJamvf7XqpiiYv5SamySkbX0KUuTBE=; b=NPQvgW7Q1KcpUaFK3MqBUU2rmWuKTd0zWasuiEnFFOZajIH6qJqToFW/IBh9kyt/fyTJuS 7VFYfqLSZelGybvJbEARn/qjvQCZ3okDE+1Dl+IlzH6fm3Pgmbg0Df4qH4s9AA8otioX1Q IHQDKqCkGbBEfu0H9KW1Q+TDHK+PRh0hns9E+Dqt2o0kJJwDII/YyUW5N7OCLrNOIRslXo 30i4fm8Ib38K0oSCiielAsKTIwvNXVNvMx8T5HmnTbo1ZqCOlnZ6Pb6X5bvtbbuZH/pJ+U ZwN4OKg4y2+xKW8BFikzUgTrAwP2i4IXJUq0mHuFVy/C0HrAvxOoVzRVh9ipcA== 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 7641522331; Fri, 8 Apr 2022 09:27:21 +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 2389RLUT042445; Fri, 8 Apr 2022 09:27:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2389RL0H042444; Fri, 8 Apr 2022 09:27:21 GMT (envelope-from git) Date: Fri, 8 Apr 2022 09:27:21 GMT Message-Id: <202204080927.2389RL0H042444@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 7bf6f023e4aa - main - security/py-bitbox02: Add new port 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bf6f023e4aa9114432deb634792563311f94d97 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649410041; 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=ZxCRYtYbwdLVhsJamvf7XqpiiYv5SamySkbX0KUuTBE=; b=rIcrHcR5MUj71g7dTBiJHrw2ZrfYMeOE8z65bTfqWChOmDR/wO02Vev672VCDWu+oolmqG xcUBbD/40qrYUalL+MD51IixuqYja4fBu17qC74MQnqLqsRUEKd9chTpmsuFQSBo5+jSyv 2PtcO8NWTDTO/IU6aI01vGauby3HJu2fqUXshyEiZ0qD+Asj4hIEkX6oRwHTY+BZ//bqtt qrtvL7we05XYJeWWPzhr37nxgUDS6DlN7YLv9ydNCUVZbyCO4eveb4qYcPsE9RaO08LmOF bAdXsZ8j7SsOu7cl7EhAbr/K8vN+c0oC/NcCni0Jm2+epc0kXePkv+AyjEYv7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649410041; a=rsa-sha256; cv=none; b=xhPZM3REPO+Ed/vbMvIJUG/4aIhubzEq93QVNLpDy5o3CJbHBUovcNeE/zFkiMUn4ko1ta Y9BsK6PsNPKhRZlc6Y8fNswTT2OIhIINCdLio1krR9zP2hcPNe1mVEPLB4dZn1QjohBl5R AC5B5IYjS7/noz2Xi49nUxHVpk6NcKqbpwyM4orlzYKL3iS0j6InqdRs5JnzFdAQNVlbAC OSPssVR5TPu29MwjlZV1v+UIR7c8iAGzGotmdA4xBPovj4It/o2Mk1Cnoyge3SxO3AcBye JeMwAebsw6fUEwoSJr35rhVGdvq1zsQDWjinMuIP1lo5NefKV8MIa6n4nxxiPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bf6f023e4aa9114432deb634792563311f94d97 commit 7bf6f023e4aa9114432deb634792563311f94d97 Author: Emanuel Haupt AuthorDate: 2022-04-08 09:20:07 +0000 Commit: Emanuel Haupt CommitDate: 2022-04-08 09:20:07 +0000 security/py-bitbox02: Add new port Python API for communicating with the BitBox02 device Sponsored by: Shift Crypto --- security/Makefile | 1 + security/py-bitbox02/Makefile | 25 +++++++++++++++++++++++++ security/py-bitbox02/distinfo | 3 +++ security/py-bitbox02/pkg-descr | 3 +++ 4 files changed, 32 insertions(+) diff --git a/security/Makefile b/security/Makefile index bf78e1cf2535..98bf29a6b62a 100644 --- a/security/Makefile +++ b/security/Makefile @@ -829,6 +829,7 @@ SUBDIR += py-azure-keyvault-secrets SUBDIR += py-base58 SUBDIR += py-bcrypt + SUBDIR += py-bitbox02 SUBDIR += py-btchip-python SUBDIR += py-cerealizer SUBDIR += py-cert-human diff --git a/security/py-bitbox02/Makefile b/security/py-bitbox02/Makefile new file mode 100644 index 000000000000..b9fbe8f10ef9 --- /dev/null +++ b/security/py-bitbox02/Makefile @@ -0,0 +1,25 @@ +# Created by: Emanuel Haupt + +PORTNAME= bitbox02 +PORTVERSION= 6.0.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Python API for communicating with the BitBox02 device + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}base58>=2.0.0:security/py-base58@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.14:security/py-ecdsa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hidapi>=0:comms/py-hidapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}noiseprotocol>=0.3:security/py-noiseprotocol@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=2.8.1:devel/py-semver@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +.include diff --git a/security/py-bitbox02/distinfo b/security/py-bitbox02/distinfo new file mode 100644 index 000000000000..92293dacee1d --- /dev/null +++ b/security/py-bitbox02/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1647857283 +SHA256 (bitbox02-6.0.0.tar.gz) = c136ad7a1ddd272705368ccb6906c0cd71746afaf6a1f05d8e5aaa70e04baffd +SIZE (bitbox02-6.0.0.tar.gz) = 58777 diff --git a/security/py-bitbox02/pkg-descr b/security/py-bitbox02/pkg-descr new file mode 100644 index 000000000000..b58caf4e285f --- /dev/null +++ b/security/py-bitbox02/pkg-descr @@ -0,0 +1,3 @@ +Python code to communicate with BitBox02 cryptocurrency wallet. + +WWW: https://pypi.org/project/bitbox02/