Commit b81c8391 b81c839194e7f24524f7d9a27dadc10cb5d03d80 by Sergey Poznyakoff

Updated

1 parent abaaf6ea
1 2005-03-12 Sergey Poznyakoff 1 2005-03-12 Sergey Poznyakoff
2 2
3 * README: Updated. Switch to outline mode.
4 * README-alpha: Updated. Switch to outline mode.
5 * mailbox/mutil.c: Minor indentation fix
6 * mailbox/pop/pop3_sendline.c: Do not redefine _GNU_SOURCE
7 * mailbox/nntp/nntp_sendline.c: Likewise
8
9 2005-03-12 Sergey Poznyakoff
10
3 * lib/mailcap.c: New file. Routines for displaying MIME 11 * lib/mailcap.c: New file. Routines for displaying MIME
4 messages. 12 messages.
5 * lib/Makefile.am: Added mailcap.c 13 * lib/Makefile.am: Added mailcap.c
......
1 This is the GNU Mailutils package 1 This is the GNU Mailutils package
2 ================================= 2 =================================
3 3
4 * Introduction
5 ==============
6
4 This package contains a series of useful mail clients, servers, and 7 This package contains a series of useful mail clients, servers, and
5 libraries. These are the primary mail utilities of the GNU system. 8 libraries. These are the primary mail utilities of the GNU system.
6 9
...@@ -21,8 +24,8 @@ COPYING.LESSER, COPYING and doc/texinfo/COPYING.DOC. ...@@ -21,8 +24,8 @@ COPYING.LESSER, COPYING and doc/texinfo/COPYING.DOC.
21 This software is part of the GNU Project and belongs to the Free Software 24 This software is part of the GNU Project and belongs to the Free Software
22 Foundation. 25 Foundation.
23 26
24 Why use this package? 27 * Why use this package?
25 ===================== 28 =======================
26 29
27 This package started off to try and handle large mailbox files more 30 This package started off to try and handle large mailbox files more
28 gracefully then current POP3 servers did. While it handles this task, 31 gracefully then current POP3 servers did. While it handles this task,
...@@ -31,11 +34,11 @@ without any real effort on your part. Also, if a new format is added ...@@ -31,11 +34,11 @@ without any real effort on your part. Also, if a new format is added
31 at a later date, your program will support that new format 34 at a later date, your program will support that new format
32 automatically as soon as it is compiled against the new library. 35 automatically as soon as it is compiled against the new library.
33 36
34 This server is also released as part of Debian, so you should expect 37 This package is also released as part of Debian, so you should expect
35 it to compile cleanly on all the platforms supported there. 38 it to compile cleanly on all the platforms supported there.
36 39
37 How to install 40 * How to install
38 ============== 41 ================
39 42
40 Please see the INSTALL file in this directory for the generic instructions 43 Please see the INSTALL file in this directory for the generic instructions
41 on how to use configure. The following short summary describes the mailutils- 44 on how to use configure. The following short summary describes the mailutils-
...@@ -242,9 +245,18 @@ features: ...@@ -242,9 +245,18 @@ features:
242 Disables support for authentication using virtual 245 Disables support for authentication using virtual
243 mail domains. 246 mail domains.
244 247
248 Several environment variables affect the configuration. Currently,
249 the only mailutils-specific variable is DEFAULT_CUPS_CONFDIR. It
250 sets the location of CUPS (Common UNIX Printing System) configuration
251 directory, which is needed for `mimeview' utility. By default, this
252 location is $sysconfdir/cups. On most sites, however, it may be
253 reasonable to set it to /etc/cups, e.g.:
254
255 ./configure DEFAULT_CUPS_CONFDIR=/etc/cups ...
256
245 257
246 Where to report BUGS 258 * Where to report BUGS
247 ==================== 259 ======================
248 260
249 Please report any bugs to <bug-mailutils@gnu.org>. We encourage sysadmins 261 Please report any bugs to <bug-mailutils@gnu.org>. We encourage sysadmins
250 who will be using this package to subscribe to this list by sending an email 262 who will be using this package to subscribe to this list by sending an email
...@@ -252,3 +264,23 @@ to <bug-mailutils-request@gnu.org> with the word `subscribe' in the body of ...@@ -252,3 +264,23 @@ to <bug-mailutils-request@gnu.org> with the word `subscribe' in the body of
252 the message. Another way to subscribe is by visiting 264 the message. Another way to subscribe is by visiting
253 http://mail.gnu.org/mailman/listinfo/bug-mailutils. 265 http://mail.gnu.org/mailman/listinfo/bug-mailutils.
254 266
267 * Copyright information:
268
269 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
270
271 Permission is granted to anyone to make or distribute verbatim copies
272 of this document as received, in any medium, provided that the
273 copyright notice and this permission notice are preserved,
274 thus giving the recipient permission to redistribute in turn.
275
276 Permission is granted to distribute modified versions
277 of this document, or of portions of it,
278 under the above conditions, provided also that they
279 carry prominent notices stating who last changed them.
280
281
282 Local Variables:
283 mode: outline
284 paragraph-separate: "[ ]*$"
285 version-control: never
286 End:
......
1 This is the GNU mailutils package. 1 This is the GNU mailutils package.
2 This document describes the actions needed to build the pre-release
3 or CVS version of the package. See end of file for copying conditions.
4
5 * Introduction
2 6
3 This is a *pre-release* version, and not ready for production use yet. If you 7 This is a *pre-release* version, and not ready for production use yet. If you
4 are taking source from CVS, you will need to have libtool, automake, and 8 are taking source from CVS, you will need to have libtool, automake, and
5 autoconf installed to help contribute. The script autogen.sh is provided to 9 autoconf installed to help contribute. See the chapter `Building' for the
6 help autoconfigure mailutils from the cvs src. After you run 10 detailed instructions. The script autogen.sh is provided to help
7 autogen.sh, there should be a file 'INSTALL' with (generic) 11 autoconfigure mailutils from the cvs src. After you run autogen.sh,
8 installation instructions. 12 there should be a file 'INSTALL' with (generic) installation instructions.
13 Package-specific installation instructions are set forth in the file
14 README.
15
16 Please, note that the accompanying documentation may be inaccurate or
17 incomplete. The ChangeLog file is the authoritative documentation of
18 all recent changes.
9 19
10 Report bugs to <bug-mailutils@gnu.org> 20 Report bugs to <bug-mailutils@gnu.org>
11 21
12 To get this information from CVS issue the following commands: 22 * Checking Out the Sources
13 23
14 cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/mailutils login 24 The following instructions apply if you wish to obtain sources from
25 the CVS repository:
15 26
16 Press enter when prompted for a password. 27 To checkout the source tree from CVS issue the following command:
17 28
18 cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/mailutils checkout mailutils 29 CVS_RSH=ssh \
30 cvs -d :ext:anoncvs@savannah.gnu.org:/cvsroot/mailutils checkout mailutils
31
32 Make sure SSHv2 is used.
19 33
20 This will give you read-only access. If you think you need write access, 34 This will give you read-only access. If you think you need write access,
21 contact the mailing list. 35 contact the mailing list.
22 36
23 In order to build this you will need to call the auto* tools with 37 * Building
24 the right arguments, see or run autogen.sh. 38
39 In order to build this you will first need to have right versions of
40 autotools. At the time of this writing these are:
41
42 Package Version (>=)
43 ======== ============
44 automake 1.8.5
45 autoconf 2.59
46 libtool 1.5.8
47 gettext 0.14.1
48
49 To prepare the package for building run autogen.sh. Then run
50 ./configure with the desired options (See INSTALL and README for
51 the detailed instructions). Finally, run make.
52
53 * Debugging
54
55 To enable additional debugging information, configure the package with
56 --enable-debug option.
57
58 Unless you compile mailutils statically, you will need to run following
59 command to debug a utility:
60
61 libtool --mode execute gdb UTILITY-NAME
62
63 Sometimes it is impossible or inconvenient to start a utility from the
64 debugger. In this case, use --HANG option, which is supported by any
65 of the mailutils programs. The option instructs the program to sleep
66 for a given number of seconds (3600 by default) right after startup.
67 For example, to debug `mimeview' utility, run
68
69 mimeview --HANG [OTHER-OPTIONS]
70
71 Then switch to another terminal, get the PID of the ivoked utility
72 and attach to it using gdb:
73
74 gdb mimeview PID
75
76 Once in gdb, issue the following command
77
78 set _argp_hang=0
79
80 Now set your breakpoints and proceed as usual.
81
82 * Importing gnulib files
83
84 Mailutils imports several source files from gnulib. These go mainly to
85 the conventional library libmailutils (directory lib/), but several of them
86 are incorporated into the main library libmailbox (directory mailbox/).
87 The imported sources are kept in the CVS repository to avoid using eventually
88 unstable versions appearing in the main gnulib CVS. Once in a time we
89 update the sources. The update procedure is quite straightforward:
90 change to the root directory of the mailutils tree and run `gnulib-sync'
91 script:
92
93 $ cd mailutils
94 $ scripts/gnulib-sync $HOME/src/gnulib
95
96 The script takes a single argument: name of the directory with the
97 copy of gnulib source tree (see http://savannah.gnu.org/projects/gnulib
98 for information on how to obtain gnulib sources). After incorporating
99 the files, gnulib-sync leaves in the current directory two files named
100 gnulib.changelog and gnulib.cvs. The file gnulib.changelog contains the
101 entry to be prepended to ChangeLog, the file gnulib.cvs is a shell script
102 with the commands necessary to incorporate all the changes into CVS.
103
104 If you need to add more gnulib modules to mailutils, add their names
105 to gnulib.modules file, following the instructions in its heading
106 comment. Please avoid placing modules in :mailbox section, as this
107 may lead to unwanted name clashes when linking user programs with
108 libmailbox.
109
110 * Copyright information:
111
112 Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
113
114 Permission is granted to anyone to make or distribute verbatim copies
115 of this document as received, in any medium, provided that the
116 copyright notice and this permission notice are preserved,
117 thus giving the recipient permission to redistribute in turn.
118
119 Permission is granted to distribute modified versions
120 of this document, or of portions of it,
121 under the above conditions, provided also that they
122 carry prominent notices stating who last changed them.
123
124
125 Local Variables:
126 mode: outline
127 paragraph-separate: "[ ]*$"
128 version-control: never
129 End:
25 130
26 131
......