1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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)
This commit is contained in:
Kai Knoblich 2022-01-18 19:05:54 +01:00
parent ddf04ccd86
commit 8220602ab5
3 changed files with 28 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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: