git: e4a00602b2a0 - main - net-mgmt/netbox: Update to 4.6.6

Kai Knoblich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by kai:

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

commit e4a00602b2a07043d069404b2dbc2323732164c6
Author:     Kai Knoblich <[email protected]>
AuthorDate: 2026-07-31 14:18:22 +0000
Commit:     Kai Knoblich <[email protected]>
CommitDate: 2026-07-31 14:18:22 +0000

    net-mgmt/netbox: Update to 4.6.6
    
    Changelog:
    
    Enhancements:
    * Enable the selection of VLANs scoped to a device's cluster or cluster
      group when assigning VLANs to interfaces
    * Render colored badges for custom field choices in tables
    * Change the default color of the DHCP IP address status from green to
      purple to distinguish it from "available"
    * Introduce an "any" lookup for the tag and tag_id filters to match
      objects assigned any of the specified tags
    * Add a header_safe Jinja2 filter for sanitizing HTTP header values
    
    Performance Improvements:
    * Improve the speed of bulk object deletion by avoiding per-object
      cascade handling and N+1 counter updates
    * Avoid an unnecessary queryset evaluation when rendering export
      templates
    
    Bug Fixes:
    * Ensure view permissions are enforced when referencing a related object
      by its attributes in the REST API
    * Make JournalEntry.created_by immutable after creation to prevent audit
      trail spoofing
    * Include circuit distance when calculating the total length of a cable
      path
    * Restrict the VLANs available for assignment to a prefix scoped to a
      site group
    * Record changes to front/rear port mappings in the changelog
    * Redact server filesystem paths from tracebacks rendered by
      ConfigTemplate debug mode
    * Pre-populate interface attributes when using "Create & Add Another"
    * Avoid raising a DataError exception when a cable length exceeds the
      maximum supported value
    * Validate the URL scheme of RSS feed entries to prevent DOM-based
      cross-site scripting
    * Display validation errors for form fields which lack HTML5 constraints
    * Prevent the deletion of a site group from cascading to prefixes scoped
      to its member sites
    * Restore the left border on the quick search field
    * Return to the scripts list when cancelling out of the "add script"
      form
    * Fix the resolution of port mappings when {vc_position} is used on
      device type component templates
    * Highlight relevant dropdown fields when form validation fails
    * Fix KeyError raised when validating a device assigned to a cluster
      scoped to a different location
    * Avoid raising a KeyError for malformed IP address and prefix values
      submitted via the REST API
    * Raise a protected-deletion error rather than a TypeError when deleting
      a virtual chassis with a cross-chassis LAG
    * Escape object names when populating the Content-Disposition header of
      file responses
    * Include the comments field of ASNs in the global search index
    * Clear stale connector metadata from cable endpoints when deleting a
      profiled cable
    * Ensure ContentTypeField respects its declared queryset to prevent the
      selection of non-public object types
    * Restore the rear port fields on the front port bulk import form
    * Fix the GraphQL length lookup for array filters
    * Include the comments field of several models in the global search
      indexes
    * Store a null value rather than an empty string for cable_end when
      removing a cable
    * Fix TypeError exception when bulk adding module bays to devices
    * Enforce saved filter visibility when applied via the filter or
      filter_id query parameter
    
    https://github.com/netbox-community/netbox/releases/tag/v4.6.6
    
    MFH:            2026Q3
---
 net-mgmt/netbox/Makefile  | 13 ++++++-------
 net-mgmt/netbox/distinfo  |  6 +++---
 net-mgmt/netbox/pkg-plist | 10 ++++++++++
 3 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index 1749fb3e9d69..d2bd0e27f2f3 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.6.5
