Port details |
- netbox IP address management tool
- 4.2.9 net-mgmt
=10 4.2.9Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2018-05-26 18:06:46
- Last Update: 2025-05-15 15:21:56
- Commit Hash: eef1772
- People watching this port, also watch:: nginx, prometheus, open-vm-tools, cbsd, clamav
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/netbox-community/netbox
- Description:
- NetBox is an open source web application designed to help manage and document
computer networks. Initially conceived by the network engineering team at
DigitalOcean, NetBox was developed specifically to address the needs of network
and infrastructure engineers. It encompasses the following aspects of network
management:
- IP address management (IPAM) - IP networks and addresses, VRFs, and VLANs
- Equipment racks - Organized by group and site
- Devices - Types of devices and where they are installed
- Connections - Network, console, and power connections among devices
- Virtualization - Virtual machines and clusters
- Data circuits - Long-haul communications circuits and providers
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/net-mgmt/netbox/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/netbox
- pkg install netbox
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: netbox
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1747310868
SHA256 (netbox-community-netbox-v4.2.9_GH0.tar.gz) = 785e2c0838e5f31ebbcc81b1f53a1dd48b7056100f7b229e3dc137959da0874d
SIZE (netbox-community-netbox-v4.2.9_GH0.tar.gz) = 18575314
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django51>=5.1.8<5.2 : www/py-django51@py311
- py311-dj51-django-cors-headers>=4.7.0<5 : www/py-dj51-django-cors-headers@py311
- py311-dj51-django-debug-toolbar>=5.1.0<6 : www/py-dj51-django-debug-toolbar@py311
- py311-dj51-django-filter>=25.1<26 : www/py-dj51-django-filter@py311
- py311-dj51-django-htmx>=1.23.0<2 : www/py-dj51-django-htmx@py311
- py311-dj51-django-mptt>=0.17.0<0.18 : www/py-dj51-django-mptt@py311
- py311-dj51-django-prometheus>=2.3.1<2.4 : www/py-dj51-django-prometheus@py311
- py311-dj51-django-redis>=5.4.0<6 : www/py-dj51-django-redis@py311
- py311-dj51-django-rich>=1.14.0<2 : www/py-dj51-django-rich@py311
- py311-dj51-django-rq>=3.0<3.1 : devel/py-dj51-django-rq@py311
- py311-dj51-django-tables2>=2.7.5<2.8 : www/py-dj51-django-tables2@py311
- py311-dj51-django-taggit>=6.1.0<7 : www/py-dj51-django-taggit@py311
- py311-dj51-django-timezone-field>=7.1<8 : www/py-dj51-django-timezone-field@py311
- py311-dj51-djangorestframework>=3.16.0<3.17.0 : www/py-dj51-djangorestframework@py311
- py311-dj51-drf-spectacular>=0.28.0<1 : www/py-dj51-drf-spectacular@py311
- py311-dj51-drf-spectacular-sidecar>=2025.4.1 : www/py-dj51-drf-spectacular-sidecar@py311
- py311-dj51-social-auth-app-django>=5.4.3<6 : www/py-dj51-social-auth-app-django@py311
- py311-dj51-strawberry-graphql>=0.266.0<0.300 : devel/py-dj51-strawberry-graphql@py311
- py311-dj51-strawberry-graphql-django>=0.58.0<1 : www/py-dj51-strawberry-graphql-django@py311
- py311-django-pglocks>=1.0.4<1.1 : www/py-django-pglocks@py311
- py311-feedparser>=6.0.11<7 : textproc/py-feedparser@py311
- py311-Jinja2>=3.1.6<4 : devel/py-Jinja2@py311
- py311-markdown>=3.6<3.9 : textproc/py-markdown@py311
- py311-mkdocs-material>=9.6.12<10 : textproc/py-mkdocs-material@py311
- py311-mkdocstrings>=0.29.1<1 : textproc/py-mkdocstrings@py311
- py311-mkdocstrings-python>0 : textproc/py-mkdocstrings-python@py311
- py311-netaddr>=1.3.0<2 : net/py-netaddr@py311
- py311-nh3>=0.2.21<0.3 : www/py-nh3@py311
- py311-pillow>=11.0.0 : graphics/py-pillow@py311
- py311-psycopg>=3.1.20<4 : databases/py-psycopg@py311
- py311-psycopg-c>=3.1.20<4 : databases/py-psycopg-c@py311
- py311-psycopg-pool>=3.2.6<4 : databases/py-psycopg-pool@py311
- py311-requests>=2.32.3<3 : www/py-requests@py311
- py311-rq>=2.3.2<3 : devel/py-rq@py311
- py311-social-auth-core>=4.5.4<5 : security/py-social-auth-core@py311
- py311-svgwrite>=1.4.3<2 : graphics/py-svgwrite@py311
- py311-tablib>=3.8.0<4 : textproc/py-tablib@py311
- py311-tzdata>=2025.2 : devel/py-tzdata@py311
- py311-pyyaml>=6.0.1<7 : devel/py-pyyaml@py311
- py311-gunicorn>=23.0.0<24 : www/py-gunicorn@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libpq.so.5 : databases/postgresql17-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for netbox-4.2.9:
EXAMPLES=on: Build and/or install examples
====> Options available for the group BACKENDS
GIT=off: Git backend support
LDAP=off: LDAP backend support
S3=off: Amazon S3 backend support
SENTRY=off: Sentry monitoring support
===> Use 'make config' to modify these settings
- Options name:
- net-mgmt_netbox
- USES:
- cpe pgsql python:3.10+
- pkg-message:
- For install:
- Please note that NetBox requires a PostgreSQL database server, which uses its
built-in network address datatypes. Thus NetBox won't work with other RDBMS's,
e.g. MySQL, MariaDB, etc.
For installation instructions please refer to the related wiki page:
- https://wiki.freebsd.org/Ports/net-mgmt/netbox
- If upgrading
- As always it is strongly encouraged to make a backup of the database before the
database migrations will be executed.
The following steps are required to finish the upgrade:
1. Run database migrations, trace any missing cable paths, build the embedded
documentation, collect static files, remove stale content files, delete any
expired user sessions and clear the cache.
# cd /usr/local/share/netbox
# python3.11 manage.py migrate
# python3.11 manage.py trace_paths --no-input
# mkdocs build
# python3.11 manage.py collectstatic --no-input
# python3.11 manage.py remove_stale_contenttypes --no-input
# python3.11 manage.py reindex --lazy
# python3.11 manage.py clearsessions
2. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
- If upgrading from < 3.2.4:
- /!\ WARNING /!\
The NetBox 3.2 release contains major changes, so at least items 1.), 2.) and
3.) must be checked before proceeding with the upgrade!
/!\ WARNING /!\
1. This release includes a database migration that will remove the "asn",
"contact_name", "contact_phone", and "contact_email" fields from the site
model. (These fields have been superseded by the ASN and contact models
introduced in NetBox v3.1.)
To protect against the accidental destruction of data, the upgrade process
will fail if any sites still have data in any of these fields. To bypass
this safeguard, set the NETBOX_DELETE_LEGACY_DATA environment variable when
running the upgrade script, which will permit the destruction of legacy
data.
A set of migration scripts is available to assist with the migration of
legacy site data:
https://github.com/netbox-community/migration-scripts
2. NetBox v3.2 requires Python 3.8 or later.
3. If the NetBox Plugin "net-mgmt/py-netbox-plugin-extension" is used, please
disable it before the migrations are applied. This can be done by removing
the entry "netbox_plugin_extensions" from the "PLUGINS" section in the
NetBox configuration.
Once the upgrade is done, this port/package can be safely removed as it's no
longer required.
4. Following items should be checked as well:
* The embedded documentation now needs to be built locally as the procedure
requires a running instance of NetBox:
# cd /usr/local/share/netbox
# mkdocs build
Please also refer to the general updating instructions as this needs to
be done with every future update of NetBox.
* Automatic redirection of legacy slug-based URL paths has been removed.
URL-based slugs were changed to use numeric IDs in v2.11.0.
* The "asn" query filter for sites now matches against the AS number of
assigned ASN objects.
* The "created" field of all change-logged models now conveys a full
datetime object, rather than only a date. (Previous date-only values
will receive a timestamp of 00:00.) While this change is largely
unconcerning, strictly-typed API consumers may need to be updated.
* A "pre_run()" method has been added to the base Report class. Although
unlikely to affect most installations, you may need to alter any reports
which already use this name for a method.
* Webhook URLs now support Jinja2 templating. Although this is unlikely to
introduce any issues, it's possible that an unusual URL might trigger a
Jinja2 rendering error, in which case the URL would need to be properly
escaped.
* Several changes to the REST API were made as well. Please check the
changelogs for further details.
- If upgrading from < 3.2.5:
- Please note that the general update instructions got another command that needs
to be issued after each update:
# python3.11 manage.py clearcache
- If upgrading from < 3.3.4:
- The NetBox 3.3 release contains some breaking API changes, so please check the
following items before running the database migrations:
* Device position, device type height, and rack unit values are now reported
as decimals (e.g. 1.0 or 1.5) to support modeling half-height rack units.
* The "nat_outside" relation on the IP address model now returns a list of zero
or more related IP addresses, rather than a single instance (or None).
* Several fields on the cable API serializers have been altered or removed to
support multiple-object cable terminations:
+------------------------------+------+-------------------------------+------+
| Old Name | Type | New Name | Type |
+------------------------------+------+-------------------------------+------+
| termination_a_type | str | Removed | - |
| termination_b_type | str | Removed | - |
| termination_a_id | int | Removed | - |
| termination_b_id | int | Removed | - |
| termination_a | obj | a_terminations | list |
| termination_b | obj | b_terminations | list |
+------------------------------+------+-------------------------------+------+
* As with the cable model, several API fields on all objects to which cables
can be connected (interfaces, circuit terminations, etc.) have been changed:
+------------------------------+------+-------------------------------+------+
| Old Name | Type | New Name | Type |
+------------------------------+------+-------------------------------+------+
| link_peer | obj | link_peers | list |
| link_peer_type | str | link_peers_type | str |
| connected_endpoint | obj | connected_endpoints | list |
| connected_endpoint_type | str | connected_endpoints_type | str |
| connected_endpoint_reachable | bool | connected_endpoints_reachable | bool |
+------------------------------+------+-------------------------------+------+
* The cable path serialization returned by the "/paths/" endpoint for
pass-through ports has been simplified, and the following fields removed:
"origin_type", "origin", "destination_type", "destination". (Additionally,
"is_complete" has been added.)
* Several changes to the REST API were made as well. Please check the
changelogs for further details.
* The netbox sample rc script got a new "upgrade" directive that also
simplifies the upgrade process (database migrations, building the embedded
documentation, etc.).
- If upgrading from < 3.4.5:
- 1. Please make sure that the PostgreSQL server for the NetBox instance is
running version 11 or higher. This is because PostgreSQL 10 is End-of-Life
since November 2022 and Django 4.1 requires PostgreSQL 11 as a minimum.
2. The NetBox 3.4 release contains some breaking changes, so the following
items should be checked as well:
* Device and virtual machine names are no longer case-sensitive. Attempting
to create e.g. "device1" and "DEVICE1" within the same site will raise a
validation error.
* The "asn", "noc_contact", "admin_contact", and "portal_url" fields have
been removed from the provider model. Please replicate any data remaining
in these fields to the ASN and contact models introduced in NetBox v3.1
prior to upgrading.
* The "content_type" fields on the CustomLink and ExportTemplate models have
been renamed to "content_types" and now support the assignment of multiple
content types per object.
* Within the Python API, the "cf" property on an object with custom fields
now returns deserialized values. For example, a custom field referencing
an object will return the object instance rather than its numeric ID.
To access the raw serialized values, reference the object's
"custom_field_data" attribute instead.
* The "NetBoxModelCSVForm" class has been renamed to
"NetBoxModelImportForm". Backward compatability with the previous name
has been retained for this release, but will be dropped in NetBox v3.5.
3. Please note that the general update instructions got another command that
needs to be issued after each update:
# python3.11 manage.py reindex --lazy
The netbox sample rc script has also been adapted accordingly for this
purpose.
- If upgrading from < 3.5.2:
- 1. If the plugin security/py-netbox-secretstore is used, which is no longer
maintained by upstream, the following steps must be done before upgrading to
NetBox 3.5:
* Migrate from security/py-netbox-secretstore (= 1.4.2_2) to
security/py-netbox-secrets (= 1.7.6) with a NetBox 3.4.x instance.
It is very important that the versions of py-netbox-secretstore and
py-netbox-secrets match as specified otherwise the migration will not
be successful.
The reason for this is that py-netbox-secrets 1.8.x is not backwards
compatible with Netbox 3.4. For further details please see the updating
instructions of py-netbox-secretstore or the UPDATING entry of 2023-05-11.
2. The NetBox 3.5 release contains some breaking changes, so the following
items should be checked as well:
* The "account: field has been removed from the provider model.
This information is now tracked using the new provider account model.
Multiple accounts can be assigned per provider.
* A minimum length of 50 characters is now enforced for the SECRET_KEY
configuration parameter.
* The JobResult model has been moved from the "extras" app to "core" and
renamed to Job. Accordingly, its REST API endpoint has been moved from
"/api/extras/job-results/" to "/api/core/jobs/".
* The "obj_type" field on the Job model (previously JobResult) has been
renamed to "object_type" for consistency with other models.
* The JOBRESULT_RETENTION configuration parameter has been renamed
to JOB_RETENTION.
* The "obj" context variable is no longer passed when rendering custom
links: Use "object" instead.
* The REST API schema is now generated using the OpenAPI 3.0 spec
* The URLs for the REST API schema documentation have changed:
- "/api/docs/" is now "/api/schema/swagger-ui/"
- "/api/redoc/" is now "/api/schema/redoc/"
- If upgrading from < 3.5.4:
- If a separate configuration file is used that does not have an ".py" extension,
the following message may appear when the netbox rc script is started:
!!!
!!! WARNING: configuration file should have a valid Python extension.
!!!
In this case, the existing configuration file should be provided with a ".py"
extension and if set, the rc variable "netbox_config" should also point to the
configuration file with the new file extension.
The netbox sample rc script, which is provided via the EXAMPLES option, has
been adjusted accordingly. This also includes a fix for the default path of
the configuration if the rc variable "netbox_config" is not set.
- If upgrading from < 3.6.1:
- 1. The NetBox 3.6 release contains some breaking changes, so the following
items should be checked before upgrading:
* PostgreSQL 11 is no longer supported (dropped in Django 4.2). NetBox v3.6
requires PostgreSQL 12 or later.
* The "device_role" field on the Device model has been renamed to "role".
The "device_role" field has been temporarily retained on the REST API
serializer for devices for backward compatibility, but is read-only.
* The "choices" array field has been removed from the CustomField model.
Any defined choices are automatically migrated to CustomFieldChoiceSets,
accessible via the new "choice_set" field on the CustomField model.
* The "napalm_driver" and "napalm_args" fields (which were deprecated in v3.5)
have been removed from the Platform model.
* The "device" and "device_id" filter for interfaces will no longer include
interfaces from virtual chassis peers. Two new filters,
"virtual_chassis_member" and "virtual_chassis_member_id", have been
introduced to match all interfaces belonging to the specified device's
virtual chassis (if any).
* Reports and scripts are now returned within a "results" list when fetched via
the REST API, consistent with other models.
* Superusers can no longer retrieve API token keys via the web UI if
ALLOW_TOKEN_RETRIEVAL is disabled. (The admin view has been removed
per #13044.)
2. The following dependencies are now optional and have therefore been moved to
corresponding options. An exception is the LDAP option, which has been added
for the sake of completeness, because this backend has been around for a
good while:
* devel/py-dulwich -> non-default GIT option
* www/py-dj42-django-auth-ldap -> non-default LDAP option
* www/py-boto3 -> non-default S3 option
- If upgrading from < 3.7.0:
- 1. The NetBox 3.7 release contains some breaking changes, so the following
items should be checked before upgrading:
* The following fields have been removed from the Webhook model:
"content_types", "type_create", "type_update", "type_delete",
"type_job_start", "type_job_end", "enabled", and "conditions".
Webhooks are now tied to events via event rules. New event rules will be
created for any existing webhooks automatically upon upgrade.
* The "ui_visibility" field on the custom field model has been replaced with
two new fields: "ui_visible" and "ui_editable".
These new fields will have their values mapped from the original field
automatically upon upgrade.
* The "FeatureQuery" class used internally for querying content types by
model feature has been removed. It has been replaced by the new
"with_feature()" manager method on NetBox's proxy model for ContentType
("core.models.ContentType").
* The internal ConfigRevision model has moved from "extras" to "core".
Configuration history will be retained throughout the upgrade process.
* The L2VPN and L2VPNTermination models have moved from the "ipam" app to
the new "vpn" app. All object data will be retained, however please note
that the relevant API endpoints have likewise moved to "/api/vpn/".
* The "CustomFieldsMixin", "SavedFiltersMixin", and "TagsMixin" classes
have moved from the "extras.forms.mixins" module to
"netbox.forms.mixins".
* The "netbox.models.features.WebhooksMixin" class has been renamed
to "EventRulesMixin".
2. The following dependency is now optional and has therefore been converted
to a corresponding SENTRY option:
* devel/py-sentry-sdk -> non-default SENTRY option
3. Please note that the command "python3.11 manage.py clearcache" has
been removed.
The general update instructions in this pkg-message and the netbox sample rc
script (available via the EXAMPLES option) have also been updated
accordingly.
- If upgrading from < 4.0.5:
- The NetBox 4.0 release contains major changes, so at least items 1.) and 2.)
must be checked before proceeding with the upgrade.
1. NetBox v4.0 requires Python 3.10 or later.
2. Following items should be checked as well:
* The format for GraphQL query filters has changed. Please see the
GraphQL documentation for details and examples.
* The deprecated "device_role" & "device_role_id" filters for devices have
been removed. (Use "role" and "role_id" instead.)
* The obsolete "device_role" field has been removed from the REST API
serializer for devices. (Use "role" instead.)
* The legacy reports functionality has been dropped. Reports will be
automatically converted to custom scripts on upgrade.
* The "parent" and "parent_id" filters for locations now return only
immediate children of the specified location. (Use "ancestor" and
"ancestor_id" to return all descendants.)
* The "object_type" field on the "CustomField" model has been renamed to
"related_object_type".
* The "utilities.utils module" has been removed and its resources
reorganized into separate modules organized by function.
* The obsolete "NullableCharField" class has been removed. (Use Django's
stock "CharField" class with "null=True" instead.)
* The "annotated_date" template filter and "annotated_now" template tag
have been removed.
- If upgrading from < 4.1.6:
- 1. The NetBox 4.1 release contains some breaking changes, so the following
items should be checked before upgrading:
* Several filters deprecated in v4.0 have been removed.
* The unit size for "VirtualMachine.disk" and "VirtualDisk.size" has been
changed from 1 gigabyte to 1 megabyte. Existing values will be adjusted
automatically during the upgrade process.
* The "min_vid" and "max_vid" fields on the VLAN group model have been
replaced with "vid_ranges", an array of starting and ending VLAN ID pairs.
* The five individual event type fields on the "EventRule" model have been
replaced by a single "event_types" array field, which lists applicable
event types by name.
* All UI views & API endpoints associated with change records have been
moved from "/extras" to "/core".
* The "validate()" method on "CustomValidator" subclasses now must accept
the request argument.
- If upgrading from < 4.2.3:
- 1. The NetBox 4.2 release contains some breaking changes, so the following
items should be checked before upgrading:
* Support for the Django admin UI has been completely removed. (The Django
admin UI was disabled by default in NetBox v4.0.)
* This release drops support for PostgreSQL 12. PostgreSQL 13 or later is
required to run this release.
* NetBox has adopted collation-based natural ordering for many models. This
may alter the order in which some objects are listed by default.
* Automatic redirects from pre-v4.1 UI views for virtual disks have been
removed.
* The site and provider_network foreign key fields on
"circuits.CircuitTermination" have been replaced by the "termination"
generic foreign key.
* The "site" foreign key field on "ipam.Prefix" has been replaced by the
"scope" generic foreign key.
* The "site" foreign key field on "virtualization.Cluster" has been replaced
by the "scope" generic foreign key.
* The "circuit" foreign key field on "circuits.CircuitGroupAssignment" has
been replaced by the "member" generic foreign key.
* Obsolete nested REST API serializers have been removed. These were
deprecated in NetBox v4.1 under #17143.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.10.8 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.10.8 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.10.8 27 Mar 2021 11:00:17
  |
