git: 1175def053e0 - main - net-mgmt/netbox: Update to 4.2.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Mar 2025 13:48:10 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1175def053e000af8fcac88892289abc47980bc6
commit 1175def053e000af8fcac88892289abc47980bc6
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-03-07 13:41:32 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-03-07 13:47:40 +0000
net-mgmt/netbox: Update to 4.2.5
Enhancements:
* Use VirtualChassis name as fallback for unnamed devices
* Add contact assignments to VPN tunnels
* Allow script inputs to be filtered on ObjectVar and MultiObjectVar
selections
* Add permalink URL pattern to match a custom script by module and
class name
* Ensure contacts are shown on children of objects with contacts
* Support "Quick Add" for plugins
* Improve performance of job list views
* Support setting VLAN translation on bulk edit of interfaces
* Add "type" filter for virtual circuits
* Add tooltip preview of tag descriptions when hovering over tags
Bug Fixes:
* Prevent AssertionError when adding multiple devices "mid-span" in a
cable trace
* Prevent setting tagged VLANs on interfaces with mode: tagged-all
* Ensure VLANGroup.vid_ranges shows up in API results
* Fix IndexError on "Create & Add Another" operation on custom
field choices
* Allow primary key for nested models in OpenAPI request schemas
* Limit VLAN selection dropdown to choices appropriate to site
* Improve UI feedback on failed script execution
* Fix unpredictable ordering on querysets with annotations/groupings
* Prevent webhooks from being triggered on a script dry-run
* Fix FieldError when sorting by account count field in providers list
* Fix removing a secondary MAC address from an interface
https://github.com/netbox-community/netbox/releases/tag/v4.2.5
---
net-mgmt/netbox/Makefile | 14 +++++++-------
net-mgmt/netbox/distinfo | 6 +++---
net-mgmt/netbox/pkg-plist | 2 ++
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index dfaf0a8e28c8..ff9c0b0b6830 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
PORTNAME= netbox
DISTVERSIONPREFIX= v
-DISTVERSION= 4.2.4
+DISTVERSION= 4.2.5
CATEGORIES= net-mgmt python
MAINTAINER= kai@FreeBSD.org
@@ -23,7 +23,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
# - www/py-dj51-django-tables2
# - www/py-dj51-djangorestframework
#
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1.6<5.2:www/py-django51@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1.7<5.2:www/py-django51@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-django-cors-headers>=4.7.0<5:www/py-dj51-django-cors-headers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-django-debug-toolbar>=5.0.1<6:www/py-dj51-django-debug-toolbar@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-django-filter>=25.1<26:www/py-dj51-django-filter@${PY_FLAVOR} \
@@ -38,19 +38,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1.6<5.2:www/py-django51@${PY_FLA
${PYTHON_PKGNAMEPREFIX}dj51-django-timezone-field>=7.1<8:www/py-dj51-django-timezone-field@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.15.2<3.16.0:www/py-dj51-djangorestframework@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular>=0.28.0<1:www/py-dj51-drf-spectacular@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular-sidecar>=2025.2.1:www/py-dj51-drf-spectacular-sidecar@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular-sidecar>=2025.3.1:www/py-dj51-drf-spectacular-sidecar@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-social-auth-app-django>=5.4.3<6:www/py-dj51-social-auth-app-django@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj51-strawberry-graphql>=0.260.2<0.300:devel/py-dj51-strawberry-graphql@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dj51-strawberry-graphql>=0.262.0<0.300:devel/py-dj51-strawberry-graphql@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dj51-strawberry-graphql-django>=0.52.0<1:www/py-dj51-strawberry-graphql-django@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.11<7:textproc/py-feedparser@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.5<4:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6<4:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>=3.6<3.8:textproc/py-markdown@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.6.5<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.6.7<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.27.0<1:textproc/py-mkdocstrings@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy>0:textproc/py-mkdocstrings-python-legacy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netaddr>=1.3.0<2:net/py-netaddr@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}nh3>=0.2.20<0.3:www/py-nh3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nh3>=0.2.21<0.3:www/py-nh3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=11.0.0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psycopg>=3.1.20<4:databases/py-psycopg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psycopg-c>=3.1.20<4:databases/py-psycopg-c@${PY_FLAVOR} \
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index 3a29bd3ee52a..ab53f49042cc 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740212194
-SHA256 (netbox-community-netbox-v4.2.4_GH0.tar.gz) = eefeb3eb40abe86163377292960905af9c49699df87d993976bec53d6d0e1407
-SIZE (netbox-community-netbox-v4.2.4_GH0.tar.gz) = 18209409
+TIMESTAMP = 1741278008
+SHA256 (netbox-community-netbox-v4.2.5_GH0.tar.gz) = 4a79f89dac4947477ecb0c2d6bc1b7576d4a046a7f081e57f791bb1fe117768e
+SIZE (netbox-community-netbox-v4.2.5_GH0.tar.gz) = 18303424
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index 6abfb679dae8..1268569410b7 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -165,6 +165,7 @@
%%DATADIR%%/dcim/base_filtersets.py
%%DATADIR%%/dcim/choices.py
%%DATADIR%%/dcim/constants.py
+%%DATADIR%%/dcim/exceptions.py
%%DATADIR%%/dcim/fields.py
%%DATADIR%%/dcim/filtersets.py
%%DATADIR%%/dcim/forms/__init__.py
@@ -738,6 +739,7 @@
%%DATADIR%%/ipam/tests/__init__.py
%%DATADIR%%/ipam/tests/test_api.py
%%DATADIR%%/ipam/tests/test_filtersets.py
+%%DATADIR%%/ipam/tests/test_forms.py
%%DATADIR%%/ipam/tests/test_models.py
%%DATADIR%%/ipam/tests/test_ordering.py
%%DATADIR%%/ipam/tests/test_views.py