From nobody Thu May 16 09:41:40 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 4Vg4qS4zTKz5KxTf for ; Thu, 16 May 2024 09:41:40 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vg4qS2tS0z4XSP for ; Thu, 16 May 2024 09:41:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715852500; a=rsa-sha256; cv=none; b=qlFQdXYhGrrQc/N3ZDFdYXiIqUkP4q/D7+eLKhpqZJfSmDcYel3erC/Y9/88koS/fEhi0U Vz8Apz6VNdukg88VGdSY0+mfF9MzxsQ5cWj1s/SQEy9PUhz8mXfjBpufIPVYved8r+O/Ub O/nuNoy/IJwL+Q4Q1xobQIQ35vVY4QU7VGWQufN47M/3m6CsREbzBdut7EEPcr+scclc2T Ups00wUlQe8HIKe9DqG2Es+9t9qIHVnuhNAD6irwu1lAM7z5jpXyySDFFyMT8t1DdGTNHX 79gjFg0fdCY8s6sNQ/t73+fX/nd+S7t1pIPrEWDT/uDv0iRHi3TnTDbTtNYKKA== 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=1715852500; 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=fBYkGKdFgbPVq8fbdHP4tUwW/eUvTZAhogwulyfcZmY=; b=rmSJu5rb1VaUnh2MpQnPdKlwUae0BxltfgL1McTZtxBYHZZp+b67sC/NUcgyJsKUY9C70D GDPuTkFkanOZJZTSsRXWfVKPOJpCSXsX/B8gpQDOQ7d61tePL+NNIkaumYIyIEKwkN2V82 fdOnMEPANs2WynNs4cQMUuZMZ64+rRST0qVtG5LRrj6+1NPJZ3WBa3laal1ZrSWJFZDGoZ 1IYbdVwcL6GD/pXImsjDE9ZEcZjfTz7mj6PuFt2CfreATuBRxsMIYkFRPSSWj/U3DuQfvs a7Vsb0LiZrCG2+faTcTitre5CYAVScZCE2vHAQa00hfassITkdN2MYq7xXBdOw== 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 4Vg4qS2TsDztSQ for ; Thu, 16 May 2024 09:41:40 +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 44G9feFf040116 for ; Thu, 16 May 2024 09:41:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44G9fe2a040115 for ports-bugs@FreeBSD.org; Thu, 16 May 2024 09:41:40 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 279026] net/ptpd2: rc script has no defaults Date: Thu, 16 May 2024 09:41:40 +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: gehm@sudoers.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: skreuzer@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=3D279026 Bug ID: 279026 Summary: net/ptpd2: rc script has no defaults Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: skreuzer@FreeBSD.org Reporter: gehm@sudoers.net Flags: maintainer-feedback?(skreuzer@FreeBSD.org) Assignee: skreuzer@FreeBSD.org In a fresh install, ptpd2 won't start because of missing options. The rc file has no configfile default. Here is a fix: #!/bin/sh # PROVIDE: ptpd2 # REQUIRE: NETWORKING DAEMON # KEYWORD: nojail # # Add the following lines to /etc/rc.conf to enable ptpd # # ptpd2_enable (bool): Set to "NO" by default # Set it to "YES" to enable ptpd # ptp2_configfile (str): Set to "/usr/local/etc/ptpd2/ptpd.conf" by default . /etc/rc.subr name=3Dptpd2 rcvar=3Dptpd2_enable load_rc_config "${name}" : ${ptpd2_enable:=3DNO} : ${ptpd2_configfile:=3D/usr/local/etc/ptpd2/ptpd.conf} required_files=3D"${ptpd2_configfile}" command=3D"/usr/local/sbin/${name}" command_args=3D"-c ${ptpd2_configfile}" run_rc_command "$1" --=20 You are receiving this mail because: You are the assignee for the bug.=