diff options
author | khorben <khorben@pkgsrc.org> | 2021-08-30 09:33:48 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2021-08-30 09:33:48 +0000 |
commit | d7dbc25f8df242a51adb943aa263e422e07af2e6 (patch) | |
tree | 06d486e404ca581397ea79308efdbea1c50ca972 /mail | |
parent | b4f2c19242503ee031e147322b8378213ded5155 (diff) | |
download | pkgsrc-d7dbc25f8df242a51adb943aa263e422e07af2e6.tar.gz |
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 (limited to 'mail')
-rw-r--r-- | mail/dovecot2/Makefile | 4 | ||||
-rwxr-xr-x | mail/dovecot2/files/dovecot.sh | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index a7395313720..e3d00f87e70 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -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 --git a/mail/dovecot2/files/dovecot.sh b/mail/dovecot2/files/dovecot.sh index 6aad8521cf2..9d06f30a4ae 100755 --- a/mail/dovecot2/files/dovecot.sh +++ b/mail/dovecot2/files/dovecot.sh @@ -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 |