git: da926c1e8d31 - main - net-mgmt/netbox: Update to 3.4.6

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Thu, 16 Mar 2023 06:18:20 UTC
The branch main has been updated by kai:

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

commit da926c1e8d31956b2da754a7449e97ca0619c8fd
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-16 06:01:04 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-16 06:01:04 +0000

    net-mgmt/netbox: Update to 3.4.6
    
    Changelog:
    
    Enhancements:
    * Enable searching for devices/VMs by primary IP address
    * Add ability to toggle visibility of virtual interfaces under
      device view
    * Enable live preview of Markdown content
    * Restore default page size when navigating between views
    * Add connected_endpoints field to GraphQL API for cabled objects
    * Include IP version in GraphQL API representations of aggregates,
      prefixes, and IP addresses
    * Add Cisco StackWise 1T interface type
    * Add IEEE 802.3az PoE type for interfaces
    * Strip whitespace from CSV headers prior to validation
    
    Bug Fixes:
    * Avoid raising exception when filtering IPs by an invalid address
    * Apply custom field defaults to IP address created during FHRP
      group creation
    * Fix filtering changelog & journal entries by multiple content type IDs
    * Support non-URL-safe characters in plugin menu titles
    * When importing devices, restrict rack by location only if the location
      field is specified
    * Fix filtering of cable terminations by object type
    * Fix loading of CSV files containing a byte order mark
    * Fix escaping of return URL values for action buttons in tables
    * Correct loading of plugin resources with custom paths
    
    https://github.com/netbox-community/netbox/releases/tag/v3.4.6
---
 net-mgmt/netbox/Makefile  | 10 +++++-----
 net-mgmt/netbox/distinfo  |  6 +++---
 net-mgmt/netbox/pkg-plist |  3 +++
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index 4054a7730b2b..db87c3cfd1f2 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.4.5
+DISTVERSION=	3.4.6
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	kai@FreeBSD.org
@@ -24,16 +24,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 # - www/py-dj41-djangorestframework (in conjunction with www/py-dj41-drf-yasg)
 #
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=4.1.7<4.2:www/py-django41@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-django-cors-headers>=3.13.0<4:www/py-dj41-django-cors-headers@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-cors-headers>=3.14.0<4:www/py-dj41-django-cors-headers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-debug-toolbar>=3.7.0<4:www/py-dj41-django-debug-toolbar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-filter>=22.1<23: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.2.0<2.3: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.4.0<2:www/py-dj41-django-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-rich>=1.5.0<2:www/py-dj41-django-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-rq>=2.7.0<2.8:devel/py-dj41-django-rq@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj41-django-tables2>=2.5.2<2.6:www/py-dj41-django-tables2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj41-django-tables2>=2.5.3<2.6:www/py-dj41-django-tables2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-taggit>=3.1.0<4:www/py-dj41-django-taggit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj41-django-timezone-field>=5.0<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} \
@@ -44,7 +44,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=4.1.7<4.2:www/py-django41@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2<4:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7<3.4:textproc/py-markdown@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown-include>=0.7.0<1:textproc/py-markdown-include@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mkdocs-material>=8.5.11<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.1.2<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.17.0<1:textproc/py-mkdocstrings@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}netaddr>=0.8.0<1:net/py-netaddr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=9.4.0:graphics/py-pillow@${PY_FLAVOR} \
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index bd8b15e26827..56bb2583e6dc 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676994695
-SHA256 (netbox-community-netbox-v3.4.5_GH0.tar.gz) = 505e4551f6420a70265e927a2ad7b2fabbea5d917e396abaf410713d80fd2736
-SIZE (netbox-community-netbox-v3.4.5_GH0.tar.gz) = 7371574
+TIMESTAMP = 1678823483
+SHA256 (netbox-community-netbox-v3.4.6_GH0.tar.gz) = b866124f33941317d0682710b54c4b055d9f57958c45109e2b46d2d53ba08b37
+SIZE (netbox-community-netbox-v3.4.6_GH0.tar.gz) = 7376010
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index dd0271d1eed3..8f3bfce5075a 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -409,6 +409,7 @@
 %%DATADIR%%/extras/forms/bulk_import.py
 %%DATADIR%%/extras/forms/config.py
 %%DATADIR%%/extras/forms/filtersets.py
+%%DATADIR%%/extras/forms/misc.py
 %%DATADIR%%/extras/forms/mixins.py
 %%DATADIR%%/extras/forms/model_forms.py
 %%DATADIR%%/extras/forms/reports.py
@@ -724,6 +725,7 @@
 %%DATADIR%%/project-static/src/buttons/connectionToggle.ts
 %%DATADIR%%/project-static/src/buttons/depthToggle.ts
 %%DATADIR%%/project-static/src/buttons/index.ts
+%%DATADIR%%/project-static/src/buttons/markdownPreview.ts
 %%DATADIR%%/project-static/src/buttons/moveOptions.ts
 %%DATADIR%%/project-static/src/buttons/reslug.ts
 %%DATADIR%%/project-static/src/buttons/selectAll.ts
@@ -1170,6 +1172,7 @@
 %%DATADIR%%/utilities/templates/tabs/model_view_tabs.html
 %%DATADIR%%/utilities/templates/widgets/clearable_file_input.html
 %%DATADIR%%/utilities/templates/widgets/colorselect_option.html
+%%DATADIR%%/utilities/templates/widgets/markdown_input.html
 %%DATADIR%%/utilities/templates/widgets/select_duration.html
 %%DATADIR%%/utilities/templates/widgets/select_option.html
 %%DATADIR%%/utilities/templates/widgets/select_option_with_pk.html