From aa47b1121dc049024db4b375fc8c9b8d0e7ecb33 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Sat, 2 Nov 2002 21:33:09 +0000 Subject: Update the checksum to match the "new" distfile. Submitted by: gerald - the original notification about the vpopmail distfile checksum change Fix a possible buffer underflow bug in the changed code. Add a new ENABLE_MYSQL_LIMITS knob for .qmailadmin-limits processing, and DISABLE the new MySQL limits code - it does not even compile as shipped :( Use the correct configure script option for specifying the path to the tcprules program, so vpopmail works even with LOCALBASE != /usr/local. Submitted by: Mike Meyer - the tcprules patch --- mail/vpopmail/files/patch-vmysql.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mail/vpopmail/files/patch-vmysql.h (limited to 'mail/vpopmail/files/patch-vmysql.h') diff --git a/mail/vpopmail/files/patch-vmysql.h b/mail/vpopmail/files/patch-vmysql.h new file mode 100644 index 000000000000..347342723a14 --- /dev/null +++ b/mail/vpopmail/files/patch-vmysql.h @@ -0,0 +1,15 @@ +--- vmysql.h.orig Sat Nov 2 23:02:32 2002 ++++ vmysql.h Sat Nov 2 23:06:01 2002 +@@ -250,3 +250,12 @@ + INDEX error_idx (error), INDEX message_idx (message)" + #endif + ++#ifdef ENABLE_MYSQL_LIMITS ++#define LIMITS_TABLE_LAYOUT "id BIGINT PRIMARY KEY AUTO_INCREMENT, \ ++ domain CHAR(64), maxpopaccounts INTEGER, maxaliases INTEGER, \ ++ maxforwards INT, maxautoresponders INT, maxmailinglists INT \ ++ diskquota INT, defaultquota INT, disablepop INT, disableimap INT, \ ++ disabledialup INT, disablepasswordchanging INT, disablewebmail INT, \ ++ disablerelay INT, \ ++ INDEX domain_idx (domain)" ++#endif -- cgit v1.2.3