From nobody Tue Jun 27 06:03:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqvK55l0dz4kV05; Tue, 27 Jun 2023 06:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqvK55G8Lz3lxS; Tue, 27 Jun 2023 06:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687845801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i5VifpoTFLEQI7B+vdxHGlTvm42ggAh3RxNe9J5XTjc=; b=J4OJ6O3iJP63t9qdr/d70b1U8pxAbgaQa60QPYwgvboNrvGYgovO/6zfhjddnsh6aNEoMj KyvwHdD/j2clSbvo4bedB+/pkEcaRFZOFqfutyDmGIfseZtDUGm4U1MET4Pdw0p6O610Q4 SEXhShZmAt7iUbTDFuL5/TSa7MeLThlcZSbv3ROkpPGS7VA3t/88KBayhTmn4n+m7atghi RvDRl1PvuLnDSUlAq5tbkl68OtFaFpqLn0lek16qe+JtegeX6Z0alHen5DZurZNkVnBQzB oGNRFkly13z1d2PuzHN9HN2s65Snuvv2YAEjyGpZJbvk6EXYsJ4xWE2BZnJZjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687845801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i5VifpoTFLEQI7B+vdxHGlTvm42ggAh3RxNe9J5XTjc=; b=lXWRve0lr5y82a7p+qVcn7nPsq2DvOn1hZf+hc4pFG8bW4pql/JJ7lXv7tXGN2bPpH3us6 JCxrxLQ2Re3zZhaaF/qxe9uOPbujj1Z7bgBHZQLydKSYhvJntlURfK7oPy4QV3cCe3KMCc Xawpz1JAoHrOxugIypuxEMUsnMpWieZ7kelIgXlDQU1NpvW49kgj337LjAnwcOGcs2EEvn XBr4vPsMXvnIRHrbhSmvOGxMc502eHdliRQdbAFoXH12CQnVC5wyXDk1qW+8dcsMNJuqsG 71fxcOxCfR9GabD8GkbWev7llJ1lj0WicQWtJEgcPrE309jfqg8J7mvFzapA8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687845801; a=rsa-sha256; cv=none; b=Ucqto2bDLQo2lh/E0qw6oeYBfezwnGAqOiCqTRRQw0z9zZOdNTOvhAMssSQinSh3tmyRVC VplFpAb+M9pF2L2xtpqrTC+MSjTCJEU6SkyXQa0xNrZeWldAjbWTGvEqb7zTj1QDplSQgy +z0/Axns5jf3lvfthwdhHf81rAFSIMj/bWI/GGhQgyhm93n8pXoUzRcx3tQT6DtRw6Amm/ GEMSUgilZnraOM6Wy4Y4GCgH+e0AyeMpn2EkL4IxTs5MBQLIeGpBrh6h6k13p1/unrjbXi WufpWMfWATkVmgtt+SvSqdAy1oXo14eDxVRxwQKNbiV+WuGvHbT5Cbju8w1GtA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QqvK54M27zgx1; Tue, 27 Jun 2023 06:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35R63LEE085597; Tue, 27 Jun 2023 06:03:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35R63LmQ085596; Tue, 27 Jun 2023 06:03:21 GMT (envelope-from git) Date: Tue, 27 Jun 2023 06:03:21 GMT Message-Id: <202306270603.35R63LmQ085596@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: ed63bb8de12c - main - net-mgmt/netbox: Update to 3.5.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed63bb8de12c96323ba766935f2773ce6d2ce1c6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed63bb8de12c96323ba766935f2773ce6d2ce1c6 commit ed63bb8de12c96323ba766935f2773ce6d2ce1c6 Author: Kai Knoblich AuthorDate: 2023-06-27 05:59:30 +0000 Commit: Kai Knoblich CommitDate: 2023-06-27 05:59:30 +0000 net-mgmt/netbox: Update to 3.5.4 * Adjust the sample netbox rc script as gunicorn emits a warning if the configuration file doesn't have a ".py" extension. [1] Fix the default path of the "netbox_config" variable as well while I'm here. Changelog: Enhancements: * Define colors for staged change action choices * Include "add" button on all device & virtual machine component list views * Add menu navigation button to add wireless links directly * Add "add" buttons for reports & scripts to navigation menu Bug Fixes: * Update cable terminations when assigning a location to a new site * Permit the assignment of non-site VLANs to prefixes assigned to a site * Correct OpenAPI schema for connected device API endpoint * Allow the assignment of all /31 IP addresses to interfaces * Fix permissions evaluation when queuing a data sync job * Fix encoding of whitespace in custom link URLs * Correct rounding of rack power utilization values * Fix pagination of objects for related IP addresses table * Fix table configuration modal for the contact assignments list * Permit mounting of devices in rack unit 100 * Clear stored ordering from user config when cleared by request https://github.com/netbox-community/netbox/releases/tag/v3.5.4 Reported by: Linda Lapinlampi (via e-mail) [1] --- net-mgmt/netbox/Makefile | 14 +++++++------- net-mgmt/netbox/distinfo | 6 +++--- net-mgmt/netbox/files/netboxrc.sample.in | 4 ++-- net-mgmt/netbox/files/pkg-message.in | 19 +++++++++++++++++++ 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile index 25b3d633f1eb..bbf3763d3b81 100644 --- a/net-mgmt/netbox/Makefile +++ b/net-mgmt/netbox/Makefile @@ -1,6 +1,6 @@ PORTNAME= netbox DISTVERSIONPREFIX= v -DISTVERSION= 3.5.3 +DISTVERSION= 3.5.4 CATEGORIES= net-mgmt python MAINTAINER= kai@FreeBSD.org @@ -24,18 +24,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt # - www/py-dj41-djangorestframework # RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=4.1.9<4.2:www/py-django41@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj41-django-cors-headers>=4.0.0<5:www/py-dj41-django-cors-headers@${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.5.0<2:www/py-dj41-django-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj41-django-rich>=1.6.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-taggit>=3.1.0<5: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-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} \ @@ -48,7 +48,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=4.1.9<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>=9.1.15<10:textproc/py-mkdocs-material@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.1.16<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.5.0:graphics/py-pillow@${PY_FLAVOR} \ @@ -57,7 +57,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=4.1.9<4.2:www/py-django41@${PY_FLA ${PYTHON_PKGNAMEPREFIX}social-auth-app-django>=5.2.0<6:www/py-social-auth-app-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4.2<5:security/py-social-auth-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tablib>=3.3.0<4:textproc/py-tablib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tablib>=3.5.0<4:textproc/py-tablib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2023.3:devel/py-tzdata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=6.0<7:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=20.1.0<21:www/py-gunicorn@${PY_FLAVOR} diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo index 357ced0ec910..a0448672300d 100644 --- a/net-mgmt/netbox/distinfo +++ b/net-mgmt/netbox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685991618 -SHA256 (netbox-community-netbox-v3.5.3_GH0.tar.gz) = 3032aa64954cc2ef8d41703f07a26b30628c4b734460d7eca0a4188ac4d1fa87 -SIZE (netbox-community-netbox-v3.5.3_GH0.tar.gz) = 5768154 +TIMESTAMP = 1687761839 +SHA256 (netbox-community-netbox-v3.5.4_GH0.tar.gz) = 32cd3c3f8612b79404f6ae83c51759eb2dfd60aeeae3915f236f00e1efbb2fdd +SIZE (netbox-community-netbox-v3.5.4_GH0.tar.gz) = 5767557 diff --git a/net-mgmt/netbox/files/netboxrc.sample.in b/net-mgmt/netbox/files/netboxrc.sample.in index f74676e1a4d4..79ad884f632a 100644 --- a/net-mgmt/netbox/files/netboxrc.sample.in +++ b/net-mgmt/netbox/files/netboxrc.sample.in @@ -19,7 +19,7 @@ # netbox_use_config (bool): Set to NO by default. # If set, read the configuration parameter from file defined in # "netbox_config" instead using rc variables. -# netbox_config (str): Default to "/usr/local/etc/${name}.conf}" +# netbox_config (str): Default to "%%LOCALBASE%%/etc/${name}.conf.py}" # Config file for gunicorn's netbox config file # netbox_command (str): Default to "%%LOCALBASE%%/bin/gunicorn" # Path to gunicorn to run netbox @@ -56,7 +56,7 @@ netbox_chdir=${netbox_path} pidfile=${netbox_pidfile:-/var/run/${name}/${name}.pid} netbox_user=${netbox_user:-%%WWWOWN%%} netbox_use_config=${netbox_use_config:-no} -netbox_config=${netbox_config:-/${name}.conf} +netbox_config=${netbox_config:-%%LOCALBASE%%/etc/${name}.conf.py} netbox_bind=${netbox_bind:-localhost:8001} netbox_workers=${netbox_workers:-5} netbox_threads=${netbox_threads:-3} diff --git a/net-mgmt/netbox/files/pkg-message.in b/net-mgmt/netbox/files/pkg-message.in index e47b46f16529..2ae5d8a55343 100644 --- a/net-mgmt/netbox/files/pkg-message.in +++ b/net-mgmt/netbox/files/pkg-message.in @@ -373,4 +373,23 @@ EOD - "/api/redoc/" is now "/api/schema/redoc/" EOD } +{ type: upgrade + maximum_version: 3.5.4 + message: <