kai  |
net-mgmt/netbox: Update to 2.10.8
Changelog:
* Fix exception on cable trace in UI (regression in 2.10.7)
https://github.com/netbox-community/netbox/releases/tag/v2.10.8 |
2.10.7 26 Mar 2021 19:40:54
  |
kai  |
net-mgmt/netbox: Update to 2.10.7
Changelog:
Enhancements:
* Allow filtering device components by label
* Allow customization of the geographic mapping service via MAPS_URL
config parameter
* Allow changing site assignment when bulk editing devices
* Support Markdown rendering for custom script descriptions
* Add UI search fields for asset tag for devices and racks
Bug Fixes:
* Restore ability to delete an uploaded device type image
* Denote when the total length of a cable trace may exceed the (Only the first 15 lines of the commit message are shown above ) |
2.10.6 11 Mar 2021 18:56:34
  |
kai  |
net-mgmt/netbox: Adjust RUN_DEPENDS
* Relax the version ranges of a few dependencies that will soon be updated. |
2.10.6 11 Mar 2021 12:16:02
  |
kai  |
net-mgmt/netbox: Update to 2.10.6
Changelog:
Enhancements:
* Add IP addresses count to VRF view
* Add QSFP+ (64GFC) FibreChannel Interface option
* Enable custom links for device components
* Add edit/delete buttons for IP addresses on interface view
* Add button to add a new IP address on interface view
Bug Fixes:
* Fix VRF and Tenant field population when adding IP addresses from prefix
* Enable ordering of virtual machines by primary IP address
* Ordering of devices by primary IP should respect PREFER_IPV4 configuration
parameter
* Fix options for filtering object permissions in admin UI
* Fix filtering prefixes list by multiple prefix values
* Invalidate cached queries when running renaturalize
https://github.com/netbox-community/netbox/releases/tag/v2.10.6 |
2.10.5 26 Feb 2021 12:13:12
  |
