From nobody Thu May 11 04:02:28 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 4QGysK3Khyz49bv2; Thu, 11 May 2023 04:02:29 +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 4QGysK24tXz47S5; Thu, 11 May 2023 04:02:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683777749; 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=ffEvmIu1Q49T7/+Od/c8v3iOTb4/h0GaZ/V3B2UbpR0=; b=JclcXlTcGyYjxr3ej3kIMGB1NAICvem45VxBGnilDc2UCOi/JYHceoZgnkhtZ7Qu9ba9Ke PtQ3hlnGl8ERYc+MAsgr54Q4J9V1cNSxnA0uZmyliyM7jbJqkwEuCZ1FfHITdOVlp+q1GB 3SFNPL6YRUT35Rs6n2sxOolf2BnI/LeXDYsaXQedxhyu+XL21Vytm0DcVfF+2rMGIbfVEZ nZRvDYwTJ5Mns/g8RmdjpCGkJ/DYiW30tuEJKAtQ5ickb53kUkv3yC218MjIwMSpVUfEHy 3+u5aaWyChoCW9Q5ZNcNg8xyIRIf6Cc2r/BHoUISWxjcH3/7YCK2bX5PcPclDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683777749; 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=ffEvmIu1Q49T7/+Od/c8v3iOTb4/h0GaZ/V3B2UbpR0=; b=rghnoLB7jxdbrDcoeuzoRnXKqMcq+PbEjraRc23HF/8vs0pVgnRRXfN3Q5yp2uCVj8Rhq7 m7bV9LFvXWb0j+Zai/r0yd4g56llaAopmElcONbCAIxx/ed0XSdzco9xOn2JERY2pVHloe MhlP6BnqM4piVnBq9iWZpN5XVymkj5ucPJ73kLi/YgsF7w5elpRA77IB1/f37qoY38w41S 4OMDYrgfg8nOAo3/SHkXMwzY75xzRf2CypHHWFGpOxkdDryTBkw5FAgw+6i+oFQPsTHdr2 SP/mrvIzLWxs8LVKc/x6Q09lE5qjhdxURxjZ3wEXN+Hjy4WlmxvIJ7I0NX5gQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683777749; a=rsa-sha256; cv=none; b=t8ziRoGAnq2aJAGoTIzNXrWyds4S9b80lqXn5wiyIkHPO32BUeVZXz3QfstJpP68jrjN7N OD/Y7uUW9ZjFK/xlkiGivtBiBgZvgCvKR3eld9O4PfM4W0yo5MG9792qS5pZ5TjKLDNaZp xszg8Ek/vZEXq7Hsf0ZsVkLAYhw4RfLVJCJerq97hs6CYPdq669QFIWcLfUfRiDaTL/0qO 2b/3Y+VMpB+HODezQt0/25mPHVxvXPFipNT9aNRTKyk4DpEUu7k0H0GR1QNX7WAGL3WAsZ wEZSDNvvyfKFA/sYpxjQqp8Iu6sDV+O423w71D6GK50CjVc49KH1lvE0qnMpMA== 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 4QGysK0FLdzdVw; Thu, 11 May 2023 04:02:29 +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 34B42SmU036632; Thu, 11 May 2023 04:02:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34B42SWQ036631; Thu, 11 May 2023 04:02:28 GMT (envelope-from git) Date: Thu, 11 May 2023 04:02:28 GMT Message-Id: <202305110402.34B42SWQ036631@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: a1c21b28ea72 - main - UPDATING: Add info about security/py-netbox-secretstore 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: a1c21b28ea7258679ad2208c75d4db22f8445af4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1c21b28ea7258679ad2208c75d4db22f8445af4 commit a1c21b28ea7258679ad2208c75d4db22f8445af4 Author: Kai Knoblich AuthorDate: 2023-05-11 03:43:28 +0000 Commit: Kai Knoblich CommitDate: 2023-05-11 03:43:28 +0000 UPDATING: Add info about security/py-netbox-secretstore Give users some advice how to migrate from py-netbox-secretstore to security/py-netbox-secrets. --- UPDATING | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/UPDATING b/UPDATING index 0bd205b5c5f3..45370129158b 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,59 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20230511: + AFFECTS: users of net-mgmt/py-netbox-secretstore + AUTHOR: kai@FreeBSD.org + + Upstream no longer maintains py-netbox-secretstore which it is not + compatible with NetBox 3.5 or newer. To ensure compatibility with newer + releases of NetBox, the py-netbox-secrets plugin should be used instead. + + To migrate from security/py-netbox-secretstore to + security/py-netbox-secrets please do following steps: + + 1. Make a backup. + + 2. Install security/py-netbox-secrets + + 3. Enable both plugins by updating the following line in the netbox + configuration (e.g. /usr/local/share/netbox/netbox/configuration.py): + + PLUGINS = ['netbox_secretstore', 'netbox_secrets'] + + 4. Run NetBox migrations: + + # cd /usr/local/share/netbox + # python3.9 manage.py migrate + + 5. Re-adjust the indices for the netbox-secrets plugin: + + # python3.9 manage.py sqlsequencereset netbox_secrets > output.sql + + 6. Run the output of the previous command in the database, e.g.: + + # psql -d NETBOXDB < output.sql + + 7. You can now remove netbox-secretstore from the application by removing + it from the PLUGINS line in the netbox configuration: + + PLUGINS = ['netbox_secrets'] + + 8. Collect static files of the netbox-secrets plugin: + + # python3.9 manage.py collectstatic --no-input + + 9. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.). + + 10. You may have clean up your database of the old tables manually, e.g.: + + DROP TABLE netbox_secretstore_secret; + DROP TABLE netbox_secretstore_secretrole; + DROP TABLE netbox_secretstore_sessionkey; + DROP TABLE netbox_secretstore_userkey; + + 11. Uninstall security/py-netbox-secretstore. + 20230505: AFFECTS: users of mail/mutt AUTHOR: dereks@lifeofadishwasher.com