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
This commit is contained in:
Michael Haro 2004-08-31 17:27:06 +00:00
parent faebe3e77c
commit be3ac29f18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117750
2 changed files with 21 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.5
PORTREVISION= 1
CATEGORIES?= mail
MASTER_SITES= http://www.list.org/ \
${MASTER_SITE_GNU} \

View file

@ -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):