aboutsummaryrefslogtreecommitdiffstats
path: root/mail/maildrop
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-07-05 06:45:03 +0800
committersergei <sergei@FreeBSD.org>2004-07-05 06:45:03 +0800
commit37f2fad25ba1ba9494a9d1d890cfdf9226f07ee9 (patch)
treef833024e2766da1f69c96c4713330421e98a438e /mail/maildrop
parent6c778484eb3b2486b19216f9233ee3be2f1d90cf (diff)
downloadfreebsd-ports-gnome-37f2fad25ba1ba9494a9d1d890cfdf9226f07ee9.tar.gz
freebsd-ports-gnome-37f2fad25ba1ba9494a9d1d890cfdf9226f07ee9.tar.zst
freebsd-ports-gnome-37f2fad25ba1ba9494a9d1d890cfdf9226f07ee9.zip
- Add two new knobs:
WITH_TRASHQUOTA=yes Include deleted messages, and the Trash folder, in the estimated quota usage for maildirs. Requires WITH_MAILDIRQUOTA. [1] MAILDROP_TRUSTED_USERS=<user> Specify users allowed to use the -d option [2] - Bump PORTREVISION PR: ports/68077 [1], ports/65520 [2] Submitted by: Rui Lopes <rui@ruilopes.com> [1], Mantas Kaulakys <mantas@stotis.lt> [2]
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 1486a7f44f7b..a7681c280c85 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -9,11 +9,15 @@
# WITH_GDBM=yes Enable database extensions using GDBM (default: off)
# WITH_USERDB=yes Enable optional userdb authentication
# WITH_MAILDIRQUOTA=yes Enable optional support for maildir quotas
+# WITH_TRASHQUOTA=yes Include deleted messages, and the Trash folder,
+# in the estimated quota usage for maildirs.
+# Requires WITH_MAILDIRQUOTA.
# MAILDROP_SUID=<uid>,
# MAILDROP_SGID=<gid> Maildrop will be installed with suid permissions for
# MAILDROP_SUID, and sgid permissions for MAILDROP_SGID.
# If undefined, these values default to "root" and "mail"
# respectively, which should be suitable for most systems.
+# MAILDROP_TRUSTED_USERS=<user> Specify users allowed to use the -d option
# NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary
# to use
# WITH_LDAP=yes Enable experimental virtual user LDAP support
@@ -21,6 +25,7 @@
PORTNAME= maildrop
PORTVERSION= 1.6.3
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -64,6 +69,9 @@ PLIST_SUB+= USERDB="@comment "
.if defined(WITH_MAILDIRQUOTA)
CONFIGURE_ARGS+= --enable-maildirquota
+.if defined(WITH_TRASHQUOTA)
+CONFIGURE_ARGS+= --with-trashquota
+.endif
EXTRA_TARGET+= install-deliverquota
PLIST_SUB+= MAILDIRQUOTA=""
.else
@@ -78,6 +86,10 @@ CONFIGURE_ARGS+= --enable-sendmail=/usr/sbin/sendmail
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
.endif
+.if defined(MAILDROP_TRUSTED_USERS)
+CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}"
+.endif
+
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --enable-maildropldap \