aboutsummaryrefslogtreecommitdiffstats
path: root/mail/majordomo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/majordomo/Makefile')
-rw-r--r--mail/majordomo/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile
index 8693243439a5..285f095a9c1b 100644
--- a/mail/majordomo/Makefile
+++ b/mail/majordomo/Makefile
@@ -24,6 +24,11 @@ INSTALL_TARGET= install install-wrapper
MAN1= approve.1 bounce-remind.1 digest.1
MAN8= majordomo.8
+pre-fetch:
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+ /usr/bin/dialog --yesno "Majordomo is unsafe to use on multi-user machines: local users can run arbitrary commands as the majordomo user. Do you wish to accept the security risk and build majordomo anyway?" 8 60 || ${FALSE}
+.endif
+
pre-configure:
@ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/createuser
@ ${CP} ${FILESDIR}/aliases.majordomo ${WRKSRC}