Репозитории ALT
S: | 2.1.39-alt1 |
5.1: | 2.1.12-alt2 |
4.1: | 2.1.10-alt0.3.1.M41.1 |
4.0: | 2.1.9-alt6.M40.1 |
3.0: | 2.1.6-alt1 |
Группа :: Система/Серверы
Пакет: mailman
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mailman-2.1.9-deb-53_disable_addons.patch
Скачать
Скачать
Patch: 53_disable_addons.patch
Author: Tollef Fog Heen <tfheen@debian.org>
Disable some modules which are pulled in from other Debian packages.
Index: misc/Makefile.in
===================================================================
--- misc/Makefile.in.orig 2006-08-15 15:12:18.000000000 +0800
+++ misc/Makefile.in 2006-08-15 15:14:39.000000000 +0800
@@ -57,7 +57,10 @@
JACODECSPKG= JapaneseCodecs-1.4.11
KOCODECSPKG= KoreanCodecs-2.0.5
-PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)
+#Debian note (LEM): we take the Japanese and Korean codecs from other
+#Debian packages, but not email because the one in Python 2.4 doesn't work
+#with Mailman; when Mailman upgrades to email 3.0.x, we can try again.
+PACKAGES= $(EMAILPKG)
# Modes for directories and executables created by the install
# process. Default to group-writable directories but
Index: misc/paths.py.in
===================================================================
--- misc/paths.py.in.orig 2006-08-15 15:12:18.000000000 +0800
+++ misc/paths.py.in 2006-08-15 15:14:39.000000000 +0800
@@ -53,12 +53,18 @@
# In a normal interactive Python environment, the japanese.pth and korean.pth
# files would be imported automatically. But because we inhibit the importing
# of the site module, we need to be explicit about importing these codecs.
-import japanese
+try:
+ import japanese
+except ImportError:
+ pass
# As of KoreanCodecs 2.0.5, you had to do the second import to get the Korean
# codecs installed, however leave the first import in there in case an upgrade
# changes this.
-import korean
-import korean.aliases
+try:
+ import korean
+ import korean.aliases
+except ImportError:
+ pass
# Arabic and Hebrew (RFC-1556) encoding aliases. (temporary solution)
import encodings.aliases
encodings.aliases.aliases.update({