aboutsummaryrefslogtreecommitdiffstats
path: root/mail/majordomo/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-06-05 07:21:30 +0800
committerkris <kris@FreeBSD.org>2000-06-05 07:21:30 +0800
commit6baadc44910dce36a00482333831db4fa4cfe6a0 (patch)
tree9193987557616730433b5451b21c14c90e1768cc /mail/majordomo/Makefile
parente56b07579f3979f75cbe338ac3989a6fdf637f5a (diff)
downloadfreebsd-ports-gnome-6baadc44910dce36a00482333831db4fa4cfe6a0.tar.gz
freebsd-ports-gnome-6baadc44910dce36a00482333831db4fa4cfe6a0.tar.zst
freebsd-ports-gnome-6baadc44910dce36a00482333831db4fa4cfe6a0.zip
Note documented insecurity of majordomo on multi-user machines.
Pointed out by: bugtraq
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}