git: b851b7ba866f - main - net-mgmt/netbox: Update to 4.5.7

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 17 Apr 2026 12:22:13 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b851b7ba866f342b8fd1a2ca936560cad704da7a

commit b851b7ba866f342b8fd1a2ca936560cad704da7a
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-04-17 12:21:35 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-04-17 12:21:35 +0000

    net-mgmt/netbox: Update to 4.5.7
    
    Changelog:
    
    Enhancements:
    * Adopt IEC unit labels (e.g. GiB) for virtual machine resources
    * Add support for django-rq 4.0 and introduce RQ configuration parameter
    * Support uploading custom scripts via the REST API (/api/extras/
      scripts/upload/)
    * Add a 1C2P:2C1P breakout cable profile
    
    Performance Improvements:
    * Optimize queries for object and multi-object type custom fields
    
    Bug Fixes:
    * Fix installation of modules with placeholder values in component names
    * Fix server error triggered by event rules referencing deleted objects
    * Ensure read-only fields are included in REST API responses upon object
      creation
    * Fix filtering of object-type custom fields when "is empty" is selected
    * Fix AttributeError exception when sorting a table as an anonymous user
    * Fix RelatedObjectDoesNotExist exception when viewing an interface with
      a virtual circuit termination
    * Fix AttributeError exception when viewing virtual chassis member
    * Fix sorting by broken columns in several object lists
    
    https://github.com/netbox-community/netbox/releases/tag/v4.5.7
    
    MFH:            2026Q2
---
 net-mgmt/netbox/Makefile  | 10 +++++-----
 net-mgmt/netbox/distinfo  |  6 +++---
 net-mgmt/netbox/pkg-plist | 24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index dea4bdd53f35..f0e945ba6132 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.5.6
+DISTVERSION=	4.5.7
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	kai@FreeBSD.org
@@ -32,14 +32,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=5.2.12<5.3:www/py-django52@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}dj52-django-prometheus>=2.4.1<2.5:www/py-dj52-django-prometheus@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-redis>=6.0.0<7:www/py-dj52-django-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-rich>=2.2.0<3:www/py-dj52-django-rich@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj52-django-rq>=3.2.2<3.3:devel/py-dj52-django-rq@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj52-django-rq>=4.0.1<4.1.0:devel/py-dj52-django-rq@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-storages>=1.14.6<2:www/py-dj52-django-storages@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-tables2>=2.8.0<2.9:www/py-dj52-django-tables2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-taggit>=6.1.0<7:www/py-dj52-django-taggit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-django-timezone-field>=7.2.1<8:www/py-dj52-django-timezone-field@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-djangorestframework>=3.16.1<3.17.0:www/py-dj52-djangorestframework@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular>=0.29.0<1:www/py-dj52-drf-spectacular@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular-sidecar>=2026.3.1:www/py-dj52-drf-spectacular-sidecar@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular-sidecar>=2026.4.1:www/py-dj52-drf-spectacular-sidecar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-social-auth-app-django>=5.7.0<6:www/py-dj52-social-auth-app-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-sorl-thumbnail>=13.0.0<14:graphics/py-dj52-sorl-thumbnail@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj52-strawberry-graphql>=0.312.2<1:devel/py-dj52-strawberry-graphql@${PY_FLAVOR} \
@@ -49,7 +49,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=5.2.12<5.3:www/py-django52@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.12<7:textproc/py-feedparser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6<4:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.26.0<5:devel/py-jsonschema@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}markdown>=3.10<4:textproc/py-markdown@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}markdown>=3.10.2<4:textproc/py-markdown@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocs>=1.6.1<2:textproc/py-mkdocs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.7.6<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocstrings>=1.0.3<2:textproc/py-mkdocstrings@${PY_FLAVOR} \
@@ -65,7 +65,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=5.2.12<5.3:www/py-django52@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.8.5<5:security/py-social-auth-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tablib>=3.9.0<4:textproc/py-tablib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tzdata>=2025.3:devel/py-tzdata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tzdata>=2026.1:devel/py-tzdata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3<7:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gunicorn>=25.1.0<26:www/py-gunicorn@${PY_FLAVOR}
 
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index c56b75324e05..21d0edb08151 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774987182
-SHA256 (netbox-community-netbox-v4.5.6_GH0.tar.gz) = 2d4fd20c81b32dae96c70ef604f13f449e9161f3ad21a740e5ac91ed9ef2fc1c
-SIZE (netbox-community-netbox-v4.5.6_GH0.tar.gz) = 19269044
+TIMESTAMP = 1775306087
+SHA256 (netbox-community-netbox-v4.5.7_GH0.tar.gz) = 85e2bd38ac613df42cda89dfe8423927943c145792d1f34394bbba10d31f49ab
+SIZE (netbox-community-netbox-v4.5.7_GH0.tar.gz) = 19259258
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index a36281a3c863..28e62e4dbc19 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -1373,7 +1373,12 @@
 %%DATADIR%%/templates/extras/configcontext.html
 %%DATADIR%%/templates/extras/configcontextprofile.html
 %%DATADIR%%/templates/extras/configtemplate.html