kai  |
net-mgmt/netbox: Update to 2.10.5
Changelog:
* Fix site unassignment from VLAN when using "None" option
* Fix REST API representation for circuit terminations connected to
non-interface endpoints
* Fix filtering rack reservations by custom field
* Fix bulk editing of services when no port(s) are defined
* Ensure consistent treatment of duplicate IP addresses
* Fix redirect to device components view after disconnecting a cable
* Fix Redis Sentinel password application for caching
* Allow setting null tenant group on tenant via REST API
* Disallow the creation of available prefixes/IP addresses in violation of
assigned permission constraints
https://github.com/netbox-community/netbox/releases/tag/v2.10.5 |
2.10.4 30 Jan 2021 13:29:58
  |
sunpoet  |
Update USES=python: math/py-pandas 1.2.0 requires Python 3.7+
PR: 250103 |
2.10.4 28 Jan 2021 07:47:16
  |
kai  |
net-mgmt/netbox: Update to 2.10.4
Changelog:
Enhancements:
* Show cable trace lengths in both meters and feet
* Add "management only" filter widget for interfaces list
* Allow filtering virtual chassis by name and master
* Add GG45 and TERA port types, and CAT7a and CAT8 cable types
* Show available type choices for all device component import forms
Bug Fixes:
* Correct swagger definition for ip_prefixes_available-ips_create API
* Restrict the creation of device bay templates on non-parent device types
* Restore power utilization panel under device view
* Fix ordering devices by primary IP address
* Fix display of white cables in trace view
* Fix filtering connection lists by device name
* Fix permissions assessment when adding VM interfaces in bulk
* Include VC member interfaces on interfaces tab count when viewing
VC master
* Validate rack group is assigned to same site when creating a rack
* Correct rack elevation displayed when viewing a reservation
https://github.com/netbox-community/netbox/releases/tag/v2.10.4 |
2.10.3 24 Jan 2021 12:20:49
  |
