summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2021-08-29 18:32:29 +0000
committerkhorben <khorben@pkgsrc.org>2021-08-29 18:32:29 +0000
commit3f27c3d3055be799abd9b6752545fd3d7c06ddec (patch)
tree019814179bbdcdee6db9cd0ff1d5c3debf72677a /chat
parent1fde360351751dae31bdda0476184e6c02619200 (diff)
downloadpkgsrc-3f27c3d3055be799abd9b6752545fd3d7c06ddec.tar.gz
prosody: let the RC script work unprivileged
This takes advantage of the introduction of the SYSCONFBASE variable. Tested on NetBSD/amd64. Bumps PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r--chat/prosody/Makefile4
-rw-r--r--chat/prosody/files/prosody.sh6
2 files changed, 6 insertions, 4 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile
index 4fc4bd62206..0be390ba76d 100644
--- a/chat/prosody/Makefile
+++ b/chat/prosody/Makefile
@@ -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 --git a/chat/prosody/files/prosody.sh b/chat/prosody/files/prosody.sh
index 7b22581d719..f8fd2c411c1 100644
--- a/chat/prosody/files/prosody.sh
+++ b/chat/prosody/files/prosody.sh
@@ -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"