Port details on branch 2022Q2 |
- py-netbox-secretstore Secret store for NetBox
- 1.4.1_2 security
=0 1.4.1_2Version of this port present on the latest quarterly branch.
- DEPRECATED: No longer maintained by upstream, not compatible with NetBox 3.5, please migrate to security/py-netbox-secrets
This port expired on: 2023-08-15
- Maintainer: kai@FreeBSD.org
- Port Added: 2021-10-04 17:30:41
- Last Update: 2023-08-22 18:58:59
- Commit Hash: fb156d6
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/dansheps/netbox-secretstore
- Description:
- With NetBox 3.0 the secrets are no longer managed by NetBox itself. This is
the continuation of the secrets app.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}netbox-secretstore>0:security/py-netbox-secretstore@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-netbox-secretstore
- Package flavors (<flavor>: <package>)
- py39: py39-netbox-secretstore
- distinfo:
- TIMESTAMP = 1676976590
SHA256 (netbox-secretstore-1.4.1.tar.gz) = fb0a81cfddc38d1b3d9793ec7013fd97c7945d54c4b0989ac32f5a92920c4eaf
SIZE (netbox-secretstore-1.4.1.tar.gz) = 46819
No package information for this port in our database- Sometimes this happens. Not all ports have packages.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-importlib-metadata>0 : devel/py-importlib-metadata@py39
- py39-pycryptodome>0 : security/py-pycryptodome@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_py-netbox-secretstore
- USES:
- python
- pkg-message:
- For install:
- To enable the plugin please do the following steps:
1. Add/update the following line in the netbox configuration (usually
/usr/local/share/netbox/netbox/configuration.py):
PLUGINS = ['netbox_secretstore']
2. Run NetBox migrations and collect static files:
# cd /usr/local/share/netbox
# python3.9 manage.py migrate
# python3.9 manage.py collectstatic --no-input
3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
- If upgrading from < 1.0.14:
- 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
/usr/local/share/netbox/netbox/configuration.py):
PLUGINS = ['netbox_plugin_extensions','netbox_secretstore']
2. Run NetBox migrations and collect static files:
# cd /usr/local/share/netbox
# python3.9 manage.py migrate
# python3.9 manage.py collectstatic --no-input
3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
- If upgrading from < 1.2.0:
- 1. The plugin 'netbox_plugin_extensions' is no longer required since the
1.2.0 release. Please remove it from the PLUGINS section in the nextbox
configuration.
2. Run NetBox migrations and collect static files:
# cd /usr/local/share/netbox
# python3.9 manage.py migrate
# python3.9 manage.py collectstatic --no-input
3. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
- If upgrading from < 1.4.2_2:
- 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 (usually /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.
- Master Sites:
|