kai  |
net-mgmt/netbox: Update to 2.10.3
* Prune obsolete update instructions/notes for NetBox releases prior 2.7.
Notable changes since 2.9.11:
It contains many bugfixes/enhancements and the following new features:
* Route Targets
* REST API bulk deletion
* REST API bulk update
* Reimplementation of custom fields
* Improved cable trace performance
https://github.com/netbox-community/netbox/blob/v2.10.3/docs/release-notes/version-2.10.md |
2.9.11 21 Jan 2021 09:19:55
  |
kai  |
net-mgmt/netbox: Adjust RUN_DEPENDS
* Relax the version ranges of a few dependencies that will soon be updated
to pave the way for NetBox 2.10. |
2.9.11 16 Dec 2020 05:37:37
  |
kai  |
net-mgmt/netbox: Update to 2.9.11
* Remove a superfluous dependency while I'm here.
Changelog:
Enhancements:
* Allow passing Python code to nbshell using --command
* Add CS and SN fiber port types
Bug Fixes:
* Fix setting user password via REST API
* Fix uniqueness constraint for virtual machine names
* Fix error when rendering config contexts when objects have multiple tags
assigned
* Add direct link to secret on secrets list
* Fix updating secrets without setting new plaintext
* Restore tags field on cable connection forms
* Exclude SVG files from front/rear image upload for device types (currently
unsupported)
* Show assigned IP addresses in interfaces list
* Fix validation for plugin version and required settings
https://github.com/netbox-community/netbox/releases/tag/v2.9.11 |
2.9.10 30 Nov 2020 12:57:35
  |
