git: c38f09a2f974 - main - security/py-netbox-secretstore: Fix runtime with NetBox 3.3.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Dec 2022 16:15:55 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=c38f09a2f97478ff4ab5910776b6a4ed407a3239 commit c38f09a2f97478ff4ab5910776b6a4ed407a3239 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-12-18 16:13:13 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-12-18 16:13:13 +0000 security/py-netbox-secretstore: Fix runtime with NetBox 3.3.10 * The plugin has a version check that allows versions of NetBox up to 3.3.9. Adjust this check to allow NetBox 3.3.10 as well. * Bump PORTREVISION due changed package. MFH: 2022Q4 --- security/py-netbox-secretstore/Makefile | 1 + .../files/patch-netbox__secretstore_____init____.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/security/py-netbox-secretstore/Makefile b/security/py-netbox-secretstore/Makefile index 58701b03503a..351f839a944b 100644 --- a/security/py-netbox-secretstore/Makefile +++ b/security/py-netbox-secretstore/Makefile @@ -1,5 +1,6 @@ PORTNAME= netbox-secretstore DISTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-netbox-secretstore/files/patch-netbox__secretstore_____init____.py b/security/py-netbox-secretstore/files/patch-netbox__secretstore_____init____.py new file mode 100644 index 000000000000..69fa9877125a --- /dev/null +++ b/security/py-netbox-secretstore/files/patch-netbox__secretstore_____init____.py @@ -0,0 +1,15 @@ +Adjust version check to allow NetBox 3.3.10 + +https://github.com/DanSheps/netbox-secretstore/pull/106 + +--- netbox_secretstore/__init__.py.orig 2022-12-14 09:03:13 UTC ++++ netbox_secretstore/__init__.py +@@ -18,7 +18,7 @@ class NetBoxSecretStore(PluginConfig): + author_email = metadata.get('Author-email') + base_url = 'netbox_secretstore' + min_version = '3.3.0beta1' +- max_version = '3.3.9' ++ max_version = '3.3.10' + required_settings = [] + default_settings = { + 'public_key_size': 2048