Received: by mail.netbsd.org (Postfix, from userid 605) id 3460484E75; Sun, 29 Aug 2021 20:00:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6E27A84E56 for ; Sun, 29 Aug 2021 20:00:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id w59YQRwt4yqT for ; Sun, 29 Aug 2021 20:00:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 97F9184CEF for ; Sun, 29 Aug 2021 20:00:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 90648FA97; Sun, 29 Aug 2021 20:00:43 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1630267243246890" MIME-Version: 1.0 Date: Sun, 29 Aug 2021 20:00:43 +0000 From: "Pierre Pronchery" Subject: CVS commit: pkgsrc/print/py-octoprint To: pkgsrc-changes@NetBSD.org Reply-To: khorben@netbsd.org X-Mailer: log_accum Message-Id: <20210829200043.90648FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1630267243246890 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: khorben Date: Sun Aug 29 20:00:43 UTC 2021 Modified Files: pkgsrc/print/py-octoprint: Makefile pkgsrc/print/py-octoprint/files: octoprint.sh Log Message: py-octoprint: let the RC script work unprivileged This takes advantage of the introduction of the SYSCONFBASE variable. Tested on NetBSD/amd64. Bumps PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/print/py-octoprint/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/print/py-octoprint/files/octoprint.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1630267243246890 Content-Disposition: inline Content-Length: 1489 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/print/py-octoprint/Makefile diff -u pkgsrc/print/py-octoprint/Makefile:1.3 pkgsrc/print/py-octoprint/Makefile:1.4 --- pkgsrc/print/py-octoprint/Makefile:1.3 Thu Aug 5 13:08:08 2021 +++ pkgsrc/print/py-octoprint/Makefile Sun Aug 29 20:00:43 2021 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2021/08/05 13:08:08 adam Exp $ +# $NetBSD: Makefile,v 1.4 2021/08/29 20:00:43 khorben Exp $ DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV} PKGNAME= ${PYPKGPREFIX}-octoprint-1.6.1 +PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GITHUB:=OctoPrint/} GITHUB_PROJECT= OctoPrint Index: pkgsrc/print/py-octoprint/files/octoprint.sh diff -u pkgsrc/print/py-octoprint/files/octoprint.sh:1.2 pkgsrc/print/py-octoprint/files/octoprint.sh:1.3 --- pkgsrc/print/py-octoprint/files/octoprint.sh:1.2 Sun May 30 21:53:11 2021 +++ pkgsrc/print/py-octoprint/files/octoprint.sh Sun Aug 29 20:00:43 2021 @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: octoprint.sh,v 1.2 2021/05/30 21:53:11 khorben Exp $ +# $NetBSD: octoprint.sh,v 1.3 2021/08/29 20:00:43 khorben Exp $ # # Startup script for OctoPrint # @@ -8,11 +8,11 @@ # REQUIRE: DAEMON # KEYWORD: shutdown # -# You will need to set some variables in /etc/rc.conf to start OctoPrint: +# You will need to set some variables in @SYSCONFBASE@/rc.conf to start OctoPrint: # # octoprint=YES -$_rc_subr_loaded . /etc/rc.subr +$_rc_subr_loaded . @SYSCONFBASE@/rc.subr name="octoprint" rcvar=${name} --_----------=_1630267243246890--