summaryrefslogtreecommitdiff
path: root/mail/distribute
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2011-01-29 17:16:32 +0000
committerspz <spz@pkgsrc.org>2011-01-29 17:16:32 +0000
commitae1b4b4cc6264e0da85a3c3988ad36124cad272e (patch)
tree8f371f840998ef7bec280bb629c014af74b4f6ed /mail/distribute
parent42aec27b904f53f5125fc9262888a2ceb5970fe6 (diff)
downloadpkgsrc-ae1b4b4cc6264e0da85a3c3988ad36124cad272e.tar.gz
stop majordomo from chowning /var/tmp to user majordom due to a superannuated
default in mk/defaults/mk.conf remove the non-shared defaults and put in the setting that actually gets used by more than one package (namely, MAJORDOMO_HOMEDIR) don't make the majordom user own more than it actually needs to make resend, archive, request-answer and medit honor the MAJORDOMO_CF environment variable over the command line option, so that someone calling these via the wrapper (which sets the environment variable) can't make the majordom user execute random perl code by specifying it as config file. Thanks to salo for finding this issue.
Diffstat (limited to 'mail/distribute')
-rw-r--r--mail/distribute/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/distribute/Makefile b/mail/distribute/Makefile
index 81d697e19b2..4623ccf2262 100644
--- a/mail/distribute/Makefile
+++ b/mail/distribute/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2010/02/04 01:57:26 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2011/01/29 17:16:33 spz Exp $
DISTNAME= distribute-2.1-pl19
PKGNAME= distribute-2.1.26
@@ -28,9 +28,9 @@ DIST_SUBDIR= distribute
PATCH_DIST_STRIP= -p1
# customize below if you would like to
-# mail/majordomo likes this
-MAJORDOMO_DIR= /home/majordom
-MAJORDOMO_LIST_DIR= ${MAJORDOMO_DIR}/lists
+# this needs to be the same as majordomo uses
+MAJORDOMO_HOMEDIR?= ${VARBASE}/majordomo
+MAJORDOMO_LIST_DIR= ${MAJORDOMO_HOMEDIR}/lists
# just as example, you may disagree with these
MAILINGLIST_DIR= /var/mail-list
ARCHIVE_DIR= /var/spool/mail-list