pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/prosody



Module Name:    pkgsrc
Committed By:   khorben
Date:           Sun Aug 29 18:32:30 UTC 2021

Modified Files:
        pkgsrc/chat/prosody: Makefile
        pkgsrc/chat/prosody/files: prosody.sh

Log Message:
prosody: 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.33 -r1.34 pkgsrc/chat/prosody/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/prosody/files/prosody.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/prosody/Makefile
diff -u pkgsrc/chat/prosody/Makefile:1.33 pkgsrc/chat/prosody/Makefile:1.34
--- pkgsrc/chat/prosody/Makefile:1.33   Wed May 27 19:37:37 2020
+++ pkgsrc/chat/prosody/Makefile        Sun Aug 29 18:32:29 2021
@@ -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/
 

Index: pkgsrc/chat/prosody/files/prosody.sh
diff -u pkgsrc/chat/prosody/files/prosody.sh:1.1 pkgsrc/chat/prosody/files/prosody.sh:1.2
--- pkgsrc/chat/prosody/files/prosody.sh:1.1    Fri Sep 30 08:33:54 2011
+++ pkgsrc/chat/prosody/files/prosody.sh        Sun Aug 29 18:32:29 2021
@@ -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