[Pkg-mailman-hackers] Pkg-mailman commit - rev 79 - in branches/pkg-split/core/debian: . obsolete snippets

Bernd S. Brentrup bsb at haydn.debian.org
Sun Sep 10 19:12:28 UTC 2006


Author: bsb
Date: 2004-04-22 03:44:59 -0600 (Thu, 22 Apr 2004)
New Revision: 79

Added:
   branches/pkg-split/core/debian/conffiles
   branches/pkg-split/core/debian/docs
   branches/pkg-split/core/debian/install
   branches/pkg-split/core/debian/links
   branches/pkg-split/core/debian/obsolete/
   branches/pkg-split/core/debian/obsolete/postinst
   branches/pkg-split/core/debian/snippets/enforce_symlink.py
Removed:
   branches/pkg-split/core/debian/postinst
Modified:
   branches/pkg-split/core/debian/control
   branches/pkg-split/core/debian/dirs
   branches/pkg-split/core/debian/mailman-i18n.dirs
   branches/pkg-split/core/debian/mailman-i18n.install
   branches/pkg-split/core/debian/prerm
   branches/pkg-split/core/debian/rules
Log:
Install into mailman, mailman-bin and mailman-i18n mostly works.
This is an attempt where individual files are symlinked instead
of directories.


Added: branches/pkg-split/core/debian/conffiles
===================================================================
--- branches/pkg-split/core/debian/conffiles	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/conffiles	2004-04-22 09:44:59 UTC (rev 79)
@@ -0,0 +1 @@
+etc/logrotate.d/mailman

Modified: branches/pkg-split/core/debian/control
===================================================================
--- branches/pkg-split/core/debian/control	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/control	2004-04-22 09:44:59 UTC (rev 79)
@@ -16,8 +16,10 @@
  The GNU Mailing List Manager, which manages email discussion lists
  much like Majordomo and Smartmail. Unlike most similar products,
  Mailman gives each mailing list a web page, and allows users to
- subscribe, unsubscribe, etc. over the web.  Even the list manager can
- administer his or her list entirely from the web.
+ subscribe, unsubscribe, etc. over the web.  Even list owners can
+ administer their lists entirely from the web and delegate routine
+ operations like approval of held messages to list moderators with
+ restricted rights.
  .
  Mailman also integrates most things people want to do with mailing
  lists, including archiving, mail <-> news gateways, and so on.  It
@@ -30,6 +32,8 @@
 Package: mailman-bin
 Architecture: any
 Depends: ${shlibs:Depends}, mailman (= ${Source-Version})
+Conflicts: mailman (<= 2.1.4-4)
+Replaces: mailman (<= 2.1.4-4)
 Description: Setgid wrappers for mailman.
  Architecture dependent setgid-wrappers required for running mailman.
  because is implemented in Python.
@@ -37,12 +41,15 @@
 Package: mailman-i18n
 Architecture: all
 Depends: mailman (= ${Source-Version}), ucf (>= 1.0.0), debconf (>= 1.4.16)
+Conflicts: mailman (<= 2.1.4-4)
+Replaces: mailman (<= 2.1.4-4)
 Suggests: python2.3-korean-codecs, python-japanese-codecs
-Description: Powerful, web-bases mailing list manager (internationalization)
+Description: Powerful, web-based mailing list manager (internationalization)
  Message translations plus language specific templates for mailman.
 
 Package: mailman-doc
 Architecture: all
-Description: Powerful, web-bases mailing list manager (Documentation)
+Conflicts: mailman (<= 2.1.4-4)
+Description: Powerful, web-based mailing list manager (Documentation)
  Documentation and examples for mailman.
 

Modified: branches/pkg-split/core/debian/dirs
===================================================================
--- branches/pkg-split/core/debian/dirs	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/dirs	2004-04-22 09:44:59 UTC (rev 79)
@@ -1,10 +1,33 @@
-usr/lib/mailman
+etc/logrotate.d
+etc/mailman/templates
+usr/lib/cgi-bin/mailman
 usr/sbin
-usr/share/mailman
 usr/share/images/mailman
-usr/lib/cgi-bin/mailman
+usr/share/mailman/bin
+usr/share/mailman/mail
+usr/share/mailman/scripts
+usr/share/mailman/templates
+var/lib/images/mailman
+var/lib/mailman/archives/private
+var/lib/mailman/archives/public
+var/lib/mailman/bin
+var/lib/mailman/data
+var/lib/mailman/lists
+var/lib/mailman/mail
+var/lib/mailman/qfiles
+var/lib/mailman/qfiles/archive
+var/lib/mailman/qfiles/bad
+var/lib/mailman/qfiles/bounces
+var/lib/mailman/qfiles/commands
+var/lib/mailman/qfiles/in
+var/lib/mailman/qfiles/maildir
+var/lib/mailman/qfiles/news
+var/lib/mailman/qfiles/out
+var/lib/mailman/qfiles/retry
+var/lib/mailman/qfiles/shunt
+var/lib/mailman/qfiles/virgin
+var/lib/mailman/scripts
+var/lib/mailman/spam
+var/lock/mailman
 var/log/mailman
-var/lock
 var/run/mailman
-etc/logrotate.d
-etc/mailman/templates

Added: branches/pkg-split/core/debian/docs
===================================================================
--- branches/pkg-split/core/debian/docs	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/docs	2004-04-22 09:44:59 UTC (rev 79)
@@ -0,0 +1,7 @@
+README*
+FAQ
+BUGS
+NEWS
+TODO
+STYLEGUIDE.txt
+ACKNOWLEDGMENTS