kai  |
net-mgmt/netbox: Update to 2.9.10
Changelog:
Enhancements:
* Add USB types for power ports and outlets
* Add "splice" type for pass-through ports
Bug Fixes:
* Fix exception when editing IP address with a NAT IP assigned to a
non-racked device
* Avoid extraneous database queries when manipulating objects
* Fix non-deterministic ordering of prefixes and IP addresses
* Filter available racks by selected group when creating a rack reservation
* Limit rack groups by selected site when editing a rack
* Populate manufacturer field when adding a device component template
* Clear VLAN assignments when setting interface mode to none
https://github.com/netbox-community/netbox/releases/tag/v2.9.10 |
2.9.9 20 Nov 2020 08:57:11
  |
kai  |
net-mgmt/netbox: Update to 2.9.9
* Add to the EXAMPLES options a few example configurations and a sample
rc script to make use of the RQ background service.
Changelog:
Enhancements:
* Return server error messages as JSON when handling REST API requests
* Link to rack groups within rack list table
* Be more strict when capturing anticipated ImportError exceptions
Bug Fixes:
* Fix auto-population of region field when editing a device
* Fix config context rendering when multiple tags are assigned to an object
* Dry running scripts should not trigger webhooks
* Add missing template extension tags for plugins for VM interface view
* Fix CreatedUpdatedFilterTest when running in non-UTC timezone
* Fix filtering of sites by null region
https://github.com/netbox-community/netbox/releases/tag/v2.9.9 |
2.9.8 10 Nov 2020 09:11:35
  |
kai  |
net-mgmt/netbox: Update to 2.9.8
* Limit the version ranges of the required Python packages and use very
narrow ranges for those ones, which often cause regressions.
That is because upstream already uses fixed Python package dependencies
for a while and had relaxed them for a short period of time.
However, because it led to regressions when some Python packages were
updated during that time, upstream has been using fixed package
dependencies again since then.
Changelog since 2.7.12:
It contains many bugfixes/enhancements and the following new features: (Only the first 15 lines of the commit message are shown above ) |
2.7.12_1 21 Jun 2020 08:57:11
  |
