[Bug 256042] net-im/matterircd Wrong statup options in rc file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 20 22:02:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256042

            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 at FreeBSD.org
          Reporter: julien.dessaux at adyxax.org
                CC: norrland at nullbyte.se
                CC: norrland at nullbyte.se
             Flags: maintainer-feedback?(norrland at nullbyte.se)

Created attachment 225137
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225137&action=edit
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=/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     
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      config
file (default "matterircd.toml")
May 20 22:48:41 matterircd matterircd[40090]:       --debug            enable
debug logging
May 20 22:48:41 matterircd matterircd[40090]:       --tlsbind string  
interface:port to bind to. (e.g 127.0.0.1:6697)
May 20 22:48:41 matterircd matterircd[40090]:       --tlsdir string   
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= into --conf= fixes the issue.

Patch is attached.

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


More information about the freebsd-ports-bugs mailing list