pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/prosody prosody: let the RC script work unprivileged
details: https://anonhg.NetBSD.org/pkgsrc/rev/304eeaef0b1f
branches: trunk
changeset: 457581:304eeaef0b1f
user: khorben <khorben%pkgsrc.org@localhost>
date: Sun Aug 29 18:32:29 2021 +0000
description:
prosody: let the RC script work unprivileged
This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.
Bumps PKGREVISION.
diffstat:
chat/prosody/Makefile | 4 ++--
chat/prosody/files/prosody.sh | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 6948eb237820 -r 304eeaef0b1f chat/prosody/Makefile
--- a/chat/prosody/Makefile Sun Aug 29 17:49:44 2021 +0000
+++ b/chat/prosody/Makefile Sun Aug 29 18:32:29 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2020/05/27 19:37:37 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2021/08/29 18:32:29 khorben Exp $
#
DISTNAME= prosody-0.11.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= https://prosody.im/downloads/source/
diff -r 6948eb237820 -r 304eeaef0b1f chat/prosody/files/prosody.sh
--- a/chat/prosody/files/prosody.sh Sun Aug 29 17:49:44 2021 +0000
+++ b/chat/prosody/files/prosody.sh Sun Aug 29 18:32:29 2021 +0000
@@ -1,10 +1,12 @@
#!@RCD_SCRIPTS_SHELL@
#
+# $NetBSD: prosody.sh,v 1.2 2021/08/29 18:32:29 khorben Exp $
+#
# PROVIDE: prosody
# REQUIRE: DAEMON
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
+if [ -f @SYSCONFBASE@/rc.subr ]; then
+ . @SYSCONFBASE@/rc.subr
fi
name="prosody"
Home |
Main Index |
Thread Index |
Old Index