kai  |
net-mgmt/netbox: Change RUN_DEPENDS
* Switch the port from the repo-copied py-dj22-django* dependencies to the
original ones as they're using Django 2.2 now.
* Bump PORTREVISION due changed dependencies. |
2.7.12 16 Apr 2020 07:59:24
  |
kai  |
net-mgmt/netbox: Update to 2.7.12
Changelog:
Enhancements:
* Reference VRF by name rather than RD during IP/prefix import
* Use absolute URLs in rack elevation SVG renderings
* Allow connecting cables between two circuit terminations
* Add the webhook_receiver management command to assist in troubleshooting
outgoing webhooks
Bug Fixes:
* Fix typing of count_ipaddresses on interface serializer
* Fail cleanly when trying to import multiple device types simultaneously
* Fix exception when disconnecting a cable from a power feed
* Tweak display of unset custom integer fields
* Fix reservation edit/delete button URLs on rack view
https://github.com/netbox-community/netbox/releases/tag/v2.7.12
MFH: 2020Q2 |
2.7.11 03 Apr 2020 18:46:25
  |
kai  |
net-mgmt/netbox: Update to 2.7.11
* Improve the sample rc script to allow passing of extra arguments, e.g. to
listen on multiple interfaces/addresses [1] or use a configuration file
instead using rc variables.
Kudos to Thomas Kurschel for some extra testing of the updated rc script.
Changelog:
Enhancements:
* Add ability to automatically check for new releases (must be enabled by
setting RELEASE_CHECK_URL)
* Custom script object variables now utilize dynamic form widgets
* Add descriptive tooltip to custom fields on object views (Only the first 15 lines of the commit message are shown above ) |
2.7.10 29 Mar 2020 12:11:29
  |
kai  |
net-mgmt/netbox: Update to 2.7.10
Changelog:
Enhancements:
* Embed model documentation within web UI
* Add bulk edit view for power panels
* Add CSV import view for services
* Add CSV import view for rack reservations
* Redirect to a user-friendly error page when CSS/JS resources fail to load
Bug Fixes:
* Exclude Python modules without Script classes from scripts list
* Allow bulk editing/deletion of all device components matching a query
* Catch AddrFormatError exception when filtering aggregates/prefixes by an
invalid prefix
https://github.com/netbox-community/netbox/releases/tag/v2.7.10 |
2.7.9 24 Mar 2020 19:54:57
  |
antoine  |
Convert the tree to use PY_PILLOW
With hat: portmgr
Originally submitted by: kai |
2.7.9 11 Mar 2020 19:29:04
  |
kai  |
net-mgmt/netbox: Update to 2.7.9
Changelog:
Enhancements:
* Enumerate ChoiceField type and value in API
* Extend upgrade script to clear expired user sessions
* Add dynamic lookup expressions for all filters
* Allow negative voltage for DC power feeds
* Allow filtering device component list views by type
* Add MRJ21 port and cable types
* Include device name in tooltip on rack elevations
* Add 10-inch option for rack width
Bug Fixes: (Only the first 15 lines of the commit message are shown above ) |
2.7.8 05 Mar 2020 07:24:35
  |
kai  |
net-mgmt/netbox: Update to 2.7.8
Changelog:
Enhancements:
* Add a "decommissioning" cable status
* Return graceful error message when webhook queuing fails
* Omit internal fields from the change log data
* Support Jinja2 templating for webhook payload and headers
* Extend custom scripts to pass the commit value via run()
* Denote rack role on rack elevations list
Bug Fixes:
* Fix exception when deleting a device with interface connections when an
interfaces webhook is defined (Only the first 15 lines of the commit message are shown above ) |
2.7.7 26 Feb 2020 07:58:35
  |
mat  |
Remove extra ]. |
2.7.7 25 Feb 2020 22:19:08
  |
kai  |
net-mgmt/netbox: Update to 2.7.7
* Remove the "post-patch" target because the "requirements.txt" is only used
for installations via devel/py-pip.
Notable changes since 2.6.12:
* Bulk import of device components via CSV files
* External file storage support (FTP, S3, SFTP, etc.)
* Rack elevations rendered by SVG (= Scalable Vector Graphics)
* Separate configuration for Webhooks and Cache databases via Redis
* Add ability to clone objects (pre-populate form fields)
* Toggle config context display between JSON and YAML
* Add support for Redis Sentinel
* Further cable and port types
* Many other enhancements and bugfixes
https://github.com/netbox-community/netbox/blob/v2.7.7/docs/release-notes/version-2.7.md |
2.6.12 16 Jan 2020 15:21:51
  |
kai  |
net-mgmt/netbox: Update to 2.6.12
Changelog:
Enhancements:
* Improved NAPALM method documentation in Swagger (OpenAPI)
* Preview image attachments when hovering over the link
* Allow NAPALM driver settings to be changed with request headers
* Toggle the display of child prefixes/IP addresses
* Search by description when assigning IP address to interfaces
* Add tenant filter field for cables
* Enable filtering of interfaces by name on the device view
* Add rack selection field to rack elevations view
* Paginate assigned circuits at the provider details view
* Add total path length to cable trace (Only the first 15 lines of the commit message are shown above ) |
2.6.11 07 Jan 2020 16:24:19
  |
kai  |
net-mgmt/netbox: Relax RUN_DEPENDS
* The 2020Q1 branch has 0.24.0 of www/py-dj22-django-taggit thus relax
its version requirement of the RUN_DEPENDS to avoid a build failure there.
Although net-mgmt/netbox requires the 1.1.0 release of
www/py-dj22-django-taggit (pinned with "==" by upstream), it runs fine
with either 0.24.0 (in 2020Q1) or 1.2.0 (since r521999).
MFH: 2020Q1 (build fix blanket) |
2.6.11 06 Jan 2020 19:05:38
  |
