[mb2md] 04/30: Imported Debian patch 3.20-4

Axel Beckert abe at deuxchevaux.org
Wed Oct 16 21:56:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository mb2md.

commit c2a2f490577bab1dfae90b8839203b1c1c122747
Author: Noèl Köthe <noel at debian.org>
Date:   Wed Mar 19 14:02:36 2008 +0100

    Imported Debian patch 3.20-4
---
 USAGE             |    2 +-
 debian/changelog  |    8 ++++++++
 debian/control    |    2 +-
 debian/mb2md.sgml |   52 ++++++++++++++++++++++++++++++++++++++++++----------
 mb2md.1           |   40 ++++++++++++++++++++++++++++++----------
 5 files changed, 82 insertions(+), 22 deletions(-)

diff --git a/USAGE b/USAGE
index 271ef3b..717d1b3 100644
--- a/USAGE
+++ b/USAGE
@@ -57,7 +57,7 @@
 #                create subfolders from the IMAP user's point of
 #                view.  See the example below.
 #
-#                Incompatible with '-f'
+#                Incompatible with '-R'
 #
 #
 #  -d destdir    Directory where the Maildir format directories will be created.
diff --git a/debian/changelog b/debian/changelog
index 28154bc..bd7502c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mb2md (3.20-4) unstable; urgency=low
+
+  * Update documentation (closes: #438891, #438893, #438896, #438898)
+    (Patch from Thijs Kinkhorst <thijs at d.o) Thanks a lot
+  * Updated Standards-Version with changes
+
+ -- Noèl Köthe <noel at debian.org>  Wed, 19 Mar 2008 14:02:36 +0100
+
 mb2md (3.20-3) unstable; urgency=low
 
   * updated Standards-Version
diff --git a/debian/control b/debian/control
index a42d3ba..7847bca 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Noèl Köthe <noel at debian.org>
 Build-Depends: debhelper (>> 4.0.0), docbook-to-man
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 
 Package: mb2md
 Architecture: all
diff --git a/debian/mb2md.sgml b/debian/mb2md.sgml
index 4c6b39b..b243765 100644
--- a/debian/mb2md.sgml
+++ b/debian/mb2md.sgml
@@ -63,26 +63,27 @@ manpage.1: manpage.sgml
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>&dhpackage;</command>
-      <arg><option>-h</option></arg>
+      <arg>-h</arg>
     </cmdsynopsis>
     <cmdsynopsis>
       <command>&dhpackage;</command>
-      <arg><option>-m</option></arg> <arg><option>-d <replaceable>destdir</replaceable></option></arg>
+      <arg><option>-c</option></arg> <arg>-m</arg> <arg><option>-d <replaceable>destdir</replaceable></option></arg>
     </cmdsynopsis>
     <cmdsynopsis>
       <command>&dhpackage;</command>
-      <arg>-s <replaceable>sourcedir</replaceable> <option>-R|-f <replaceable>somefolder</replaceable></option> <option>-d <replaceable>destdir</replaceable></option> <option>-r <replaceable>strip_extension</replaceable></option></arg>
+      <arg><option>-c</option></arg> <arg>-s <replaceable>sourcefile</replaceable></arg> <arg><option>-d <replaceable>destdir</replaceable></option></arg>
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg><option>-c</option></arg> <arg>-s <replaceable>sourcedir</replaceable></arg> <arg><option>-l <replaceable>wu-mailboxlist</replaceable></option></arg> <arg><option>-R|-f <replaceable>somefolder</replaceable></option></arg> <arg><option>-d <replaceable>destdir</replaceable></option></arg> <arg><option>-r <replaceable>strip_extension</replaceable></option></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
   <refsect1>
     <title>DESCRIPTION</title>
                                                                                                 
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command>.</para>
- 
     <para><command>&dhpackage;</command> 
     Converts Mbox mailboxes to Maildir format.</para>
-                                                                                                
+
   </refsect1>
   <refsect1>
     <title>OPTIONS</title>
@@ -96,6 +97,18 @@ manpage.1: manpage.sgml
         </listitem>
       </varlistentry>
       <varlistentry>
+        <term><option>-c</option>
+        </term>
+        <listitem>
+          <para>Use the Content-Length: headers (if present) to find the
+		beginning of the next message.
+		Use with caution! Results may be unreliable. I recommend to do
+		a run without "-c" first and only use it if you are certain,
+		that the mbox in question really needs the "-c" option.
+	  </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
         <term><option>-m</option>
         </term>
         <listitem>
@@ -142,7 +155,7 @@ manpage.1: manpage.sgml
           <para>
                 The "somefolder" directory
                 name will be encoded into the new mailboxes' names.
-                See the examples below.</para>
+                See the example in the USAGE file (see below).</para>
           <para>
                 This does not save an UW IMAP dummy message file
                 at the start of the Mbox file.  Small changes
@@ -152,7 +165,7 @@ manpage.1: manpage.sgml
                 Don't let the source directory you give as "somefolders"
                 contain any "."s in its name, unless you want to
                 create subfolders from the IMAP user's point of
-                view.  See the example below.</para>
+                view. See the example in the USAGE file (see below).</para>
           <para>
                 Incompatible with '-R' </para>
         </listitem>
@@ -180,7 +193,26 @@ manpage.1: manpage.sgml
                 If defined this extension will be stripped from
                 the original mailbox file name before creating
                 the corresponding maildir. The extension must be
-                given without the leading dot ("."). See the example below.
+                given without the leading dot (".").
+		See the example in the USAGE file (see below).
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-l</option> <replaceable>WU-file</replaceable>
+        </term>
+        <listitem>
+          <para>File containing the list of subscribed folders.  If
+		migrating from WU-IMAP the list of subscribed folders will
+		be found in the file called .mailboxlist in the users
+		home directory.  This will convert all subscribed folders
+		for a single user:</para>
+	  <para>/bin/mb2md -s mail -l .mailboxlist -R -d Maildir</para>
+
+	  <para>and for all users in a directory as root you can do the following:</para>
+
+	  <para>
+                for i in *; do echo $i;su - $i -c "/bin/mb2md -s mail -l .mailboxlist -R -d Maildir";done
           </para>
         </listitem>
       </varlistentry>
diff --git a/mb2md.1 b/mb2md.1
index 6870238..c5dbd2f 100644
--- a/mb2md.1
+++ b/mb2md.1
@@ -3,21 +3,27 @@
 mb2md \(em Converts Mbox mailboxes to Maildir format. 
 .SH "SYNOPSIS" 
 .PP 
-\fBmb2md\fR [\fB-h\fP]  
+\fBmb2md\fR [\-h]  
 .PP 
-\fBmb2md\fR [\fB-m\fP]  [\fB-d \fIdestdir\fR\fP]  
+\fBmb2md\fR [\fB-c\fP]  [\-m]  [\fB-d \fIdestdir\fR\fP]  
 .PP 
-\fBmb2md\fR [\-s \fIsourcedir\fR \fB-R|\-f \fIsomefolder\fR\fP \fB-d \fIdestdir\fR\fP \fB-r \fIstrip_extension\fR\fP]  
-.SH "DESCRIPTION" 
+\fBmb2md\fR [\fB-c\fP]  [\-s \fIsourcefile\fR]  [\fB-d \fIdestdir\fR\fP]  
 .PP 
-This manual page documents briefly the 
-\fBmb2md\fR. 
+\fBmb2md\fR [\fB-c\fP]  [\-s \fIsourcedir\fR]  [\fB-l \fIwu-mailboxlist\fR\fP]  [\fB-R|\-f \fIsomefolder\fR\fP]  [\fB-d \fIdestdir\fR\fP]  [\fB-r \fIstrip_extension\fR\fP]  
+.SH "DESCRIPTION" 
 .PP 
 \fBmb2md\fR  
 Converts Mbox mailboxes to Maildir format. 
 .SH "OPTIONS" 
 .IP "\fB-h\fP         " 10 
 Show summary of options. 
+.IP "\fB-c\fP         " 10 
+Use the Content-Length: headers (if present) to find the 
+beginning of the next message. 
+Use with caution! Results may be unreliable. I recommend to do 
+a run without "\-c" first and only use it if you are certain, 
+that the mbox in question really needs the "\-c" option. 
+ 
 .IP "\fB-m\fP         " 10 
 If this is used then the source will 
 be the single mailbox at /var/spool/mail/blah for 
@@ -46,7 +52,7 @@ folder for other mailboxes.)
 .IP "" 10 
 The "somefolder" directory 
 name will be encoded into the new mailboxes' names. 
-See the examples below. 
+See the example in the USAGE file (see below). 
 .IP "" 10 
 This does not save an UW IMAP dummy message file 
 at the start of the Mbox file.  Small changes 
@@ -56,7 +62,7 @@ other distinctive patterns of dummy messages too.
 Don't let the source directory you give as "somefolders" 
 contain any "."s in its name, unless you want to 
 create subfolders from the IMAP user's point of 
-view.  See the example below. 
+view. See the example in the USAGE file (see below). 
 .IP "" 10 
 Incompatible with '\-R'  
 .IP "\fB-d\fP \fIdestdir\fR         " 10 
@@ -72,7 +78,21 @@ home directory.
 If defined this extension will be stripped from 
 the original mailbox file name before creating 
 the corresponding maildir. The extension must be 
-given without the leading dot ("."). See the example below. 
+given without the leading dot ("."). 
+See the example in the USAGE file (see below). 
+ 
+.IP "\fB-l\fP \fIWU-file\fR         " 10 
+File containing the list of subscribed folders.  If 
+migrating from WU-IMAP the list of subscribed folders will 
+be found in the file called .mailboxlist in the users 
+home directory.  This will convert all subscribed folders 
+for a single user: 
+.IP "" 10 
+/bin/mb2md \-s mail \-l .mailboxlist \-R \-d Maildir 
+.IP "" 10 
+and for all users in a directory as root you can do the following: 
+.IP "" 10 
+for i in *; do echo $i;su \- $i \-c "/bin/mb2md \-s mail \-l .mailboxlist \-R \-d Maildir";done 
  
 .SH "USAGE" 
 .PP 
@@ -87,4 +107,4 @@ the terms of the GNU Free Documentation
 License, Version 1.1 or any later version published by the Free 
 Software Foundation; with no Invariant Sections, no Front-Cover 
 Texts and no Back-Cover Texts. 
-.\" created by instant / docbook-to-man, Mon 18 Jun 2007, 15:35 
+.\" created by instant / docbook-to-man, Wed 19 Mar 2008, 14:04 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/mb2md.git



More information about the Pkg-perl-cvs-commits mailing list