summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/files
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-09-01 13:46:22 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-09-01 13:46:22 +0000
commit1783cd17e47eeecb8ae7da7b186c9a9273f5b3ab (patch)
tree88e810d3b747cadaa06c27f108993620d00e019d /mail/mutt-devel/files
parent- Update to 1.0.11 (diff)
- Update to 1.5.13
PR: ports/102697 Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Notes
Notes: svn path=/head/; revision=171806
Diffstat (limited to 'mail/mutt-devel/files')
-rw-r--r--mail/mutt-devel/files/extra-patch-sidebar10
-rw-r--r--mail/mutt-devel/files/patch-0221
-rw-r--r--mail/mutt-devel/files/patch-Makefile.am19
-rw-r--r--mail/mutt-devel/files/patch-contrib-Makefile.am (renamed from mail/mutt-devel/files/patch-contrib-Makefile.in)6
-rw-r--r--mail/mutt-devel/files/patch-examples74
-rw-r--r--mail/mutt-devel/files/patch-threadcomplete107
6 files changed, 80 insertions, 157 deletions
diff --git a/mail/mutt-devel/files/extra-patch-sidebar b/mail/mutt-devel/files/extra-patch-sidebar
deleted file mode 100644
index a3a2209fb93b..000000000000
--- a/mail/mutt-devel/files/extra-patch-sidebar
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.am.orig Fri Feb 4 18:12:14 2005
-+++ Makefile.am Fri Feb 4 18:17:17 2005
-@@ -195,6 +195,7 @@
- $(srcdir)/init.h | ./makedoc -c | cat Muttrc.head - > Muttrc
- touch stamp-doc-rc
-
-+mutt_SOURCES += sidebar.c
-
- .PHONY: commit pclean check-security commit-real commit-changelog
- .PHONY: changelog ChangeLog
diff --git a/mail/mutt-devel/files/patch-02 b/mail/mutt-devel/files/patch-02
index e4113b220cdb..97d8a13ab244 100644
--- a/mail/mutt-devel/files/patch-02
+++ b/mail/mutt-devel/files/patch-02
@@ -1,3 +1,24 @@
+--- doc/Makefile.am.orig Mon Aug 14 16:06:21 2006
++++ doc/Makefile.am Wed Aug 30 14:52:04 2006
+@@ -63,9 +63,6 @@
+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
+ done
+ -$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir)
+- -for f in $(HTML_DOCFILES) ; do \
+- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
+- done
+
+ uninstall-local:
+ for f in mutt.1 mutt_dotlock.1 flea.1 muttbug.1 ; do \
+@@ -82,7 +79,7 @@
+
+ check:
+ manual.txt: manual.html
+- -lynx -dump -nolist -with_backspaces $^ > $@ || w3m -dump $^ > $@
++ -lynx -dump -nolist -with_backspaces manual.html > $@ || w3m -dump $^ > $@
+
+ manual.html: $(srcdir)/html.xsl stamp-doc-xml
+ -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
--- doc/Makefile.in.orig1 Wed Jul 5 10:40:07 2006
+++ doc/Makefile.in Mon Jul 17 15:49:28 2006
@@ -71,7 +71,7 @@
diff --git a/mail/mutt-devel/files/patch-Makefile.am b/mail/mutt-devel/files/patch-Makefile.am
new file mode 100644
index 000000000000..4d2accd84dd8
--- /dev/null
+++ b/mail/mutt-devel/files/patch-Makefile.am
@@ -0,0 +1,19 @@
+--- Makefile.am.orig2 Fri Sep 1 14:27:36 2006
++++ Makefile.am Fri Sep 1 14:28:47 2006
+@@ -145,16 +145,12 @@
+ install-data-local: Muttrc
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
+ $(INSTALL) -m644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist
+- $(INSTALL) -m644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir)/mime.types.dist
+ -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
+ mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
+ elif [ -f $(DESTDIR)$(pkgdatadir)/../Muttrc ] ; then \
+ mv $(DESTDIR)$(pkgdatadir)/../Muttrc* $(DESTDIR)$(sysconfdir) ; \
+ elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
+ $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir) ; \
+- fi
+- -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
+- $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \
+ fi
+
+ uninstall-local:
diff --git a/mail/mutt-devel/files/patch-contrib-Makefile.in b/mail/mutt-devel/files/patch-contrib-Makefile.am
index 0ece4939f9b0..2328b65e1b37 100644
--- a/mail/mutt-devel/files/patch-contrib-Makefile.in
+++ b/mail/mutt-devel/files/patch-contrib-Makefile.am
@@ -1,6 +1,6 @@
---- contrib/Makefile.in.orig Wed Apr 2 10:57:06 2003
-+++ contrib/Makefile.in Mon Mar 21 08:22:47 2005
-@@ -20,7 +20,7 @@
+--- contrib/Makefile.am.orig Tue Jul 18 20:04:14 2006
++++ contrib/Makefile.am Wed Aug 30 16:15:04 2006
+@@ -2,7 +2,7 @@
subdir = contrib
diff --git a/mail/mutt-devel/files/patch-examples b/mail/mutt-devel/files/patch-examples
index 05dcb5200635..5b530c4d92fd 100644
--- a/mail/mutt-devel/files/patch-examples
+++ b/mail/mutt-devel/files/patch-examples
@@ -1,29 +1,29 @@
---- contrib/Makefile.in.orig Mon Jun 4 19:14:31 2001
-+++ contrib/Makefile.in Wed Mar 26 11:45:15 2003
-@@ -12,6 +12,7 @@
- mandir = @mandir@
- srcdir = @srcdir@
- docdir = @docdir@
+--- contrib/Makefile.am.orig Tue Jul 18 20:04:14 2006
++++ contrib/Makefile.am Wed Aug 30 16:05:33 2006
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 3.1 2006/07/18 18:04:14 brendan Exp $
+
+ subdir = contrib
+samplesdir = @samplesdir@
- top_srcdir = @top_srcdir@
- top_builddir = ..
- INSTALL = @INSTALL@
-@@ -37,12 +38,12 @@
- check:
- install:
+ SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
+ sample.muttrc sample.mailcap sample.muttrc-tlr \
+@@ -14,12 +15,12 @@
+ iconv/make.sh
+
+ install-data-local:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(samplesdir) $(DESTDIR)$(samplesdir)/iconv
for f in $(SAMPLES) ; do \
- $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(samplesdir); \
++ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(samplesdir) ; \
done
for f in $(srcdir)/iconv/*.rc ; do \
- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(samplesdir)/iconv ; \
++ $(INSTALL) -m 644 $$f $(DESTDIR)$(samplesdir)/iconv ; \
done
- # Nothing needs to be done - uninstall in doc removes samples as well.
+ uninstall-local:
--- init.h.orig Tue Mar 4 10:28:12 2003
+++ init.h Wed Mar 26 15:41:19 2003
@@ -1455,8 +1455,8 @@
@@ -48,14 +48,14 @@
** (S/MIME only)
*/
{ "smime_verify_command", DT_STR, R_NONE, UL &SmimeVerifyCommand, 0},
---- Makefile.am.orig Mon Jul 17 15:31:10 2006
-+++ Makefile.am Mon Jul 17 15:32:52 2006
+--- Makefile.am.orig Wed Aug 30 14:30:28 2006
++++ Makefile.am Wed Aug 30 14:31:49 2006
@@ -13,7 +13,7 @@
bin_SCRIPTS = muttbug flea @SMIMEAUX_TARGET@
--BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h
-+BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h Muttrc
+-BUILT_SOURCES = keymap_defs.h patchlist.c
++BUILT_SOURCES = keymap_defs.h patchlist.c Muttrc
bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@
mutt_SOURCES = $(BUILT_SOURCES) \
@@ -77,27 +77,27 @@
into your system's global Muttrc, which normally resides in /etc or
/usr/local/etc.
---- doc/manual.txt.orig Thu Sep 15 16:22:18 2005
-+++ doc/manual.txt Sun Sep 18 15:31:13 2005
-@@ -5004,8 +5004,8 @@
+--- doc/manual.txt.orig Mon Aug 14 16:10:04 2006
++++ doc/manual.txt Wed Aug 30 14:34:46 2006
+@@ -5971,8 +5971,8 @@
- For examples on how to configure these formats for the various
- versions of PGP which are floating around, see the pgp*.rc and gpg.rc
-- files in the samples/ subdirectory which has been installed on your
-- system alongside the documentation. (PGP only)
-+ files in the share/examples/mutt/ subdirectory which has been installed
-+ on your system alongside the documentation. (PGP only)
+ For examples on how to configure these formats for the various versions of
+ PGP which are floating around, see the pgp*.rc and gpg.rc files in the
+- samples/ subdirectory which has been installed on your system alongside the
+- documentation. (PGP only)
++ share/examples/mutt/ subdirectory which has been installed on your system
++ alongside the documentation. (PGP only)
- 6.3.160. pgp_getkeys_command
+ 3.163. pgp_getkeys_command
-@@ -5203,8 +5203,8 @@
- $$ssmmiimmee__ccaa__llooccaattiioonn" or "-CAfile $$ssmmiimmee__ccaa__llooccaattiioonn".
+@@ -6164,8 +6164,8 @@
+ "-CAfile $smime_ca_location".
- For examples on how to configure these formats, see the smime.rc in
-- the samples/ subdirectory which has been installed on your system
-- alongside the documentation. (S/MIME only)
-+ the share/examples/mutt/ subdirectory which has been installed on
-+ your system alongside the documentation. (S/MIME only)
+ For examples on how to configure these formats, see the smime.rc in the
+- samples/ subdirectory which has been installed on your system alongside the
+- documentation. (S/MIME only)
++ share/examples/mutt/ subdirectory which has been installed on your system
++ alongside the documentation. (S/MIME only)
- 6.3.179. smime_verify_command
+ 3.182. smime_verify_command
diff --git a/mail/mutt-devel/files/patch-threadcomplete b/mail/mutt-devel/files/patch-threadcomplete
index 195c9a736126..d151009ec1d7 100644
--- a/mail/mutt-devel/files/patch-threadcomplete
+++ b/mail/mutt-devel/files/patch-threadcomplete
@@ -1,110 +1,3 @@
-diff -Nru a/PATCHES b/PATCHES
---- PATCHES
-+++ PATCHES
-@@ -0,0 +1 @@
-+patch-1.5.6+20040904.tg.mutt-thread.3
-diff -Nru a/mutt.h b/mutt.h
---- mutt.h 2004-07-24 12:27:21 +02:00
-+++ mutt.h 2004-09-04 12:36:18 +02:00
-@@ -211,6 +211,7 @@
- /* actions for mutt_pattern_comp/mutt_pattern_exec */
- M_AND,
- M_OR,
-+ M_THREAD,
- M_TO,
- M_CC,
- M_COLLAPSED,
-diff -Nru a/pattern.c b/pattern.c
---- pattern.c 2004-07-24 12:27:23 +02:00
-+++ pattern.c 2004-09-04 12:37:52 +02:00
-@@ -700,7 +700,7 @@
- pattern_t *mutt_pattern_comp (/* const */ char *s, int flags, BUFFER *err)
- {
- pattern_t *curlist = NULL;
-- pattern_t *tmp;
-+ pattern_t *tmp, *tmp2;
- pattern_t *last = NULL;
- int not = 0;
- int alladdr = 0;
-@@ -755,6 +755,39 @@
- alladdr = 0;
- break;
- case '~':
-+ if (*(ps.dptr + 1) == '(') {
-+ ps.dptr ++; /* skip ~ */
-+ p = find_matching_paren (ps.dptr + 1);
-+ if (*p != ')')
-+ {
-+ snprintf (err->data, err->dsize, _("mismatched brackets: %s"), ps.dptr);
-+ mutt_pattern_free (&curlist);
-+ return NULL;
-+ }
-+ tmp = new_pattern ();
-+ tmp->op = M_THREAD;
-+ if (last)
-+ last->next = tmp;
-+ else
-+ curlist = tmp;
-+ last = tmp;
-+ tmp->not ^= not;
-+ tmp->alladdr |= alladdr;
-+ not = 0;
-+ alladdr = 0;
-+ /* compile the sub-expression */
-+ buf = mutt_substrdup (ps.dptr + 1, p);
-+ if ((tmp2 = mutt_pattern_comp (buf, flags, err)) == NULL)
-+ {
-+ FREE (&buf);
-+ mutt_pattern_free (&curlist);
-+ return NULL;
-+ }
-+ FREE (&buf);
-+ tmp->child = tmp2;
-+ ps.dptr = p + 1; /* restore location */
-+ break;
-+ }
- if (implicit && or)
- {
- /* A | B & C == (A | B) & C */
-@@ -945,6 +978,29 @@
- return alladdr;
- }
-
-+static int match_threadcomplete(struct pattern_t *pat, pattern_exec_flag flags, CONTEXT *ctx, THREAD *t,int left,int up,int right,int down)
-+{
-+ int a;
-+ HEADER *h;
-+
-+ if(!t)
-+ return 0;
-+ h = t->message;
-+ if(h)
-+ if(mutt_pattern_exec(pat, flags, ctx, h))
-+ return 1;
-+
-+ if(up && (a=match_threadcomplete(pat, flags, ctx, t->parent,1,1,1,0)))
-+ return a;
-+ if(right && t->parent && (a=match_threadcomplete(pat, flags, ctx, t->next,0,0,1,1)))
-+ return a;
-+ if(left && t->parent && (a=match_threadcomplete(pat, flags, ctx, t->prev,1,0,0,1)))
-+ return a;
-+ if(down && (a=match_threadcomplete(pat, flags, ctx, t->child,1,0,1,1)))
-+ return a;
-+ return 0;
-+}
-+
- /* flags
- M_MATCH_FULL_ADDRESS match both personal and machine address */
- int
-@@ -958,6 +1014,8 @@
- return (pat->not ^ (perform_and (pat->child, flags, ctx, h) > 0));
- case M_OR:
- return (pat->not ^ (perform_or (pat->child, flags, ctx, h) > 0));
-+ case M_THREAD:
-+ return (pat->not ^ match_threadcomplete(pat->child, flags, ctx, h->thread, 1, 1, 1, 1));
- case M_ALL:
- return (!pat->not);
- case M_EXPIRED:
--- mutt.h.orig2 Mon Sep 6 09:24:17 2004
+++ mutt.h Mon Sep 6 09:27:04 2004
@@ -212,6 +212,7 @@