kai  |
net-mgmt/netbox: Update to 2.6.11
* Remove the patch that fixed a regression when accessing the API
documentation as it's no longer required. [1]
Changelog since 2.6.9:
Enhancements:
* Add ability to move inventory items between devices
* Extend admin UI to allow deleting old report results
* Add assigned_to_interface filter for IP addresses
* Fail gracefully on custom link rendering exception
* Provide request context when executing custom scripts
* Add date/time picker widgets
* Enable partial search for inventory items (Only the first 15 lines of the commit message are shown above ) |
2.6.9 01 Jan 2020 17:55:47
  |
kai  |
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]
MFH: 2020Q1 |
2.6.8_1 15 Dec 2019 12:32:21
  |
kai  |
net-mgmt/netbox: Fix assignment of IP addresses to interfaces
* Backport a patch from upstream's repository which fixes the assignment of
existing IP addresses to interfaces.
Without that patch the assignment of an IP address gives no error but the
interface doesn't contain the assigned IP address at the end.
* Bump PORTREVISION for package change.
MFH: 2019Q4 (blanket: bugfix) |
2.6.8 11 Dec 2019 19:30:22
  |
kai  |
net-mgmt/netbox: Update to 2.6.8
* Backport a patch from upstream that fixes an exception on password change
page for local users.
Changelog:
Enhancements:
* Disable password change form for LDAP-authenticated users
* Display cable colors on device view
* Remove obsolete P3P policy header
* Add query filters for created and last_updated fields
* Allow the underscore character in IPAddress DNS names
Bug Fixes: (Only the first 15 lines of the commit message are shown above ) |
2.6.7 02 Nov 2019 05:25:21
  |
kai  |
net-mgmt/netbox: Update to 2.6.7
* Change GH_ACCOUNT as upstream's repository redirects to a new location.
Changelog:
Enhancements:
* Add support for additional user defined headers to be added to
webhook requests
* Add ca_file_path to Webhook model to support user supplied CA certificate
verification of webhook requests
* Add ChoiceVar for custom scripts
* Add 400GE OSFP interface type
* Add filtering for objects in admin UI
(Only the first 15 lines of the commit message are shown above ) |
2.6.6 14 Oct 2019 10:41:15
  |
kai  |
net-mgmt/netbox: Update to 2.6.6
Changelog:
Enhancements:
* Add InfiniBand interface types
* Add rack and site filters for cables
* Disallow raw HTML in Markdown-rendered fields
* Add MultiObjectVar for custom scripts
* Enable editing of individual DeviceType components
* Render text and URL fields as textareas in the custom link form
* Introduce commit_default custom script attribute to not commit changes by
default
Bug Fixes: (Only the first 15 lines of the commit message are shown above ) |
2.6.5 30 Sep 2019 14:55:03
  |
kai  |
net-mgmt/netbox: Update to 2.6.5
* Introduce EXAMPLES option which installs a sample rc script to the example
location. Using the script will eliminate the need for
sysutils/py-supervisor for those who run NetBox as a system service. [1]
If there's a lot of interest it can also be installed in near future as
regular rc script.
* Consolidate keywords in pkg-message to avoid accidental deletion of these.
Notable changes since 2.5.13:
* Improved performance via Caching through Redis
* Support for Power Panels and Feeds
* Introduction of view-only permissions
* Ability to create custom links under the admin UI
* Support for Prometheus metrics
* Many other enhancements and bug fixes
https://github.com/netbox-community/netbox/blob/v2.6.5/CHANGELOG.md
Submitted by: Thomas Kurschel (via private email) [1] |
2.5.13_1 02 Aug 2019 11:40:52
  |
kai  |
net-mgmt/netbox: Convert pkg-message to UCL
Modernize the pkg-message to display hints/instructions in the future that
are specific to different upgrade paths. |
2.5.13_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
2.5.13 02 Jun 2019 22:42:40
  |
kai  |
net-mgmt/netbox: Update to 2.5.13
Changelog:
Enhancements:
* Add tenant group filters
* Catch all exceptions during export template rendering
* Add 2.5GE and 5GE interface form factors
* Add inventory item count to manufacturers list
* Add site link to rack reservations overview
* Enable bulk deletion of sites
* Improve performance for custom field access within templates
* Add interface name filter for IP addresses
Bug Fixes: (Only the first 15 lines of the commit message are shown above ) |
2.5.12 25 May 2019 10:10:01
  |
kai  |
net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2
Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a
rather annoying bug that generated intermittent errors when objects were
deleted/manipulated.
Therefore the same procedure must be done in almost the same way as in
r492690 to make NetBox compatible with Django 2.2 in the ports tree.
That means to repocopy the required Django 1.11 ports, assign them to
Django 2.2, limit them to Python 3.5+ and update all related
CONFLICTS_INSTALL entries accordingly:
* www/py-dj22-django-cors-headers [1]
* www/py-dj22-django-debug-toolbar (Only the first 15 lines of the commit message are shown above ) |
2.5.10 10 Apr 2019 07:29:48
  |
kai  |
net-mgmt/netbox: Update to 2.5.10
Changelog:
Enhancements:
* Add Jinja2 support for export templates
Bug Fixes:
* Redirect to list view after editing an object from list view
* DCIM interfaces API endpoint should not include VM interfaces
* Fix exception when retrieving change object for a component template
via API
* Fix form widget for bulk cable label update
* Ignore site/rack fields when connecting a new cable via device search
* Fix exception at reports API endpoint
* Fix exception when writing mac address for an interface via API
https://github.com/digitalocean/netbox/blob/v2.5.10/CHANGELOG.md
Approved by: mentors (implicit) |
2.5.9 04 Apr 2019 20:01:32
  |
