From nobody Thu May 11 04:02:26 2023 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 4QGysH048yz49cBf; Thu, 11 May 2023 04:02:27 +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 4QGysG6XzSz47B8; Thu, 11 May 2023 04:02:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683777746; 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=YBK7rlB8kNCXYrSM5QjVwQGC2V31beIvTORrRDu872I=; b=tjVhwodd8eXiGZKr2rW4PVeGc1pMWE6hVfDWsr7TF+Bi/8uZNQAG/HNX52qWW6McuwyW4o AgV+vwEXpvDKRqwt/KlWSKAKpxKA7I/In74uGr+28Vo3dRl3FGIgyMe+szbKLzRvymyiva 92iPsYJNzcSlU5ihaORTmRdpKxq2ClBMv95M88B+LGiYocBhe8KqSzs5FrR1x/AsqoK69M ey+PVRKllvlVxIjYDk5kfLTpKPKDS7HEOf+aXTID8Cr3N5dtlUe6xmXQyScr65AZgURp8s U7EsOnjh9cmWGQJPqK1iU6xOEloUTeZlKDCRN50fJ/785DsYrVauAFUajFqg7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683777746; 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=YBK7rlB8kNCXYrSM5QjVwQGC2V31beIvTORrRDu872I=; b=bT5kEiev6z7135V32Ju03IKBmIyIk93FG4Wo1l48fBeVh6o2Mqc1WqvEH23/dl7oNoDPiX pI2U4DmNbselLGREt4v2mHPm50XsvrL07Z5PxFpGEa5UMMHLETSeg776fYR3CXl6u4VQfY LboZcREbq+8coLgbrxPr1MT2VunLiqy1RLaOzjDweDIzkWT+VhztXbCr96peI/Gx1Eyvdh lQnwdL7b1TD+J6/dkyIX/hgu3Y/geuQ07h5pQBfp0ADMaMH7KxuUTLyjb64HXSPH3tgS0L iqqdUwztkK/hSUdgnTf38YZFQ+OAbNcor7OZj83YCP6MyQZqzn9i8qX6FryAXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683777746; a=rsa-sha256; cv=none; b=cqwuR1oEX98jk0yxOnmbmPxz/mxTpjgeq/nsetKf7+c2RjdjLKlG/y/y0XCfrQaof0CDwE /He8hEvr206RtgRDj3LWc9qBdFO60CjpsSo+9XCTuxVXgYeARDt2KDNfH/i5ktA01d7j6G f1XhvUB5QFQL85zIrrjb96sDHEL+YNHkCSJYohmFTtgAXXXJ/uDE3fII7xeQD7pBQYMrda JuaCOT8vrVDcBW6dz/JdrVA+Hy8Sq0G3eUgB7nTjUJfmaFzWgHuPvVPVkkCMLtbVsSQtQ1 Z6JxtZba1Dj7iBSfOohbx0kOXUrg8zSxT2wV/FIYk9RuQPiJsJjWWGvdT5FHyw== 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 4QGysG5dnVzdDp; Thu, 11 May 2023 04:02:26 +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 34B42QQL036589; Thu, 11 May 2023 04:02:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34B42Qme036588; Thu, 11 May 2023 04:02:26 GMT (envelope-from git) Date: Thu, 11 May 2023 04:02:26 GMT Message-Id: <202305110402.34B42Qme036588@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 1976bf9626a5 - main - security/py-netbox-secrets: 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1976bf9626a5ac43973706c34900e2de9eb82933 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=1976bf9626a5ac43973706c34900e2de9eb82933 commit 1976bf9626a5ac43973706c34900e2de9eb82933 Author: Kai Knoblich AuthorDate: 2023-05-11 03:37:30 +0000 Commit: Kai Knoblich CommitDate: 2023-05-11 03:37:30 +0000 security/py-netbox-secrets: New port This is the continuation of the NetBox Secretstore app. The original plugin is minimally maintained and has a lot of issues. This plugin is a complete rewrite of the original plugin. It is more generic and flexible than the original plugin. It is also regularly tested with the latest NetBox releases to ensure compatibility and stability. Features: * Store secrets in the database encrypted with a public key (RSA) * More generic and flexible than the original plugin (e.g. secrets can be assigned to any object in NetBox) * Secrets can be assigned to contacts to associate them with a secret (e.g. SSH key) * Updated user interface to make it easier to use and more intuitive to navigate * Regularly tested with the latest NetBox releases to ensure compatibility and stability MFH: 2023Q2 (in 3 weeks, to provide a migration path for security/py-netbox-secretstore, which is deprecated) --- security/Makefile | 1 + security/py-netbox-secrets/Makefile | 24 ++++++++++++++++++++++++ security/py-netbox-secrets/distinfo | 3 +++ security/py-netbox-secrets/files/pkg-message.in | 20 ++++++++++++++++++++ security/py-netbox-secrets/pkg-descr | 18 ++++++++++++++++++ 5 files changed, 66 insertions(+) diff --git a/security/Makefile b/security/Makefile index 02406d834eb4..0e41ec96cb27 100644 --- a/security/Makefile +++ b/security/Makefile @@ -939,6 +939,7 @@ SUBDIR += py-msoffcrypto-tool SUBDIR += py-muacrypt SUBDIR += py-nassl + SUBDIR += py-netbox-secrets SUBDIR += py-netbox-secretstore SUBDIR += py-netmiko SUBDIR += py-noiseprotocol diff --git a/security/py-netbox-secrets/Makefile b/security/py-netbox-secrets/Makefile new file mode 100644 index 000000000000..54ac5d81c0c3 --- /dev/null +++ b/security/py-netbox-secrets/Makefile @@ -0,0 +1,24 @@ +PORTNAME= netbox-secrets +DISTVERSION= 1.7.6 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Secret store for NetBox +WWW= https://github.com/Onemind-Services-LLC/netbox-secrets + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +SUB_FILES= pkg-message +SUB_LIST= PYTHON_VER=${PYTHON_VER} + +.include diff --git a/security/py-netbox-secrets/distinfo b/security/py-netbox-secrets/distinfo new file mode 100644 index 000000000000..18ac05653aea --- /dev/null +++ b/security/py-netbox-secrets/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683570449 +SHA256 (netbox-secrets-1.7.6.tar.gz) = 66282c010f6493b565279bd37749d3b13d6ff6458257d879c2530de054e617f1 +SIZE (netbox-secrets-1.7.6.tar.gz) = 47711 diff --git a/security/py-netbox-secrets/files/pkg-message.in b/security/py-netbox-secrets/files/pkg-message.in new file mode 100644 index 000000000000..eb2da1827a37 --- /dev/null +++ b/security/py-netbox-secrets/files/pkg-message.in @@ -0,0 +1,20 @@ +[ +{ type: install + message: <