From nobody Sun Jun 04 07:07:52 2023 X-Original-To: dev-commits-ports-branches@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 4QYnr84GZvz4Ym3Y; Sun, 4 Jun 2023 07:07:52 +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 4QYnr82bBXz4887; Sun, 4 Jun 2023 07:07:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685862472; 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=Grl8LBRQbbouLRHQNbKdGPrubyYdPk0km2JoTBm9JFg=; b=JRFCxfMkpSK+lPWJX824SePjFkKKIdRwmqfCfL+M3Fw161Ea38Ii1hBevoibeOltS4nR4S UMlQjfepnaBvAvX+3B1iwiNz2Sw1ZaC7riMLyrvH5MiYIY0ZHNZLP9YhW936noc+oqi8ZY vMYgagSqFCWCzzDVqfkiI0SW1YzVHQm43us60ZZHGajbnrVraXoMXxjrc4vRRa7z9SQHDW tZ7eO2kVC1xayp6gTVN9/HNVdFCKYTvrSca2YZrB17G2z93m+3o/3Fg1PBrqxMy/su3JKI v+kQEVXbd/7VcMeXqopTiThqAieWsopQt10S2NaQpJFUtOrChE0pVMVrILP6ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685862472; 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=Grl8LBRQbbouLRHQNbKdGPrubyYdPk0km2JoTBm9JFg=; b=WPGA5sOkroh9Scc0nFp3jQak9AHNoaO10j7GNohvhcMSSSP8QjWHQmNBEXTyPEe/blflRS tjUbtDBpfaGBh/4aHqu3FIUWUGnw+uOZdUHIorQrJ3lhLRlggOKYheAFq2TD7eVsPyYLyX kDD8YAr9KpcFytCyeD9Aduivt2TwpbwTDZjO6PI8Z28OirZ6f5GrhXUJhzo2mT4+tpRn3m /maoul0iraqc0i1dbzbKv2tUjsWq7d9ywrNsKDEKkx7eGYNYF0U6PtEW2XGR6FBAR6i1fs 7VXbiTBpJy5oX7n1jhYL8bTQsG9luhoVhJ/5SbFP74YQ6FKwF3AQ7CUlQ+AHvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685862472; a=rsa-sha256; cv=none; b=X2xa8DCTC76nmW2EZOWNq86TrvXLey5/qCJ4FCQ7zHKRnN4xDI+6VOW30CDjIkooWCHdhO gMnB2ca+P+Wzek3KKxEHlBOi3M1PlfDubsNiQsZRmf+yWZprVl/BK0v7GArTy4ftT3aQfF LrSMHcBm1z77ZmMZFpTZejU+mWd42MGRo/nRFFsm0ORlCc14k3z7By8icFFz7Cc6FjmUZJ r0regVY35j8w+WyiHjOEcULB9CLLa0xulWsjvmw8ik1QvJy7ZzHmUXrRK0u0rEVzDR6T8g XZGu6rKf9Cy4KbrrsDLAC75nX9HLje5IzjqtpmapTJuaiVTpzv00fbDXmlRdUw== 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 4QYnr81hVjzxfQ; Sun, 4 Jun 2023 07:07:52 +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 35477qcR004570; Sun, 4 Jun 2023 07:07:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35477qhe004569; Sun, 4 Jun 2023 07:07:52 GMT (envelope-from git) Date: Sun, 4 Jun 2023 07:07:52 GMT Message-Id: <202306040707.35477qhe004569@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kai Knoblich Subject: git: 8cdd68d5c12b - 2023Q2 - security/py-netbox-secrets: New port List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@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/2023Q2 X-Git-Reftype: branch X-Git-Commit: 8cdd68d5c12ba9c784ce156555e9a1ea9b8a52eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cdd68d5c12ba9c784ce156555e9a1ea9b8a52eb commit 8cdd68d5c12ba9c784ce156555e9a1ea9b8a52eb Author: Kai Knoblich AuthorDate: 2023-05-11 03:37:30 +0000 Commit: Kai Knoblich CommitDate: 2023-06-04 06:54:18 +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) (cherry picked from commit 1976bf9626a5ac43973706c34900e2de9eb82933) --- 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 9836f85fd2b3..01f22cee215d 100644 --- a/security/Makefile +++ b/security/Makefile @@ -924,6 +924,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: <