kai  |
net-mgmt/netbox: Update to 2.5.9
Changelog:
Enhancements:
* Add username to outbound webhook requests
* Add SSL support for django-rq (requires django-rq v1.3.1+)
* Add request ID to outbound webhook requests (for correlating all changes
part of a single request)
Bug Fixes:
* Fixes deterministic ordering of interfaces
* Clarification of wording in API regarding filtering
* Add interface type for QSFP28 50GE
* Fix device role selection showing duplicate first entry (Only the first 15 lines of the commit message are shown above ) |
2.5.8 14 Mar 2019 19:44:15
  |
kai  |
net-mgmt/netbox: Update to 2.5.8
Changelog:
Enhancements:
* Printer friendly CSS
Bug Fixes:
* Correct documentation for VM interface serializer
* Fix endpoint grouping in API docs
* Fix filtering of sites/devices/VMs by multiple regions
* Provider filter form's site field should be blank by default
* Enforce deterministic ordering of device components returned by API
* Exclude circuit terminations from API interface connections endpoint
* Allow CSV import of prefixes/IPs to VRF without an RD assigned (Only the first 15 lines of the commit message are shown above ) |
2.5.7 23 Feb 2019 19:54:25
  |
kai  |
net-mgmt/netbox: Update to 2.5.7
Enhancements:
* Enable filtering of devices by rack face
* Add button to copy unlocked secret to clipboard
* Add Markdown rendering for provider NOC/admin contact fields
* Add cable types for OS1/OS2 singlemode fiber
* Add port types for APC fiber
* Enable filtering cables list by connection status
* Clarify purpose of tags field on interface edit form
Bug Fixes:
* Allow filtering devices by null rack position (Only the first 15 lines of the commit message are shown above ) |
2.5.6 20 Feb 2019 22:00:23
  |
kai  |
net-mgmt/netbox: Update to 2.5.6
While I'm here:
* Pet portlint
Notable changes since 2.4.9:
* Switched from Django 1.11 to 2.1
* Dropped support for Python 2
* Modeling of patch panels and cables with introducion of new pass-through
port component type
* Removed deprecated User Activity log
* Introduction of further interface types
* Implemented Select2 for select fields in forms
* Many more enhancements/bug fixes, for all changes see:
https://github.com/digitalocean/netbox/blob/v2.5.6/CHANGELOG.md
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19178 |
2.4.9_1 01 Feb 2019 18:55:18
  |
kai  |
Change my maintainer email address to my new one at the FreeBSD project.
Reviewed by: miwi (mentor)
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050 |
2.4.9_1 12 Dec 2018 01:35:36
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
2.4.9 09 Dec 2018 11:41:32
  |
miwi  |
- Update to 2.4.9
- Removed WANT_PGSQL to drop the dependency for the PostgreSQL server as
suggested in bug #233775,
because NetBox can also be used on a standalone client.
- Updated pkg-message to inform users that a PostgreSQL server is required to
store the NetBox's data.
The page on the FreeBSD wiki contains already that info.
Changes by upstream (since 2.4.7):
- https://github.com/digitalocean/netbox/releases/tag/v2.4.9
- https://github.com/digitalocean/netbox/releases/tag/v2.4.8
PR: 233881
Submitted by: maintainer |
2.4.7 13 Nov 2018 08:45:23
  |
miwi  |
- Update to 2.4.7
Changes by upstream:
- https://github.com/digitalocean/netbox/releases/tag/v2.4.7
PR: 233191
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.4.6 08 Oct 2018 13:37:54
  |
miwi  |
- Update to 2.4.6
Changes by upstream:
- https://github.com/digitalocean/netbox/blob/v2.4.6/CHANGELOG.md
PR: 232067
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.4.4 30 Sep 2018 14:46:23
  |
miwi  |
- Update to 2.4.4
- Refined instructions for upgrading
- Removed installation instructions. They are now accessible on the
FreeBSD wiki. https://wiki.freebsd.org/Ports/net-mgmt/netbox
Changes by upstream:
- https://github.com/digitalocean/netbox/blob/v2.4.4/CHANGELOG.md
PR: 231822
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.3.7 11 Aug 2018 14:34:18
  |
miwi  |
- Update to 2.3.7
Changes by upstream:
- https://github.com/digitalocean/netbox/releases/tag/v2.3.7
PR: 230405
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.3.6 27 Jul 2018 18:27:44
  |
miwi  |
- Update to 2.3.6
Changes by upstream:
- https://github.com/digitalocean/netbox/compare/v2.3.5...v2.3.6
PR: 229900
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.3.5 09 Jul 2018 19:16:24
  |
miwi  |
- Update to 2.3.5
- Added Update instruction to pkg-message
Changes by upstream:
- https://github.com/digitalocean/netbox/compare/v2.3.3...v2.3.5
PR: 229627
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
2.3.3 26 May 2018 18:06:29
  |
miwi  |
NetBox is an open source web application designed to help manage and document
computer networks. Initially conceived by the network engineering team at
DigitalOcean, NetBox was developed specifically to address the needs of network
and infrastructure engineers. It encompasses the following aspects of network
management:
- IP address management (IPAM) - IP networks and addresses, VRFs, and VLANs
- Equipment racks - Organized by group and site
- Devices - Types of devices and where they are installed
- Connections - Network, console, and power connections among devices
- Virtualization - Virtual machines and clusters
- Data circuits - Long-haul communications circuits and providers
- Secrets - Encrypted storage of sensitive credentials
WWW: https://github.com/digitalocean/netbox
PR: 227416
Submitted by: freebsd_ports@k-worx.org
Sponsored by: iXsystems Inc. |