From nobody Wed Feb 22 07:15:09 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 4PM6qf2tPzz3sg3y; Wed, 22 Feb 2023 07:15:10 +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 4PM6qd6zTrz4CZq; Wed, 22 Feb 2023 07:15:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677050110; 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=hbnmowMFI50EMT/N3kUQn3yqUhHmIMfs4yAG7HrOFVk=; b=e9268tPSxgCATh0qj0QBTDIhMxiHioiKENVTHu6JczV3Rjx8eaFZ2TDBe1PV7nA+mg41z7 7w/mI7OdcN2WYGwWRBpUpIBt598w+CG/jQx5ccsYHZ/izgSKuIYpRpSAIZ8PWdK3XXzyXT xHsBUbM3RlciPyn2YAV4E+i+Kb9E21vVul0WMbYf7M9ZJu3tEx6Yg5gvK8r+r+aN8LGxlO L6CyF9KflKT/0NfK81ApfDgLbdEaVauZKqwgMhFlCU+YMY+q2MThCDtpoVKbnOmIW4uEZp UpdO53XFH/F5KSVmtI7UzB3A3e/GXeaiXo7pC9+KfmvLwTXV0wQsmZrIWWoKYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677050110; 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=hbnmowMFI50EMT/N3kUQn3yqUhHmIMfs4yAG7HrOFVk=; b=LMTaBf0uGD45r7fGPSlSqVU/F7g5Z2v2vKLRJQbBo/dGB0VHre8eu/mjGXNHhNFGUkpB3G QcvXpVVrVV5h9PA8YyChc9gGfbak/4K3n/ldTE40wp+h64zgdswcVBY25uSs+IOl8JOOxp V2sR6pR+4CMHaInIJO0nj2Zo+I+h2iR/QOv5UMmVAzuXEJf9zCuEAgBnb9lFhFAUPcc8eu iwLBQMh3SBHLjDWSDx/VjuMyf7jceskDZavzcIf3cN9cxBweXB8aS6GyS5qyXV2FQO8vg8 w9DeCgXn0FRtCWVF7N6eJinHc2Z6+JV2jhvZlem6NjqZrgXHF0ZadXZYHJrG4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677050110; a=rsa-sha256; cv=none; b=TovBpGCMf+VffzJIq7/sfT8s7C+nW991Jj37qc2lvScn5DdqFF6hzAOSSa36Zoor9rc6oN 1fTbnFZsn/VpHV0+esqktaNl1qkRx8XdhazukLXBpu9kD7oB+veaavGsaJrKsJ6yNZJS5M I1ySl1cOTTZHCr8vNmv+9mT0R1Q1bYPeOIdw+BXMFuda60fiYVBTRvFNmumscv/wRqoMJM PnSfHFDtpOLFh7VRzzhfk6Hpg8K5Rc9fCLinYASvBAuGZywT3uI7ZLinTMQtIV8wSO8Dg2 F9OndVe1WGakmFQ/sIitzbQaDASUqik6ZeUlLosHELpaqc+9oH+J9CZUb46AfQ== 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 4PM6qd53Q0zsMH; Wed, 22 Feb 2023 07:15:09 +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 31M7F9Fo099532; Wed, 22 Feb 2023 07:15:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31M7F9T0099531; Wed, 22 Feb 2023 07:15:09 GMT (envelope-from git) Date: Wed, 22 Feb 2023 07:15:09 GMT Message-Id: <202302220715.31M7F9T0099531@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: 97f588b3919b - main - net-mgmt/netbox: Update to 3.4.5 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: 97f588b3919babbc1e237df5f83a8418fa319ae3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=97f588b3919babbc1e237df5f83a8418fa319ae3 commit 97f588b3919babbc1e237df5f83a8418fa319ae3 Author: Kai Knoblich AuthorDate: 2023-02-22 07:04:18 +0000 Commit: Kai Knoblich CommitDate: 2023-02-22 07:04:18 +0000 net-mgmt/netbox: Update to 3.4.5 Changelog since 3.3.10: It contains many bugfixes/enhancements and the following new features: * New Global Search * Virtual Device Contexts * Saved Filters * JSON/YAML Bulk Imports * Update Existing Objects via Bulk Import * Scheduled Reports & Scripts * API for Staged Changes https://netbox.readthedocs.io/en/stable/release-notes/version-3.4/ MFH: No (feature release) --- net-mgmt/netbox/Makefile | 56 +++++++-------- net-mgmt/netbox/distinfo | 6 +- net-mgmt/netbox/files/netboxrc.sample.in | 1 + net-mgmt/netbox/files/pkg-message.in | 45 ++++++++++++ net-mgmt/netbox/pkg-plist | 113 +++++++++++++++++++++++++------ 5 files changed, 169 insertions(+), 52 deletions(-) diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile index be06e80d97d4..4054a7730b2b 100644 --- a/net-mgmt/netbox/Makefile +++ b/net-mgmt/netbox/Makefile @@ -1,6 +1,6 @@ PORTNAME= netbox DISTVERSIONPREFIX= v -DISTVERSION= 3.3.10 +DISTVERSION= 3.4.5 CATEGORIES= net-mgmt python MAINTAINER= kai@FreeBSD.org @@ -18,47 +18,47 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt # Django packages that are known for regressions in conjunction with NetBox and # should therefore only be updated with caution. # -# - devel/py-dj40-django-rq -# - www/py-dj40-django-filter -# - www/py-dj40-django-tables2 -# - www/py-dj40-djangorestframework (in conjunction with www/py-dj40-drf-yasg) +# - devel/py-dj41-django-rq +# - www/py-dj41-django-filter +# - www/py-dj41-django-tables2 +# - www/py-dj41-djangorestframework (in conjunction with www/py-dj41-drf-yasg) # -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=4.0.8<4.1:www/py-django40@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-cors-headers>=3.13.0<4:www/py-dj40-django-cors-headers@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-debug-toolbar>=3.6.0<4:www/py-dj40-django-debug-toolbar@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-filter>=22.1<23:www/py-dj40-django-filter@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-graphiql-debug-toolbar>=0.2.0<1:www/py-dj40-django-graphiql-debug-toolbar@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-mptt>=0.14.0<0.15:www/py-dj40-django-mptt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-prometheus>=2.2.0<2.3:www/py-dj40-django-prometheus@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-redis>=5.2.0<6:www/py-dj40-django-redis@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-rich>=1.4.0<2:www/py-dj40-django-rich@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-rq>=2.5.1<2.7:devel/py-dj40-django-rq@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-tables2>=2.4.1<2.5:www/py-dj40-django-tables2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-taggit>=3.1.0<4:www/py-dj40-django-taggit@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-django-timezone-field>=5.0<6:www/py-dj40-django-timezone-field@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>=3.14.0<3.15.0:www/py-dj40-djangorestframework@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-drf-yasg>=1.21.4<1.22:www/py-dj40-drf-yasg@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj40-graphene-django>=2.15.0<3:devel/py-dj40-graphene-django@${PY_FLAVOR} \ +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-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-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-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} \ + ${PYTHON_PKGNAMEPREFIX}dj41-drf-yasg>=1.21.5<1.22:www/py-dj41-drf-yasg@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj41-graphene-django>=3.0.0<4: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<6:www/py-bleach@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.1<4:devel/py-Jinja2@${PY_FLAVOR} \ + ${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.2.11<9:textproc/py-mkdocs-material@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-material>=8.5.11<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.2.0:graphics/py-pillow@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.3<3:databases/py-psycopg2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=9.4.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.5<3:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.5.12<2:devel/py-sentry-sdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-app-django>=5.0.0<6:www/py-social-auth-app-django@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.3.0<5:security/py-social-auth-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tablib>=3.2.1<4:textproc/py-tablib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tablib>=3.3.0<4:textproc/py-tablib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzdata>=2022.7:devel/py-tzdata@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1<7:devel/py-yaml@${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} -USES= cpe pgsql:10+ python:3.8+ +USES= cpe pgsql:11+ python:3.8+ CPE_VENDOR= netbox_project USE_GITHUB= yes GH_ACCOUNT= netbox-community diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo index 08eb0cd181f8..bd8b15e26827 100644 --- a/net-mgmt/netbox/distinfo +++ b/net-mgmt/netbox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670965894 -SHA256 (netbox-community-netbox-v3.3.10_GH0.tar.gz) = 18d59234db6ffbe08dc9b8eaea8cc8e022fc08f92e0714a01223ae8d7333b62b -SIZE (netbox-community-netbox-v3.3.10_GH0.tar.gz) = 7316933 +TIMESTAMP = 1676994695 +SHA256 (netbox-community-netbox-v3.4.5_GH0.tar.gz) = 505e4551f6420a70265e927a2ad7b2fabbea5d917e396abaf410713d80fd2736 +SIZE (netbox-community-netbox-v3.4.5_GH0.tar.gz) = 7371574 diff --git a/net-mgmt/netbox/files/netboxrc.sample.in b/net-mgmt/netbox/files/netboxrc.sample.in index 7510729b0701..f74676e1a4d4 100644 --- a/net-mgmt/netbox/files/netboxrc.sample.in +++ b/net-mgmt/netbox/files/netboxrc.sample.in @@ -99,6 +99,7 @@ netbox_upgrade() %%LOCALBASE%%/bin/mkdocs build %%PYTHON_CMD%% manage.py collectstatic --no-input %%PYTHON_CMD%% manage.py remove_stale_contenttypes --no-input + %%PYTHON_CMD%% manage.py reindex --lazy %%PYTHON_CMD%% manage.py clearsessions %%PYTHON_CMD%% manage.py clearcache echo "Please restart NetBox and the WSGI environment." diff --git a/net-mgmt/netbox/files/pkg-message.in b/net-mgmt/netbox/files/pkg-message.in index 490cbeb03501..dca61f4b8249 100644 --- a/net-mgmt/netbox/files/pkg-message.in +++ b/net-mgmt/netbox/files/pkg-message.in @@ -27,6 +27,7 @@ The following steps are required to finish the upgrade: # mkdocs build # python%%PYTHON_VER%% manage.py collectstatic --no-input # python%%PYTHON_VER%% manage.py remove_stale_contenttypes --no-input +# python%%PYTHON_VER%% manage.py reindex --lazy # python%%PYTHON_VER%% manage.py clearsessions # python%%PYTHON_VER%% manage.py clearcache @@ -280,4 +281,48 @@ following items before running the database migrations: documentation, etc.). EOD } +{ type: upgrade + maximum_version: 3.4.5 + message: <