Update
Showing
2 changed files
with
19 additions
and
14 deletions
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | * mailbox/property.c: Likewise | 6 | * mailbox/property.c: Likewise |
7 | * mailbox/Makefile.am: Merge DEFS and AM_CPPFLAGS | 7 | * mailbox/Makefile.am: Merge DEFS and AM_CPPFLAGS |
8 | * mailbox/mailer.c (mu_mailer_send_message): Set envelope from | 8 | * mailbox/mailer.c (mu_mailer_send_message): Set envelope from |
9 | address depending on the underlying mailer type. | 9 | address according to the underlying mailer type. |
10 | * mailbox/smtp.c (smtp_open,smtp_send_message): On invalid | 10 | * mailbox/smtp.c (smtp_open,smtp_send_message): On invalid |
11 | arguments, return EINVAL instead of spitting out assertion. | 11 | arguments, return EINVAL instead of spitting out assertion. |
12 | (smtp_send_message): Null from address is an error. | 12 | (smtp_send_message): Null from address is an error. | ... | ... |
... | @@ -4,7 +4,7 @@ or CVS version of the package. See end of file for copying conditions. | ... | @@ -4,7 +4,7 @@ or CVS version of the package. See end of file for copying conditions. |
4 | 4 | ||
5 | * Introduction | 5 | * Introduction |
6 | 6 | ||
7 | This is a *pre-release* version, and not ready for production use | 7 | This is a *pre-release* version, and not ready for production use |
8 | yet. If you are taking source from CVS, you will need to have libtool, | 8 | yet. If you are taking source from CVS, you will need to have libtool, |
9 | automake, and autoconf installed to help contribute. See the chapter | 9 | automake, and autoconf installed to help contribute. See the chapter |
10 | `Building' for the detailed instructions. The script autogen.sh is | 10 | `Building' for the detailed instructions. The script autogen.sh is |
... | @@ -13,7 +13,7 @@ run autogen.sh, there should be a file 'INSTALL' with (generic) | ... | @@ -13,7 +13,7 @@ run autogen.sh, there should be a file 'INSTALL' with (generic) |
13 | installation instructions. Package-specific installation instructions | 13 | installation instructions. Package-specific installation instructions |
14 | are set forth in the file README. | 14 | are set forth in the file README. |
15 | 15 | ||
16 | Please, note that the accompanying documentation may be inaccurate | 16 | Please, note that the accompanying documentation may be inaccurate |
17 | or incomplete. The ChangeLog file is the authoritative documentation of | 17 | or incomplete. The ChangeLog file is the authoritative documentation of |
18 | all recent changes. | 18 | all recent changes. |
19 | 19 | ||
... | @@ -28,12 +28,12 @@ To checkout the source tree from CVS issue the following command: | ... | @@ -28,12 +28,12 @@ To checkout the source tree from CVS issue the following command: |
28 | 28 | ||
29 | cvs -d :pserver:anoncvs@cvs.savannah.gnu.org:/cvsroot/mailutils checkout mailutils | 29 | cvs -d :pserver:anoncvs@cvs.savannah.gnu.org:/cvsroot/mailutils checkout mailutils |
30 | 30 | ||
31 | This will give you read-only access. If you think you need write access, | 31 | This will give you read-only access. If you think you need write access, |
32 | contact the mailing list. | 32 | contact the mailing list. |
33 | 33 | ||
34 | * Building | 34 | * Building |
35 | 35 | ||
36 | In order to build this you will first need to have right versions | 36 | In order to build this you will first need to have right versions |
37 | of autotools and some auxiliary GNU programs. At the time of this | 37 | of autotools and some auxiliary GNU programs. At the time of this |
38 | writing these are: | 38 | writing these are: |
39 | 39 | ||
... | @@ -45,14 +45,19 @@ writing these are: | ... | @@ -45,14 +45,19 @@ writing these are: |
45 | gettext 0.14.1 | 45 | gettext 0.14.1 |
46 | gawk 3.1.3 | 46 | gawk 3.1.3 |
47 | 47 | ||
48 | You will also need bison (or yacc) and flex. The grammar sources | 48 | You will also need bison (or yacc) and flex. The grammar sources |
49 | were written so that any version of yacc or bison should be able to | 49 | were written so that any version of yacc or bison should be able to |
50 | handle them, however using recent bison is anyway recommended. The lex | 50 | handle them, however using recent bison is anyway recommended. The lex |
51 | sources could theoretically be compiled with AT&T lex. I have not | 51 | sources could theoretically be compiled with AT&T lex. I have not |
52 | tested this, however, so using flex is higly recommended. I use flex | 52 | tested this, however, so using flex is higly recommended. I use flex |
53 | 2.5.4. | 53 | 2.5.4. |
54 | 54 | ||
55 | To prepare the package for building run autogen.sh. Then run | 55 | To prepare the package for building run autogen.sh. This may spit out |
56 | several warnings like: | ||
57 | |||
58 | pop3d_OBJECTS:.$(OBJEXT: non-POSIX variable name | ||
59 | |||
60 | Ignore them, these are due to the bug in automake. Then run | ||
56 | ./configure with the desired options (See INSTALL and README for the | 61 | ./configure with the desired options (See INSTALL and README for the |
57 | detailed instructions). Finally, run make. Notice that the first make | 62 | detailed instructions). Finally, run make. Notice that the first make |
58 | of the package should be made in the source directory. Subsequent | 63 | of the package should be made in the source directory. Subsequent |
... | @@ -60,15 +65,15 @@ makes can use build directory different from the source one. | ... | @@ -60,15 +65,15 @@ makes can use build directory different from the source one. |
60 | 65 | ||
61 | * Debugging | 66 | * Debugging |
62 | 67 | ||
63 | To enable additional debugging information, configure the package | 68 | To enable additional debugging information, configure the package |
64 | with --enable-debug option. | 69 | with --enable-debug option. |
65 | 70 | ||
66 | Unless you compile mailutils statically, you will need to run | 71 | Unless you compile mailutils statically, you will need to run |
67 | following command to debug any utility: | 72 | following command to debug any utility: |
68 | 73 | ||
69 | libtool --mode execute gdb UTILITY-NAME | 74 | libtool --mode execute gdb UTILITY-NAME |
70 | 75 | ||
71 | Sometimes it is impossible or inconvenient to start a utility from | 76 | Sometimes it is impossible or inconvenient to start a utility from |
72 | the debugger. In this case, use --HANG option, which is supported by | 77 | the debugger. In this case, use --HANG option, which is supported by |
73 | any of the mailutils programs. The option instructs the program to | 78 | any of the mailutils programs. The option instructs the program to |
74 | sleep for a given number of seconds (3600 by default) right after | 79 | sleep for a given number of seconds (3600 by default) right after |
... | @@ -89,7 +94,7 @@ Now set your breakpoints and proceed as usual. | ... | @@ -89,7 +94,7 @@ Now set your breakpoints and proceed as usual. |
89 | 94 | ||
90 | * Importing gnulib files | 95 | * Importing gnulib files |
91 | 96 | ||
92 | Mailutils imports several source files from gnulib. These go | 97 | Mailutils imports several source files from gnulib. These go |
93 | mainly to the conventional library libmuaux (directory lib/), but | 98 | mainly to the conventional library libmuaux (directory lib/), but |
94 | several of them are incorporated into the main library libmailutils | 99 | several of them are incorporated into the main library libmailutils |
95 | (directory mailbox/). The imported sources are kept in the CVS | 100 | (directory mailbox/). The imported sources are kept in the CVS |
... | @@ -101,7 +106,7 @@ the mailutils tree and run `gnulib-sync' script: | ... | @@ -101,7 +106,7 @@ the mailutils tree and run `gnulib-sync' script: |
101 | $ cd mailutils | 106 | $ cd mailutils |
102 | $ scripts/gnulib-sync $HOME/src/gnulib | 107 | $ scripts/gnulib-sync $HOME/src/gnulib |
103 | 108 | ||
104 | The script takes a single argument: name of the directory with the | 109 | The script takes a single argument: the name of the directory with the |
105 | copy of gnulib source tree (see http://savannah.gnu.org/projects/gnulib | 110 | copy of gnulib source tree (see http://savannah.gnu.org/projects/gnulib |
106 | for information on how to obtain gnulib sources). After incorporating | 111 | for information on how to obtain gnulib sources). After incorporating |
107 | the files, gnulib-sync leaves in the current directory two files named | 112 | the files, gnulib-sync leaves in the current directory two files named |
... | @@ -110,7 +115,7 @@ an entry to be prepended to ChangeLog, the file gnulib.cvs is a shell | ... | @@ -110,7 +115,7 @@ an entry to be prepended to ChangeLog, the file gnulib.cvs is a shell |
110 | script with the commands necessary to incorporate all the changes into | 115 | script with the commands necessary to incorporate all the changes into |
111 | CVS. | 116 | CVS. |
112 | 117 | ||
113 | If you need to add more gnulib modules to mailutils, add their | 118 | If you need to add more gnulib modules to mailutils, add their |
114 | names to gnulib.modules file, following the instructions in its | 119 | names to gnulib.modules file, following the instructions in its |
115 | heading comment. Please avoid placing modules in :mailutils section, as | 120 | heading comment. Please avoid placing modules in :mailutils section, as |
116 | this may lead to unwanted name clashes when linking user programs with | 121 | this may lead to unwanted name clashes when linking user programs with |
... | @@ -118,7 +123,7 @@ libmailutils. | ... | @@ -118,7 +123,7 @@ libmailutils. |
118 | 123 | ||
119 | * Copyright information: | 124 | * Copyright information: |
120 | 125 | ||
121 | Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 126 | Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. |
122 | 127 | ||
123 | Permission is granted to anyone to make or distribute verbatim copies | 128 | Permission is granted to anyone to make or distribute verbatim copies |
124 | of this document as received, in any medium, provided that the | 129 | of this document as received, in any medium, provided that the | ... | ... |
-
Please register or sign in to post a comment