[Bug 271329] net-mgmt/netdisco: Install instructions in pkg-message broken

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 May 2023 11:21:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271329

            Bug ID: 271329
           Summary: net-mgmt/netdisco: Install instructions in pkg-message
                    broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: einar@isnic.is
                CC: dgeo@centrale-marseille.fr
                CC: dgeo@centrale-marseille.fr
             Flags: maintainer-feedback?(dgeo@centrale-marseille.fr)
             Flags: maintainer-feedback?(dgeo@centrale-marseille.fr)

The install instructions in pkg-message state:

> to get Netdisco running, you just have to:
>  * edit /usr/local/etc/netdisco/environments/deployment.yml to suit your needs
>    (perldoc App::Netdisco::Manual::Configuration)

$ perldoc App::Netdisco::Manual::Configuration
No documentation found for "App::Netdisco::Manual::Configuration"

>  * edit rc.conf according to /usr/local/etc/rc.d/netdisco
>  * read "perldoc App::Netdisco::Manual::Deployment"

$ perldoc App::Netdisco::Manual::Deployment
No documentation found for "App::Netdisco::Manual::Deployment".

>  * place env NETDISCO_HOME=/usr/local/etc/netdisco

Place it where?

>  * launch netdisco-deploy *as user netdisco* to install/upgrade your database

$ sudo -u netdisco netdisco-deploy
Sorry, can't find libs required for App::Netdisco.
BEGIN failed--compilation aborted at /usr/local/bin/netdisco-deploy line 25.

>  * copy (or link) /usr/local/etc/netdisco/netdiscologs.conf
>    to /usr/local/etc/newsyslog.conf.d/ to take care
>    of logs rotation

> Always use "su - netdisco" before running netdisco-do or netdisco-deploy
>  (because of locallib use)

$ sudo su - netdisco
su: no directory

-- 
You are receiving this mail because:
You are the assignee for the bug.