-PORTREVISION=	1
+DISTVERSION=	4.6.6
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	[email protected]
@@ -43,8 +42,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}dj60-drf-spectacular-sidecar>=2026.7.1:www/py-dj60-drf-spectacular-sidecar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-social-auth-app-django>=5.9.0<6:www/py-dj60-social-auth-app-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-sorl-thumbnail>=13.0.0<14:graphics/py-dj60-sorl-thumbnail@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql>=0.321.0<1:devel/py-dj60-strawberry-graphql@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql-django>=0.86.4<1:www/py-dj60-strawberry-graphql-django@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql>=0.323.2<1:devel/py-dj60-strawberry-graphql@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql-django>=0.86.5<1:www/py-dj60-strawberry-graphql-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6<1:devel/py-colorama@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.12<7:textproc/py-feedparser@${PY_FLAVOR} \
@@ -52,7 +51,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.26.0<5:devel/py-jsonschema@${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}mkdocs-material>=9.7.7<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocstrings>=1.0.6<2:textproc/py-mkdocstrings@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocstrings-python>=2.0.5:textproc/py-mkdocstrings-python@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}netaddr>=1.3.0<2:net/py-netaddr@${PY_FLAVOR} \
@@ -64,13 +63,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}redis>=7.4.0<8:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.34.2<3:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq>=2.10<3:devel/py-rq@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}social-auth-core4>=4.8.5<5:security/py-social-auth-core4@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}social-auth-core4>=4.8.7<4.9.0:security/py-social-auth-core4@${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>=2026.3:devel/py-tzdata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3<7:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gunicorn>=26.0.0:www/py-gunicorn@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}zensical>=0.0.50<1:textproc/py-zensical@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}zensical>=0.0.51<1:textproc/py-zensical@${PY_FLAVOR}
 
 USES=		cpe pgsql:14+ python:3.12+
 CPE_VENDOR=	netbox
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index 9feb6de87350..344ea88a9933 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1784047167
-SHA256 (netbox-community-netbox-v4.6.5_GH0.tar.gz) = bf8d0ad84947bbd300f45239255a0e81c5bac33bfd849adeab590267279d5429
-SIZE (netbox-community-netbox-v4.6.5_GH0.tar.gz) = 20041742
+TIMESTAMP = 1785424296
+SHA256 (netbox-community-netbox-v4.6.6_GH0.tar.gz) = 1c3ff1815ca0aebd41caf831aaf3cbd21952ea29fecf34b232ada2c7424269d3
+SIZE (netbox-community-netbox-v4.6.6_GH0.tar.gz) = 20079606
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index a168be2e9c08..787e620af7b0 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -53,6 +53,8 @@
 %%DATADIR%%/circuits/migrations/0055_add_comments_to_organizationalmodel.py
 %%DATADIR%%/circuits/migrations/0056_gfk_indexes.py
 %%DATADIR%%/circuits/migrations/0057_default_ordering_indexes.py
+%%DATADIR%%/circuits/migrations/0058_clear_stale_cable_profile_data.py
+%%DATADIR%%/circuits/migrations/0059_nullify_empty_cable_end.py
 %%DATADIR%%/circuits/migrations/__init__.py
 %%DATADIR%%/circuits/models/__init__.py
 %%DATADIR%%/circuits/models/base.py
@@ -300,6 +302,10 @@
 %%DATADIR%%/dcim/migrations/0235_cabletermination_circuit_site_cache.py
 %%DATADIR%%/dcim/migrations/0236_moduletype_component_counts.py
 %%DATADIR%%/dcim/migrations/0237_module_remove_local_context_data.py
+%%DATADIR%%/dcim/migrations/0238_alter_cable__abs_length.py
+%%DATADIR%%/dcim/migrations/0239_add_portmapping_objectchange.py
+%%DATADIR%%/dcim/migrations/0240_clear_stale_cable_profile_data.py
+%%DATADIR%%/dcim/migrations/0241_nullify_empty_cable_end.py
 %%DATADIR%%/dcim/migrations/__init__.py
 %%DATADIR%%/dcim/migrations/initial_data/module_type_profiles/cpu.json
 %%DATADIR%%/dcim/migrations/initial_data/module_type_profiles/expansion_card.json
@@ -346,6 +352,7 @@
 %%DATADIR%%/dcim/tests/test_management_commands.py
 %%DATADIR%%/dcim/tests/test_models.py
 %%DATADIR%%/dcim/tests/test_natural_ordering.py
+%%DATADIR%%/dcim/tests/test_port_mappings.py
 %%DATADIR%%/dcim/tests/test_search.py
 %%DATADIR%%/dcim/tests/test_signals.py
 %%DATADIR%%/dcim/tests/test_tables.py
@@ -882,6 +889,7 @@
 %%DATADIR%%/ipam/migrations/0090_vlangroup_recompute_total_vlan_ids.py
 %%DATADIR%%/ipam/migrations/0091_alter_service_index_and_ordering.py
 %%DATADIR%%/ipam/migrations/0092_iprange_host_indexes.py
+%%DATADIR%%/ipam/migrations/0093_alter_prefix__region_alter_prefix__site_group.py
 %%DATADIR%%/ipam/migrations/__init__.py
 %%DATADIR%%/ipam/models/__init__.py
 %%DATADIR%%/ipam/models/asns.py
@@ -2024,6 +2032,7 @@
 %%DATADIR%%/virtualization/migrations/0054_virtualmachinetype.py
 %%DATADIR%%/virtualization/migrations/0055_default_ordering_indexes.py
 %%DATADIR%%/virtualization/migrations/0056_virtualmachine_render_config_permission.py
+%%DATADIR%%/virtualization/migrations/0057_alter_cluster__region_alter_cluster__site_group.py
 %%DATADIR%%/virtualization/migrations/__init__.py
 %%DATADIR%%/virtualization/models/__init__.py
 %%DATADIR%%/virtualization/models/clusters.py
@@ -2139,6 +2148,7 @@
 %%DATADIR%%/wireless/migrations/0017_gfk_indexes.py
 %%DATADIR%%/wireless/migrations/0018_add_mptt_tree_indexes.py
 %%DATADIR%%/wireless/migrations/0019_default_ordering_indexes.py
+%%DATADIR%%/wireless/migrations/0020_alter_wirelesslan__region_and_more.py
 %%DATADIR%%/wireless/migrations/__init__.py
 %%DATADIR%%/wireless/models.py
 %%DATADIR%%/wireless/search.py
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.