1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 1.5.9

PR:		ports/78806
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2005-03-14 10:36:44 +00:00
parent 2788513377
commit a35ade04cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131176
7 changed files with 117 additions and 163 deletions

View File

@ -92,8 +92,8 @@
# #
PORTNAME= mutt-devel PORTNAME= mutt-devel
PORTVERSION= 1.5.8 PORTVERSION= 1.5.9
PORTREVISION= 1 PORTREVISION= 0
CATEGORIES+= mail ipv6 CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP) .if defined(WITH_MUTT_NNTP)
CATEGORIES+= news CATEGORIES+= news
@ -282,10 +282,11 @@ pre-configure::
.if defined(WITH_MUTT_EDIT_THREADS) .if defined(WITH_MUTT_EDIT_THREADS)
pre-configure:: pre-configure::
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-edit-threads @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-edit-threads
.endif .endif
.if defined(WITH_MUTT_SIDEBAR_PATCH) .if defined(WITH_MUTT_SIDEBAR_PATCH)
.error The WITH_MUTT_SIDEBAR_PATCH is not available at the moment
pre-configure:: pre-configure::
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-sidebar @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-sidebar
.endif .endif
@ -323,11 +324,11 @@ CONFIGURE_ARGS+= --without-idn
PATCH_DIST_STRIP= -p1 PATCH_DIST_STRIP= -p1
.if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS) .if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS)
DISTFILES+= patch-${RR_PATCH_VERSION}.rr.compressed.1.gz:rr DISTFILES+= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv
CONFIGURE_ARGS+= --enable-compressed CONFIGURE_ARGS+= --enable-compressed
SGML_NEEDED= yes SGML_NEEDED= yes
pre-patch:: pre-patch::
@${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${RR_PATCH_VERSION}.rr.compressed.1.gz > ${WRKDIR}/patch-compressed @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${RR_PATCH_VERSION}.rr.compressed.gz > ${WRKDIR}/patch-compressed
@${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \ @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \
${WRKDIR}/patch-compressed ${WRKDIR}/patch-compressed
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-compressed @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-compressed

View File

@ -1,13 +1,13 @@
MD5 (mutt/mutt-1.5.8i.tar.gz) = 9b9bdef4ef7107332f8782b3a910d00e MD5 (mutt/mutt-1.5.9i.tar.gz) = c5318eba3404ebd78a15c680fa1b6056
SIZE (mutt/mutt-1.5.8i.tar.gz) = 3010088 SIZE (mutt/mutt-1.5.9i.tar.gz) = 3036003
MD5 (mutt/patch-1.5.8.rr.compressed.1.gz) = a45bd30996f98ba725bf479111cc9579 MD5 (mutt/patch-1.5.9.rr.compressed.gz) = 9d9ef4ec0e970f9fc3de2d5c6219a349
SIZE (mutt/patch-1.5.8.rr.compressed.1.gz) = 13728 SIZE (mutt/patch-1.5.9.rr.compressed.gz) = 10260
MD5 (mutt/patch-1.5.8.vvv.nntp.gz) = b439b7cf7b7c83f4d392cc3e0cbe7aa2 MD5 (mutt/patch-1.5.9.vvv.nntp.gz) = f7cf37af82169eefe94c6c42c6f3b9cd
SIZE (mutt/patch-1.5.8.vvv.nntp.gz) = 92282 SIZE (mutt/patch-1.5.9.vvv.nntp.gz) = 91518
MD5 (mutt/patch-1.5.8.vvv.initials.gz) = efcb8e77f504a046324ae5b1b59085f4 MD5 (mutt/patch-1.5.9.vvv.initials.gz) = 149c52991b23b9ab3d6add27cb27e151
SIZE (mutt/patch-1.5.8.vvv.initials.gz) = 687 SIZE (mutt/patch-1.5.9.vvv.initials.gz) = 689
MD5 (mutt/patch-1.5.8.vvv.quote.gz) = 12f33e0520a68aec15e5c3e6993c4bc7 MD5 (mutt/patch-1.5.9.vvv.quote.gz) = 08329134d8995c05a28dd8258174a668
SIZE (mutt/patch-1.5.8.vvv.quote.gz) = 1613 SIZE (mutt/patch-1.5.9.vvv.quote.gz) = 1629
MD5 (mutt/patch-1.5.4.cd.ifdef.1) = a545036cdb55519154d0b35465f52daa MD5 (mutt/patch-1.5.4.cd.ifdef.1) = a545036cdb55519154d0b35465f52daa
SIZE (mutt/patch-1.5.4.cd.ifdef.1) = 3545 SIZE (mutt/patch-1.5.4.cd.ifdef.1) = 3545
MD5 (mutt/p0-patch-1.5.6.dw.mbox-hook.1) = 9e29a6778ab07a4de3442691e4573fea MD5 (mutt/p0-patch-1.5.6.dw.mbox-hook.1) = 9e29a6778ab07a4de3442691e4573fea

View File

@ -1,6 +1,11 @@
diff -ru work.old/mutt-1.5.6/OPS work/mutt-1.5.6/OPS diff -Nru a/PATCHES b/PATCHES
--- OPS Wed Nov 5 10:41:31 2003 --- a/PATCHES
+++ OPS Tue Feb 10 14:40:41 2004 +++ b/PATCHES
@@ -0,0 +1 @@
+patch-1.5.7.tg.edit_threads.1
diff -Nru a/OPS b/OPS
--- a/OPS 2005-01-29 17:07:15 +01:00
+++ b/OPS 2005-01-29 17:07:15 +01:00
@@ -96,6 +96,7 @@ @@ -96,6 +96,7 @@
OP_LIST_REPLY "reply to specified mailing list" OP_LIST_REPLY "reply to specified mailing list"
OP_MACRO "execute a macro" OP_MACRO "execute a macro"
@ -17,58 +22,21 @@ diff -ru work.old/mutt-1.5.6/OPS work/mutt-1.5.6/OPS
OP_MAIN_NEXT_NEW "jump to the next new message" OP_MAIN_NEXT_NEW "jump to the next new message"
OP_MAIN_NEXT_NEW_THEN_UNREAD "jump to the next new or unread message" OP_MAIN_NEXT_NEW_THEN_UNREAD "jump to the next new or unread message"
OP_MAIN_NEXT_SUBTHREAD "jump to the next subthread" OP_MAIN_NEXT_SUBTHREAD "jump to the next subthread"
diff -ru work.old/mutt-1.5.6/config.h.in work/mutt-1.5.6/config.h.in
--- config.h.in Sun Feb 1 18:18:21 2004
+++ config.h.in Tue Feb 10 14:40:41 2004
@@ -549,3 +549,7 @@
* all return values other than (size_t)(-1) as equivalent. */
#undef ICONV_NONTRANS
+/* Do you want to use the rethreading functions with IMAP
+ * (--enable-imap-edit-threads) */
+#undef IMAP_EDIT_THREADS
+
--- /dev/null Sun Feb 13 11:16:10 2005 --- /dev/null Sun Feb 13 11:16:10 2005
+++ acconfig.h Sun Feb 13 11:15:44 2005 +++ b/acconfig.h Sun Feb 13 11:15:44 2005
@@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
+/* Do you want to use the rethreading functions with IMAP +/* Do you want to use the rethreading functions with IMAP
+ * (--enable-imap-edit-threads) */ + * (--enable-imap-edit-threads) */
+#undef IMAP_EDIT_THREADS +#undef IMAP_EDIT_THREADS
+ +
diff -ru work.old/mutt-1.5.6/configure work/mutt-1.5.6/configure diff -Nru a/configure.in b/configure.in
--- configure Sun Feb 1 19:22:06 2004 --- a/configure.in.orig Mon Mar 14 08:30:21 2005
+++ configure Tue Feb 10 14:40:41 2004 +++ b/configure.in Mon Mar 14 08:33:05 2005
@@ -5383,6 +5385,23 @@ @@ -566,6 +566,16 @@
else AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes)
USE_GSS_TRUE='#'
USE_GSS_FALSE=
+fi
+
+
+# Check whether --enable-imap-edit-threads or --disable-imap-edit-threads was given.
+if test "${enable_imap_edit_threads+set}" = set; then
+ enableval="$enable_imap_edit_threads"
+
+ if test "$enableval" = "yes"; then
+ if test "$need_imap" = "yes"; then
+ cat >> confdefs.h <<\EOF
+#define IMAP_EDIT_THREADS 1
+EOF
+
+ else
+ echo "configure: warning: IMAP support for edit_threads is only useful with IMAP support" 1>&2
+ fi
+fi
fi
diff -ru work.old/mutt-1.5.6/configure.in work/mutt-1.5.6/configure.in
--- configure.in Sun Feb 1 19:22:05 2004
+++ configure.in Tue Feb 10 14:40:41 2004
@@ -559,6 +559,16 @@
dnl -- end imap dependencies -- dnl -- end imap dependencies --
+
+AC_ARG_ENABLE(imap-edit-threads, [ --enable-imap-edit-threads Enable editing threads support for IMAP], +AC_ARG_ENABLE(imap-edit-threads, [ --enable-imap-edit-threads Enable editing threads support for IMAP],
+[ +[
+ if test "$enableval" = "yes"; then + if test "$enableval" = "yes"; then
@ -78,13 +46,12 @@ diff -ru work.old/mutt-1.5.6/configure.in work/mutt-1.5.6/configure.in
+ AC_MSG_WARN([IMAP support for edit_threads is only useful with IMAP support]) + AC_MSG_WARN([IMAP support for edit_threads is only useful with IMAP support])
+ fi + fi
+fi]) +fi])
+
AC_ARG_WITH(ssl, [ --with-ssl[=PFX] Compile in SSL support for POP/IMAP], AC_ARG_WITH(ssl, AC_HELP_STRING([--with-ssl[=PFX]], [Compile in SSL support for POP/IMAP]),
[ if test "$with_ssl" != "no" [ if test "$with_ssl" != "no"
then diff -Nru a/copy.c b/copy.c
diff -ru work.old/mutt-1.5.6/copy.c work/mutt-1.5.6/copy.c --- a/copy.c 2005-01-29 17:07:15 +01:00
--- copy.c Wed Nov 5 10:41:31 2003 +++ b/copy.c 2005-01-29 17:07:15 +01:00
+++ copy.c Tue Feb 10 14:40:41 2004
@@ -95,6 +95,12 @@ @@ -95,6 +95,12 @@
(ascii_strncasecmp ("Content-Length:", buf, 15) == 0 || (ascii_strncasecmp ("Content-Length:", buf, 15) == 0 ||
ascii_strncasecmp ("Lines:", buf, 6) == 0)) ascii_strncasecmp ("Lines:", buf, 6) == 0))
@ -187,9 +154,9 @@ diff -ru work.old/mutt-1.5.6/copy.c work/mutt-1.5.6/copy.c
if (h->old || h->read) if (h->old || h->read)
{ {
if (fputs ("Status: ", out) == EOF) if (fputs ("Status: ", out) == EOF)
diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c diff -Nru a/curs_main.c b/curs_main.c
--- curs_main.c Wed Nov 5 10:41:31 2003 --- a/curs_main.c 2005-01-29 17:07:15 +01:00
+++ curs_main.c Tue Feb 10 14:40:41 2004 +++ b/curs_main.c 2005-01-29 17:07:15 +01:00
@@ -930,6 +930,11 @@ @@ -930,6 +930,11 @@
else else
{ {
@ -202,7 +169,7 @@ diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c
menu->redraw = REDRAW_STATUS; menu->redraw = REDRAW_STATUS;
if (option (OPTRESOLVE) && menu->current < Context->vcount - 1) if (option (OPTRESOLVE) && menu->current < Context->vcount - 1)
{ {
@@ -1162,6 +1167,89 @@ @@ -1165,6 +1170,89 @@
} }
done = 1; done = 1;
} }
@ -292,10 +259,10 @@ diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c
break; break;
case OP_EDIT_TYPE: case OP_EDIT_TYPE:
diff -ru work.old/mutt-1.5.6/doc/manual.sgml.head work/mutt-1.5.6/doc/manual.sgml.head diff -Nru a/doc/manual.sgml.head b/doc/manual.sgml.head
--- doc/manual.sgml.head Sun Feb 1 18:49:53 2004 --- a/doc/manual.sgml.head 2005-01-29 17:07:15 +01:00
+++ doc/manual.sgml.head Tue Feb 10 14:40:41 2004 +++ b/doc/manual.sgml.head 2005-01-29 17:07:15 +01:00
@@ -2197,8 +2197,43 @@ @@ -2322,8 +2322,43 @@
with large volume mailing lists easier because you can easily delete with large volume mailing lists easier because you can easily delete
uninteresting threads and quickly find topics of value. uninteresting threads and quickly find topics of value.
@ -339,9 +306,9 @@ diff -ru work.old/mutt-1.5.6/doc/manual.sgml.head work/mutt-1.5.6/doc/manual.sgm
RFC1894 defines a set of MIME content types for relaying information RFC1894 defines a set of MIME content types for relaying information
about the status of electronic mail messages. These can be thought of as about the status of electronic mail messages. These can be thought of as
``return receipts.'' Berkeley sendmail 8.8.x currently has some command ``return receipts.'' Berkeley sendmail 8.8.x currently has some command
diff -ru work.old/mutt-1.5.6/functions.h work/mutt-1.5.6/functions.h diff -Nru a/functions.h b/functions.h
--- functions.h Wed Nov 5 10:41:31 2003 --- a/functions.h 2005-01-29 17:07:15 +01:00
+++ functions.h Tue Feb 10 14:40:41 2004 +++ b/functions.h 2005-01-29 17:07:15 +01:00
@@ -69,6 +69,7 @@ @@ -69,6 +69,7 @@
struct binding_t OpMain[] = { struct binding_t OpMain[] = {
{ "create-alias", OP_CREATE_ALIAS, "a" }, { "create-alias", OP_CREATE_ALIAS, "a" },
@ -374,10 +341,10 @@ diff -ru work.old/mutt-1.5.6/functions.h work/mutt-1.5.6/functions.h
{ "list-reply", OP_LIST_REPLY, "L" }, { "list-reply", OP_LIST_REPLY, "L" },
{ "redraw-screen", OP_REDRAW, "\014" }, { "redraw-screen", OP_REDRAW, "\014" },
{ "mail", OP_MAIL, "m" }, { "mail", OP_MAIL, "m" },
diff -ru work.old/mutt-1.5.6/imap/imap.c work/mutt-1.5.6/imap/imap.c diff -Nru a/imap/imap.c b/imap/imap.c
--- imap/imap.c Sun Feb 1 18:10:58 2004 --- a/imap/imap.c 2005-01-29 17:07:15 +01:00
+++ imap/imap.c Tue Feb 10 14:40:41 2004 +++ b/imap/imap.c 2005-01-29 17:07:15 +01:00
@@ -981,9 +981,11 @@ @@ -983,9 +983,11 @@
mutt_buffer_addstr (&cmd, "UID STORE "); mutt_buffer_addstr (&cmd, "UID STORE ");
mutt_buffer_addstr (&cmd, uid); mutt_buffer_addstr (&cmd, uid);
@ -392,10 +359,10 @@ diff -ru work.old/mutt-1.5.6/imap/imap.c work/mutt-1.5.6/imap/imap.c
{ {
dprint (3, (debugfile, "imap_sync_mailbox: Attachments to be deleted, falling back to _mutt_save_message\n")); dprint (3, (debugfile, "imap_sync_mailbox: Attachments to be deleted, falling back to _mutt_save_message\n"));
if (!appendctx) if (!appendctx)
diff -ru work.old/mutt-1.5.6/main.c work/mutt-1.5.6/main.c diff -Nru a/main.c b/main.c
--- main.c Tue Mar 4 08:49:48 2003 --- a/main.c 2005-01-29 17:07:15 +01:00
+++ main.c Tue Feb 10 14:40:41 2004 +++ b/main.c 2005-01-29 17:07:15 +01:00
@@ -228,6 +228,12 @@ @@ -235,6 +235,12 @@
"-USE_IMAP " "-USE_IMAP "
#endif #endif
@ -408,10 +375,10 @@ diff -ru work.old/mutt-1.5.6/main.c work/mutt-1.5.6/main.c
#ifdef USE_GSS #ifdef USE_GSS
"+USE_GSS " "+USE_GSS "
#else #else
diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c diff -Nru a/mh.c b/mh.c
--- mh.c Sun Feb 1 18:10:57 2004 --- a/mh.c 2005-01-29 17:07:15 +01:00
+++ mh.c Tue Feb 10 14:40:41 2004 +++ b/mh.c 2005-01-29 17:07:15 +01:00
@@ -1220,7 +1220,7 @@ @@ -1326,7 +1326,7 @@
{ {
HEADER *h = ctx->hdrs[msgno]; HEADER *h = ctx->hdrs[msgno];
@ -420,7 +387,7 @@ diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c
if (mh_rewrite_message (ctx, msgno) != 0) if (mh_rewrite_message (ctx, msgno) != 0)
return -1; return -1;
@@ -1231,9 +1231,9 @@ @@ -1337,9 +1337,9 @@
{ {
HEADER *h = ctx->hdrs[msgno]; HEADER *h = ctx->hdrs[msgno];
@ -432,10 +399,10 @@ diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c
if (mh_rewrite_message (ctx, msgno) != 0) if (mh_rewrite_message (ctx, msgno) != 0)
return (-1); return (-1);
} }
diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h diff -Nru a/mutt.h b/mutt.h
--- mutt.h Sun Feb 1 18:15:17 2004 --- a/mutt.h 2005-01-29 17:07:15 +01:00
+++ mutt.h Tue Feb 10 14:41:33 2004 +++ b/mutt.h 2005-01-29 17:07:15 +01:00
@@ -94,6 +94,8 @@ @@ -96,6 +96,8 @@
#define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */ #define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */
#define CH_FORCE_FROM (1<<14) /* give CH_FROM precedence over CH_WEED? */ #define CH_FORCE_FROM (1<<14) /* give CH_FROM precedence over CH_WEED? */
#define CH_NOQFROM (1<<15) /* give CH_FROM precedence over CH_WEED? */ #define CH_NOQFROM (1<<15) /* give CH_FROM precedence over CH_WEED? */
@ -444,16 +411,15 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h
/* flags for mutt_enter_string() */ /* flags for mutt_enter_string() */
#define M_ALIAS 1 /* do alias "completion" by calling up the alias-menu */ #define M_ALIAS 1 /* do alias "completion" by calling up the alias-menu */
@@ -518,6 +520,8 @@ @@ -542,6 +544,7 @@
void mutt_free_rx_list (RX_LIST **); #define mutt_new_rx_list() safe_calloc (1, sizeof (RX_LIST))
int mutt_matches_ignore (const char *, LIST *); #define mutt_new_spam_list() safe_calloc (1, sizeof (SPAM_LIST))
void mutt_free_list (LIST **);
+LIST *mutt_copy_list (LIST *); +LIST *mutt_copy_list (LIST *);
+ void mutt_free_rx_list (RX_LIST **);
/* add an element to a list */ void mutt_free_spam_list (SPAM_LIST **);
LIST *mutt_add_list (LIST *, const char *); int mutt_matches_ignore (const char *, LIST *);
@@ -699,6 +702,8 @@
@@ -657,6 +661,8 @@
unsigned int subject_changed : 1; /* used for threading */ unsigned int subject_changed : 1; /* used for threading */
unsigned int threaded : 1; /* used for threading */ unsigned int threaded : 1; /* used for threading */
unsigned int display_subject : 1; /* used for threading */ unsigned int display_subject : 1; /* used for threading */
@ -462,7 +428,7 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h
unsigned int recip_valid : 1; /* is_recipient is valid */ unsigned int recip_valid : 1; /* is_recipient is valid */
unsigned int active : 1; /* message is not to be removed */ unsigned int active : 1; /* message is not to be removed */
unsigned int trash : 1; /* message is marked as trashed on disk. unsigned int trash : 1; /* message is marked as trashed on disk.
@@ -697,6 +703,10 @@ @@ -739,6 +744,10 @@
char *tree; /* character string to print thread tree */ char *tree; /* character string to print thread tree */
struct thread *thread; struct thread *thread;
@ -473,7 +439,7 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h
#ifdef MIXMASTER #ifdef MIXMASTER
LIST *chain; LIST *chain;
#endif #endif
@@ -761,6 +771,7 @@ @@ -803,6 +812,7 @@
char *pattern; /* limit pattern string */ char *pattern; /* limit pattern string */
pattern_t *limit_pattern; /* compiled limit pattern */ pattern_t *limit_pattern; /* compiled limit pattern */
HEADER **hdrs; HEADER **hdrs;
@ -481,9 +447,9 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h
THREAD *tree; /* top of thread tree */ THREAD *tree; /* top of thread tree */
HASH *id_hash; /* hash table by msg id */ HASH *id_hash; /* hash table by msg id */
HASH *subj_hash; /* hash table by subject */ HASH *subj_hash; /* hash table by subject */
diff -ru work.old/mutt-1.5.6/mx.c work/mutt-1.5.6/mx.c diff -Nru a/mx.c b/mx.c
--- mx.c Wed Nov 5 10:41:32 2003 --- a/mx.c 2005-01-29 17:07:15 +01:00
+++ mx.c Tue Feb 10 14:40:41 2004 +++ b/mx.c 2005-01-29 17:07:15 +01:00
@@ -1161,6 +1161,8 @@ @@ -1161,6 +1161,8 @@
ctx->deleted = 0; ctx->deleted = 0;
} }
@ -493,10 +459,10 @@ diff -ru work.old/mutt-1.5.6/mx.c work/mutt-1.5.6/mx.c
} }
/* really only for IMAP - imap_sync_mailbox results in a call to /* really only for IMAP - imap_sync_mailbox results in a call to
diff -ru work.old/mutt-1.5.6/pager.c work/mutt-1.5.6/pager.c diff -Nru a/pager.c b/pager.c
--- pager.c Sun Feb 1 18:10:57 2004 --- a/pager.c 2005-01-29 17:07:15 +01:00
+++ pager.c Tue Feb 10 14:40:41 2004 +++ b/pager.c 2005-01-29 17:07:15 +01:00
@@ -2481,6 +2481,11 @@ @@ -2492,6 +2492,11 @@
case OP_TAG: case OP_TAG:
CHECK_MODE(IsHeader (extra)); CHECK_MODE(IsHeader (extra));
mutt_set_flag (Context, extra->hdr, M_TAG, !extra->hdr->tagged); mutt_set_flag (Context, extra->hdr, M_TAG, !extra->hdr->tagged);
@ -508,10 +474,10 @@ diff -ru work.old/mutt-1.5.6/pager.c work/mutt-1.5.6/pager.c
redraw = REDRAW_STATUS | REDRAW_INDEX; redraw = REDRAW_STATUS | REDRAW_INDEX;
if (option (OPTRESOLVE)) if (option (OPTRESOLVE))
{ {
diff -ru work.old/mutt-1.5.6/protos.h work/mutt-1.5.6/protos.h diff -Nru a/protos.h b/protos.h
--- protos.h Sun Feb 1 18:15:17 2004 --- a/protos.h 2005-01-29 17:07:15 +01:00
+++ protos.h Tue Feb 10 14:40:41 2004 +++ b/protos.h 2005-01-29 17:07:15 +01:00
@@ -148,6 +148,7 @@ @@ -161,6 +161,7 @@
void mutt_block_signals_system (void); void mutt_block_signals_system (void);
void mutt_body_handler (BODY *, STATE *); void mutt_body_handler (BODY *, STATE *);
int mutt_bounce_message (FILE *fp, HEADER *, ADDRESS *); int mutt_bounce_message (FILE *fp, HEADER *, ADDRESS *);
@ -519,18 +485,18 @@ diff -ru work.old/mutt-1.5.6/protos.h work/mutt-1.5.6/protos.h
void mutt_buffy (char *, size_t); void mutt_buffy (char *, size_t);
int mutt_buffy_list (void); int mutt_buffy_list (void);
void mutt_canonical_charset (char *, size_t, const char *); void mutt_canonical_charset (char *, size_t, const char *);
@@ -289,6 +290,7 @@ @@ -302,6 +303,7 @@
int mutt_is_subscribed_list (ADDRESS *); int mutt_is_subscribed_list (ADDRESS *);
int mutt_is_text_part (BODY *); int mutt_is_text_part (BODY *);
int mutt_is_valid_mailbox (const char *); int mutt_is_valid_mailbox (const char *);
+int mutt_link_threads (HEADER *, HEADER *, CONTEXT *); +int mutt_link_threads (HEADER *, HEADER *, CONTEXT *);
int mutt_lookup_mime_type (BODY *, const char *); int mutt_lookup_mime_type (BODY *, const char *);
int mutt_match_rx_list (const char *, RX_LIST *); int mutt_match_rx_list (const char *, RX_LIST *);
int mutt_messages_in_thread (CONTEXT *, HEADER *, int); int mutt_match_spam_list (const char *, SPAM_LIST *, char *, int);
diff -ru work.old/mutt-1.5.6/thread.c work/mutt-1.5.6/thread.c diff -Nru a/thread.c b/thread.c
--- thread.c Sun Feb 1 18:10:58 2004 --- a/thread.c 2005-01-29 17:07:15 +01:00
+++ thread.c Tue Feb 10 14:40:41 2004 +++ b/thread.c 2005-01-29 17:07:15 +01:00
@@ -1336,3 +1336,105 @@ @@ -1340,3 +1340,105 @@
return hash; return hash;
} }

View File

@ -2,10 +2,10 @@ diff -Nru a/PATCHES b/PATCHES
--- a/PATCHES --- a/PATCHES
+++ b/PATCHES +++ b/PATCHES
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+mutt-cvs-header-cache.28 +mutt-cvs-header-cache.29
diff -Nru a/init.h b/init.h diff -Nru a/init.h b/init.h
--- a/init.h 2005-01-27 20:54:24 +01:00 --- a/init.h 2005-02-12 22:08:19 +01:00
+++ b/init.h 2005-01-28 15:12:41 +01:00 +++ b/init.h 2005-02-13 00:51:10 +01:00
@@ -1032,6 +1032,13 @@ @@ -1032,6 +1032,13 @@
** global header cache for all folders is used. Per default it is unset and so ** global header cache for all folders is used. Per default it is unset and so
** no header caching will be used. ** no header caching will be used.
@ -21,9 +21,9 @@ diff -Nru a/init.h b/init.h
/* /*
** .pp ** .pp
diff -Nru a/mh.c b/mh.c diff -Nru a/mh.c b/mh.c
--- a/mh.c 2005-01-27 20:45:37 +01:00 --- a/mh.c 2005-02-03 19:01:43 +01:00
+++ b/mh.c 2005-02-03 09:09:50 +01:00 +++ b/mh.c 2005-02-05 12:25:16 +01:00
@@ -787,6 +787,14 @@ @@ -791,6 +791,14 @@
return r; return r;
} }
@ -38,7 +38,7 @@ diff -Nru a/mh.c b/mh.c
#ifdef USE_INODESORT #ifdef USE_INODESORT
/* /*
* Merge two maildir lists according to the inode numbers. * Merge two maildir lists according to the inode numbers.
@@ -882,27 +890,67 @@ @@ -886,27 +894,67 @@
* This function does the second parsing pass for a maildir-style * This function does the second parsing pass for a maildir-style
* folder. * folder.
*/ */
@ -118,7 +118,7 @@ diff -Nru a/mh.c b/mh.c
/* Read a MH/maildir style mailbox. /* Read a MH/maildir style mailbox.
* *
@@ -1399,6 +1447,9 @@ @@ -1403,6 +1451,9 @@
{ {
char path[_POSIX_PATH_MAX], tmp[_POSIX_PATH_MAX]; char path[_POSIX_PATH_MAX], tmp[_POSIX_PATH_MAX];
int i, j; int i, j;
@ -128,7 +128,7 @@ diff -Nru a/mh.c b/mh.c
if (ctx->magic == M_MH) if (ctx->magic == M_MH)
i = mh_check_mailbox (ctx, index_hint); i = mh_check_mailbox (ctx, index_hint);
@@ -1408,6 +1459,11 @@ @@ -1412,6 +1463,11 @@
if (i != 0) if (i != 0)
return i; return i;
@ -140,7 +140,7 @@ diff -Nru a/mh.c b/mh.c
for (i = 0; i < ctx->msgcount; i++) for (i = 0; i < ctx->msgcount; i++)
{ {
if (ctx->hdrs[i]->deleted if (ctx->hdrs[i]->deleted
@@ -1416,7 +1472,13 @@ @@ -1420,7 +1476,13 @@
snprintf (path, sizeof (path), "%s/%s", ctx->path, ctx->hdrs[i]->path); snprintf (path, sizeof (path), "%s/%s", ctx->path, ctx->hdrs[i]->path);
if (ctx->magic == M_MAILDIR if (ctx->magic == M_MAILDIR
|| (option (OPTMHPURGE) && ctx->magic == M_MH)) || (option (OPTMHPURGE) && ctx->magic == M_MH))
@ -154,7 +154,7 @@ diff -Nru a/mh.c b/mh.c
else if (ctx->magic == M_MH) else if (ctx->magic == M_MH)
{ {
/* MH just moves files out of the way when you delete them */ /* MH just moves files out of the way when you delete them */
@@ -1438,16 +1500,21 @@ @@ -1442,16 +1504,21 @@
if (ctx->magic == M_MAILDIR) if (ctx->magic == M_MAILDIR)
{ {
if (maildir_sync_message (ctx, i) == -1) if (maildir_sync_message (ctx, i) == -1)
@ -178,7 +178,7 @@ diff -Nru a/mh.c b/mh.c
if (ctx->magic == M_MH) if (ctx->magic == M_MH)
mh_update_sequences (ctx); mh_update_sequences (ctx);
@@ -1468,6 +1535,13 @@ @@ -1472,6 +1539,13 @@
} }
return 0; return 0;
@ -193,9 +193,9 @@ diff -Nru a/mh.c b/mh.c
static char *maildir_canon_filename (char *dest, const char *src, size_t l) static char *maildir_canon_filename (char *dest, const char *src, size_t l)
diff -Nru a/mutt.h b/mutt.h diff -Nru a/mutt.h b/mutt.h
--- a/mutt.h 2005-01-27 20:54:24 +01:00 --- a/mutt.h 2005-02-12 21:19:25 +01:00
+++ b/mutt.h 2005-01-28 15:12:54 +01:00 +++ b/mutt.h 2005-02-13 00:51:10 +01:00
@@ -353,6 +353,9 @@ @@ -351,6 +351,9 @@
OPTFORCENAME, OPTFORCENAME,
OPTFORWDECODE, OPTFORWDECODE,
OPTFORWQUOTE, OPTFORWQUOTE,

View File

@ -1,7 +1,7 @@
--- doc/Makefile.in.orig Thu Jan 24 22:53:25 2002 --- doc/Makefile.in.orig Tue Feb 15 20:28:24 2005
+++ doc/Makefile.in Fri Aug 30 11:26:16 2002 +++ doc/Makefile.in Mon Mar 14 08:08:25 2005
@@ -61,13 +61,23 @@ @@ -63,13 +63,23 @@
topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog \ ChangeLog.old \
README NEWS TODO README.SECURITY README.SSL README NEWS TODO README.SECURITY README.SSL
-all: muttrc.man try-html try-txt -all: muttrc.man try-html try-txt
@ -27,7 +27,7 @@
install: all instdoc install: all instdoc
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
@@ -87,10 +97,6 @@ @@ -90,10 +100,6 @@
$(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \ $(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
done done
$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir) || true $(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir) || true
@ -38,11 +38,11 @@
uninstall: uninstall:
-rm -f $(DESTDIR)$(mandir)/man1/mutt.1 -rm -f $(DESTDIR)$(mandir)/man1/mutt.1
@@ -100,17 +106,20 @@ @@ -103,17 +109,20 @@
check: check:
manual.txt: manual.sgml manual.txt: manual.sgml
- if sgml2txt -c latin manual ; then \ - if linuxdoc -B txt --pass='-P -c' manual ; then \
- uniq < manual.txt | expand > _manual.txt ; \ - uniq < manual.txt | expand > _manual.txt ; \
- rm manual.txt ; \ - rm manual.txt ; \
+ if sgmlfmt -f ascii manual; then \ + if sgmlfmt -f ascii manual; then \
@ -53,14 +53,14 @@
manual.html: manual.sgml manual.html: manual.sgml
- sgml2html manual || true - sgml2html manual || true
+ sgmlfmt -f html manual || true + sgmlfmt -f html manual || true
+ +
+manual.latin1: manual.sgml +manual.latin1: manual.sgml
+ sgmlfmt -f latin1 manual || true + sgmlfmt -f latin1 manual || true
manual.ps: manual.sgml manual.ps: manual.sgml
- sgml2latex --output=ps manual || true - sgml2latex --output=ps manual || true
+ sgmlfmt -f ps manual || true + sgmlfmt -f ps manual || true
clean: clean:
rm -f *~ *.html *.orig *.rej stamp-doc-sgml stamp-doc-man *.ps rm -f *~ *.html *.orig *.rej stamp-doc-sgml stamp-doc-man *.ps

View File

@ -1,13 +0,0 @@
--- smime.c.orig2 Sat Feb 19 13:49:51 2005
+++ smime.c Sun Feb 20 08:58:35 2005
@@ -464,8 +464,8 @@
}
}
if (hash) {
- fname = safe_malloc(14); /* Hash + '.' + Suffix + \n + \0 */
- sprintf(fname, "%.8x.%i\n", Table[cur].hash, Table[cur].suffix);
+ fname = safe_malloc(13); /* Hash + '.' + Suffix + \0 */
+ sprintf(fname, "%.8x.%i", Table[cur].hash, Table[cur].suffix);
}
else fname = NULL;

View File

@ -133,7 +133,7 @@ EOF
fi fi
if [ "$MUTT_HTML" = "yes" ]; then if [ "$MUTT_HTML" = "yes" ]; then
html=382 html=383
if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
html=$(($html + 5)) html=$(($html + 5))
fi fi