From d7272b56ac851a1e032199f3043fc7c9e2c4f1a3 Mon Sep 17 00:00:00 2001 From: geoffroy desvernay Date: Thu, 1 Jun 2023 08:43:42 +0200 Subject: [PATCH] net-mgmt/netdisco: Update to 2.061001 While here, fix install instructions. New features: * ACLs portctl_no and portctl_only for limiting port control targets * Config setting portctl_nowaps to prevent port control on WAP ports * Feature to gather SNMP Walk, use as Pseudo Device, and Browse Objects * Added SSHCollector::Platform::ASAContext * new addpseudodevice worker action * option to display vlan names instead of numbers in device ports * renumber device option in the device details web page * add option in device ports sidebar to hide vlan 1002-1005 * Group Cisco subinterfaces in Device Ports view (like LAG) * add FortiOS SSH collector implementation from @jpvelders * make Port VLAN mismatch respect setting hiding VLAN 1002-1005 * make VLAN hiding and VLAN names configurable options and move to port properties sidebar section * new discover_routed_neighbors setting to skip adding next-hops for discovery * new setting macsuck_no_deviceport to ignore nodes on a device port * implement ignore_deviceports and hide_deviceports settings * implement multi tenancy with tenant_databases setting * add worker to collect various PortAccessEntity (NAC) attributes * API Endpoints to submit arpnip and macsuck results * custom fields on devices and ports in the web from config * sidebar support for custom reports with bind params; add show_sidebar setting * support for FQDN node search while domain_suffix is set; add fallback to IPv4 host lookup search * implement ignore_layers, force_macsuck, force_arpnip config settings Many bug fixes and enhancements too, see https://metacpan.org/dist/App-Netdisco/changes for full list PR: 271329 Reported by: einar@isnic.is --- UIDs | 2 +- UPDATING | 11 ++++ net-mgmt/netdisco/Makefile | 3 +- net-mgmt/netdisco/distinfo | 6 +- net-mgmt/netdisco/files/pkg-message.in | 14 +++-- net-mgmt/netdisco/pkg-plist | 82 +++++++++++++++++++++++++- 6 files changed, 107 insertions(+), 11 deletions(-) diff --git a/UIDs b/UIDs index 468b6a0ba4b9..4aba8df6c785 100644 --- a/UIDs +++ b/UIDs @@ -786,7 +786,7 @@ beehive:*:832:832::0:0:beehive user:/nonexistent:/usr/sbin/nologin # free: 837 # free: 838 # free: 839 -netdisco:*:840:840::0:0:netdisco daemon:/nonexistent:/usr/sbin/nologin +netdisco:*:840:840::0:0:netdisco daemon:/usr/local/etc/netdisco:/bin/sh tcpcryptd:*:841:841::0:0:tcpcrypt daemon:/nonexistent:/usr/sbin/nologin munin:*:842:842::0:0:Munin:/var/munin:/usr/sbin/nologin # free: 843 diff --git a/UPDATING b/UPDATING index 44b8585aca63..85e0e1134134 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,17 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20230531: + AFFECTS: users of net-mgmt/netdisco + AUTHOR: dgeo@centrale-marseille.fr + + The netdisco user now needs a HOME and a shell. + For existing installs you will need to set + HOME to /usr/local/etc/netdisco and shell to /bin/sh. + + For example in one shell line: + pw user mod netdisco -d /usr/local/etc/netdisco -s /bin/sh + 20230526: AFFECTS: users of mail/exim AUTHOR: pi@FreeBSD.org diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile index bf0672e31ab0..1b353ee13984 100644 --- a/net-mgmt/netdisco/Makefile +++ b/net-mgmt/netdisco/Makefile @@ -1,5 +1,5 @@ PORTNAME= netdisco -DISTVERSION= 2.047002 +DISTVERSION= 2.061001 CATEGORIES= net-mgmt perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:OLIVER @@ -26,6 +26,7 @@ RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg \ p5-Authen-Radius>=0:security/p5-Authen-Radius \ p5-Authen-TacacsPlus>=0:security/p5-Authen-TacacsPlus \ p5-CGI-Expand>=2.05:www/p5-CGI-Expand \ + p5-Crypt-Bcrypt>=0:security/p5-Crypt-Bcrypt \ p5-Data-Printer>=0:devel/p5-Data-Printer \ p5-Data-Visitor-Tiny>=0:devel/p5-Data-Visitor-Tiny \ p5-DBIx-Class-Helpers>=2.033004:databases/p5-DBIx-Class-Helpers \ diff --git a/net-mgmt/netdisco/distinfo b/net-mgmt/netdisco/distinfo index 72ab3d15297f..c258651e17d0 100644 --- a/net-mgmt/netdisco/distinfo +++ b/net-mgmt/netdisco/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1609928897 -SHA256 (App-Netdisco-2.047002.tar.gz) = b5515e6cdead75920448c264d91bb8ec70d7407566bc466b3d21e8fac70d7daa -SIZE (App-Netdisco-2.047002.tar.gz) = 3989731 +TIMESTAMP = 1683632136 +SHA256 (App-Netdisco-2.061001.tar.gz) = 7ccf2f4d1ee74c041fd95a2b0d661331a2a16af4c20f210d39f9dec80d12d85d +SIZE (App-Netdisco-2.061001.tar.gz) = 4528674 diff --git a/net-mgmt/netdisco/files/pkg-message.in b/net-mgmt/netdisco/files/pkg-message.in index 5a9a386b5540..ca61ebd25666 100644 --- a/net-mgmt/netdisco/files/pkg-message.in +++ b/net-mgmt/netdisco/files/pkg-message.in @@ -3,17 +3,21 @@ message: <