Added: branches/pkg-split/core/debian/install
===================================================================
--- branches/pkg-split/core/debian/install	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/install	2004-04-22 09:44:59 UTC (rev 79)
@@ -0,0 +1,10 @@
+debian/tmp/usr/lib/mailman/Mailman      usr/share/mailman
+debian/tmp/usr/lib/mailman/bin          usr/share/mailman
+debian/tmp/usr/lib/mailman/cron         usr/share/mailman
+debian/tmp/usr/lib/mailman/icons/*      usr/share/images/mailman
+debian/tmp/usr/lib/mailman/mail         usr/share/mailman
+debian/tmp/usr/lib/mailman/scripts      usr/share/mailman
+debian/tmp/usr/lib/mailman/templates/en usr/share/mailman/templates
+debian/manpages/*                         usr/share/man/man8
+
+

Added: branches/pkg-split/core/debian/links
===================================================================
--- branches/pkg-split/core/debian/links	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/links	2004-04-22 09:44:59 UTC (rev 79)
@@ -0,0 +1,223 @@
+etc/mailman/templates                   var/lib/mailman/templates
+usr/share/locale                        var/lib/mailman/messages
+var/lock/mailman                        var/lib/mailman/locks
+var/log/mailman                         var/lib/mailman/logs
+etc/mailman/mm_cfg.py                   var/lib/mailman/mm_cfg.py
+usr/share/mailman                       var/lib/mailman/.INST
+var/lib/mailman/bin/list_lists          usr/sbin/list_lists
+var/lib/mailman/bin/find_member         usr/sbin/find_member
+var/lib/mailman/bin/config_list         usr/sbin/config_list
+var/lib/mailman/bin/mmsitepass          usr/sbin/mmsitepass
+var/lib/mailman/bin/newlist             usr/sbin/newlist
+var/lib/mailman/bin/rmlist              usr/sbin/rmlist
+var/lib/mailman/bin/add_members         usr/sbin/add_members
+var/lib/mailman/bin/list_members        usr/sbin/list_members
+var/lib/mailman/bin/remove_members      usr/sbin/remove_members
+var/lib/mailman/bin/arch                usr/sbin/mmarch
+var/lib/mailman/bin/clone_member        usr/sbin/clone_member
+var/lib/mailman/bin/sync_members        usr/sbin/sync_members
+var/lib/mailman/bin/check_db            usr/sbin/check_db
+var/lib/mailman/bin/check_perms         usr/sbin/check_perms
+var/lib/mailman/bin/list_admins         usr/sbin/list_admins
+var/lib/mailman/bin/withlist            usr/sbin/withlist
+var/lib/mailman/.INST/bin/mmsitepass  var/lib/mailman/bin/mmsitepass
+var/lib/mailman/.INST/bin/newlist  var/lib/mailman/bin/newlist
+var/lib/mailman/.INST/bin/rmlist  var/lib/mailman/bin/rmlist
+var/lib/mailman/.INST/bin/add_members  var/lib/mailman/bin/add_members
+var/lib/mailman/.INST/bin/list_members  var/lib/mailman/bin/list_members
+var/lib/mailman/.INST/bin/remove_members  var/lib/mailman/bin/remove_members
+var/lib/mailman/.INST/bin/clone_member  var/lib/mailman/bin/clone_member
+var/lib/mailman/.INST/bin/update  var/lib/mailman/bin/update
+var/lib/mailman/.INST/bin/arch  var/lib/mailman/bin/arch
+var/lib/mailman/.INST/bin/sync_members  var/lib/mailman/bin/sync_members
+var/lib/mailman/.INST/bin/check_db  var/lib/mailman/bin/check_db
+var/lib/mailman/.INST/bin/withlist  var/lib/mailman/bin/withlist
+var/lib/mailman/.INST/bin/check_perms  var/lib/mailman/bin/check_perms
+var/lib/mailman/.INST/bin/find_member  var/lib/mailman/bin/find_member
+var/lib/mailman/.INST/bin/version  var/lib/mailman/bin/version
+var/lib/mailman/.INST/bin/config_list  var/lib/mailman/bin/config_list
+var/lib/mailman/.INST/bin/list_lists  var/lib/mailman/bin/list_lists
+var/lib/mailman/.INST/bin/dumpdb  var/lib/mailman/bin/dumpdb
+var/lib/mailman/.INST/bin/cleanarch  var/lib/mailman/bin/cleanarch
+var/lib/mailman/.INST/bin/list_admins  var/lib/mailman/bin/list_admins
+var/lib/mailman/.INST/bin/genaliases  var/lib/mailman/bin/genaliases
+var/lib/mailman/.INST/bin/change_pw  var/lib/mailman/bin/change_pw
+var/lib/mailman/.INST/bin/mailmanctl  var/lib/mailman/bin/mailmanctl
+var/lib/mailman/.INST/bin/qrunner  var/lib/mailman/bin/qrunner
+var/lib/mailman/.INST/bin/inject  var/lib/mailman/bin/inject
+var/lib/mailman/.INST/bin/unshunt  var/lib/mailman/bin/unshunt
+var/lib/mailman/.INST/bin/fix_url.py  var/lib/mailman/bin/fix_url.py
+var/lib/mailman/.INST/bin/convert.py  var/lib/mailman/bin/convert.py
+var/lib/mailman/.INST/bin/transcheck  var/lib/mailman/bin/transcheck
+var/lib/mailman/.INST/bin/b4b5-archfix  var/lib/mailman/bin/b4b5-archfix
+var/lib/mailman/.INST/bin/list_owners  var/lib/mailman/bin/list_owners
+var/lib/mailman/.INST/bin/msgfmt.py  var/lib/mailman/bin/msgfmt.py
+var/lib/mailman/.INST/bin/show_qfiles  var/lib/mailman/bin/show_qfiles
+var/lib/mailman/.INST/bin/discard  var/lib/mailman/bin/discard
+var/lib/mailman/.INST/bin/rb-archfix  var/lib/mailman/bin/rb-archfix
+var/lib/mailman/.INST/bin/paths.py  var/lib/mailman/bin/paths.py
+var/lib/mailman/.INST/scripts/bounces  var/lib/mailman/scripts/bounces
+var/lib/mailman/.INST/scripts/confirm  var/lib/mailman/scripts/confirm
+var/lib/mailman/.INST/scripts/driver  var/lib/mailman/scripts/driver
+var/lib/mailman/.INST/scripts/join  var/lib/mailman/scripts/join
+var/lib/mailman/.INST/scripts/leave  var/lib/mailman/scripts/leave
+var/lib/mailman/.INST/scripts/owner  var/lib/mailman/scripts/owner
+var/lib/mailman/.INST/scripts/post  var/lib/mailman/scripts/post
+var/lib/mailman/.INST/scripts/request  var/lib/mailman/scripts/request
+var/lib/mailman/.INST/scripts/admin  var/lib/mailman/scripts/admin
+var/lib/mailman/.INST/scripts/subscribe  var/lib/mailman/scripts/subscribe
+var/lib/mailman/.INST/scripts/unsubscribe  var/lib/mailman/scripts/unsubscribe
+var/lib/mailman/.INST/scripts/paths.py  var/lib/mailman/scripts/paths.py
+var/lib/mailman/.INST/Mailman/Cgi/Auth.py  var/lib/mailman/Mailman/Cgi/Auth.py
+var/lib/mailman/.INST/Mailman/Cgi/__init__.py  var/lib/mailman/Mailman/Cgi/__init__.py
+var/lib/mailman/.INST/Mailman/Cgi/admin.py  var/lib/mailman/Mailman/Cgi/admin.py
+var/lib/mailman/.INST/Mailman/Cgi/admindb.py  var/lib/mailman/Mailman/Cgi/admindb.py
+var/lib/mailman/.INST/Mailman/Cgi/confirm.py  var/lib/mailman/Mailman/Cgi/confirm.py
+var/lib/mailman/.INST/Mailman/Cgi/create.py  var/lib/mailman/Mailman/Cgi/create.py
+var/lib/mailman/.INST/Mailman/Cgi/edithtml.py  var/lib/mailman/Mailman/Cgi/edithtml.py
+var/lib/mailman/.INST/Mailman/Cgi/listinfo.py  var/lib/mailman/Mailman/Cgi/listinfo.py
+var/lib/mailman/.INST/Mailman/Cgi/options.py  var/lib/mailman/Mailman/Cgi/options.py
+var/lib/mailman/.INST/Mailman/Cgi/private.py  var/lib/mailman/Mailman/Cgi/private.py
+var/lib/mailman/.INST/Mailman/Cgi/rmlist.py  var/lib/mailman/Mailman/Cgi/rmlist.py
+var/lib/mailman/.INST/Mailman/Cgi/roster.py  var/lib/mailman/Mailman/Cgi/roster.py
+var/lib/mailman/.INST/Mailman/Cgi/subscribe.py  var/lib/mailman/Mailman/Cgi/subscribe.py
+var/lib/mailman/.INST/Mailman/Logging/Logger.py  var/lib/mailman/Mailman/Logging/Logger.py
+var/lib/mailman/.INST/Mailman/Logging/MultiLogger.py  var/lib/mailman/Mailman/Logging/MultiLogger.py
+var/lib/mailman/.INST/Mailman/Logging/StampedLogger.py  var/lib/mailman/Mailman/Logging/StampedLogger.py
+var/lib/mailman/.INST/Mailman/Logging/Syslog.py  var/lib/mailman/Mailman/Logging/Syslog.py
+var/lib/mailman/.INST/Mailman/Logging/Utils.py  var/lib/mailman/Mailman/Logging/Utils.py
+var/lib/mailman/.INST/Mailman/Logging/__init__.py  var/lib/mailman/Mailman/Logging/__init__.py
+var/lib/mailman/.INST/Mailman/Archiver/__init__.py  var/lib/mailman/Mailman/Archiver/__init__.py
+var/lib/mailman/.INST/Mailman/Archiver/Archiver.py  var/lib/mailman/Mailman/Archiver/Archiver.py
+var/lib/mailman/.INST/Mailman/Archiver/HyperArch.py  var/lib/mailman/Mailman/Archiver/HyperArch.py
+var/lib/mailman/.INST/Mailman/Archiver/HyperDatabase.py  var/lib/mailman/Mailman/Archiver/HyperDatabase.py
+var/lib/mailman/.INST/Mailman/Archiver/pipermail.py  var/lib/mailman/Mailman/Archiver/pipermail.py
+var/lib/mailman/.INST/Mailman/Handlers/Acknowledge.py  var/lib/mailman/Mailman/Handlers/Acknowledge.py
+var/lib/mailman/.INST/Mailman/Handlers/AfterDelivery.py  var/lib/mailman/Mailman/Handlers/AfterDelivery.py
+var/lib/mailman/.INST/Mailman/Handlers/Approve.py  var/lib/mailman/Mailman/Handlers/Approve.py
+var/lib/mailman/.INST/Mailman/Handlers/AvoidDuplicates.py  var/lib/mailman/Mailman/Handlers/AvoidDuplicates.py
+var/lib/mailman/.INST/Mailman/Handlers/CalcRecips.py  var/lib/mailman/Mailman/Handlers/CalcRecips.py
+var/lib/mailman/.INST/Mailman/Handlers/Cleanse.py  var/lib/mailman/Mailman/Handlers/Cleanse.py
+var/lib/mailman/.INST/Mailman/Handlers/CookHeaders.py  var/lib/mailman/Mailman/Handlers/CookHeaders.py
+var/lib/mailman/.INST/Mailman/Handlers/Decorate.py  var/lib/mailman/Mailman/Handlers/Decorate.py
+var/lib/mailman/.INST/Mailman/Handlers/Emergency.py  var/lib/mailman/Mailman/Handlers/Emergency.py
+var/lib/mailman/.INST/Mailman/Handlers/FileRecips.py  var/lib/mailman/Mailman/Handlers/FileRecips.py
+var/lib/mailman/.INST/Mailman/Handlers/Hold.py  var/lib/mailman/Mailman/Handlers/Hold.py
+var/lib/mailman/.INST/Mailman/Handlers/MimeDel.py  var/lib/mailman/Mailman/Handlers/MimeDel.py
+var/lib/mailman/.INST/Mailman/Handlers/Moderate.py  var/lib/mailman/Mailman/Handlers/Moderate.py
+var/lib/mailman/.INST/Mailman/Handlers/OwnerRecips.py  var/lib/mailman/Mailman/Handlers/OwnerRecips.py
+var/lib/mailman/.INST/Mailman/Handlers/Replybot.py  var/lib/mailman/Mailman/Handlers/Replybot.py
+var/lib/mailman/.INST/Mailman/Handlers/SMTPDirect.py  var/lib/mailman/Mailman/Handlers/SMTPDirect.py
+var/lib/mailman/.INST/Mailman/Handlers/Scrubber.py  var/lib/mailman/Mailman/Handlers/Scrubber.py
+var/lib/mailman/.INST/Mailman/Handlers/Sendmail.py  var/lib/mailman/Mailman/Handlers/Sendmail.py
+var/lib/mailman/.INST/Mailman/Handlers/SpamDetect.py  var/lib/mailman/Mailman/Handlers/SpamDetect.py
+var/lib/mailman/.INST/Mailman/Handlers/Tagger.py  var/lib/mailman/Mailman/Handlers/Tagger.py
+var/lib/mailman/.INST/Mailman/Handlers/ToArchive.py  var/lib/mailman/Mailman/Handlers/ToArchive.py
+var/lib/mailman/.INST/Mailman/Handlers/ToDigest.py  var/lib/mailman/Mailman/Handlers/ToDigest.py
+var/lib/mailman/.INST/Mailman/Handlers/ToOutgoing.py  var/lib/mailman/Mailman/Handlers/ToOutgoing.py
+var/lib/mailman/.INST/Mailman/Handlers/ToUsenet.py  var/lib/mailman/Mailman/Handlers/ToUsenet.py
+var/lib/mailman/.INST/Mailman/Handlers/__init__.py  var/lib/mailman/Mailman/Handlers/__init__.py
+var/lib/mailman/.INST/Mailman/Queue/ArchRunner.py  var/lib/mailman/Mailman/Queue/ArchRunner.py
+var/lib/mailman/.INST/Mailman/Queue/BounceRunner.py  var/lib/mailman/Mailman/Queue/BounceRunner.py
+var/lib/mailman/.INST/Mailman/Queue/CommandRunner.py  var/lib/mailman/Mailman/Queue/CommandRunner.py
+var/lib/mailman/.INST/Mailman/Queue/IncomingRunner.py  var/lib/mailman/Mailman/Queue/IncomingRunner.py
+var/lib/mailman/.INST/Mailman/Queue/MaildirRunner.py  var/lib/mailman/Mailman/Queue/MaildirRunner.py
+var/lib/mailman/.INST/Mailman/Queue/NewsRunner.py  var/lib/mailman/Mailman/Queue/NewsRunner.py
+var/lib/mailman/.INST/Mailman/Queue/OutgoingRunner.py  var/lib/mailman/Mailman/Queue/OutgoingRunner.py
+var/lib/mailman/.INST/Mailman/Queue/RetryRunner.py  var/lib/mailman/Mailman/Queue/RetryRunner.py
+var/lib/mailman/.INST/Mailman/Queue/Runner.py  var/lib/mailman/Mailman/Queue/Runner.py
+var/lib/mailman/.INST/Mailman/Queue/Switchboard.py  var/lib/mailman/Mailman/Queue/Switchboard.py
+var/lib/mailman/.INST/Mailman/Queue/VirginRunner.py  var/lib/mailman/Mailman/Queue/VirginRunner.py
+var/lib/mailman/.INST/Mailman/Queue/__init__.py  var/lib/mailman/Mailman/Queue/__init__.py
+var/lib/mailman/.INST/Mailman/Queue/sbcache.py  var/lib/mailman/Mailman/Queue/sbcache.py
+var/lib/mailman/.INST/Mailman/Bouncers/BouncerAPI.py  var/lib/mailman/Mailman/Bouncers/BouncerAPI.py
+var/lib/mailman/.INST/Mailman/Bouncers/Caiwireless.py  var/lib/mailman/Mailman/Bouncers/Caiwireless.py
+var/lib/mailman/.INST/Mailman/Bouncers/Compuserve.py  var/lib/mailman/Mailman/Bouncers/Compuserve.py
+var/lib/mailman/.INST/Mailman/Bouncers/DSN.py  var/lib/mailman/Mailman/Bouncers/DSN.py
+var/lib/mailman/.INST/Mailman/Bouncers/Exchange.py  var/lib/mailman/Mailman/Bouncers/Exchange.py
+var/lib/mailman/.INST/Mailman/Bouncers/Exim.py  var/lib/mailman/Mailman/Bouncers/Exim.py
+var/lib/mailman/.INST/Mailman/Bouncers/GroupWise.py  var/lib/mailman/Mailman/Bouncers/GroupWise.py
+var/lib/mailman/.INST/Mailman/Bouncers/LLNL.py  var/lib/mailman/Mailman/Bouncers/LLNL.py
+var/lib/mailman/.INST/Mailman/Bouncers/Microsoft.py  var/lib/mailman/Mailman/Bouncers/Microsoft.py
+var/lib/mailman/.INST/Mailman/Bouncers/Netscape.py  var/lib/mailman/Mailman/Bouncers/Netscape.py
+var/lib/mailman/.INST/Mailman/Bouncers/Postfix.py  var/lib/mailman/Mailman/Bouncers/Postfix.py
+var/lib/mailman/.INST/Mailman/Bouncers/Qmail.py  var/lib/mailman/Mailman/Bouncers/Qmail.py
+var/lib/mailman/.INST/Mailman/Bouncers/SMTP32.py  var/lib/mailman/Mailman/Bouncers/SMTP32.py
+var/lib/mailman/.INST/Mailman/Bouncers/SimpleMatch.py  var/lib/mailman/Mailman/Bouncers/SimpleMatch.py
+var/lib/mailman/.INST/Mailman/Bouncers/SimpleWarning.py  var/lib/mailman/Mailman/Bouncers/SimpleWarning.py
+var/lib/mailman/.INST/Mailman/Bouncers/Sina.py  var/lib/mailman/Mailman/Bouncers/Sina.py
+var/lib/mailman/.INST/Mailman/Bouncers/Yahoo.py  var/lib/mailman/Mailman/Bouncers/Yahoo.py
+var/lib/mailman/.INST/Mailman/Bouncers/Yale.py  var/lib/mailman/Mailman/Bouncers/Yale.py
+var/lib/mailman/.INST/Mailman/Bouncers/__init__.py  var/lib/mailman/Mailman/Bouncers/__init__.py
+var/lib/mailman/.INST/Mailman/MTA/Manual.py  var/lib/mailman/Mailman/MTA/Manual.py
+var/lib/mailman/.INST/Mailman/MTA/Postfix.py  var/lib/mailman/Mailman/MTA/Postfix.py
+var/lib/mailman/.INST/Mailman/MTA/Utils.py  var/lib/mailman/Mailman/MTA/Utils.py
+var/lib/mailman/.INST/Mailman/MTA/__init__.py  var/lib/mailman/Mailman/MTA/__init__.py
+var/lib/mailman/.INST/Mailman/Gui/Archive.py  var/lib/mailman/Mailman/Gui/Archive.py
+var/lib/mailman/.INST/Mailman/Gui/Autoresponse.py  var/lib/mailman/Mailman/Gui/Autoresponse.py
+var/lib/mailman/.INST/Mailman/Gui/Bounce.py  var/lib/mailman/Mailman/Gui/Bounce.py
+var/lib/mailman/.INST/Mailman/Gui/ContentFilter.py  var/lib/mailman/Mailman/Gui/ContentFilter.py
+var/lib/mailman/.INST/Mailman/Gui/Digest.py  var/lib/mailman/Mailman/Gui/Digest.py
+var/lib/mailman/.INST/Mailman/Gui/GUIBase.py  var/lib/mailman/Mailman/Gui/GUIBase.py
+var/lib/mailman/.INST/Mailman/Gui/General.py  var/lib/mailman/Mailman/Gui/General.py
+var/lib/mailman/.INST/Mailman/Gui/Language.py  var/lib/mailman/Mailman/Gui/Language.py
+var/lib/mailman/.INST/Mailman/Gui/Membership.py  var/lib/mailman/Mailman/Gui/Membership.py
+var/lib/mailman/.INST/Mailman/Gui/NonDigest.py  var/lib/mailman/Mailman/Gui/NonDigest.py
+var/lib/mailman/.INST/Mailman/Gui/Passwords.py  var/lib/mailman/Mailman/Gui/Passwords.py
+var/lib/mailman/.INST/Mailman/Gui/Privacy.py  var/lib/mailman/Mailman/Gui/Privacy.py
+var/lib/mailman/.INST/Mailman/Gui/Topics.py  var/lib/mailman/Mailman/Gui/Topics.py
+var/lib/mailman/.INST/Mailman/Gui/Usenet.py  var/lib/mailman/Mailman/Gui/Usenet.py
+var/lib/mailman/.INST/Mailman/Gui/__init__.py  var/lib/mailman/Mailman/Gui/__init__.py
+var/lib/mailman/.INST/Mailman/Commands/__init__.py  var/lib/mailman/Mailman/Commands/__init__.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_confirm.py  var/lib/mailman/Mailman/Commands/cmd_confirm.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_echo.py  var/lib/mailman/Mailman/Commands/cmd_echo.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_end.py  var/lib/mailman/Mailman/Commands/cmd_end.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_help.py  var/lib/mailman/Mailman/Commands/cmd_help.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_info.py  var/lib/mailman/Mailman/Commands/cmd_info.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_join.py  var/lib/mailman/Mailman/Commands/cmd_join.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_leave.py  var/lib/mailman/Mailman/Commands/cmd_leave.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_lists.py  var/lib/mailman/Mailman/Commands/cmd_lists.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_password.py  var/lib/mailman/Mailman/Commands/cmd_password.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_remove.py  var/lib/mailman/Mailman/Commands/cmd_remove.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_set.py  var/lib/mailman/Mailman/Commands/cmd_set.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_stop.py  var/lib/mailman/Mailman/Commands/cmd_stop.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_subscribe.py  var/lib/mailman/Mailman/Commands/cmd_subscribe.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_unsubscribe.py  var/lib/mailman/Mailman/Commands/cmd_unsubscribe.py
+var/lib/mailman/.INST/Mailman/Commands/cmd_who.py  var/lib/mailman/Mailman/Commands/cmd_who.py
+var/lib/mailman/.INST/Mailman/Autoresponder.py  var/lib/mailman/Mailman/Autoresponder.py
+var/lib/mailman/.INST/Mailman/Bouncer.py  var/lib/mailman/Mailman/Bouncer.py
+var/lib/mailman/.INST/Mailman/Defaults.py  var/lib/mailman/Mailman/Defaults.py
+var/lib/mailman/.INST/Mailman/Deliverer.py  var/lib/mailman/Mailman/Deliverer.py
+var/lib/mailman/.INST/Mailman/Digester.py  var/lib/mailman/Mailman/Digester.py
+var/lib/mailman/.INST/Mailman/Errors.py  var/lib/mailman/Mailman/Errors.py
+var/lib/mailman/.INST/Mailman/GatewayManager.py  var/lib/mailman/Mailman/GatewayManager.py
+var/lib/mailman/.INST/Mailman/HTMLFormatter.py  var/lib/mailman/Mailman/HTMLFormatter.py
+var/lib/mailman/.INST/Mailman/ListAdmin.py  var/lib/mailman/Mailman/ListAdmin.py
+var/lib/mailman/.INST/Mailman/LockFile.py  var/lib/mailman/Mailman/LockFile.py
+var/lib/mailman/.INST/Mailman/MailList.py  var/lib/mailman/Mailman/MailList.py
+var/lib/mailman/.INST/Mailman/Mailbox.py  var/lib/mailman/Mailman/Mailbox.py
+var/lib/mailman/.INST/Mailman/MemberAdaptor.py  var/lib/mailman/Mailman/MemberAdaptor.py
+var/lib/mailman/.INST/Mailman/Message.py  var/lib/mailman/Mailman/Message.py
+var/lib/mailman/.INST/Mailman/OldStyleMemberships.py  var/lib/mailman/Mailman/OldStyleMemberships.py
+var/lib/mailman/.INST/Mailman/Pending.py  var/lib/mailman/Mailman/Pending.py
+var/lib/mailman/.INST/Mailman/Post.py  var/lib/mailman/Mailman/Post.py
+var/lib/mailman/.INST/Mailman/SafeDict.py  var/lib/mailman/Mailman/SafeDict.py
+var/lib/mailman/.INST/Mailman/SecurityManager.py  var/lib/mailman/Mailman/SecurityManager.py
+var/lib/mailman/.INST/Mailman/Site.py  var/lib/mailman/Mailman/Site.py
+var/lib/mailman/.INST/Mailman/TopicMgr.py  var/lib/mailman/Mailman/TopicMgr.py
+var/lib/mailman/.INST/Mailman/UserDesc.py  var/lib/mailman/Mailman/UserDesc.py
+var/lib/mailman/.INST/Mailman/Utils.py  var/lib/mailman/Mailman/Utils.py
+var/lib/mailman/.INST/Mailman/Version.py  var/lib/mailman/Mailman/Version.py
+var/lib/mailman/.INST/Mailman/__init__.py  var/lib/mailman/Mailman/__init__.py
+var/lib/mailman/.INST/Mailman/htmlformat.py  var/lib/mailman/Mailman/htmlformat.py
+var/lib/mailman/.INST/Mailman/i18n.py  var/lib/mailman/Mailman/i18n.py
+var/lib/mailman/.INST/Mailman/versions.py  var/lib/mailman/Mailman/versions.py
+var/lib/mailman/.INST/cron/crontab.in  var/lib/mailman/cron/crontab.in
+var/lib/mailman/.INST/cron/checkdbs  var/lib/mailman/cron/checkdbs
+var/lib/mailman/.INST/cron/mailpasswds  var/lib/mailman/cron/mailpasswds
+var/lib/mailman/.INST/cron/senddigests  var/lib/mailman/cron/senddigests
+var/lib/mailman/.INST/cron/gate_news  var/lib/mailman/cron/gate_news
+var/lib/mailman/.INST/cron/nightly_gzip  var/lib/mailman/cron/nightly_gzip
+var/lib/mailman/.INST/cron/bumpdigests  var/lib/mailman/cron/bumpdigests
+var/lib/mailman/.INST/cron/disabled  var/lib/mailman/cron/disabled
+var/lib/mailman/.INST/cron/paths.py  var/lib/mailman/cron/paths.py

Modified: branches/pkg-split/core/debian/mailman-i18n.dirs
===================================================================
--- branches/pkg-split/core/debian/mailman-i18n.dirs	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/mailman-i18n.dirs	2004-04-22 09:44:59 UTC (rev 79)
@@ -1,2 +0,0 @@
-usr/share/locale/da/LC_MESSAGES
-usr/share/locale/de/LC_MESSAGES

Modified: branches/pkg-split/core/debian/mailman-i18n.install
===================================================================
--- branches/pkg-split/core/debian/mailman-i18n.install	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/mailman-i18n.install	2004-04-22 09:44:59 UTC (rev 79)
@@ -1 +1,2 @@
-usr/share/locale/*/LC_MESSAGES/mailman.mo
+debian/tmp/usr/lib/mailman/messages/* usr/share/locale
+debian/tmp/usr/lib/mailman/templates usr/share/mailman

Copied: branches/pkg-split/core/debian/obsolete/postinst (from rev 71, branches/pkg-split/core/debian/postinst)

Deleted: branches/pkg-split/core/debian/postinst
===================================================================
--- branches/pkg-split/core/debian/postinst	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/postinst	2004-04-22 09:44:59 UTC (rev 79)
@@ -1,333 +0,0 @@
-#! /bin/sh -e
-#
-# postinst script for Debian python packages
-# Written 1998 by Gregor Hoffleit <flight at debian.org>.
-# Updated 2001 by Tollef Fog Heen <tfheen at debian.org>
-# mailman modifications 2004 by Bernd S. Brentrup <bsb at debian.org>
-#
-# $URL$
-# $Id$
-#
-. /usr/share/debconf/confmodule
-
-PACKAGE=mailman
-DIRLIST="/usr/lib/mailman/Mailman /usr/lib/mailman/bin /usr/lib/mailman/cron /usr/lib/mailman/scripts"
-PYLIBDIR="/usr/lib/python`python -c 'import sys; print sys.version[:3]'`"
-
-if [ "$1" = "configure" ]; then
-
-    mm_etc=/etc/mailman
-    mm_dist=/usr/share/mailman
-
-    # Install only languages selected by the administrator
-    # forcing used languages to be always available.
-    db_get mailman/site_languages
-    site_languages="$(echo $RET | sed -e 's/, */ /g')"
-    need_languages="${site_languages}"
-    db_get  mailman/used_languages
-    db_fset mailman/used_languages seen true
-    db_fset mailman/used_languages scanned false
-    for lang in ${used_languages} ; do
-      if echo " ${site_languages} " | grep -v -q " ${lang} " ; then
-        need_languages="${need_languages:+${need_languages} }${lang}"
-      fi
-    done
-    if [ "${need_languages}" != "${site_languages}" ]; then
-      db_set mailman/site_languages "$(echo ${need_languages} | sed -e 's/  */, /g')"
-    fi
-
-    # At present ALL directories in /etc/mailman are language directories
-    # but this may change in the future, better check.
-    for dir in $(find ${mm_etc} -type d -maxdepth 1 -mindepth 1 | sed -e "s;^${mm_etc}/;;g"); do
-      if [ -f ${mm_dist}/${dir}/options.html ]; then
-        old_languages="${old_languages} ${dir}"
-      fi
-    done
-
-    # Remove languages no longer used, but purging modified files
-    # is a bad thing[TM].
-    leftover=/etc/mailman/leftover
-    : >${leftover}
-    for lang in ${old_languages}; do
-      if  echo " ${site_languages} " | grep -v -q " ${lang} " ; then
-        echo -n "Removing unmodified files from ${mm_etc}/${lang} " >&2
-        # UGLY HACK: Since ucf doesn't support conditional removal
-        #            we access its hashfile directly
-        md5sums=$(tempfile --prefix=mm_${lang})
-        grep ${mm_etc}/$lang/ /var/lib/ucf/hashfile >${md5sums} || true
-        if [ -s ${md5sums} ]; then
-          # Language files are under ucf control, check md5sums
-          for file in $(md5sum -c -v ${md5sums} 2>&1 | egrep "OK$" | sed -e 's/ *OK//'); do 
-            ucf --debconf-ok --purge ${file}
-            rm -f ${file} ${file}.dpkg-dist
-            echo -n . >&2
-          done
-          # For modified files remove corresponding .dpkg-dist
-          for file in $(grep ${mm_etc}/$lang/ /var/lib/ucf/hashfile | cut -d' ' -f3); do
-            rm -f ${file}.dpkg-dist
-            echo -n . >&2
-          done
-        else
-          # We are upgrading from a version that didn't use ucf for this
-          # language, remove files that are unchanged in the NEW version.
-          # At this point there is no way to differentiate between
-          # 'changed by admin' and 'changed in package'.
-          for file in $(cd /etc && find mailman/${lang} -type f -a ! -name \*.dpkg-\* ); do
-            if cmp -s /etc/${file} /usr/share/${file}; then
-              rm -f /etc/${file} /etc/${file}.dpkg-dist
-            else
-              echo /etc/${file} >>${leftover}
-            fi
-            echo -n . >&2
-          done
-        fi
-        echo " done." >&2
-        rmdir ${mm_etc}/${lang} 2>/dev/null \
-          || echo "Directory ${mm_etc}/${lang} not empty, not removed." >&2
-        rm -f ${md5sums}
-      fi
-    done
-
-    if [ -s ${leftover} ]; then
-      cat >&2 <<EOF
-
-----------------------------------------------------------------------
-Some templates from unused langugages could not be automatically
-removed since there was no way to find out if they were modified by
-you or the prototype in the package differs from the previous release.
-${leftover} lists these files; please move them out of the way
-at your discretion if you don't want to see this message again.
-----------------------------------------------------------------------
-
-EOF
-      echo -n "Hit return to continue." >&2
-      read junk </dev/tty
-      echo >&2
-    else
-      rm ${leftover}
-    fi
-
-    for lang in ${site_languages}; do
-      echo -n "Installing site language ${lang} " >&2
-      mkdir -p ${mm_etc}/${lang}
-      for file in $(ls ${mm_dist}/${lang}); do
-        echo -n . >&2
-        langfile=${lang}/${file}
-        ucf --debconf-ok --three-way ${mm_dist}/${langfile} ${mm_etc}/${langfile} 2>/dev/null
-        # Upon install ucf leaves a duplicate in .dpkg-dist (Bug #238730), remove it
-        cmp -s ${mm_etc}/${langfile} ${mm_etc}/${langfile}.dpkg-dist \
-          && rm ${mm_etc}/${langfile}.dpkg-dist
-      done
-      echo " done." >&2
-    done
-    # Done with site language stuff
-
-    # Don't forget the qmail specific stuff (but why support non-free?)
-    ucf --debconf-ok --three-way ${mm_dist}/qmail-to-mailman.py ${mm_etc}/qmail-to-mailman.py 2>/dev/null
-    # Upon install ucf leaves a duplicate in .dpkg-dist (Bug #238730), remove it
-    cmp -s ${mm_etc}/qmail-to-mailman.py ${mm_etc}/qmail-to-mailman.py.dpkg-dist \
-      && rm ${mm_etc}/qmail-to-mailman.py.dpkg-dist
-
-    # Configure Mailman crontab
-
-    # Ensure the file exists before we awk it.
-    if [ ! -f /etc/cron.d/mailman ]; then
-    cat > /etc/cron.d/mailman <<EOF
-# At 8AM every day, mail reminders to admins as to pending requests.
-# They are less likely to ignore these reminders if they're mailed
-# early in the morning, but of course, this is local time... ;)
-0 8 * * * list /usr/lib/mailman/cron/checkdbs
-#
-# At 9AM, send notifications to disabled members that are due to be
-# reminded to re-enable their accounts.
-0 9 * * * list /usr/lib/mailman/cron/disabled
-#
-# Noon, mail digests for lists that do periodic as well as threshhold delivery.
-0 12 * * * list /usr/lib/mailman/cron/senddigests
-#
-# 5 AM on the first of each month, mail out password reminders.
-0 5 1 * * list /usr/lib/mailman/cron/mailpasswds
-#
-# Every 5 mins, try to gate news to mail.  You can comment this one out
-# if you don't want to allow gating, or don't have any going on right now,
-# or want to exclusively use a callback strategy instead of polling.
-# 0,5,10,15,20,25,30,35,40,45,50,55 * * * * list /usr/lib/mailman/cron/gate_news
-#
-# At 3:27am every night, regenerate the gzip'd archive file.  Only
-# turn this on if the internal archiver is used and
-# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
-27 3 * * * list /usr/lib/mailman/cron/nightly_gzip
-EOF
-    elif dpkg --compare-versions "$2" lt 2.1; then
-        # In versions before 2.1, /etc/cron.{daily,monthly}/mailman did 
-        # some stuff which is now moved into /etc/cron.d/mailman.
-        # Those files are just removed, since they now serve no useful 
-        # purpose.
-        rm -f /etc/cron.daily/mailman /etc/cron.monthly/mailman
-        
-        # Comment out any lines containing qrunner, since it is no longer 
-        # used.
-	awk '/^[^#]*qrunner/ { print "# " $LINE;next }; //' < /etc/cron.d/mailman > /etc/cron.d/mailman.$$
-        mv -f /etc/cron.d/mailman.$$ /etc/cron.d/mailman
-
-        # Add those lines which were removed from cron.{daily,monthly}
-        grep -q '0 8 \* \* \* list /usr/lib/mailman/cron/checkdbs' /etc/cron.d/mailman || cat >> /etc/cron.d/mailman <<EOF
-# At 8AM every day, mail reminders to admins as to pending requests.
-# They are less likely to ignore these reminders if they're mailed
-# early in the morning, but of course, this is local time... ;)
-0 8 * * * list /usr/lib/mailman/cron/checkdbs
-EOF
-        
-        grep -q '0 9 \* \* \* list /usr/lib/mailman/cron/disabled' /etc/cron.d/mailman || cat >> /etc/cron.d/mailman <<EOF
-#
-# At 9AM, send notifications to disabled members that are due to be
-# reminded to re-enable their accounts.
-0 9 * * * list /usr/lib/mailman/cron/disabled
-EOF
-
-        grep -q '0 12 * * * list /usr/lib/mailman/cron/senddigests' /etc/cron.d/mailman || cat >> /etc/cron.d/mailman <<EOF
-#
-# Noon, mail digests for lists that do periodic as well as threshhold delivery.
-0 12 * * * list /usr/lib/mailman/cron/senddigests
-EOF
-
-        grep -q '0 5 1 \* \* list /usr/lib/mailman/cron/mailpasswds' /etc/cron.d/mailman || cat >> /etc/cron.d/mailman <<EOF
-#
-# 5 AM on the first of each month, mail out password reminders.
-0 5 1 * * list /usr/lib/mailman/cron/mailpasswds
-EOF
-        grep -q '27 3 \* \* \* list /usr/lib/mailman/cron/nightly_gzip' /etc/cron.d/mailman || cat >> /etc/cron.d/mailman <<EOF
-#
-# At 3:27am every night, regenerate the gzip'd archive file.  Only
-# turn this on if the internal archiver is used and
-# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
-27 3 * * * list /usr/lib/mailman/cron/nightly_gzip
-EOF
-    fi
-
-    # This fuckup got in 2.1-4, it should be removed at sarge + 1
-    for pattern in '0 8 \* \* \* /usr/lib/mailman/cron/checkdbs'\
-        '0 9 \* \* \* /usr/lib/mailman/cron/disabled' \
-        '0 12 \* \* \* /usr/lib/mailman/cron/senddigests' \
-        '0 5 1 \* \* /usr/lib/mailman/cron/mailpasswds' \
-        '27 3 \* \* \* /usr/lib/mailman/cron/nightly_gzip' \
-        '0,5,10,15,20,25,30,35,40,45,50,55 \* \* \* \* /usr/lib/mailman/cron/gate_news'; do
-      if grep -q "$pattern" /etc/cron.d/mailman; then
-          replacement=$(echo "$pattern" | sed -e 's,/usr/lib,list /usr/lib,')
-          sed -e "s|$pattern|$replacement|" < /etc/cron.d/mailman > /etc/cron.d/mailman.$$
-          mv -f /etc/cron.d/mailman.$$ /etc/cron.d/mailman
-      fi
-    done
-
-    db_get mailman/gate_news || true
-    if [ "$RET" = "false" ]; then
-	# Comment out any lines containing the words "gate_news"
-	awk '/^[^#]*gate_news/ { print "# " $LINE;next }; //' < /etc/cron.d/mailman > /etc/cron.d/mailman.$$
-    else
-	# Remove commenting of any lines containing gate_news
-	awk '/^[ \t]*#.*gate_news/ { sub(/^[ \t]*#[ \t]*/, ""); print; next }; //' < /etc/cron.d/mailman > /etc/cron.d/mailman.$$
-    fi
-    mv -f /etc/cron.d/mailman.$$ /etc/cron.d/mailman
-
-    if [ -e /etc/mailman/mm_cfg.py ]; then
-        if grep -q "^PUBLIC_ARCHIVE_URL *= *'/pipermail'" /etc/mailman/mm_cfg.py; then
-        # Upgrading from 2.0 changed the semantics of PUBLIC_ARCHIVE_URL.  
-        # Remove post sarge+1
-            awk '/^PUBLIC_ARCHIVE_URL/ { print "# " $LINE;next }; //' < /etc/mailman/mm_cfg.py > /etc/mailman/mm_cfg.py.$$
-            mv -f /etc/mailman/mm_cfg.py.$$ /etc/mailman/mm_cfg.py
-        fi
-        if ! grep -q DEFAULT_EMAIL_HOST /etc/mailman/mm_cfg.py; then
-            # upgrading from 2.0, add DEFAULT_EMAIL_HOST, remove post-sarge+1
-            echo "DEFAULT_EMAIL_HOST = DEFAULT_HOST_NAME" >> /etc/mailman/mm_cfg.py
-        fi
-
-        if ! grep -q DEFAULT_URL_HOST /etc/mailman/mm_cfg.py; then
-            # upgrading from 2.0, add DEFAULT_URL_HOST, remove post-sarge+1
-            echo "DEFAULT_URL_HOST = DEFAULT_HOST_NAME" >> /etc/mailman/mm_cfg.py
-        fi
-
-        # Uncruftify.  I was on something bad.
-        rm -f /etc/cron.d/mm_cfg.py
-
-	if ! grep -q DEFAULT_SERVER_LANGUAGE /etc/mailman/mm_cfg.py; then
-	    echo "DEFAULT_SERVER_LANGUAGE = 'en'" >> /etc/mailman/mm_cfg.py
-	fi
-        db_get mailman/default_server_language || true
-        if [ ${RET} ]; then
-            default_server_language=${RET}
-            sed -e s/DEFAULT_SERVER_LANGUAGE.*=.*\'..\'/DEFAULT_SERVER_LANGUAGE\ =\ \'${default_server_language}\'/ ${mm_etc}/mm_cfg.py > ${mm_etc}/mm_cfg.py.$$
-            mv -f ${mm_etc}/mm_cfg.py.$$ ${mm_etc}/mm_cfg.py
-        fi
-    fi
-fi
-
-db_stop || true
-
-case "$1" in
-    configure|abort-upgrade|abort-remove|abort-deconfigure)
-	if [ -x /usr/bin/python ]; then
-	    for i in $DIRLIST; do
-		python -O $PYLIBDIR/compileall.py -q $i
-		python $PYLIBDIR/compileall.py -q $i
-		rm -f /usr/lib/$PACKAGE/Mailman/mm_cfg.pyc
-		rm -f /usr/lib/$PACKAGE/Mailman/mm_cfg.pyo
-		chmod -R go=rX $i
-	    done
-	fi 
-
-        if [ -e /etc/mailname ]
-	    then 
-            DOMAIN=$(cat /etc/mailname)
-        else
-            DOMAIN=localhost.localdomain
-        fi
-	if [ ! -e /etc/$PACKAGE/mm_cfg.py ]; then
-	    echo "Configuring $PACKAGE for domain $DOMAIN ..."
-	    sed s/thunderchild.aszi.sztaki.hu/$DOMAIN/g /usr/lib/mailman/Mailman/mm_cfg.py.dist \
-		> /etc/$PACKAGE/mm_cfg.py
-	fi
-
-	if grep -q mm_defaults /etc/mailman/mm_cfg.py; then
-		echo "Changing mm_defaults to Defaults in mm_cfg.py"
-                echo "Fixing host name in /etc/mm_cfg.py"
-		sed s/mm_defaults/Defaults/ "s/'localhost'/$DOMAIN/g" "s/http://localhost/$DOMAIN/g" </etc/mailman/mm_cfg.py >/etc/mailman/mm_cfg.py.new
-		mv /etc/mailman/mm_cfg.py /etc/mailman/mm_cfg.py.old
-		mv /etc/mailman/mm_cfg.py.new /etc/mailman/mm_cfg.py
-	fi
-	sg list -c "umask 002; /usr/lib/mailman/bin/update;"
-
-	if [ "$1" = "configure" -a "$2" != "" ] && dpkg --compare-versions "$2" lt "1.0b10"; then
-		echo
-		echo "You will need to manually update your mailing lists."
-		echo "For each mailing list you need to copy the file /etc/mailman/options.html to"
-		echo "/var/lib/mailman/lists/<listname>/options.html."
-		echo
-		echo "However, if you have edited this file via the Web interface, you will have to"
-		echo "merge your changes into this file, otherwise you will lose your changes."
-	fi
-
-	# fix permissions
-	find /var/lib/mailman/ -type d -print0 | xargs -r -0 chmod g+s
-	chmod o-r,o+x /var/lib/mailman/archives/private
-
-
-	if [ "$1" = "configure" -a "$2" != "" ] && dpkg --compare-versions "$2" lt "1.0rel"; then
-		echo ""
-		echo "Please read /usr/share/doc/mailman/README.Debian to learn how"
-		echo "to integrate mailman best with your MTA and webserver"
-
-		echo -n "Press RETURN to continue..."
-		DEBIAN_FRONTEND=`echo "$DEBIAN_FRONTEND" | tr A-Z a-z`
-		if [ ! "$DEBIAN_FRONTEND" = "noninteractive" ]; then
-		    read foo
-		fi
-	fi
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#