+%%DATADIR%%/templates/extras/configtemplate/attrs/data_file.html
 %%DATADIR%%/templates/extras/customfield.html
+%%DATADIR%%/templates/extras/customfield/attrs/choice_set.html
+%%DATADIR%%/templates/extras/customfield/attrs/related_object_filter.html
+%%DATADIR%%/templates/extras/customfield/attrs/search_weight.html
+%%DATADIR%%/templates/extras/customfield/attrs/type.html
 %%DATADIR%%/templates/extras/customfieldchoiceset.html
 %%DATADIR%%/templates/extras/customlink.html
 %%DATADIR%%/templates/extras/dashboard/reset.html
@@ -1385,6 +1390,7 @@
 %%DATADIR%%/templates/extras/dashboard/widgets/objectlist.html
 %%DATADIR%%/templates/extras/dashboard/widgets/rssfeed.html
 %%DATADIR%%/templates/extras/eventrule.html
+%%DATADIR%%/templates/extras/eventrule/attrs/action_data.html
 %%DATADIR%%/templates/extras/exporttemplate.html
 %%DATADIR%%/templates/extras/htmx/script_result.html
 %%DATADIR%%/templates/extras/imageattachment.html
@@ -1399,7 +1405,23 @@
 %%DATADIR%%/templates/extras/object_imageattachments.html
 %%DATADIR%%/templates/extras/object_journal.html
 %%DATADIR%%/templates/extras/object_render_config.html
+%%DATADIR%%/templates/extras/panels/configcontext_assignment.html
+%%DATADIR%%/templates/extras/panels/configcontext_data.html
+%%DATADIR%%/templates/extras/panels/configcontextprofile_schema.html
 %%DATADIR%%/templates/extras/panels/custom_fields.html
+%%DATADIR%%/templates/extras/panels/customfield_related_objects.html
+%%DATADIR%%/templates/extras/panels/customfieldchoiceset_choices.html
+%%DATADIR%%/templates/extras/panels/eventrule_event_types.html
+%%DATADIR%%/templates/extras/panels/imageattachment_file.html
+%%DATADIR%%/templates/extras/panels/imageattachment_image.html
+%%DATADIR%%/templates/extras/panels/notificationgroup_groups.html
+%%DATADIR%%/templates/extras/panels/notificationgroup_users.html
+%%DATADIR%%/templates/extras/panels/object_types.html
+%%DATADIR%%/templates/extras/panels/savedfilter_object_types.html
+%%DATADIR%%/templates/extras/panels/tableconfig_columns.html
+%%DATADIR%%/templates/extras/panels/tableconfig_ordering.html
+%%DATADIR%%/templates/extras/panels/tag_item_types.html
+%%DATADIR%%/templates/extras/panels/tag_object_types.html
 %%DATADIR%%/templates/extras/panels/tags.html
 %%DATADIR%%/templates/extras/report/base.html
 %%DATADIR%%/templates/extras/report/jobs.html
@@ -1415,6 +1437,7 @@
 %%DATADIR%%/templates/extras/tableconfig.html
 %%DATADIR%%/templates/extras/tableconfig_edit.html
 %%DATADIR%%/templates/extras/tag.html
+%%DATADIR%%/templates/extras/tag/attrs/tagged_item_count.html
 %%DATADIR%%/templates/extras/templatetags/log_level.html
 %%DATADIR%%/templates/extras/webhook.html
 %%DATADIR%%/templates/generic/_base.html
@@ -1550,6 +1573,7 @@
 %%DATADIR%%/templates/ui/panels/object_attributes.html
 %%DATADIR%%/templates/ui/panels/objects_table.html
 %%DATADIR%%/templates/ui/panels/related_objects.html
+%%DATADIR%%/templates/ui/panels/text_code.html
 %%DATADIR%%/templates/users/attrs/full_name.html
 %%DATADIR%%/templates/users/group.html
 %%DATADIR%%/templates/users/inc/user_activity.html