Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2021 22:02:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256042] net-im/matterircd Wrong statup options in rc file
Message-ID:  <bug-256042-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256042

            Bug ID: 256042
           Summary: net-im/matterircd Wrong statup options in rc file
           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: julien.dessaux@adyxax.org
                CC: norrland@nullbyte.se
                CC: norrland@nullbyte.se
             Flags: maintainer-feedback?(norrland@nullbyte.se)

Created attachment 225137
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225137&action=
=3Dedit
proposed patch

Hi,

The options in the rc file are invalid therefore a fresh installation of
matterircd cannot start. It will fail with a daemon log that looks like :
May 20 22:48:41 matterircd matterircd[40090]: unknown shorthand flag: 'c' in
-conf=3D/usr/local/etc/matterircd.toml
May 20 22:48:41 matterircd matterircd[40090]: Usage of
/usr/local/bin/matterircd:
May 20 22:48:41 matterircd matterircd[40090]:       --bind string=20=20=20=
=20=20
interface:port to bind to, or a path to bind to a Unix socket. (default
"127.0.0.1:6667")
May 20 22:48:41 matterircd matterircd[40090]:       --conf string      conf=
ig
file (default "matterircd.toml")
May 20 22:48:41 matterircd matterircd[40090]:       --debug            enab=
le
debug logging
May 20 22:48:41 matterircd matterircd[40090]:       --tlsbind string=20=20
interface:port to bind to. (e.g 127.0.0.1:6697)
May 20 22:48:41 matterircd matterircd[40090]:       --tlsdir string=20=20=20
directory to look for key.pem and cert.pem. (default ".")
May 20 22:48:41 matterircd matterircd[40090]:       --version          show
version

Adding a second dash to change -conf=3D into --conf=3D fixes the issue.

Patch is attached.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256042-7788>