Modified: branches/pkg-split/core/debian/prerm
===================================================================
--- branches/pkg-split/core/debian/prerm	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/prerm	2004-04-22 09:44:59 UTC (rev 79)
@@ -36,6 +36,9 @@
 
 PACKAGE=mailman
 
+# dh_python doesn't do TRT[tm], do it manually
+# We have created symlinks and compiled .py files in the postinst, undo now.
 dpkg --listfiles $PACKAGE |
-	awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+	sed -e '/.py$/!d' -e ':^/usr/share/mailman:!d' \
+      -e 's:/usr/share\(/mailman/.*)\.py$:/var/lib\1.py\n/var/lib\1.pyc\n/var/lib\1.pyo:' |
 	xargs rm -f >&2

Modified: branches/pkg-split/core/debian/rules
===================================================================
--- branches/pkg-split/core/debian/rules	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/rules	2004-04-22 09:44:59 UTC (rev 79)
@@ -10,9 +10,6 @@
 
 include /usr/share/dpatch/dpatch.make
 
-binaries=list_lists find_member config_list mmsitepass newlist rmlist	\
-	add_members list_members remove_members arch clone_member	\
-	sync_members check_db check_perms list_admins withlist
 
 manpages = debian/*.8
 
@@ -29,6 +26,7 @@
 
 build: patch-stamp Makefile debian/po/templates.pot
 	$(MAKE) 
+	mkdir -p debian/tmp/usr/share/images/mailman
 	$(MAKE) doinstall DESTDIR=$$(pwd)/debian/tmp \
 		prefix=/usr/lib/$(package) \
 		var_prefix=/var/lib/$(package) \
@@ -82,8 +80,18 @@
 	dh_installdocs --indep
 	dh_installchangelogs --indep
 	dh_install --indep
+	# remove that wrapper, it's in mailman-bin
+	rm debian/mailman/usr/share/mailman/mail/mailman
+	# remove 'en' templates, they are in mailman
+	rm -rf debian/mailman-i18n/usr/share/mailman/templates/en
+	# remove .po files
+	rm -f $$(find debian/mailman-i18n/usr/share/locale -name mailman.po)
+	# move language README.lang to doc directory
+	mv $$(find debian/mailman-i18n/usr/share/locale -name README.\*) \
+		debian/mailman-i18n/usr/share/doc/mailman-i18n
 	dh_installlogrotate --indep
 	dh_fixperms --indep
+	dh_link --indep
 	dh_compress --indep
 	dh_gencontrol --indep
 	dh_md5sums --indep

Added: branches/pkg-split/core/debian/snippets/enforce_symlink.py
===================================================================
--- branches/pkg-split/core/debian/snippets/enforce_symlink.py	2004-04-21 07:56:00 UTC (rev 78)
+++ branches/pkg-split/core/debian/snippets/enforce_symlink.py	2004-04-22 09:44:59 UTC (rev 79)
@@ -0,0 +1,50 @@
+#! /usr/bin/env python
+# $URL$
+# $Id$
+
+
+import sys, os
+
+VAR_PREFIX   = '/var/lib/mailman'
+
+FHS_LOCK_DIR = '/var/lock'
+FHS_LOG_DIR  = '/var/log'
+FHS_RUN_DIR  = '/var/run'
+
+# When upgrading from an old MM version, logdir and lockdir may still
+# be in the /var/lib/mailman tree.
+
+enforce_symlink(os.path.join(VAR_PREFIX, 'locks'),
+                os.path.join(FHS_LOCK_DIR, 'mailman'))
+enforce_symlink(os.path.join(VAR_PREFIX, 'logs'),
+                os.path.join(FHS_LOG_DIR, 'mailman'))
+
+def enforce_symlink(symlink, tgt_dir):
+    """Make sure symlink is a symlink pointing to tgt_dir.
+
+    When the directory is populated, move its contents to the
+    new location before converting."""
+    if os.isdir(symlink):
+        files = os.listdir(symlink)
+        if not files:
+            os.rmdir(symlink)
+        else:
+            log('Moving files from directory %(symlink)s'
+                ' to new location %(tgt_dir)s.' % locals())
+            if os.stat(symlink)[ST_DEV] == os.stat(tgt_dir)[ST_DEV]:
+                # same device, just rename
+                for fn in os.listdir(symlink):
+                    os.rename(os.path.join(symlink,fn),
+                              os.path.join(tgt_dir,fn))
+                    os.rmdir(symlink)
+            else:
+                # cross device, use tar pipe
+                out, err = os.popen('tar cf - -C %(symlink)s . | '
+                                    'tar xf - -C %(tgt_dir)s'
+                                    % locals())
+                if msgs.close() == 0:
+                    os.system('rm -rf %(symlink)s' % locals())
+        # TBD: Policy mandates a relative symlink
+        log('Symlinking %(symlink)s to %(tgt_dir)s.' % locals())
+        os.symlink(tgt_dir, symlink)
+


Property changes on: branches/pkg-split/core/debian/snippets/enforce_symlink.py
___________________________________________________________________
Name: svn:keywords
   + Id URL




More information about the Pkg-mailman-hackers mailing list