diff options
author | Martin Holzer <mholzer@gentoo.org> | 2006-04-14 16:42:12 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2006-04-14 16:42:12 +0000 |
commit | d0160839bf568df21f6dd492252f405dc2b66ace (patch) | |
tree | 84d558c9f4a625c678e829c699fb1a623b609dba /net-mail/mailman/files | |
parent | Fixed digest. (diff) | |
download | gentoo-2-d0160839bf568df21f6dd492252f405dc2b66ace.tar.gz gentoo-2-d0160839bf568df21f6dd492252f405dc2b66ace.tar.bz2 gentoo-2-d0160839bf568df21f6dd492252f405dc2b66ace.zip |
Security bump. see bug #129136
(Portage version: 2.0.54)
Diffstat (limited to 'net-mail/mailman/files')
-rw-r--r-- | net-mail/mailman/files/digest-mailman-2.1.8_rc1 | 1 | ||||
-rw-r--r-- | net-mail/mailman/files/mailman-2.1.8_rc1-directory-check.patch | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/net-mail/mailman/files/digest-mailman-2.1.8_rc1 b/net-mail/mailman/files/digest-mailman-2.1.8_rc1 new file mode 100644 index 000000000000..4bd883272e2d --- /dev/null +++ b/net-mail/mailman/files/digest-mailman-2.1.8_rc1 @@ -0,0 +1 @@ +MD5 7d56c45ded47c62d642a6e8b016ee8ee mailman-2.1.8rc1.tgz 6856298 diff --git a/net-mail/mailman/files/mailman-2.1.8_rc1-directory-check.patch b/net-mail/mailman/files/mailman-2.1.8_rc1-directory-check.patch new file mode 100644 index 000000000000..d8542fcf6a88 --- /dev/null +++ b/net-mail/mailman/files/mailman-2.1.8_rc1-directory-check.patch @@ -0,0 +1,30 @@ +--- bin/check_perms.org 2005-05-25 00:04:15.000000000 +0200 ++++ bin/check_perms 2005-05-25 00:04:35.000000000 +0200 +@@ -331,6 +331,8 @@ + print _('checking permissions on list data') + # BAW: This needs to be converted to the Site module abstraction + for dir in os.listdir(mm_cfg.LIST_DATA_DIR): ++ if not S_ISDIR(statmode(os.path.join(mm_cfg.LIST_DATA_DIR,dir))): ++ continue + for file in checkfiles: + path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file) + if STATE.VERBOSE: +--- bin/update.org 2005-05-25 00:04:30.000000000 +0200 ++++ bin/update 2005-05-25 00:04:35.000000000 +0200 +@@ -34,6 +34,7 @@ + """ + + import os ++import stat + import md5 + import sys + import time +@@ -425,7 +426,7 @@ + # Now update for the Mailman 2.1.5 qfile format. For every filebase in + # the qfiles/* directories that has both a .pck and a .db file, pull the + # data out and re-queue them. +- for dirname in os.listdir(mm_cfg.QUEUE_DIR): ++ for dirname in [x for x in os.listdir(mm_cfg.QUEUE_DIR) if stat.S_ISDIR(os.stat(os.path.join(mm_cfg.QUEUE_DIR,x)).st_mode)]: + dirpath = os.path.join(mm_cfg.QUEUE_DIR, dirname) + if dirpath == mm_cfg.BADQUEUE_DIR: + # The files in qfiles/bad can't possibly be pickles |