aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sqwebmail
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2002-10-11 04:50:49 +0800
committerseanc <seanc@FreeBSD.org>2002-10-11 04:50:49 +0800
commit25fb94be67bdc29bc423f096a02f51b379cbf66b (patch)
tree4810aa3609ae27b1316fa8ddbb3b0e63f4c0a85b /mail/sqwebmail
parent4bb20ac8f6758bb92b20ba748de40ea0da6e0595 (diff)
downloadfreebsd-ports-gnome-25fb94be67bdc29bc423f096a02f51b379cbf66b.tar.gz
freebsd-ports-gnome-25fb94be67bdc29bc423f096a02f51b379cbf66b.tar.zst
freebsd-ports-gnome-25fb94be67bdc29bc423f096a02f51b379cbf66b.zip
Add tunables for setting the hard and soft timeouts for sqwebmail.
Reviewed by: nbm Approved by: knu (mentor)
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r--mail/sqwebmail/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index b70efb78fab5..560f59a7c2cb 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -39,6 +39,8 @@ IMAGEURL?= ${WEBDATASUBDIR}
# set WITH_VCHKPW for vpopmail authentication
# set WITH_ISPELL to provide spell-checking
# set WITH_MIMETYPES to enable the search for a mime.types file
+# set WITH_TIMEOUTHARD to something other than 7200 seconds (2hr)
+# set WITH_TIMEOUTSOFT to something other than 1200 seconds (20m)
# set VCHKPW to the home of the vpopmail user, if necessary
#
@@ -117,6 +119,14 @@ CONFIGURE_ARGS+= --without-ispell
CONFIGURE_ARGS+= --disable-mimetypes
.endif
+.if defined(WITH_TIMEOUTHARD)
+CONFIGURE_ARGS+= --enable-hardtimeout=${WITH_TIMEOUTHARD}
+.endif
+
+.if defined(WITH_TIMEOUTSOFT)
+CONFIGURE_ARGS+= --enable-softtimeout=${WITH_TIMEOUTSOFT}
+.endif
+
MANPREFIX= ${PREFIX}/share/sqwebmail
MAN1= maildirmake.1
MAN7= authlib.7