git: e93b5ae356e3 - main - net-mgmt/netbox: Update pkg-message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Dec 2021 17:29:02 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=e93b5ae356e381bc50da80fa2665fb1353dc6bf0 commit e93b5ae356e381bc50da80fa2665fb1353dc6bf0 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2021-12-31 17:23:06 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2021-12-31 17:28:39 +0000 net-mgmt/netbox: Update pkg-message * Improve the user experience for upgrades from 2.11.x to 3.x by giving more accurate info to enable the sample housekeeping task script. [1] The instructions were taken from the NetBox page of the FreeBSD wiki. * While I'm here: Relax some dependencies for upcoming updates. Suggested by: Mike Geiger (via e-mail) [1] --- net-mgmt/netbox/Makefile | 6 +++--- net-mgmt/netbox/files/pkg-message.in | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile index 2fae8bfb811e..faf1e22a2569 100644 --- a/net-mgmt/netbox/Makefile +++ b/net-mgmt/netbox/Makefile @@ -28,11 +28,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2.9<3.3:www/py-django32@${PY_FLA ${PYTHON_PKGNAMEPREFIX}dj32-django-filter>=21.1<22:www/py-dj32-django-filter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-django-graphiql-debug-toolbar>=0.2.0<1:www/py-dj32-django-graphiql-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-django-mptt>=0.13.4<0.14:www/py-dj32-django-mptt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj32-django-prometheus>=2.1.0<2.2:www/py-dj32-django-prometheus@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj32-django-redis>=5.0.0<5.2:www/py-dj32-django-redis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj32-django-prometheus>=2.1.0<2.3:www/py-dj32-django-prometheus@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj32-django-redis>=5.0.0<6:www/py-dj32-django-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-django-rq>=2.4.1<2.6:devel/py-dj32-django-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-django-tables2>=2.4.1<2.5:www/py-dj32-django-tables2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj32-django-taggit>=1.5.1<2:www/py-dj32-django-taggit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj32-django-taggit>=1.5.1<3:www/py-dj32-django-taggit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field>=4.1.2<5:www/py-dj32-django-timezone-field@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework>=3.12.4<3.13.0:www/py-dj32-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj32-drf-yasg>=1.20.0<1.21:www/py-dj32-drf-yasg@${PY_FLAVOR} \ diff --git a/net-mgmt/netbox/files/pkg-message.in b/net-mgmt/netbox/files/pkg-message.in index 1a0d93f9a102..18dd9a8fac37 100644 --- a/net-mgmt/netbox/files/pkg-message.in +++ b/net-mgmt/netbox/files/pkg-message.in @@ -304,6 +304,12 @@ The NetBox 3.0 release contains major changes, so at least items 1.), 2.) and be found in the following directory: %%EXAMPLESDIR%%/850.netbox-housekeeping.sample + + Please run following commands to enable the new script: + + # cp %%EXAMPLESDIR%%/850-netbox-housekeeping.sample %%LOCALBASE%%/etc/periodic/daily/850-netbox-housekeeping + # chmod 555 %%LOCALBASE%%/etc/periodic/daily/850-netbox-housekeeping + # sysrc -f /etc/periodic.conf daily_netbox_housekeeping_enable="YES" EOD } ]