pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/postfix



Module Name:    pkgsrc
Committed By:   khorben
Date:           Sun Aug 29 21:04:55 UTC 2021

Modified Files:
        pkgsrc/mail/postfix: Makefile
        pkgsrc/mail/postfix/files: postfix.sh

Log Message:
postfix: 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.329 -r1.330 pkgsrc/mail/postfix/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/postfix/files/postfix.sh

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

Modified files:

Index: pkgsrc/mail/postfix/Makefile
diff -u pkgsrc/mail/postfix/Makefile:1.329 pkgsrc/mail/postfix/Makefile:1.330
--- pkgsrc/mail/postfix/Makefile:1.329  Sat Aug 14 08:58:20 2021
+++ pkgsrc/mail/postfix/Makefile        Sun Aug 29 21:04:55 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.329 2021/08/14 08:58:20 taca Exp $
+# $NetBSD: Makefile,v 1.330 2021/08/29 21:04:55 khorben Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "../../mail/postfix/Makefile.common"
 
 COMMENT=       Fast, easy to administer, and secure mail transfer agent

Index: pkgsrc/mail/postfix/files/postfix.sh
diff -u pkgsrc/mail/postfix/files/postfix.sh:1.5 pkgsrc/mail/postfix/files/postfix.sh:1.6
--- pkgsrc/mail/postfix/files/postfix.sh:1.5    Fri Dec 30 06:29:41 2005
+++ pkgsrc/mail/postfix/files/postfix.sh        Sun Aug 29 21:04:55 2021
@@ -1,14 +1,17 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: postfix.sh,v 1.5 2005/12/30 06:29:41 martti Exp $
+# $NetBSD: postfix.sh,v 1.6 2021/08/29 21:04:55 khorben Exp $
 #
-
 # PROVIDE: mail
 # REQUIRE: LOGIN
 #      we make mail start late, so that things like .forward's are not
 #      processed until the system is fully operational
+#
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start postfix:
+#
+# postfix=YES
 
-. /etc/rc.subr
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
 
 name="postfix"
 rcvar=$name



Home | Main Index | Thread Index | Old Index