summaryrefslogtreecommitdiff
path: root/mail/sqwebmail
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2002-10-10 20:50:49 +0000
committerSean Chittenden <seanc@FreeBSD.org>2002-10-10 20:50:49 +0000
commitce731960e9aedd9159d2f83aa6ba2a1af4331dfe (patch)
tree76e75ee068d8f28006ffec651d6e068e2dc1d919 /mail/sqwebmail
parentUpdate WWW. (diff)
Add tunables for setting the hard and soft timeouts for sqwebmail.
Reviewed by: nbm Approved by: knu (mentor)
Notes
Notes: svn path=/head/; revision=67776
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