Subject: Setting PKGSRC_MESSAGE_RECIPIENTS by default
To: None <tech-pkg@NetBSD.org>
From: Soren Jacobsen <snj@NetBSD.org>
List: tech-pkg
Date: 02/13/2004 17:28:27
Hi,
PKGSRC_MESSAGE_RECIPIENTS is great, but doesn't do much good when it's
not set. It is quite easy to miss a MESSAGE, and most users probably
don't even _know_ about the variable. Therefore, I propose that we mail
them to root by default. If a machine doesn't have somebody reading
root's mail, well, shame on them.
Any objections?
Index: bsd.pkg.defaults.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.defaults.mk,v
retrieving revision 1.214
diff -u -r1.214 bsd.pkg.defaults.mk
--- bsd.pkg.defaults.mk 12 Feb 2004 02:35:06 -0000 1.214
+++ bsd.pkg.defaults.mk 14 Feb 2004 00:53:30 -0000
@@ -102,10 +102,10 @@
# Possible: YES, NO
# Default: YES
-PKGSRC_MESSAGE_RECIPIENTS?=
+PKGSRC_MESSAGE_RECIPIENTS?=${ROOT_USER}
# login names of recipients of any MESSAGE files which will be mailed
# Possible: any login names
-# Default: none
+# Default: ${ROOT_USER}
PKGSRC_SHOW_BUILD_DEFS?=yes
# Show BUILD_DEFS definitions for a package when it is being built