aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2004-09-01 01:27:06 +0800
committermharo <mharo@FreeBSD.org>2004-09-01 01:27:06 +0800
commit0504cf11481f18bf833fdb9524828eaa6a5e0eba (patch)
tree8dbf997056c7fb5e3e66b04e0b579eb1c13417dd /mail
parent273151bce17b1a19874a4665b397dd9fa6a0ce66 (diff)
downloadfreebsd-ports-gnome-0504cf11481f18bf833fdb9524828eaa6a5e0eba.tar.gz
freebsd-ports-gnome-0504cf11481f18bf833fdb9524828eaa6a5e0eba.tar.zst
freebsd-ports-gnome-0504cf11481f18bf833fdb9524828eaa6a5e0eba.zip
Bug Fix: A newly created mailman 2.1.5 list will email bogus moderator
requests until a genuine one has been handled. Reference: <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.038.htp> Bump PORTREVISION Approved by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/mailman/Makefile1
-rw-r--r--mail/mailman/files/patch-Mailman::ListAdmin.py20
2 files changed, 21 insertions, 0 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index 153253c0f9c1..7ae3d023512d 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.5
+PORTREVISION= 1
CATEGORIES?= mail
MASTER_SITES= http://www.list.org/ \
${MASTER_SITE_GNU} \
diff --git a/mail/mailman/files/patch-Mailman::ListAdmin.py b/mail/mailman/files/patch-Mailman::ListAdmin.py
new file mode 100644
index 000000000000..699193b55451
--- /dev/null
+++ b/mail/mailman/files/patch-Mailman::ListAdmin.py
@@ -0,0 +1,20 @@
+--- /usr/local/src/mailman-2.1.5/Mailman/ListAdmin.py-2.1.5 2004-02-29 12:55:27.000000000 +0900
++++ Mailman/ListAdmin.py 2004-06-10 22:44:39.373711240 +0900
+@@ -83,6 +83,8 @@
+ except IOError, e:
+ if e.errno <> errno.ENOENT: raise
+ self.__db = {}
++ # put version number in new database
++ self.__db['version'] = IGN, mm_cfg.REQUESTS_FILE_SCHEMA_VERSION
+
+ def __closedb(self):
+ if self.__db is not None:
+@@ -122,7 +124,7 @@
+
+ def NumRequestsPending(self):
+ self.__opendb()
+- # Subtrace one for the version pseudo-entry
++ # Subtract one for the version pseudo-entry
+ return len(self.__db) - 1
+
+ def __getmsgids(self, rtype):