pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/dovecot2 dovecot2: let the RC script work unprivi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/267b8791d14a
branches:  trunk
changeset: 457601:267b8791d14a
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Aug 30 09:33:48 2021 +0000

description:
dovecot2: let the RC script work unprivileged

This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.

ok adam@

Bumps PKGREVISION.

diffstat:

 mail/dovecot2/Makefile         |  4 +++-
 mail/dovecot2/files/dovecot.sh |  4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 7ae09c278903 -r 267b8791d14a mail/dovecot2/Makefile
--- a/mail/dovecot2/Makefile    Mon Aug 30 01:15:10 2021 +0000
+++ b/mail/dovecot2/Makefile    Mon Aug 30 09:33:48 2021 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.106 2021/01/04 14:57:18 taca Exp $
+# $NetBSD: Makefile,v 1.107 2021/08/30 09:33:48 khorben Exp $
 
 .include "../../mail/dovecot2/Makefile.common"
 
+PKGREVISION=           1
+
 RCD_SCRIPTS=           dovecot
 SMF_NAME=              dovecot
 
diff -r 7ae09c278903 -r 267b8791d14a mail/dovecot2/files/dovecot.sh
--- a/mail/dovecot2/files/dovecot.sh    Mon Aug 30 01:15:10 2021 +0000
+++ b/mail/dovecot2/files/dovecot.sh    Mon Aug 30 09:33:48 2021 +0000
@@ -1,12 +1,12 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: dovecot.sh,v 1.3 2010/12/07 11:43:44 adam Exp $
+# $NetBSD: dovecot.sh,v 1.4 2021/08/30 09:33:48 khorben Exp $
 #
 
 # PROVIDE: dovecot
 # REQUIRE: DAEMON LOGIN ntpdate
 
-. /etc/rc.subr
+. @SYSCONFBASE@/rc.subr
 
 name="dovecot"
 rcvar=$name



Home | Main Index | Thread Index | Old Index