pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/py-octoprint
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.
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}
Home |
Main Index |
Thread Index |
Old Index