git: 63396c61de9b - 2023Q3 - net-mgmt/netbox: Update to 3.5.6

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 12 Jul 2023 04:32:45 UTC
The branch 2023Q3 has been updated by kai:

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

commit 63396c61de9bb77c5d15a1b824d80d111bf05de7
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-07-12 04:10:33 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-07-12 04:30:09 +0000

    net-mgmt/netbox: Update to 3.5.6
    
    Changelogs since 3.5.4:
    
    Enhancements:
    * Annotate VLAN group utilization
    * Add "copy to clipboard" buttons in UI for IP addresses
    * Add 100GE QSFP-DD interface type
    * Include additional contact details on contact assignments table
    * Associate contact assignments with their objects in the change log
    
    Bug Fixes:
    * Fix REST API validation of null values for several
      interface attributes
    * Fix exception when clicking "create and add another" to add a cable
    * Populate prechange snapshot on parent object when assigning/removing
      primary IP address
    * Avoid rendering partial HTMX responses when restoring browser tabs
    * Improve handling of exceptions when loading reports
    * Fix LDAP group permissions assignment for API clients
    * Display consistent parent information for each termination
      under cable view
    * Fix designation of primary IP addresses during interface assignment
    * Fix OpenAPI schema for various choice fields
    * Set correct return URL for object contacts tabs
    * Avoid catching database exceptions when maintenance mode is disabled
    * Correct URL for VirtualDeviceContext API serializer
    * Fix URL parameters for object count dashboard widgets
    * Avoid erroneously clearing many-to-many assignments during bulk edit
    * Fix bulk import of tags for device & module types
    * Do not escape commas when rendering custom links
    * Correct ASN count under ASN ranges list
    * Add config_template field to device API serializer
    * Allow nullifying power port max & allocated draw values
      during bulk edit
    * Fix ValueError exception when searching for virtual device context
      for non-numeric values
    * Fix display of last result for scripts & reports with a
      custom name defined
    * Hide scheduling fields for all scripts with scheduling disabled
    * Fix exception when attempting to allocate next available IP address
      from prefix marked as utilized
    * Catch ProgrammingError exception when starting NetBox without
      pre-populated content types
    * Exclude stale content types when retrieving changelog records
    
    https://github.com/netbox-community/netbox/releases/tag/v3.5.6
    https://github.com/netbox-community/netbox/releases/tag/v3.5.5
    
    MFH:            2023Q3
    (cherry picked from commit 14237e665f5cc7a7453d232a50e7de712af51b80)
---
 net-mgmt/netbox/Makefile  | 14 +++++++-------
 net-mgmt/netbox/distinfo  |  6 +++---
 net-mgmt/netbox/pkg-plist |  1 +
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index 752bc14a51ac..428616f17687 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.5.4
+DISTVERSION=	3.5.6
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	kai@FreeBSD.org
@@ -23,22 +23,22 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 # - www/py-dj41-django-tables2
 # - www/py-dj41-djangorestframework
 #
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=4.1.9<4.2:www/py-django41@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=4.1.10<4.2:www/py-django41@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-cors-headers>=4.1.0<5:www/py-dj41-django-cors-headers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-debug-toolbar>=4.1.0<5:www/py-dj41-django-debug-toolbar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-filter>=23.2<24:www/py-dj41-django-filter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-graphiql-debug-toolbar>=0.2.0<1:www/py-dj41-django-graphiql-debug-toolbar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-mptt>=0.14.0<0.15:www/py-dj41-django-mptt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-prometheus>=2.3.1<2.4:www/py-dj41-django-prometheus@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-django-redis>=5.2.0<6:www/py-dj41-django-redis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-django-rich>=1.6.0<2:www/py-dj41-django-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-redis>=5.3.0<6:www/py-dj41-django-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-rich>=1.7.0<2:www/py-dj41-django-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-rq>=2.8.1<2.9:devel/py-dj41-django-rq@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-django-tables2>=2.5.3<2.6:www/py-dj41-django-tables2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-tables2>=2.6<2.7:www/py-dj41-django-tables2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-taggit>=4.0.0<5:www/py-dj41-django-taggit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-timezone-field>=5.1<6:www/py-dj41-django-timezone-field@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-djangorestframework>=3.14.0<3.15.0:www/py-dj41-djangorestframework@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-drf-spectacular>=0.26.2<1:www/py-dj41-drf-spectacular@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-drf-spectacular-sidecar>=2023.6.1:www/py-dj41-drf-spectacular-sidecar@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-drf-spectacular>=0.26.3<1:www/py-dj41-drf-spectacular@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-drf-spectacular-sidecar>=2023.7.1:www/py-dj41-drf-spectacular-sidecar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-graphene-django>=3.0.0,1<3.0.0_99,1:devel/py-dj41-graphene-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}bleach>=5.0.1<7:www/py-bleach@${PY_FLAVOR} \
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index a0448672300d..d2f55774192f 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687761839
-SHA256 (netbox-community-netbox-v3.5.4_GH0.tar.gz) = 32cd3c3f8612b79404f6ae83c51759eb2dfd60aeeae3915f236f00e1efbb2fdd
-SIZE (netbox-community-netbox-v3.5.4_GH0.tar.gz) = 5767557
+TIMESTAMP = 1689053415
+SHA256 (netbox-community-netbox-v3.5.6_GH0.tar.gz) = 49e04eb2ec3bade52bd78915922db5b63f02063e8031848eb28577f1db796724
+SIZE (netbox-community-netbox-v3.5.6_GH0.tar.gz) = 5771625
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index 5ade722d1e58..31c99a1f5d52 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -1263,6 +1263,7 @@
 %%DATADIR%%/utilities/tables.py
 %%DATADIR%%/utilities/templates/builtins/badge.html
 %%DATADIR%%/utilities/templates/builtins/checkmark.html
+%%DATADIR%%/utilities/templates/builtins/copy_content.html
 %%DATADIR%%/utilities/templates/builtins/customfield_value.html
 %%DATADIR%%/utilities/templates/builtins/htmx_table.html
 %%DATADIR%%/utilities/templates/builtins/tag.html