From nobody Wed Sep 18 14:20:07 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X81540Jzvz5WTG4 for ; Wed, 18 Sep 2024 14:20:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X81535cBqz47qk for ; Wed, 18 Sep 2024 14:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726669207; a=rsa-sha256; cv=none; b=SJmg59DItKSz1kq4TnHITKa+tmfCXXpniCHTvMEFVUYMCRb6zVrhOzqnwt6OPjom1ibfRD /BfpNrRhzgTy/C5eAHVCdSAT0p9OG/b1+iMs8i85f2mfhjvftthCPJ9qdJtEnKU2RInyMK 3QL3WO06yb2RU4FlZyPSpxYWFE6su/Bhz1XTLW4DlF+9jgPBuRPxCg5nnNpwBj5F29EAud z7MBisOgkrVoT4HZ1BgU6cmV2Ko1rUE9znHnh8/Gdu/IbqNGt9mkg3iw65M8usYRtCBczF bMCcvUDiMut4wXc9J05cf/PJSLjjTOLaWX2emq6/JBaHDExmaY38bTgau2ixoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726669207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tZrdbDsJ1oCPSwFfyvJoiIEvchCUqnKf+1yFlP1LE2g=; b=eLB9PUHUwoMA24NY64ClVMkrCTzhoKPISAKqXG+KO85MZNKF2CqSihvoLU1cR36AeLKbfP 8B2g29SFbztDKzX0gHrHWEvr3EARx/UgTzLXsTJxV9sl0rdmzYs747Oz5BYADddODWDxUM wqv93rnRUXxJGl2lb169EbdbCmYkgNxns9IoZ02rN16d1e3hQD4HIM3Yykdh9XJkwFkK4S +Gg0azPD6cixppFmnm0MnWwX//vv8TmWYcrqVWJDyB3VxoaLvJEE0+DwSJSKdcE7ofyXow btF2Q1lno45kYltcTwPP8UxxNFBS2O9K+sdW6u1/FSQtehciuG3I3g2MyOOINA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X81534pjmzQ3T for ; Wed, 18 Sep 2024 14:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48IEK70o035391 for ; Wed, 18 Sep 2024 14:20:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48IEK7NP035389 for ports-bugs@FreeBSD.org; Wed, 18 Sep 2024 14:20:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281571] multimedia/navidrome pkg-message incorrect Date: Wed, 18 Sep 2024 14:20:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andrew@aklaus.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kbowling@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281571 Bug ID: 281571 Summary: multimedia/navidrome pkg-message incorrect Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kbowling@freebsd.org Reporter: andrew@aklaus.ca Flags: maintainer-feedback?(kbowling@freebsd.org) Assignee: kbowling@freebsd.org After installing navidrome-0.52.5_4 on FreeBSD 14.1-RELEASE-p3, the followi= ng message was returned after install to configure it through rc.conf: ---- Navidrome will listen on port 4533 and bind to 127.0.0.1.=20=20 This can be changed in the configuration file above or by passing extra fla= gs=20 using "navidrome_flags" in /etc/rc.conf. navidrome_flags=3D"--address 0.0.0.0 --port 80" ---- I configured my rc.conf like so: ---- navidrome_flags=3D"--address 127.0.0.1 --port 4533" ---- And after starting, I was receiving the following error: ---- /usr/local/etc/rc.d/navidrome start Starting navidrome. daemon: unrecognized option `--address' usage: daemon [-cfHrS] [-p child_pidfile] [-P supervisor_pidfile] [-u user] [-o output_file] [-t title] [-l syslog_facility] [-s syslog_priority] [-T syslog_tag] [-m output_mask] [-R restart_delay_secs] ---- When I looked into it, the FreeBSD rc scripting page (https://docs.freebsd.org/en/articles/rc-scripting/) says to never include dashed options within command_args: ---- Never include dashed options, like -X or --foo, in command_args. The conten= ts of command_args will appear at the end of the final command line, hence they are likely to follow arguments present in ${name}_flags; but most commands = will not recognize dashed options after ordinary arguments. A better way of pass= ing additional options to $command is to add them to the beginning of ${name}_flags. Another way is to modify rc_flags as shown later. ---- Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=