git: 8220602ab5a0 - main - security/py-netbox-secretstore: Update to 1.0.14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jan 2022 18:19:57 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=8220602ab5a0ef8dd559ea77771051677b650b42 commit 8220602ab5a0ef8dd559ea77771051677b650b42 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-01-18 18:05:54 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-01-18 18:18:12 +0000 security/py-netbox-secretstore: Update to 1.0.14 Changelog since 1.0.10: https://github.com/DanSheps/netbox-secretstore/compare/v1.0.10...v1.0.14 MFH: No (contain backwards incompatible changes) --- security/py-netbox-secretstore/Makefile | 6 +++--- security/py-netbox-secretstore/distinfo | 6 +++--- .../py-netbox-secretstore/files/pkg-message.in | 23 +++++++++++++++++++++- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/security/py-netbox-secretstore/Makefile b/security/py-netbox-secretstore/Makefile index a0bdc98f5e8a..3fc41bcc5ad2 100644 --- a/security/py-netbox-secretstore/Makefile +++ b/security/py-netbox-secretstore/Makefile @@ -1,5 +1,5 @@ PORTNAME= netbox-secretstore -DISTVERSION= 1.0.10 +DISTVERSION= 1.0.14 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,10 +10,10 @@ COMMENT= Secret store for NetBox LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= netbox>=3.0.0:net-mgmt/netbox \ +RUN_DEPENDS= netbox>=3.1.0:net-mgmt/netbox \ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}netbox-plugin-extensions>0:net-mgmt/py-netbox-plugin-extensions@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}netbox-plugin-extensions>=1.0.8:net-mgmt/py-netbox-plugin-extensions@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils diff --git a/security/py-netbox-secretstore/distinfo b/security/py-netbox-secretstore/distinfo index 1c6dd283ff76..d5a395add4b1 100644 --- a/security/py-netbox-secretstore/distinfo +++ b/security/py-netbox-secretstore/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637871954 -SHA256 (netbox-secretstore-1.0.10.tar.gz) = 980b6021a4cce13452514eb7dc0362122f15706a4676eb5225a2e1adfd66e92c -SIZE (netbox-secretstore-1.0.10.tar.gz) = 46495 +TIMESTAMP = 1642253934 +SHA256 (netbox-secretstore-1.0.14.tar.gz) = efd023ab9e14fffd7a971d801c080aa51f63b5ee3d94e94f3aba42bbedcf2fc8 +SIZE (netbox-secretstore-1.0.14.tar.gz) = 44869 diff --git a/security/py-netbox-secretstore/files/pkg-message.in b/security/py-netbox-secretstore/files/pkg-message.in index fa0bbe235174..272a01aa63b1 100644 --- a/security/py-netbox-secretstore/files/pkg-message.in +++ b/security/py-netbox-secretstore/files/pkg-message.in @@ -6,7 +6,28 @@ To enable the plugin please do the following steps: 1. Add/update the following line in the netbox configuration (usually %%LOCALBASE%%/share/netbox/netbox/configuration.py): - PLUGINS = ['netbox_secretstore'] + PLUGINS = ['netbox_plugin_extensions','netbox_secretstore'] + +2. Run NetBox migrations and collect static files: + + # cd %%LOCALBASE%%/share/netbox + # python%%PYTHON_VER%% manage.py migrate + # python%%PYTHON_VER%% manage.py collectstatic --no-input + +3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.) +EOD +} +{ type: upgrade + maximum_version: 1.0.14 + message: <<EOD +Due to some changes of net-mgmt/py-netbox-plugin-extensions, which is required +by security/py-netbox-secretstore, the NetBox configuration must therefore be +adjusted accordingly: + +1. Add/update the following line in the netbox configuration (usually + %%LOCALBASE%%/share/netbox/netbox/configuration.py): + + PLUGINS = ['netbox_plugin_extensions','netbox_secretstore'] 2. Run NetBox migrations and collect static files: