svn commit: r521889 - in branches/2020Q1/net-mgmt/netbox: . files
Kai Knoblich
kai at FreeBSD.org
Thu Jan 2 23:52:25 UTC 2020
Author: kai
Date: Thu Jan 2 23:52:23 2020
New Revision: 521889
URL: https://svnweb.freebsd.org/changeset/ports/521889
Log:
MFH: r521755
net-mgmt/netbox: Update to 2.6.9
* Remove two backported patches that are no longer required. [1]
* Backport a patch from upstream that fixes a regression when accessing the
API documentation.
* Update the WWW field.
Changelog:
Enhancements:
* Include direct link to rack elevations on site view
* Move virtual machine results near devices in global search
* Added copy button for API tokens
Bug Fixes:
* Prevent the deletion of a virtual chassis when a cross-member LAG
is present
* Respect custom field default values when creating objects via the REST API
* Fix exception on password change page for local users [1]
* Fix unable to assign IP to interface [1]
Approved by: ports-secteam (joneum)
Added:
branches/2020Q1/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py
- copied unchanged from r521755, head/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py
Deleted:
branches/2020Q1/net-mgmt/netbox/files/patch-netbox_ipam_tables.py
branches/2020Q1/net-mgmt/netbox/files/patch-netbox_users_views.py
Modified:
branches/2020Q1/net-mgmt/netbox/Makefile
branches/2020Q1/net-mgmt/netbox/distinfo
branches/2020Q1/net-mgmt/netbox/pkg-descr (contents, props changed)
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/net-mgmt/netbox/Makefile
==============================================================================
--- branches/2020Q1/net-mgmt/netbox/Makefile Thu Jan 2 23:50:36 2020 (r521888)
+++ branches/2020Q1/net-mgmt/netbox/Makefile Thu Jan 2 23:52:23 2020 (r521889)
@@ -2,8 +2,7 @@
PORTNAME= netbox
DISTVERSIONPREFIX= v
-DISTVERSION= 2.6.8
-PORTREVISION= 1
+DISTVERSION= 2.6.9
CATEGORIES= net-mgmt
MAINTAINER= kai at FreeBSD.org
Modified: branches/2020Q1/net-mgmt/netbox/distinfo
==============================================================================
--- branches/2020Q1/net-mgmt/netbox/distinfo Thu Jan 2 23:50:36 2020 (r521888)
+++ branches/2020Q1/net-mgmt/netbox/distinfo Thu Jan 2 23:52:23 2020 (r521889)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1575996489
-SHA256 (netbox-community-netbox-v2.6.8_GH0.tar.gz) = fb146bdb0369e59034f24b1523ec5025575b3fb9ad473896fd43fc9faffdc9b0
-SIZE (netbox-community-netbox-v2.6.8_GH0.tar.gz) = 2416523
+TIMESTAMP = 1576569679
+SHA256 (netbox-community-netbox-v2.6.9_GH0.tar.gz) = 82b993a4002ad68f0d572591f81958aa88a37244c9d76646c01c210fdd57bdb9
+SIZE (netbox-community-netbox-v2.6.9_GH0.tar.gz) = 2417598
Copied: branches/2020Q1/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py (from r521755, head/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q1/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py Thu Jan 2 23:52:23 2020 (r521889, copy of r521755, head/net-mgmt/netbox/files/patch-netbox_extras_api_customfields.py)
@@ -0,0 +1,18 @@
+Fix AttributeError exception in API docs when accessing api/docs
+
+Obtained from:
+
+https://github.com/netbox-community/netbox/commit/55b503da5bdf2a95e903fb657ade195ff89cae91
+
+--- netbox/extras/api/customfields.py.orig 2019-12-16 21:32:00 UTC
++++ netbox/extras/api/customfields.py
+@@ -124,6 +124,9 @@ class CustomFieldModelSerializer(ValidatedModelSeriali
+
+ else:
+
++ if not hasattr(self, 'initial_data'):
++ self.initial_data = {}
++
+ # Populate default values
+ if fields and 'custom_fields' not in self.initial_data:
+ self.initial_data['custom_fields'] = {}
Modified: branches/2020Q1/net-mgmt/netbox/pkg-descr
==============================================================================
--- branches/2020Q1/net-mgmt/netbox/pkg-descr Thu Jan 2 23:50:36 2020 (r521888)
+++ branches/2020Q1/net-mgmt/netbox/pkg-descr Thu Jan 2 23:52:23 2020 (r521889)
@@ -12,4 +12,4 @@ management:
- Data circuits - Long-haul communications circuits and providers
- Secrets - Encrypted storage of sensitive credentials
-WWW: https://github.com/digitalocean/netbox
+WWW: https://github.com/netbox-community/netbox
More information about the svn-ports-all
mailing list