1 |
hanno 09/08/01 09:57:04 |
2 |
|
3 |
Added: mailman-2.1.12-directory-check.patch |
4 |
mailman-2.1.12-add-destdir.patch |
5 |
Log: |
6 |
mailman bump |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-mail/mailman/files/mailman-2.1.12-directory-check.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailman/files/mailman-2.1.12-directory-check.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailman/files/mailman-2.1.12-directory-check.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mailman-2.1.12-directory-check.patch |
16 |
=================================================================== |
17 |
diff -Naur mailman-2.1.12/bin/check_perms mailman-2.1.12-1/bin/check_perms |
18 |
--- mailman-2.1.12/bin/check_perms 2009-02-23 22:23:35.000000000 +0100 |
19 |
+++ mailman-2.1.12-1/bin/check_perms 2009-08-01 11:28:56.000000000 +0200 |
20 |
@@ -340,6 +340,8 @@ |
21 |
print _('checking permissions on list data') |
22 |
# BAW: This needs to be converted to the Site module abstraction |
23 |
for dir in os.listdir(mm_cfg.LIST_DATA_DIR): |
24 |
+ if not S_ISDIR(statmode(os.path.join(mm_cfg.LIST_DATA_DIR,dir))): |
25 |
+ continue |
26 |
for file in checkfiles: |
27 |
path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file) |
28 |
if STATE.VERBOSE: |
29 |
diff -Naur mailman-2.1.12/bin/update mailman-2.1.12-1/bin/update |
30 |
--- mailman-2.1.12/bin/update 2009-02-23 22:23:35.000000000 +0100 |
31 |
+++ mailman-2.1.12-1/bin/update 2009-08-01 11:29:19.000000000 +0200 |
32 |
@@ -34,6 +34,7 @@ |
33 |
""" |
34 |
|
35 |
import os |
36 |
+import stat |
37 |
import sys |
38 |
import time |
39 |
import errno |
40 |
@@ -431,7 +432,7 @@ |
41 |
# Now update for the Mailman 2.1.5 qfile format. For every filebase in |
42 |
# the qfiles/* directories that has both a .pck and a .db file, pull the |
43 |
# data out and re-queue them. |
44 |
- for dirname in os.listdir(mm_cfg.QUEUE_DIR): |
45 |
+ 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)]: |
46 |
dirpath = os.path.join(mm_cfg.QUEUE_DIR, dirname) |
47 |
if dirpath == mm_cfg.BADQUEUE_DIR: |
48 |
# The files in qfiles/bad can't possibly be pickles |
49 |
|
50 |
|
51 |
|
52 |
1.1 net-mail/mailman/files/mailman-2.1.12-add-destdir.patch |
53 |
|
54 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailman/files/mailman-2.1.12-add-destdir.patch?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailman/files/mailman-2.1.12-add-destdir.patch?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: mailman-2.1.12-add-destdir.patch |
58 |
=================================================================== |
59 |
--- mailman-2.1.12/misc/Makefile.in.1 2009-08-01 11:47:54.000000000 +0200 |
60 |
+++ mailman-2.1.12/misc/Makefile.in 2009-08-01 11:48:02.000000000 +0200 |
61 |
@@ -93,7 +93,7 @@ |
62 |
install-packages: |
63 |
if [ -z "$(EMAILPKG)" -a -d $(PYTHONLIBDIR)/email ] ; \ |
64 |
then \ |
65 |
- rm -rf $(PYTHONLIBDIR)/email* ; \ |
66 |
+ rm -rf $(DESTDIR)/$(PYTHONLIBDIR)/email* ; \ |
67 |
fi |
68 |
for p in $(PACKAGES); \ |
69 |
do \ |