This commit is contained in:
commit
41c0019edc
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
8
README.alternates
Normal file
8
README.alternates
Normal file
@ -0,0 +1,8 @@
|
||||
Since Mutt version 1.5.6 there's changes with regards to the $alternates
|
||||
variable. It's no longer a variable, but a command.
|
||||
|
||||
When it before was: set alternates=foo@bar.org
|
||||
It's now: alternates foo@bar.org
|
||||
|
||||
It's elaborated in the alternates section of the manpage muttrc.5
|
||||
|
94
Signature_conversion
Normal file
94
Signature_conversion
Normal file
@ -0,0 +1,94 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Wed May 7 14:36:35 2003 Mike FABIAN <mfabian@suse.de>
|
||||
|
||||
SIGFILE=$1
|
||||
|
||||
if [ ! -e $SIGFILE ] ; then
|
||||
# there is no such signature file, do nothing
|
||||
exit 0
|
||||
fi
|
||||
|
||||
guess_legacy_encoding () {
|
||||
# Guess the legacy encoding used by the language/country
|
||||
# found in the current LC_CTYPE value.
|
||||
|
||||
# First determine the LC_CTYPE locale category setting
|
||||
ctype="en_US"
|
||||
ctype=${LC_ALL-${LC_CTYPE-${LANG-${ctype}}}}
|
||||
|
||||
case $ctype in
|
||||
zh_TW*)
|
||||
LEGACY_ENCODING=Big5
|
||||
;;
|
||||
zh_HK*)
|
||||
LEGACY_ENCODING=Big5HKSCS
|
||||
;;
|
||||
zh*)
|
||||
LEGACY_ENCODING=GB2312
|
||||
;;
|
||||
ja*)
|
||||
LEGACY_ENCODING=EUC-JP
|
||||
;;
|
||||
ko*)
|
||||
LEGACY_ENCODING=EUC-KR
|
||||
;;
|
||||
ru*)
|
||||
LEGACY_ENCODING=KOI8-R
|
||||
;;
|
||||
uk*)
|
||||
LEGACY_ENCODING=KOI8-U
|
||||
;;
|
||||
pl*|hr*|hu*|cs*|sk*|sl*)
|
||||
LEGACY_ENCODING=ISO-8859-2
|
||||
;;
|
||||
eo*|mt*)
|
||||
LEGACY_ENCODING=ISO-8859-3
|
||||
;;
|
||||
el*)
|
||||
LEGACY_ENCODING=ISO-8859-7
|
||||
;;
|
||||
he*)
|
||||
LEGACY_ENCODING=ISO-8859-8
|
||||
;;
|
||||
tr*)
|
||||
LEGACY_ENCODING=ISO-8859-9
|
||||
;;
|
||||
th*)
|
||||
LEGACY_ENCODING=TIS-620 # or ISO-8859-11
|
||||
;;
|
||||
lt*)
|
||||
LEGACY_ENCODING=ISO-8859-13
|
||||
;;
|
||||
cy*)
|
||||
LEGACY_ENCODING=ISO-8859-14
|
||||
;;
|
||||
ro*)
|
||||
LEGACY_ENCODING=ISO-8859-14 # or ISO-8859-16
|
||||
;;
|
||||
am*|vi*)
|
||||
LEGACY_ENCODING=UTF-8
|
||||
;;
|
||||
*)
|
||||
LEGACY_ENCODING=ISO-8859-1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
guess_legacy_encoding;
|
||||
|
||||
LOCALE_CHARMAP=$(locale charmap)
|
||||
|
||||
for encoding in UTF-8 $LOCALE_CHARMAP $LEGACY_ENCODING ISO-8859-1
|
||||
do
|
||||
if iconv --from $encoding --to $LOCALE_CHARMAP < $SIGFILE > /dev/null 2>&1 ; then
|
||||
iconv --from $encoding --to $LOCALE_CHARMAP < $SIGFILE
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
# unknown encoding in signature file, print it to stdout unchanged:
|
||||
# (should never happen because the conversion from ISO-8859-1 should
|
||||
# never return a failure).
|
||||
|
||||
cat $SIGFILE
|
162
mutt-1.5.11-wrapcolumn.diff
Normal file
162
mutt-1.5.11-wrapcolumn.diff
Normal file
@ -0,0 +1,162 @@
|
||||
2005-05-09 12:27:44 Manfred Hollstein <mh@novell.com>
|
||||
|
||||
* globals.h (WrapColumn): Add new global variable.
|
||||
* init.h (MuttVars): Likewise.
|
||||
* init.c (mutt_init): Add warning message about deprecation of
|
||||
wrapmargin variable in favour of new wrapcolumn. Map uses of
|
||||
wrapmargin onto corresponding settings for wrapcolumn.
|
||||
* handler.c (text_enriched_handler): Initialize .WrapMargin field
|
||||
under consideration of the new variable WrapColumn.
|
||||
(text_plain_flowed_handler): Likewise for flowed_max.
|
||||
* pager.c (format_line): Likewise for wrap_cols.
|
||||
* Muttrc, doc/manual.sgml: Add documentation for new variable.
|
||||
* doc/manual*.html, doc/manual.txt, doc/muttrc.man: Regenerate.
|
||||
|
||||
--- mutt-1.5.11/Muttrc
|
||||
+++ mutt-1.5.11/Muttrc 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -4103,6 +4103,21 @@ set tilde=yes
|
||||
# unset, searches will not wrap.
|
||||
#
|
||||
#
|
||||
+# set wrapcolumn=0
|
||||
+#
|
||||
+# Name: wrapcolumn
|
||||
+# Type: number
|
||||
+# Default: 0
|
||||
+#
|
||||
+#
|
||||
+# Controls at which column mutt's pager does smart wrapping. If
|
||||
+# set to 0, no smart wrapping is done. If set to a negative value,
|
||||
+# mutt's pager wraps at screen width - absolute value (wrapcolumn);
|
||||
+# if set to a positive value, it'll wrap at that column. If the
|
||||
+# absolute value of wrapcolumn is larger than what the current
|
||||
+# display can handle, this value is ignored.
|
||||
+#
|
||||
+#
|
||||
# set wrapmargin=0
|
||||
#
|
||||
# Name: wrapmargin
|
||||
@@ -4112,6 +4127,8 @@ set tilde=yes
|
||||
#
|
||||
# Controls the size of the margin remaining at the right side of
|
||||
# the terminal when mutt's pager does smart wrapping.
|
||||
+#
|
||||
+# Note, this variable will be replaced by wrapcolumn in future releases.
|
||||
#
|
||||
#
|
||||
# set write_inc=10
|
||||
--- mutt-1.5.11/globals.h
|
||||
+++ mutt-1.5.11/globals.h 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -177,6 +177,7 @@ WHERE short ReadInc;
|
||||
WHERE short SendmailWait;
|
||||
WHERE short SleepTime INITVAL (1);
|
||||
WHERE short Timeout;
|
||||
+WHERE short WrapColumn;
|
||||
WHERE short WrapMargin;
|
||||
WHERE short WriteInc;
|
||||
|
||||
--- mutt-1.5.11/handler.c
|
||||
+++ mutt-1.5.11/handler.c 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -780,7 +780,12 @@ int text_enriched_handler (BODY *a, STAT
|
||||
|
||||
memset (&stte, 0, sizeof (stte));
|
||||
stte.s = s;
|
||||
- stte.WrapMargin = ((s->flags & M_DISPLAY) ? (COLS-4) : ((COLS-4)<72)?(COLS-4):72);
|
||||
+ if (WrapColumn > 0)
|
||||
+ stte.WrapMargin = ((s->flags & M_DISPLAY) ? (MIN (COLS-4, WrapColumn)) : ((MIN (COLS-4, WrapColumn))<72)?(MIN (COLS-4, WrapColumn)):72);
|
||||
+ else if (WrapColumn < 0)
|
||||
+ stte.WrapMargin = ((s->flags & M_DISPLAY) ? (COLS-WrapColumn) : ((COLS-WrapColumn)<72)?(COLS-WrapColumn):72);
|
||||
+ if (WrapColumn == 0 || stte.WrapMargin < 0)
|
||||
+ stte.WrapMargin = ((s->flags & M_DISPLAY) ? (COLS-4) : ((COLS-4)<72)?(COLS-4):72);
|
||||
stte.line_max = stte.WrapMargin * 4;
|
||||
stte.line = (char *) safe_calloc (1, stte.line_max + 1);
|
||||
stte.param = (char *) safe_calloc (1, STRING);
|
||||
@@ -996,8 +1001,15 @@ static int text_plain_flowed_handler (BO
|
||||
|
||||
if ((flowed_max = FLOWED_MAX) > COLS - 3)
|
||||
flowed_max = COLS - 3;
|
||||
- if (flowed_max > COLS - WrapMargin)
|
||||
- flowed_max = COLS - WrapMargin;
|
||||
+ if (WrapColumn > 0)
|
||||
+ {
|
||||
+ if (flowed_max > WrapColumn)
|
||||
+ flowed_max = WrapColumn;
|
||||
+ }
|
||||
+ else if (WrapColumn < 0)
|
||||
+ {
|
||||
+ flowed_max = COLS + WrapColumn;
|
||||
+ }
|
||||
if (flowed_max <= 0)
|
||||
flowed_max = COLS;
|
||||
|
||||
--- mutt-1.5.11/init.c
|
||||
+++ mutt-1.5.11/init.c 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -2476,6 +2476,25 @@ void mutt_init (int skip_sys_rc, LIST *c
|
||||
exit (1);
|
||||
}
|
||||
|
||||
+ if (WrapMargin != 0)
|
||||
+ {
|
||||
+ fputs ("wrapmargin: Usage of this variable is deprecated. It will be replaced by\n", stderr);
|
||||
+ fputs (" ``wrapcolumn'' in future releases. Please read the documentation and change\n", stderr);
|
||||
+ fputs (" your muttrc files accordingly.\n", stderr);
|
||||
+ if (WrapColumn != 0)
|
||||
+ {
|
||||
+ fputs (" You defined both ``wrapmargin'' and ``wrapcolumn'' in your muttrc files.\n", stderr);
|
||||
+ fputs (" The setting of ``wrapmargin'' will be ignored.\n", stderr);
|
||||
+ }
|
||||
+ need_pause = 1;
|
||||
+
|
||||
+ if (WrapColumn == 0) /* Map wrapmargin's settings onto wrapcolumn. */
|
||||
+ WrapColumn = -WrapMargin;
|
||||
+ /* Ignore any wrap-points outside of the display's width. */
|
||||
+ if (WrapColumn > COLS || -WrapColumn > COLS)
|
||||
+ WrapColumn = 0;
|
||||
+ }
|
||||
+
|
||||
if (mutt_execute_commands (commands) != 0)
|
||||
need_pause = 1;
|
||||
|
||||
--- mutt-1.5.11/init.h
|
||||
+++ mutt-1.5.11/init.h 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -2876,11 +2876,23 @@ struct option_t MuttVars[] = {
|
||||
** When set, searches will wrap around the first (or last) message. When
|
||||
** unset, searches will not wrap.
|
||||
*/
|
||||
+ { "wrapcolumn", DT_NUM, R_PAGER, UL &WrapColumn, 0 },
|
||||
+ /*
|
||||
+ ** .pp
|
||||
+ ** Controls at which column mutt's pager does smart wrapping. If
|
||||
+ ** set to 0, no smart wrapping is done. If set to a negative value,
|
||||
+ ** mutt's pager wraps at screen width - absolute value (wrapcolumn);
|
||||
+ ** if set to a positive value, it'll wrap at that column. If the
|
||||
+ ** absolute value of wrapcolumn is larger than what the current
|
||||
+ ** display can handle, this value is ignored.
|
||||
+ */
|
||||
{ "wrapmargin", DT_NUM, R_PAGER, UL &WrapMargin, 0 },
|
||||
/*
|
||||
** .pp
|
||||
** Controls the size of the margin remaining at the right side of
|
||||
** the terminal when mutt's pager does smart wrapping.
|
||||
+ ** .pp
|
||||
+ ** Note, wrapmargin will be replaced by wrapcolumn in future releases.
|
||||
*/
|
||||
{ "write_inc", DT_NUM, R_NONE, UL &WriteInc, 10 },
|
||||
/*
|
||||
--- mutt-1.5.11/pager.c
|
||||
+++ mutt-1.5.11/pager.c 2006-06-28 19:52:05.000000000 +0200
|
||||
@@ -1065,8 +1065,12 @@ static int format_line (struct line_t **
|
||||
int ch, vch, k, last_special = -1, special = 0, t;
|
||||
wchar_t wc;
|
||||
mbstate_t mbstate;
|
||||
-
|
||||
- int wrap_cols = COLS - WrapMargin;
|
||||
+ int wrap_cols;
|
||||
+
|
||||
+ if (WrapColumn <= 0)
|
||||
+ wrap_cols = COLS + WrapColumn;
|
||||
+ else if (WrapColumn > 0)
|
||||
+ wrap_cols = MIN (WrapColumn, COLS);
|
||||
|
||||
if (wrap_cols <= 0)
|
||||
wrap_cols = COLS;
|
243
mutt-1.5.13-opennfs.dif
Normal file
243
mutt-1.5.13-opennfs.dif
Normal file
@ -0,0 +1,243 @@
|
||||
--- Makefile.am
|
||||
+++ Makefile.am 2006-10-06 18:28:31.000000000 +0200
|
||||
@@ -23,7 +23,7 @@ mutt_SOURCES = $(BUILT_SOURCES) \
|
||||
edit.c enter.c flags.c init.c filter.c from.c \
|
||||
getdomain.c group.c \
|
||||
handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c \
|
||||
- main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c \
|
||||
+ main.c mbox.c menu.c mh.c mx.c opennfs.c pager.c parse.c pattern.c \
|
||||
postpone.c query.c recvattach.c recvcmd.c \
|
||||
rfc822.c rfc1524.c rfc2047.c rfc2231.c \
|
||||
score.c send.c sendlib.c signal.c sort.c \
|
||||
@@ -86,7 +86,7 @@ mutt_dotlock_SOURCES = mutt_dotlock.c
|
||||
mutt_dotlock_LDADD = @LIBOBJS@
|
||||
mutt_dotlock_DEPENDENCIES = @LIBOBJS@
|
||||
|
||||
-pgpring_SOURCES = pgppubring.c pgplib.c lib.c extlib.c sha1.c md5c.c pgppacket.c ascii.c
|
||||
+pgpring_SOURCES = pgppubring.c pgplib.c lib.c extlib.c sha1.c md5c.c pgppacket.c ascii.c opennfs.c
|
||||
pgpring_LDADD = @LIBOBJS@ $(INTLLIBS)
|
||||
pgpring_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS)
|
||||
|
||||
--- Makefile.in
|
||||
+++ Makefile.in 2006-10-06 18:28:50.000000000 +0200
|
||||
@@ -80,7 +80,7 @@ am_mutt_OBJECTS = $(am__objects_1) addrb
|
||||
group.$(OBJEXT) handler.$(OBJEXT) hash.$(OBJEXT) \
|
||||
hdrline.$(OBJEXT) headers.$(OBJEXT) help.$(OBJEXT) \
|
||||
hook.$(OBJEXT) keymap.$(OBJEXT) main.$(OBJEXT) mbox.$(OBJEXT) \
|
||||
- menu.$(OBJEXT) mh.$(OBJEXT) mx.$(OBJEXT) pager.$(OBJEXT) \
|
||||
+ menu.$(OBJEXT) mh.$(OBJEXT) mx.$(OBJEXT) opennfs.$(OBJEXT) pager.$(OBJEXT) \
|
||||
parse.$(OBJEXT) pattern.$(OBJEXT) postpone.$(OBJEXT) \
|
||||
query.$(OBJEXT) recvattach.$(OBJEXT) recvcmd.$(OBJEXT) \
|
||||
rfc822.$(OBJEXT) rfc1524.$(OBJEXT) rfc2047.$(OBJEXT) \
|
||||
@@ -101,7 +101,7 @@ pgpewrap_LDADD = $(LDADD)
|
||||
pgpewrap_DEPENDENCIES = @LIBOBJS@
|
||||
am_pgpring_OBJECTS = pgppubring.$(OBJEXT) pgplib.$(OBJEXT) \
|
||||
lib.$(OBJEXT) extlib.$(OBJEXT) sha1.$(OBJEXT) md5c.$(OBJEXT) \
|
||||
- pgppacket.$(OBJEXT) ascii.$(OBJEXT)
|
||||
+ pgppacket.$(OBJEXT) ascii.$(OBJEXT) opennfs.$(OBJEXT)
|
||||
pgpring_OBJECTS = $(am_pgpring_OBJECTS)
|
||||
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
||||
SCRIPTS = $(bin_SCRIPTS)
|
||||
@@ -301,7 +301,7 @@ mutt_SOURCES = $(BUILT_SOURCES) \
|
||||
edit.c enter.c flags.c init.c filter.c from.c \
|
||||
getdomain.c group.c \
|
||||
handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c \
|
||||
- main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c \
|
||||
+ main.c mbox.c menu.c mh.c mx.c opennfs.c pager.c parse.c pattern.c \
|
||||
postpone.c query.c recvattach.c recvcmd.c \
|
||||
rfc822.c rfc1524.c rfc2047.c rfc2231.c \
|
||||
score.c send.c sendlib.c signal.c sort.c \
|
||||
--- lib.c
|
||||
+++ lib.c 2006-10-06 18:06:57.000000000 +0200
|
||||
@@ -46,6 +46,7 @@
|
||||
#define EX_OK 0
|
||||
#endif
|
||||
|
||||
+#include "mutt.h"
|
||||
#include "lib.h"
|
||||
|
||||
static struct sysexits
|
||||
@@ -486,7 +487,7 @@ int safe_open (const char *path, int fla
|
||||
struct stat osb, nsb;
|
||||
int fd;
|
||||
|
||||
- if ((fd = open (path, flags, 0600)) < 0)
|
||||
+ if ((fd = opennfs (path, flags, 0600)) < 0)
|
||||
return fd;
|
||||
|
||||
/* make sure the file is not symlink */
|
||||
--- mbox.c
|
||||
+++ mbox.c 2006-10-06 18:09:47.000000000 +0200
|
||||
@@ -725,7 +725,7 @@ int mbox_sync_mailbox (CONTEXT *ctx, int
|
||||
|
||||
/* Create a temporary file to write the new version of the mailbox in. */
|
||||
mutt_mktemp (tempfile);
|
||||
- if ((i = open (tempfile, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1 ||
|
||||
+ if ((i = opennfs (tempfile, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1 ||
|
||||
(fp = fdopen (i, "w")) == NULL)
|
||||
{
|
||||
if (-1 != i)
|
||||
--- mh.c
|
||||
+++ mh.c 2006-10-06 18:01:07.000000000 +0200
|
||||
@@ -206,7 +206,7 @@ static int mh_mkstemp (CONTEXT * dest, F
|
||||
{
|
||||
snprintf (path, _POSIX_PATH_MAX, "%s/.mutt-%s-%d-%d",
|
||||
dest->path, NONULL (Hostname), (int) getpid (), Counter++);
|
||||
- if ((fd = open (path, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1)
|
||||
+ if ((fd = opennfs (path, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1)
|
||||
{
|
||||
if (errno != EEXIST)
|
||||
{
|
||||
@@ -1137,7 +1137,7 @@ int maildir_open_new_message (MESSAGE *
|
||||
dprint (2, (debugfile, "maildir_open_new_message (): Trying %s.\n",
|
||||
path));
|
||||
|
||||
- if ((fd = open (path, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1)
|
||||
+ if ((fd = opennfs (path, O_WRONLY | O_EXCL | O_CREAT, 0600)) == -1)
|
||||
{
|
||||
if (errno != EEXIST)
|
||||
{
|
||||
--- mutt.h
|
||||
+++ mutt.h 2006-10-06 17:58:56.000000000 +0200
|
||||
@@ -929,4 +929,5 @@ typedef struct
|
||||
#include "lib.h"
|
||||
#include "globals.h"
|
||||
|
||||
+extern int opennfs(const char *, int, int);
|
||||
#endif /*MUTT_H*/
|
||||
--- opennfs.c
|
||||
+++ opennfs.c 2006-10-10 14:28:12.000000000 +0200
|
||||
@@ -0,0 +1,122 @@
|
||||
+#include <errno.h>
|
||||
+#include <fcntl.h>
|
||||
+#include <libgen.h>
|
||||
+#include <limits.h>
|
||||
+#include <nfs/nfs.h>
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <sys/vfs.h>
|
||||
+#include <unistd.h>
|
||||
+
|
||||
+#ifndef NFS_SUPER_MAGIC
|
||||
+# define NFS_SUPER_MAGIC 0x6969
|
||||
+#endif
|
||||
+
|
||||
+int opennfs(const char *path, int flags, int mode)
|
||||
+{
|
||||
+ char tmplock[NFS_MAXPATHLEN+1], sysname[256];
|
||||
+ char *slash, *ptr, *dir, *base, *clear = (char*)0;
|
||||
+ struct stat ps, ts;
|
||||
+ struct statfs fs;
|
||||
+ ssize_t len;
|
||||
+ int ret;
|
||||
+
|
||||
+ if ((flags & (O_WRONLY|O_RDWR)) == 0)
|
||||
+ goto safe;
|
||||
+
|
||||
+ if ((flags & (O_EXCL|O_CREAT)) != (O_EXCL|O_CREAT))
|
||||
+ goto safe;
|
||||
+
|
||||
+#if defined(O_NOFOLLOW)
|
||||
+ flags |= O_NOFOLLOW;
|
||||
+#endif
|
||||
+
|
||||
+ ret = -1;
|
||||
+ if ((clear = strdup(path)) == (char*)0)
|
||||
+ goto err;
|
||||
+ dir = dirname(clear);
|
||||
+
|
||||
+ if ((ret = (statfs(dir, &fs))) < 0)
|
||||
+ goto err;
|
||||
+
|
||||
+ if (fs.f_type != NFS_SUPER_MAGIC)
|
||||
+ goto safe;
|
||||
+
|
||||
+ if ((ret = gethostname(sysname, sizeof(sysname))) < 0)
|
||||
+ goto err;
|
||||
+
|
||||
+ ret = -1;
|
||||
+ ptr = &tmplock[0];
|
||||
+ if (((len = snprintf(ptr, NFS_MAXPATHLEN, "%s/.%s-XXXXXX", dir, sysname)) < 0) || (len >= NFS_MAXPATHLEN))
|
||||
+ goto err;
|
||||
+ ptr += len;
|
||||
+ slash = ptr;
|
||||
+
|
||||
+ free(clear);
|
||||
+ clear = (char*)0;
|
||||
+
|
||||
+ if (mkdtemp(tmplock) == (char*)0)
|
||||
+ goto err;
|
||||
+
|
||||
+ ret = -1;
|
||||
+ if ((clear = strdup(path)) == (char*)0)
|
||||
+ goto rmd;
|
||||
+ base = basename(clear);
|
||||
+
|
||||
+ ret = -1;
|
||||
+ if (((len = snprintf(ptr, NFS_MAXPATHLEN - len, "/%s", base)) < 0) || (len >= (NFS_MAXPATHLEN - len)))
|
||||
+ goto rmd;
|
||||
+
|
||||
+ free(clear);
|
||||
+ clear = (char*)0;
|
||||
+
|
||||
+ if ((ret = open(tmplock, flags, mode)) < 0)
|
||||
+ goto rmd;
|
||||
+
|
||||
+ errno = 0;
|
||||
+ do {
|
||||
+ len = write(ret, "0", 2);
|
||||
+ } while ((len < 0) && (errno == EINTR));
|
||||
+ close(ret);
|
||||
+
|
||||
+ ret = -1;
|
||||
+ errno = EBADF;
|
||||
+ if (len != 2)
|
||||
+ goto unl;
|
||||
+
|
||||
+ errno = 0;
|
||||
+ if ((ret = lstat(tmplock, &ts)) < 0)
|
||||
+ goto unl;
|
||||
+
|
||||
+ if (((ret = link(tmplock, path)) < 0) && (errno == EEXIST))
|
||||
+ goto unl;
|
||||
+
|
||||
+ if ((ret = lstat(path, &ps)) < 0)
|
||||
+ goto unl;
|
||||
+
|
||||
+ ret = -1;
|
||||
+ errno = EEXIST;
|
||||
+ if (ps.st_nlink != 2)
|
||||
+ goto unl;
|
||||
+ if ((ps.st_rdev != ts.st_rdev) || (ps.st_ino != ts.st_ino))
|
||||
+ goto unl;
|
||||
+
|
||||
+ errno = 0;
|
||||
+ flags |= O_TRUNC;
|
||||
+ flags &= ~(O_EXCL|O_CREAT);
|
||||
+ ret = open(path, flags, mode);
|
||||
+unl:
|
||||
+ unlink(tmplock);
|
||||
+rmd:
|
||||
+ *slash = '\0';
|
||||
+ rmdir(tmplock);
|
||||
+err:
|
||||
+ if (clear) free(clear);
|
||||
+ return ret;
|
||||
+safe:
|
||||
+ if (clear) free(clear);
|
||||
+ return open(path, flags, mode);
|
||||
+}
|
||||
--- sendlib.c
|
||||
+++ sendlib.c 2006-10-06 18:03:56.000000000 +0200
|
||||
@@ -1799,7 +1799,7 @@ send_msg (const char *path, char **args,
|
||||
if (SendmailWait >= 0)
|
||||
{
|
||||
/* *tempfile will be opened as stdout */
|
||||
- if (open (*tempfile, O_WRONLY | O_APPEND | O_CREAT | O_EXCL, 0600) < 0)
|
||||
+ if (opennfs (*tempfile, O_WRONLY | O_CREAT | O_EXCL, 0600) < 0)
|
||||
_exit (S_ERR);
|
||||
/* redirect stderr to *tempfile too */
|
||||
if (dup (1) < 0)
|
307
mutt-1.5.13.dif
Normal file
307
mutt-1.5.13.dif
Normal file
@ -0,0 +1,307 @@
|
||||
--- Makefile.am
|
||||
+++ Makefile.am 2006-08-17 18:34:10.000000000 +0200
|
||||
@@ -54,7 +54,7 @@ DEFS=-DPKGDATADIR=\"$(pkgdatadir)\" -DSY
|
||||
|
||||
AM_CPPFLAGS=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl
|
||||
|
||||
-CPPFLAGS=@CPPFLAGS@ -I$(includedir)
|
||||
+CPPFLAGS=@CPPFLAGS@
|
||||
|
||||
|
||||
EXTRA_mutt_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.c \
|
||||
--- Muttrc
|
||||
+++ Muttrc 2006-08-17 19:01:01.000000000 +0200
|
||||
@@ -15,7 +15,7 @@ macro index,pager \cb "<pipe-message> ur
|
||||
macro attach,compose \cb "<pipe-entry> urlview<Enter>" "call urlview to extract URLs out of a message"
|
||||
|
||||
# Show documentation when pressing F1
|
||||
-macro generic,pager <F1> "<shell-escape> less ${prefix}/doc/mutt/manual.txt<Enter>" "show Mutt documentation"
|
||||
+macro generic,index,pager <F1> "<shell-escape>less -iM /usr/share/doc/packages/mutt/manual.txt.gz<Enter>" "show Mutt documentation"
|
||||
|
||||
# show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
|
||||
macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"
|
||||
@@ -287,9 +287,9 @@ attachments -I message/external-body
|
||||
# in a reply. For a full listing of defined printf()-like sequences see
|
||||
# the section on ``$index_format''.
|
||||
#
|
||||
-#
|
||||
-# set autoedit=no
|
||||
-#
|
||||
+
|
||||
+set autoedit=yes
|
||||
+
|
||||
# Name: autoedit
|
||||
# Type: boolean
|
||||
# Default: no
|
||||
@@ -641,11 +641,11 @@ attachments -I message/external-body
|
||||
# filtered message is read from the standard output.
|
||||
#
|
||||
#
|
||||
-# set dotlock_program="/usr/local/bin/mutt_dotlock"
|
||||
+# set dotlock_program="/usr/bin/mutt_dotlock"
|
||||
#
|
||||
# Name: dotlock_program
|
||||
# Type: path
|
||||
-# Default: "/usr/local/bin/mutt_dotlock"
|
||||
+# Default: "/usr/bin/mutt_dotlock"
|
||||
#
|
||||
#
|
||||
# Contains the path of the mutt_dotlock (8) binary to be used by
|
||||
@@ -1438,11 +1438,11 @@ attachments -I message/external-body
|
||||
# See also: ``$to_chars''.
|
||||
#
|
||||
#
|
||||
-# set ispell="/usr/bin/ispell"
|
||||
+# set ispell="ispell"
|
||||
#
|
||||
# Name: ispell
|
||||
# Type: path
|
||||
-# Default: "/usr/bin/ispell"
|
||||
+# Default: "ispell"
|
||||
#
|
||||
#
|
||||
# How to invoke ispell (GNU's spell-checking software).
|
||||
@@ -1890,9 +1890,9 @@ attachments -I message/external-body
|
||||
# directly from the pager, and screen resizes cause lines longer than
|
||||
# the screen width to be badly formatted in the help menu.
|
||||
#
|
||||
-#
|
||||
-# set pager_context=0
|
||||
-#
|
||||
+
|
||||
+set pager_context=4
|
||||
+
|
||||
# Name: pager_context
|
||||
# Type: number
|
||||
# Default: 0
|
||||
@@ -1916,9 +1916,9 @@ attachments -I message/external-body
|
||||
# pager. The valid sequences are listed in the ``$index_format''
|
||||
# section.
|
||||
#
|
||||
-#
|
||||
-# set pager_index_lines=0
|
||||
-#
|
||||
+
|
||||
+set pager_index_lines=10
|
||||
+
|
||||
# Name: pager_index_lines
|
||||
# Type: number
|
||||
# Default: 0
|
||||
@@ -1936,9 +1936,9 @@ attachments -I message/external-body
|
||||
# is less than pager_index_lines, then the index will only use as
|
||||
# many lines as it needs.
|
||||
#
|
||||
-#
|
||||
-# set pager_stop=no
|
||||
-#
|
||||
+
|
||||
+set pager_stop=yes
|
||||
+
|
||||
# Name: pager_stop
|
||||
# Type: boolean
|
||||
# Default: no
|
||||
@@ -3357,9 +3357,9 @@ attachments -I message/external-body
|
||||
# (possibly undeleted) message whenever a command that modifies the
|
||||
# current message is executed.
|
||||
#
|
||||
-#
|
||||
-# set reverse_alias=no
|
||||
-#
|
||||
+
|
||||
+set reverse_alias=yes
|
||||
+
|
||||
# Name: reverse_alias
|
||||
# Type: boolean
|
||||
# Default: no
|
||||
@@ -3479,6 +3479,18 @@ attachments -I message/external-body
|
||||
# Also see the ``$force_name'' variable.
|
||||
#
|
||||
#
|
||||
+# set send_group_reply_to=no
|
||||
+#
|
||||
+# Name: send_group_reply_to
|
||||
+# Type: boolean
|
||||
+# Default: no
|
||||
+#
|
||||
+#
|
||||
+# This variable controls how group replies are done.
|
||||
+# When set, all recepients listet in "To:" are set in the
|
||||
+# "To:" header again, else in the "CC", which is the default.
|
||||
+#
|
||||
+#
|
||||
# set score=yes
|
||||
#
|
||||
# Name: score
|
||||
@@ -3684,9 +3696,9 @@ attachments -I message/external-body
|
||||
# messages from the current folder. The default is to pause one second, so
|
||||
# a value of zero for this option suppresses the pause.
|
||||
#
|
||||
-#
|
||||
-# set sort=date
|
||||
-#
|
||||
+
|
||||
+set sort=reverse-date-sent
|
||||
+
|
||||
# Name: sort
|
||||
# Type: sort order
|
||||
# Default: date
|
||||
@@ -3980,9 +3992,9 @@ attachments -I message/external-body
|
||||
# messages to be searched are decoded before searching. If unset,
|
||||
# messages are searched as they appear in the folder.
|
||||
#
|
||||
-#
|
||||
-# set tilde=no
|
||||
-#
|
||||
+
|
||||
+set tilde=yes
|
||||
+
|
||||
# Name: tilde
|
||||
# Type: boolean
|
||||
# Default: no
|
||||
@@ -4236,3 +4248,39 @@ attachments -I message/external-body
|
||||
# messages to be sent. Exim users may wish to unset this.
|
||||
#
|
||||
#
|
||||
+# set xterm_icon="M%?n?AIL&ail?"
|
||||
+#
|
||||
+# Name: xterm_icon
|
||||
+# Type: string
|
||||
+# Default: "M%?n?AIL&ail?"
|
||||
+#
|
||||
+#
|
||||
+# Controls the format of the icon title, as long as xterm_set_titles
|
||||
+# is enabled. This string is identical in formatting to the one used by
|
||||
+# ``$status_format''.
|
||||
+#
|
||||
+#
|
||||
+# set xterm_set_titles=no
|
||||
+#
|
||||
+# Name: xterm_set_titles
|
||||
+# Type: boolean
|
||||
+# Default: no
|
||||
+#
|
||||
+#
|
||||
+# Controls whether mutt sets the xterm title bar and icon name
|
||||
+# (as long as you're in an appropriate terminal). The default must
|
||||
+# be off to force in the validity checking.
|
||||
+#
|
||||
+#
|
||||
+# set xterm_title="Mutt with %?m?%m messages&no messages?%?n? [%n NEW]?"
|
||||
+#
|
||||
+# Name: xterm_title
|
||||
+# Type: string
|
||||
+# Default: "Mutt with %?m?%m messages&no messages?%?n? [%n NEW]?"
|
||||
+#
|
||||
+#
|
||||
+# Controls the format of the title bar of the xterm provided that
|
||||
+# xterm_set_titles has been set. This string is identical in formatting
|
||||
+# to the one used by ``$status_format''.
|
||||
+#
|
||||
+#
|
||||
--- Muttrc.head.in
|
||||
+++ Muttrc.head.in 2006-08-17 18:46:05.000000000 +0200
|
||||
@@ -15,7 +15,7 @@ macro index,pager \cb "<pipe-message> ur
|
||||
macro attach,compose \cb "<pipe-entry> urlview<Enter>" "call urlview to extract URLs out of a message"
|
||||
|
||||
# Show documentation when pressing F1
|
||||
-macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"
|
||||
+macro generic,index,pager <F1> "<shell-escape> less -iM @docdir@/manual.txt<Enter>" "show Mutt documentation"
|
||||
|
||||
# show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
|
||||
macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"
|
||||
--- configure.in
|
||||
+++ configure.in 2006-08-17 18:34:10.000000000 +0200
|
||||
@@ -222,7 +222,7 @@ main ()
|
||||
mutt_cv_slang=$withval
|
||||
if test -d $withval/include/slang; then
|
||||
CPPFLAGS="$CPPFLAGS -I${withval}/include/slang"
|
||||
- elif test -d $withval/include; then
|
||||
+ elif test -d $withval/include && test $withval != /usr ; then
|
||||
CPPFLAGS="$CPPFLAGS -I${withval}/include"
|
||||
fi
|
||||
LDFLAGS="$LDFLAGS -L${withval}/lib"
|
||||
@@ -633,8 +633,12 @@ AC_ARG_WITH(ssl, AC_HELP_STRING([--with-
|
||||
|
||||
if test "$with_ssl" != "yes"
|
||||
then
|
||||
+ case $withval in /usr|/usr/local) ;;
|
||||
+ *)
|
||||
LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
||||
+ ;;
|
||||
+ esac
|
||||
fi
|
||||
saved_LIBS="$LIBS"
|
||||
|
||||
@@ -688,8 +692,12 @@ AC_ARG_WITH(sasl, AC_HELP_STRING([--with
|
||||
|
||||
if test "$with_sasl" != "yes"
|
||||
then
|
||||
+ case $with_sasl in /usr|/usr/local) ;;
|
||||
+ *)
|
||||
CPPFLAGS="$CPPFLAGS -I$with_sasl/include"
|
||||
LDFLAGS="$LDFLAGS -L$with_sasl/lib"
|
||||
+ ;;
|
||||
+ esac
|
||||
fi
|
||||
|
||||
saved_LIBS="$LIBS"
|
||||
--- init.h
|
||||
+++ init.h 2006-08-17 19:07:25.000000000 +0200
|
||||
@@ -1951,6 +1951,9 @@ struct option_t MuttVars[] = {
|
||||
** since it would otherwise have to abort the connection anyway. This
|
||||
** option supersedes ``$$ssl_starttls''.
|
||||
*/
|
||||
+#if defined(USE_IMAP) && defined(SUSE_IMAP_FORCE_SSL)
|
||||
+ { "imap_force_ssl", DT_SYN, R_NONE, UL "ssl_force_tls", 0 },
|
||||
+#endif
|
||||
{ "ssl_starttls", DT_QUAD, R_NONE, OPT_SSLSTARTTLS, M_YES },
|
||||
/*
|
||||
** .pp
|
||||
--- doc/Makefile.in
|
||||
+++ doc/Makefile.in 2006-08-17 18:34:10.000000000 +0200
|
||||
@@ -431,7 +431,7 @@ uninstall-local:
|
||||
|
||||
check:
|
||||
manual.txt: manual.html
|
||||
- -lynx -dump -nolist -with_backspaces $^ > $@ || w3m -dump $^ > $@
|
||||
+ -lynx -dont_wrap_pre -center -dump -nolist -with_backspaces $^ > $@ || w3m -dump $^ > $@
|
||||
|
||||
manual.html: $(srcdir)/html.xsl stamp-doc-xml
|
||||
-xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
|
||||
--- imap/auth.c
|
||||
+++ imap/auth.c 2006-11-09 16:19:56.000000000 +0100
|
||||
@@ -72,6 +72,23 @@ int imap_authenticate (IMAP_DATA* idata)
|
||||
dprint (2, (debugfile, "imap_authenticate: Trying method %s\n", method));
|
||||
authenticator = imap_authenticators;
|
||||
|
||||
+#ifdef USE_SASL
|
||||
+ /* "login" not supported by SASL */
|
||||
+ if (!ascii_strcasecmp ("login", method))
|
||||
+ {
|
||||
+ while (authenticator->authenticate)
|
||||
+ {
|
||||
+ char* identify = authenticator->method;
|
||||
+ if (identify && !ascii_strcasecmp(identify, method))
|
||||
+ if ((r = authenticator->authenticate(idata, method)) != IMAP_AUTH_UNAVAIL)
|
||||
+ {
|
||||
+ FREE(&methods);
|
||||
+ return r;
|
||||
+ }
|
||||
+ authenticator++;
|
||||
+ }
|
||||
+ } else {
|
||||
+#endif
|
||||
while (authenticator->authenticate)
|
||||
{
|
||||
if (!authenticator->method ||
|
||||
@@ -85,6 +102,9 @@ int imap_authenticate (IMAP_DATA* idata)
|
||||
|
||||
authenticator++;
|
||||
}
|
||||
+#ifdef USE_SASL
|
||||
+ }
|
||||
+#endif
|
||||
}
|
||||
|
||||
FREE (&methods);
|
157
mutt-1.5.13.sidebar-fix.dif
Normal file
157
mutt-1.5.13.sidebar-fix.dif
Normal file
@ -0,0 +1,157 @@
|
||||
--- buffy.c
|
||||
+++ buffy.c 2006-11-16 11:26:51.000000000 +0000
|
||||
@@ -267,7 +267,7 @@
|
||||
char path[_POSIX_PATH_MAX];
|
||||
struct stat contex_sb;
|
||||
time_t t;
|
||||
- CONTEXT *ctx;
|
||||
+
|
||||
#ifdef USE_IMAP
|
||||
/* update postponed count as well, on force */
|
||||
if (force)
|
||||
@@ -302,8 +302,6 @@
|
||||
|
||||
for (tmp = Incoming; tmp; tmp = tmp->next)
|
||||
{
|
||||
- if ( tmp->new == 1 )
|
||||
- tmp->has_new = 1;
|
||||
#ifdef USE_IMAP
|
||||
if (tmp->magic != M_IMAP)
|
||||
#endif
|
||||
@@ -357,14 +355,18 @@
|
||||
)
|
||||
|
||||
{
|
||||
+ int check;
|
||||
+
|
||||
switch (tmp->magic)
|
||||
{
|
||||
case M_MBOX:
|
||||
case M_MMDF:
|
||||
|
||||
- {
|
||||
- if (STAT_CHECK || tmp->msgcount == 0)
|
||||
+ check = STAT_CHECK;
|
||||
+
|
||||
+ if (option(OPTSIDEBAR) && (check || tmp->msgcount == 0))
|
||||
{
|
||||
+ CONTEXT *ctx;
|
||||
BUFFY b = *tmp;
|
||||
int msgcount = 0;
|
||||
int msg_unread = 0;
|
||||
@@ -379,10 +381,11 @@
|
||||
*tmp = b;
|
||||
tmp->msgcount = msgcount;
|
||||
tmp->msg_unread = msg_unread;
|
||||
- if(STAT_CHECK) {
|
||||
- tmp->has_new = tmp->new = 1;
|
||||
- BuffyCount++;
|
||||
- }
|
||||
+ }
|
||||
+ if (check)
|
||||
+ {
|
||||
+ BuffyCount++;
|
||||
+ tmp->new = 1;
|
||||
}
|
||||
#ifdef BUFFY_SIZE
|
||||
else
|
||||
@@ -391,11 +394,11 @@
|
||||
tmp->size = (long) sb.st_size;
|
||||
}
|
||||
#endif
|
||||
- if (tmp->newly_created &&
|
||||
- (sb.st_ctime != sb.st_mtime || sb.st_ctime != sb.st_atime))
|
||||
- tmp->newly_created = 0;
|
||||
- }
|
||||
- break;
|
||||
+ if (tmp->newly_created &&
|
||||
+ (sb.st_ctime != sb.st_mtime || sb.st_ctime != sb.st_atime))
|
||||
+ tmp->newly_created = 0;
|
||||
+
|
||||
+ break;
|
||||
|
||||
case M_MAILDIR:
|
||||
|
||||
@@ -414,16 +417,25 @@
|
||||
if (*de->d_name != '.' &&
|
||||
(!(p = strstr (de->d_name, ":2,")) || !strchr (p + 3, 'T')))
|
||||
{
|
||||
- tmp->has_new = tmp->new = 1;
|
||||
+ if (!option(OPTSIDEBAR))
|
||||
+ {
|
||||
+ BuffyCount++;
|
||||
+ tmp->new = 1;
|
||||
+ break;
|
||||
+ }
|
||||
+ tmp->new = 1;
|
||||
tmp->msgcount++;
|
||||
tmp->msg_unread++;
|
||||
}
|
||||
}
|
||||
if(tmp->msg_unread)
|
||||
BuffyCount++;
|
||||
-
|
||||
+
|
||||
closedir (dirp);
|
||||
|
||||
+ if (!option(OPTSIDEBAR))
|
||||
+ break;
|
||||
+
|
||||
/*
|
||||
* count read messages (for folderlist (sidebar) we also need to count
|
||||
* messages in cur so that we the total number of messages
|
||||
@@ -447,25 +459,25 @@
|
||||
break;
|
||||
|
||||
case M_MH:
|
||||
- {
|
||||
- DIR *dp;
|
||||
- struct dirent *de;
|
||||
- if ((tmp->new = mh_buffy (tmp->path)) > 0)
|
||||
- BuffyCount++;
|
||||
-
|
||||
- if ((dp = opendir (path)) == NULL)
|
||||
- break;
|
||||
- tmp->msgcount = 0;
|
||||
- while ((de = readdir (dp)))
|
||||
- {
|
||||
- if (mh_valid_message (de->d_name))
|
||||
- {
|
||||
- tmp->msgcount++;
|
||||
- tmp->has_new = tmp->new = 1;
|
||||
- }
|
||||
- }
|
||||
- closedir (dp);
|
||||
- }
|
||||
+
|
||||
+ if ((tmp->new = mh_buffy (tmp->path)) > 0)
|
||||
+ BuffyCount++;
|
||||
+ if (!option(OPTSIDEBAR))
|
||||
+ break;
|
||||
+
|
||||
+ if ((dirp = opendir (path)) == NULL)
|
||||
+ break;
|
||||
+ tmp->msgcount = 0;
|
||||
+ while ((de = readdir (dirp)))
|
||||
+ {
|
||||
+ if (mh_valid_message (de->d_name))
|
||||
+ {
|
||||
+ tmp->msgcount++;
|
||||
+ tmp->new = 1;
|
||||
+ }
|
||||
+ }
|
||||
+ closedir (dirp);
|
||||
+
|
||||
break;
|
||||
}
|
||||
}
|
||||
--- buffy.h
|
||||
+++ buffy.h 2006-11-16 11:26:58.000000000 +0000
|
||||
@@ -29,7 +29,6 @@
|
||||
struct buffy_t *next;
|
||||
struct buffy_t *prev;
|
||||
short new; /* mailbox has new mail */
|
||||
- short has_new; /* set it new if new and not read */
|
||||
int msgcount; /* total number of messages */
|
||||
int msg_unread; /* number of unread messages */
|
||||
short notified; /* user has been notified */
|
3
mutt-1.5.13.tar.bz2
Normal file
3
mutt-1.5.13.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d86a22066701a6840ab7dfe2cce4d0812748f17d2fc175ffc3a72d9c77e35088
|
||||
size 2397908
|
13
mutt-1.5.9i-pgpewrap.diff
Normal file
13
mutt-1.5.9i-pgpewrap.diff
Normal file
@ -0,0 +1,13 @@
|
||||
--- pgpewrap.c
|
||||
+++ pgpewrap.c
|
||||
@@ -47,6 +47,10 @@
|
||||
}
|
||||
*opt = NULL;
|
||||
|
||||
+ if (opts[0] == NULL) {
|
||||
+ fprintf(stderr, "Command line usage: %s [flags] -- prefix [recipients]\n", argv[0]);
|
||||
+ return 1;
|
||||
+ }
|
||||
execvp(opts[0], opts);
|
||||
perror(argv[0]);
|
||||
return 2;
|
45
mutt-1.5.9i-sendgroupreplyto.diff
Normal file
45
mutt-1.5.9i-sendgroupreplyto.diff
Normal file
@ -0,0 +1,45 @@
|
||||
--- mutt-1.5.9/init.h
|
||||
+++ mutt-1.5.9/init.h
|
||||
@@ -2305,6 +2305,13 @@
|
||||
** .pp
|
||||
** Also see the ``$$force_name'' variable.
|
||||
*/
|
||||
+ { "send_group_reply_to", DT_BOOL, R_NONE, OPTSENDGROUPREPLYTO, 0 },
|
||||
+ /*
|
||||
+ ** .pp
|
||||
+ ** This variable controls how group replies are done.
|
||||
+ ** When set, all recepients listet in "To:" are set in the
|
||||
+ ** "To:" header again, else in the "CC", which is the default.
|
||||
+ */
|
||||
{ "score", DT_BOOL, R_NONE, OPTSCORE, 1 },
|
||||
/*
|
||||
** .pp
|
||||
--- mutt-1.5.9/mutt.h
|
||||
+++ mutt-1.5.9/mutt.h
|
||||
@@ -419,6 +419,7 @@
|
||||
OPTSAVEADDRESS,
|
||||
OPTSAVEEMPTY,
|
||||
OPTSAVENAME,
|
||||
+ OPTSENDGROUPREPLYTO,
|
||||
OPTSCORE,
|
||||
OPTSIGDASHES,
|
||||
OPTSIGONTOP,
|
||||
--- mutt-1.5.9/send.c
|
||||
+++ mutt-1.5.9/send.c
|
||||
@@ -545,8 +545,16 @@
|
||||
if ((flags & SENDGROUPREPLY) && (!in->mail_followup_to || hmfupto != M_YES))
|
||||
{
|
||||
/* if(!mutt_addr_is_user(in->to)) */
|
||||
+ if (option (OPTSENDGROUPREPLYTO))
|
||||
+ {
|
||||
+ rfc822_append (&out->to, in->to);
|
||||
+ rfc822_append (&out->cc, in->cc);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
rfc822_append (&out->cc, in->to);
|
||||
rfc822_append (&out->cc, in->cc);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
return 0;
|
794
mutt.changes
Normal file
794
mutt.changes
Normal file
@ -0,0 +1,794 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 12:31:53 CET 2006 - werner@suse.de
|
||||
|
||||
- Make sidebar fix smarter by not breaking new status (bug #221599)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 14:17:25 CET 2006 - werner@suse.de
|
||||
|
||||
- Do security check for opening files on NFS file systems (#210159)
|
||||
- Reenable SASL and GSSAPI
|
||||
- Make LOGIN work even if SASL is enabled
|
||||
- Make mutt use ispell again
|
||||
- Update the sidebar patch
|
||||
- Avoid reads of mailboxes if no sidebar is enabled (#215261)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 15:12:20 CEST 2006 - werner@suse.de
|
||||
|
||||
- Enable libgpgme (bug #203486)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 14:22:33 CEST 2006 - werner@suse.de
|
||||
|
||||
- Add sidebar patch to mutt to have the mailboxes around
|
||||
- Make the old variable imap_force_ssl an alias to ssl_force_tls
|
||||
for older SuSE distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 18:13:30 CEST 2006 - werner@suse.de
|
||||
|
||||
- Update to mutt 1.5.13
|
||||
* Various fixes in imap handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 16:54:25 CEST 2006 - werner@suse.de
|
||||
|
||||
- Update to mutt 1.5.12
|
||||
* Include previous security fixes
|
||||
* Fix bug in curses handling
|
||||
* Better caching of mail bodies
|
||||
* Remove memory leaks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 12:52:57 CEST 2006 - werner@suse.de
|
||||
|
||||
- Update to mutt 1.5.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 13:49:59 CEST 2006 - werner@suse.de
|
||||
|
||||
- Fix mutt IMAP buffer overflow in namespace parsing (bug #188872)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:38:29 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 14:16:36 CET 2006 - mmj@suse.de
|
||||
|
||||
- Compile with -fstack-protector
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 16:50:24 CET 2005 - sbrabec@suse.cz
|
||||
|
||||
- Don't package icon already present in desktop-data-SuSE.
|
||||
Cleans rpm -V output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 12:55:59 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Readd -fno-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 3 09:35:52 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Signatures with no newline should not cause mutt to think
|
||||
it's a changed message [#117451]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 19:11:22 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Add patch to set term window title bar with the mbox name [#98557]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 24 17:10:09 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Fix segfault with S/Mime [#87177]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 15:21:45 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Remove bogus hunk from imap race fix patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 12:53:44 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Add patch from Thomas Glanzmann to fix imap crashes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 9 14:44:09 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Add patch for wrapcolumn by Manfred Hollstein
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 08:58:46 CET 2005 - mmj@suse.de
|
||||
|
||||
- Update to 1.5.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 28 19:27:52 CET 2005 - mmj@suse.de
|
||||
|
||||
- Make sure a pointer is not NULL before we start referencing it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 14 11:02:37 CET 2005 - mmj@suse.de
|
||||
|
||||
- Update to 1.5.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 11 12:01:51 CET 2005 - mmj@suse.de
|
||||
|
||||
- Disable inode sort due to recommendations from the header
|
||||
cache developer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 10:07:17 CET 2005 - mmj@suse.de
|
||||
|
||||
- Update header cache patch and fix build in PLUS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 10:11:30 CET 2005 - mmj@suse.de
|
||||
|
||||
- Rename mmdf.5 -> mmdf_mutt.5 to not conflict with tin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 12:56:39 CET 2005 - mmj@suse.de
|
||||
|
||||
- Update to 1.5.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 23:32:26 CET 2005 - mmj@suse.de
|
||||
|
||||
- Fix plain auth for sasl with patch from HEAD [#49573]
|
||||
- Update header cache patch to latest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 12:02:43 CET 2004 - mmj@suse.de
|
||||
|
||||
- Package pixmaps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 23 14:30:21 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Switch heimdal-* to kerberos-devel-packages in #nfb as pr. requst
|
||||
of Mr. Carsten Höger
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 31 17:08:54 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Update to a new version with bugfixes of the header cache patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 18 10:55:15 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Apply a new version of the header cache patch that also supports
|
||||
IMAP.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 2 12:51:22 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Using upstream fix for problem with stat() on source files
|
||||
which could contain extra chars such as pipe [#42658]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 5 07:16:30 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Enable idn support [#41456]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 15:34:58 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Add maildir header cache patch from
|
||||
Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
|
||||
- Don't remove buildroot in %install
|
||||
- Don't strip when installing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 20:58:10 CEST 2004 - mmj@suse.de
|
||||
|
||||
- When requiring postfix, don't install sendmail
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 07:48:32 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Add the contrib/ directory to the documentation [#38955]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 26 11:08:47 CET 2004 - mmj@suse.de
|
||||
|
||||
- Add # postfix to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 14:57:49 CET 2004 - mmj@suse.de
|
||||
|
||||
- People are going to ask over and over again about the alternates
|
||||
error, even though it's documented in the manual page, so install
|
||||
/usr/share/doc/packages/mutt/README.alternates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 22:49:20 CET 2004 - mmj@suse.de
|
||||
|
||||
- Readd cast that got lost when 99% of a patch was merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 22:18:28 CET 2004 - mmj@suse.de
|
||||
|
||||
- Update to 1.5.6
|
||||
- Include patch from Joël Riou <joel.riou@normalesup.org> which
|
||||
adds a variable config_charset that one may define in a rc file
|
||||
that contains non ascii characters (aliases files for
|
||||
instance). Where a rc file is sourced, the commands are
|
||||
converted from this encoding, so that it works well if you are
|
||||
used to working in UTF8 xterms but sometimes have to use a
|
||||
latin-encoded terminal.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 09:06:15 CET 2003 - mmj@suse.de
|
||||
|
||||
- Use rr.compressed for 1.5.5.1 from the author
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 5 22:38:27 CET 2003 - mmj@suse.de
|
||||
|
||||
- Update to mutt-1.5.5.1i which includes the missing files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 5 13:32:25 CET 2003 - mmj@suse.de
|
||||
|
||||
- Update to mutt-1.5.5i which is the last planned development snap-
|
||||
shot.
|
||||
- Remove included/obsoleted patches
|
||||
- Don't strip explicitly
|
||||
- For now include snprintf.c and regex.c, they were forgotten in the
|
||||
mutt tarball.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 15 15:59:21 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Don't build as root
|
||||
- Cleanup specfile a bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 11:00:32 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Fix head syntax [#31228]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 16:25:26 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Fix for real :(
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 10:06:21 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Fix the type-punning patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 4 17:04:09 CEST 2003 - sndirsch@suse.de
|
||||
|
||||
- fixed attaching signature; ".signature" must be "~/.signature"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 16 16:19:21 CEST 2003 - adrian@suse.de
|
||||
|
||||
- install desktop file from kappfinder
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 09:39:04 CEST 2003 - ro@suse.de
|
||||
|
||||
- changed neededforbuild: cyrus-sasl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 19:48:39 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Fix all cases of (unnecessary) type-punning, thus no need for
|
||||
-fno-strict-aliasing.
|
||||
- Include stdlib.h in lib.h for declaration of exit.
|
||||
- Fix permissions for mutt-1.4.1i-authsasl.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 17:45:23 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Add a better fix from Brendan Cully to fix [#25026]
|
||||
- Add -fno-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 26 06:56:55 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- cryus-sasl2 was renamed to cyrus-sasl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 16 10:51:26 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Add patch from Brendan Cully to fix DIGEST-MD5 sasl
|
||||
authentication. [#25026]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 10:19:44 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Rename mbox.5 to mbox_mutt.5 to avoid conflict with tin
|
||||
- Use %find_lang macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 13:47:49 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Add script from Mike Fabian to handle UTF-8 encodings back and
|
||||
forth [#27140]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 12:41:27 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Use %defattr
|
||||
- Package muttbug
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 10:19:42 CEST 2003 - ro@suse.de
|
||||
|
||||
- fixed neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 14:16:23 CET 2003 - mmj@suse.de
|
||||
|
||||
- Update to 1.4.1 which primarily fixes the imap/utf7.c buffer-
|
||||
overflow.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 00:47:38 CET 2003 - mmj@suse.de
|
||||
|
||||
- Add --enable-buffy-size which got lost because the maintainer
|
||||
kept several versions around
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 23:18:19 CET 2003 - mmj@suse.de
|
||||
|
||||
- Add patch to use sasl2 instead og sasl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 00:06:01 CET 2003 - mmj@suse.de
|
||||
|
||||
- Below action was not A Good Thing[tm] for all, so made it a
|
||||
configure option again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 07:56:36 CET 2002 - mmj@suse.de
|
||||
|
||||
- Fold the group reply patch in to always be default behaviour
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 01:03:59 CET 2002 - mmj@suse.de
|
||||
|
||||
- Apply fresh 1.4 compressed folder patch instead of 1.3.99 repatch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 2 11:30:35 CET 2002 - mmj@suse.de
|
||||
|
||||
- Better version from ME of longline patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 20:13:25 CET 2002 - mmj@suse.de
|
||||
|
||||
- Add patch from Michael Elkins to allow lines > 255 [#16030]
|
||||
- Make patches have a unique name
|
||||
- Trim the neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 15:57:22 CEST 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <slang> to <slang slang-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 11:06:44 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Disabled patches that broke IMAP support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 19:55:01 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Updated to the next STABLE Mutt release 1.4, which includes
|
||||
improved IMAP and POP support. Better maildir handling,
|
||||
improved threading. And lots more, which is better summarized
|
||||
on http://www.mutt.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 22:29:18 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Added a patch to allow longer lines [Bug #16030]
|
||||
- Added a patch to allow mailboxes > 2 GB [Bug #16356]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 11:55:36 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Added a patch from Matthias Eckermann to include the original
|
||||
To: field in the new To: when doing group reply, and the boolean
|
||||
'send_group_reply_to' is set.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 12:27:57 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Update to 1.3.99 which is just bugfix release towards 1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 13:15:08 CEST 2002 - mmj@suse.de
|
||||
|
||||
- automake/autoconf fix. Use AC_LIBOBJ instead of LIBOBJS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 09:10:34 MET 2002 - mmj@suse.de
|
||||
|
||||
- Fix segfault in pgpewrap when invoked with incorrect arguments.
|
||||
Fixes Bug #15213, patch from axboe@
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 16:31:34 MET 2002 - mmj@suse.de
|
||||
|
||||
- Make /etc/Muttrc %config(noreplace)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 15:56:04 MET 2002 - mmj@suse.de
|
||||
|
||||
- Updated to 1.3.28
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 24 19:06:25 MET 2002 - mmj@suse.de
|
||||
|
||||
- Re-added patches known to work very well, but that was left out
|
||||
to evaluate vanilla 1.3.27i:
|
||||
- Compressed folder support
|
||||
- Iconv patch that fixes qp problems in multibyte locales
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 17:24:33 CET 2002 - schwab@suse.de
|
||||
|
||||
- Don't add /usr/include to include search path.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 21:15:09 CET 2002 - mmj@suse.de
|
||||
|
||||
- Updated to newest beta-release 1.3.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 2 14:15:37 CET 2002 - poeml@suse.de
|
||||
|
||||
- add patch-1.2,3.rfc822_terminate.1 which fixes a remote
|
||||
exploitable string buffer overflow
|
||||
(minus hunks #8 and #10 which are already in 1.3.22.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 16:45:30 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- fix a possible segfault for a certain search pattern
|
||||
- fix a possible crash scenario when using gpg and attachments
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 4 18:34:55 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- fix some memory leaks in imap code
|
||||
- fix bug where non-regular files could be attached
|
||||
- po updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 2 01:09:41 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 1.3.22.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 24 00:44:20 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 1.3.21 which fixes some MH bugs and others
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 15:51:59 CEST 2001 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 26 17:53:25 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 1.3.20
|
||||
- patched to speed up mbox-sort from n^2 to n*log(n)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 19:43:18 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- another l10n fix
|
||||
- save manuals gzipped
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 18:49:59 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- remove "fuzzy" in header of ja.po. When the header is marked
|
||||
as "fuzzy", the charset will not be written to the .mo file
|
||||
and mutt will not show Japanese messages correctly.
|
||||
- don't convert string received from gettext again, the new
|
||||
version of gettext already does the conversion to the charset
|
||||
of the current locale.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 14:48:03 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- fixed a buffer underrun
|
||||
- fixed possible segfault (#6979)
|
||||
- redisabled buffy fix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 25 22:01:47 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- update to 1.3.16i
|
||||
- dropped superfluous additional options patch
|
||||
- add compressed folder patch
|
||||
- activated buffy fix to circumvent recent NFS a-time problems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:15:51 CET 2001 - bjacke@suse.de
|
||||
|
||||
- fixed version in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 16:45:35 CET 2001 - bjacke@suse.de
|
||||
|
||||
- dropped tmp patch wich did more bad than good
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 19:23:53 CET 2001 - bjacke@suse.de
|
||||
|
||||
- fixed latest fix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 06:31:16 CET 2001 - bjacke@suse.de
|
||||
|
||||
- applied tmp file patch
|
||||
- added smtp_daemon to requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 13:34:35 CET 2000 - bjacke@suse.de
|
||||
|
||||
- merged muttssl and mutt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 14:59:15 CET 2000 - bjacke@suse.de
|
||||
|
||||
- enable fcntl and disable flock locking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 18:59:47 CET 2000 - bjacke@suse.de
|
||||
|
||||
- update to 1.3.12i due to glibc 2.2 locale issues
|
||||
- fixed neededforbuild (bug 4254)
|
||||
- minor specfile changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 16:24:17 CEST 2000 - vinil@suse.cz
|
||||
|
||||
- czech po file corrected
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 31 16:31:02 CEST 2000 - werner@suse.de
|
||||
|
||||
- Update to 1.2.5i due bug fixes (IMAP, SIGSEGV in curs_main.c)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 7 12:23:47 CEST 2000 - werner@suse.de
|
||||
|
||||
- Update to 1.2.4i due to fixes (IMAP, SSL, ...) done in 1.2.3
|
||||
and 1.2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 20:17:07 CEST 2000 - werner@suse.de
|
||||
|
||||
- Split spec of mutt and muttssl to avoid conflicts during build
|
||||
- Use different build root to avoid mixed versions
|
||||
- Update to 1.2.2i to avoid bugs in SSL code, core dumps, and
|
||||
mailbox corruption
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 14:25:02 CEST 2000 - werner@suse.de
|
||||
|
||||
- Update to new version 1.2i
|
||||
* move changes to 1.2i
|
||||
* enable SSL for imap
|
||||
* add *.rc from contrib path to doc (samples for pgp using)
|
||||
- Split mutt into mutt and muttssl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 8 15:02:41 CET 2000 - werner@suse.de
|
||||
|
||||
- Disable --enable-exact-address because it fools the users by
|
||||
asking questions for nothing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 15:13:27 CET 2000 - werner@suse.de
|
||||
|
||||
- Fix programming bug: ncurses now does what the docu says.
|
||||
Therefore use_default_color() should be called only once
|
||||
after start_color().
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 20:35:23 CET 2000 - werner@suse.de
|
||||
|
||||
- New version 1.0.1i with some minor bug fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 17:18:51 CET 2000 - kasal@suse.de
|
||||
|
||||
- urlview moved to a new package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 18 19:37:52 CET 2000 - werner@suse.de
|
||||
|
||||
- /usr/man -> /usr/share/man
|
||||
- target is ${RPM_ARCH}-suse-linux and nothing more
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 18 19:08:24 CET 2000 - werner@suse.de
|
||||
|
||||
- New mutt version 1.0i
|
||||
* patch for two letter year (e.g. 00)
|
||||
- New urlview version
|
||||
* A SuSE url_handler.sh script
|
||||
* A SuSE urlview.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 18 18:22:25 CEST 1999 - garloff@suse.de
|
||||
|
||||
- highlight_unread sometimes didn't work. Fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 14 18:06:37 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Added contrib/Pine.rc and Mush.rc to as %docs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 13 23:00:43 CEST 1999 - garloff@suse.de
|
||||
|
||||
- Two new options: "delete_tilde" and "highlight_unread".
|
||||
The meaning is obvious ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 1 16:41:55 CEST 1999 - werner@suse.de
|
||||
|
||||
- Added gpg in neededforbuild to get both pgp and gpg
|
||||
path included into mutt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 22:39:27 CEST 1999 - werner@suse.de
|
||||
|
||||
- Put urlview into mutt package
|
||||
- Use changes Muttrc instead of my.Muttrc
|
||||
* there is no variable web_browser anymore
|
||||
- Require ispell to get spell feature
|
||||
- A few sample muttrc and urlview(rc) for aaa_skel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 14:36:28 CEST 1999 - ro@suse.de
|
||||
|
||||
- update to 1.0pre3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 12:51:51 MEST 1999 - florian@suse.de
|
||||
|
||||
- update to 0.95.6i
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 17:35:05 MEST 1999 - ro@suse.de
|
||||
|
||||
- use gettext in neededforbuilt (builtin won't work)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 6 12:56:03 MEST 1999 - ro@suse.de
|
||||
|
||||
- update to 0.95.4i
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 18:33:14 MET 1998 - bs@suse.de
|
||||
|
||||
- added sp and sp_libs to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 21:04:00 MET 1998 - bs@suse.de
|
||||
|
||||
- use sgmtools instead of linuxdoc for build
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Wed Jul 29 15:46:29 MEST 1998 - florian@suse.de
|
||||
|
||||
- add security patch
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sun Jul 19 18:06:39 MEST 1998 - florian@suse.de
|
||||
|
||||
- update to version 0.93.1i
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Thu Feb 5 11:14:17 MET 1998 - florian@suse.de
|
||||
|
||||
- update to version 0.89.1
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Thu Oct 9 19:08:47 MEST 1997 - florian@suse.de
|
||||
|
||||
- update to version 0.85
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue May 20 14:10:37 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.74
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sun Apr 13 23:04:29 MEST 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to new version 0.69
|
||||
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Jan 28 14:37:08 CET 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to new version 0.59
|
||||
|
||||
- pgp-support is enabled
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Nov 26 20:15:03 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.52
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sat Nov 16 20:28:43 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.51
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Mon Nov 11 01:29:48 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.50
|
||||
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sat Nov 2 17:35:11 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.49
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Oct 22 22:14:08 MEST 1996 - florian@suse.de
|
||||
|
||||
|
||||
- Neue Version 0.48.1 mit vielen Veraenderungen.
|
||||
|
||||
- Anpassungen fuer eine korrekte Host-Absenderadresse.
|
||||
|
||||
- Umstieg auf non-sgid-mail spool-Verzeichnis.
|
||||
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sat Sep 21 01:18:40 MET DST 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to newer version
|
||||
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
Mon Sep 2 03:06:07 MET DST 1996
|
||||
|
||||
|
||||
new version.
|
524
mutt.spec
Normal file
524
mutt.spec
Normal file
@ -0,0 +1,524 @@
|
||||
#
|
||||
# spec file for package mutt (Version 1.5.13)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: mutt
|
||||
#!BuildIgnore: sendmail
|
||||
BuildRequires: cyrus-sasl-devel cyrus-sasl-gssapi desktop-data-SuSE docbook-xsl-stylesheets docbook_4 glibc-i18ndata gpgme gpgme-devel ispell krb5 krb5-devel libcom_err libgcrypt libgpg-error libgpg-error-devel libidn libidn-devel libxml2 libxslt lynx openssl-devel postfix sgml-skel update-desktop-files xli
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Networking/Email/Clients
|
||||
URL: http://www.mutt.org
|
||||
Provides: muttssl
|
||||
Obsoletes: muttssl
|
||||
Requires: smtp_daemon
|
||||
# NOTE: We don't want this dependency and desktop-data-SuSE is in all
|
||||
# desktop selections.
|
||||
#Requires: desktop-data-SuSE
|
||||
Autoreqprov: on
|
||||
Version: 1.5.13
|
||||
Release: 27
|
||||
Summary: Mail Program
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# ftp://ftp.mutt.org/mutt/devel/
|
||||
Source0: %name-%version.tar.bz2
|
||||
Source1: Signature_conversion
|
||||
Source2: README.alternates
|
||||
Patch: %name-%version.dif
|
||||
# http://www.spinnaker.de/mutt/compressed/
|
||||
Patch1: patch-%version.rr.compressed.1.bz2
|
||||
Patch2: %name-1.5.9i-pgpewrap.diff
|
||||
Patch3: %name-1.5.9i-sendgroupreplyto.diff
|
||||
Patch4: %name-1.5.11-wrapcolumn.diff
|
||||
Patch5: patch-1.5.5.1.nt.xtitles.3.ab.1
|
||||
# http://lunar-linux.org/index.php?page=mutt-sidebar
|
||||
Patch6: patch-1.5.13.sidebar.20061023.txt.bz2
|
||||
Patch7: mutt-1.5.13.sidebar-fix.dif
|
||||
Patch8: mutt-1.5.13-opennfs.dif
|
||||
|
||||
%description
|
||||
A very powerful mail user agent. It supports (among other nice things)
|
||||
highlighting, threading, and PGP. It takes some time to get used to,
|
||||
however.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Michael Elkins <me@cs.hmc.edu>
|
||||
Thomas Roessler <roessler@does-not-exist.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n mutt-%version
|
||||
%patch
|
||||
%patch1 -p1
|
||||
%patch2 -p0
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p0
|
||||
%patch8 -p0
|
||||
cp Muttrc Muttrc.SuSE
|
||||
cp %{S:2} .
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
CFLAGS="-Wall $RPM_OPT_FLAGS -I. -D_GNU_SOURCE -fno-strict-aliasing"
|
||||
%if %suse_version > 1000
|
||||
CFLAGS="$CFLAGS -fstack-protector"
|
||||
%endif
|
||||
%if %suse_version < 1020
|
||||
CFLAGS="$CFLAGS -DSUSE_IMAP_FORCE_SSL"
|
||||
%endif
|
||||
KRB5CFGPATH=/usr/lib/mit/bin/krb5-config
|
||||
export CC CFLAGS KRB5CFGPATH
|
||||
./configure $RPM_ARCH-suse-linux \
|
||||
--disable-domain \
|
||||
--prefix=/usr \
|
||||
--datadir=/usr/share \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=%_mandir \
|
||||
--with-docdir=%_defaultdocdir/%name \
|
||||
--enable-imap \
|
||||
--enable-pop \
|
||||
--enable-pgp \
|
||||
--enable-gpgme \
|
||||
--enable-nfs-fix \
|
||||
--enable-compressed \
|
||||
--with-ssl=/usr \
|
||||
--with-sasl=/usr \
|
||||
--with-sasl2=/usr \
|
||||
--with-gss=/usr \
|
||||
--enable-buffy-size \
|
||||
--enable-hcache \
|
||||
--with-idn \
|
||||
--disable-inodesort
|
||||
make -C doc clean
|
||||
make
|
||||
make -C doc
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mv Muttrc.SuSE $RPM_BUILD_ROOT/etc/Muttrc
|
||||
install -m 755 %{S:1} $RPM_BUILD_ROOT/usr/bin
|
||||
gzip -9 doc/manu*.txt
|
||||
# datadir not automatically created:
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/mutt
|
||||
# mbox/mmdf manual page conflicts with the one from tin, so rename it
|
||||
mv $RPM_BUILD_ROOT%_mandir/man5/mbox.5 \
|
||||
$RPM_BUILD_ROOT%_mandir/man5/mbox_mutt.5
|
||||
mv $RPM_BUILD_ROOT%_mandir/man5/mmdf.5 \
|
||||
$RPM_BUILD_ROOT%_mandir/man5/mmdf_mutt.5
|
||||
%find_lang %name
|
||||
# We get mime.types from aaa_base
|
||||
rm -f $RPM_BUILD_ROOT/etc/mime.types
|
||||
# Mutt BTS is gone
|
||||
rm -f $RPM_BUILD_ROOT/%_mandir/man1/{flea*,muttbug*}
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/{flea,muttbug}
|
||||
rm -f $RPM_BUILD_ROOT/etc/Muttrc.dist
|
||||
rm -f $RPM_BUILD_ROOT/etc/mime.types.dist
|
||||
%suse_update_desktop_file -i mutt ConsoleOnly Email
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/pixmaps/email.png
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %name.lang
|
||||
%defattr(-,root,root)
|
||||
%doc doc/manual*.html doc/manual.txt.gz COPYRIGHT INSTALL README* NEWS TODO
|
||||
%doc doc/PGP-Notes.txt doc/applying-patches.txt doc/devel-notes.txt
|
||||
%doc contrib/
|
||||
/usr/bin/mutt
|
||||
/usr/bin/pgpewrap
|
||||
/usr/bin/pgpring
|
||||
/usr/bin/smime_keys
|
||||
/usr/bin/Signature_conversion
|
||||
/usr/share/applications/*.desktop
|
||||
%_mandir/man1/mutt.1.gz
|
||||
%_mandir/man1/mutt_dotlock.1.gz
|
||||
%_mandir/man5/mmdf_mutt.5.gz
|
||||
%_mandir/man5/muttrc.5.gz
|
||||
%_mandir/man5/mbox_mutt.5.gz
|
||||
/usr/share/mutt
|
||||
%config(noreplace) /etc/Muttrc
|
||||
|
||||
%changelog -n mutt
|
||||
* Thu Nov 16 2006 - werner@suse.de
|
||||
- Make sidebar fix smarter by not breaking new status (bug #221599)
|
||||
* Thu Nov 09 2006 - werner@suse.de
|
||||
- Do security check for opening files on NFS file systems (#210159)
|
||||
- Reenable SASL and GSSAPI
|
||||
- Make LOGIN work even if SASL is enabled
|
||||
- Make mutt use ispell again
|
||||
- Update the sidebar patch
|
||||
- Avoid reads of mailboxes if no sidebar is enabled (#215261)
|
||||
* Fri Sep 15 2006 - werner@suse.de
|
||||
- Enable libgpgme (bug #203486)
|
||||
* Mon Aug 28 2006 - werner@suse.de
|
||||
- Add sidebar patch to mutt to have the mailboxes around
|
||||
- Make the old variable imap_force_ssl an alias to ssl_force_tls
|
||||
for older SuSE distributions
|
||||
* Thu Aug 17 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.13
|
||||
* Various fixes in imap handling
|
||||
* Mon Jul 17 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.12
|
||||
* Include previous security fixes
|
||||
* Fix bug in curses handling
|
||||
* Better caching of mail bodies
|
||||
* Remove memory leaks
|
||||
* Thu Jun 29 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.11
|
||||
* Wed Jun 28 2006 - werner@suse.de
|
||||
- Fix mutt IMAP buffer overflow in namespace parsing (bug #188872)
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 16 2006 - mmj@suse.de
|
||||
- Compile with -fstack-protector
|
||||
* Tue Nov 29 2005 - sbrabec@suse.cz
|
||||
- Don't package icon already present in desktop-data-SuSE.
|
||||
Cleans rpm -V output.
|
||||
* Mon Oct 10 2005 - mmj@suse.de
|
||||
- Readd -fno-strict-aliasing
|
||||
* Mon Oct 03 2005 - mmj@suse.de
|
||||
- Signatures with no newline should not cause mutt to think
|
||||
it's a changed message [#117451]
|
||||
* Thu Jul 28 2005 - mmj@suse.de
|
||||
- Add patch to set term window title bar with the mbox name [#98557]
|
||||
* Sun Jul 24 2005 - mmj@suse.de
|
||||
- Fix segfault with S/Mime [#87177]
|
||||
* Fri Jul 08 2005 - mmj@suse.de
|
||||
- Remove bogus hunk from imap race fix patch
|
||||
* Mon Jun 27 2005 - mmj@suse.de
|
||||
- Add patch from Thomas Glanzmann to fix imap crashes
|
||||
* Mon May 09 2005 - mmj@suse.de
|
||||
- Add patch for wrapcolumn by Manfred Hollstein
|
||||
* Tue Mar 15 2005 - mmj@suse.de
|
||||
- Update to 1.5.9
|
||||
* Mon Feb 28 2005 - mmj@suse.de
|
||||
- Make sure a pointer is not NULL before we start referencing it
|
||||
* Mon Feb 14 2005 - mmj@suse.de
|
||||
- Update to 1.5.8
|
||||
* Fri Feb 11 2005 - mmj@suse.de
|
||||
- Disable inode sort due to recommendations from the header
|
||||
cache developer
|
||||
* Fri Feb 04 2005 - mmj@suse.de
|
||||
- Update header cache patch and fix build in PLUS
|
||||
* Wed Feb 02 2005 - mmj@suse.de
|
||||
- Rename mmdf.5 -> mmdf_mutt.5 to not conflict with tin
|
||||
* Tue Feb 01 2005 - mmj@suse.de
|
||||
- Update to 1.5.7
|
||||
* Tue Jan 11 2005 - mmj@suse.de
|
||||
- Fix plain auth for sasl with patch from HEAD [#49573]
|
||||
- Update header cache patch to latest
|
||||
* Wed Nov 17 2004 - mmj@suse.de
|
||||
- Package pixmaps
|
||||
* Sat Oct 23 2004 - mmj@suse.de
|
||||
- Switch heimdal-* to kerberos-devel-packages in #nfb as pr. requst
|
||||
of Mr. Carsten Höger
|
||||
* Tue Aug 31 2004 - mmj@suse.de
|
||||
- Update to a new version with bugfixes of the header cache patch
|
||||
* Wed Aug 18 2004 - mmj@suse.de
|
||||
- Apply a new version of the header cache patch that also supports
|
||||
IMAP.
|
||||
* Fri Jul 02 2004 - mmj@suse.de
|
||||
- Using upstream fix for problem with stat() on source files
|
||||
which could contain extra chars such as pipe [#42658]
|
||||
* Sat Jun 05 2004 - mmj@suse.de
|
||||
- Enable idn support [#41456]
|
||||
* Thu May 13 2004 - mmj@suse.de
|
||||
- Add maildir header cache patch from
|
||||
Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
|
||||
- Don't remove buildroot in %%install
|
||||
- Don't strip when installing
|
||||
* Wed Apr 21 2004 - mmj@suse.de
|
||||
- When requiring postfix, don't install sendmail
|
||||
* Thu Apr 15 2004 - mmj@suse.de
|
||||
- Add the contrib/ directory to the documentation [#38955]
|
||||
* Fri Mar 26 2004 - mmj@suse.de
|
||||
- Add # postfix to neededforbuild
|
||||
* Mon Feb 16 2004 - mmj@suse.de
|
||||
- People are going to ask over and over again about the alternates
|
||||
error, even though it's documented in the manual page, so install
|
||||
/usr/share/doc/packages/mutt/README.alternates
|
||||
* Wed Feb 04 2004 - mmj@suse.de
|
||||
- Readd cast that got lost when 99%% of a patch was merged upstream
|
||||
* Wed Feb 04 2004 - mmj@suse.de
|
||||
- Update to 1.5.6
|
||||
- Include patch from Joël Riou <joel.riou@normalesup.org> which
|
||||
adds a variable config_charset that one may define in a rc file
|
||||
that contains non ascii characters (aliases files for
|
||||
instance). Where a rc file is sourced, the commands are
|
||||
converted from this encoding, so that it works well if you are
|
||||
used to working in UTF8 xterms but sometimes have to use a
|
||||
latin-encoded terminal.
|
||||
* Mon Nov 17 2003 - mmj@suse.de
|
||||
- Use rr.compressed for 1.5.5.1 from the author
|
||||
* Wed Nov 05 2003 - mmj@suse.de
|
||||
- Update to mutt-1.5.5.1i which includes the missing files
|
||||
* Wed Nov 05 2003 - mmj@suse.de
|
||||
- Update to mutt-1.5.5i which is the last planned development snap-
|
||||
shot.
|
||||
- Remove included/obsoleted patches
|
||||
- Don't strip explicitly
|
||||
- For now include snprintf.c and regex.c, they were forgotten in the
|
||||
mutt tarball.
|
||||
* Wed Oct 15 2003 - mmj@suse.de
|
||||
- Don't build as root
|
||||
- Cleanup specfile a bit
|
||||
* Thu Sep 18 2003 - mmj@suse.de
|
||||
- Fix head syntax [#31228]
|
||||
* Tue Sep 09 2003 - pthomas@suse.de
|
||||
- Fix for real :(
|
||||
* Tue Sep 09 2003 - pthomas@suse.de
|
||||
- Fix the type-punning patch.
|
||||
* Thu Sep 04 2003 - sndirsch@suse.de
|
||||
- fixed attaching signature; ".signature" must be "~/.signature"
|
||||
* Sat Aug 16 2003 - adrian@suse.de
|
||||
- install desktop file from kappfinder
|
||||
* Fri Aug 15 2003 - ro@suse.de
|
||||
- changed neededforbuild: cyrus-sasl
|
||||
* Wed Aug 13 2003 - pthomas@suse.de
|
||||
- Fix all cases of (unnecessary) type-punning, thus no need for
|
||||
-fno-strict-aliasing.
|
||||
- Include stdlib.h in lib.h for declaration of exit.
|
||||
- Fix permissions for mutt-1.4.1i-authsasl.diff
|
||||
* Wed Aug 13 2003 - mmj@suse.de
|
||||
- Add a better fix from Brendan Cully to fix [#25026]
|
||||
- Add -fno-strict-aliasing
|
||||
* Sat Jul 26 2003 - kukuk@suse.de
|
||||
- cryus-sasl2 was renamed to cyrus-sasl
|
||||
* Wed Jul 16 2003 - mmj@suse.de
|
||||
- Add patch from Brendan Cully to fix DIGEST-MD5 sasl
|
||||
authentication. [#25026]
|
||||
* Wed Jun 11 2003 - mmj@suse.de
|
||||
- Rename mbox.5 to mbox_mutt.5 to avoid conflict with tin
|
||||
- Use %%find_lang macro
|
||||
* Mon Jun 02 2003 - mmj@suse.de
|
||||
- Add script from Mike Fabian to handle UTF-8 encodings back and
|
||||
forth [#27140]
|
||||
* Tue May 13 2003 - mmj@suse.de
|
||||
- Use %%defattr
|
||||
- Package muttbug
|
||||
* Tue Apr 15 2003 - ro@suse.de
|
||||
- fixed neededforbuild
|
||||
* Fri Mar 21 2003 - mmj@suse.de
|
||||
- Update to 1.4.1 which primarily fixes the imap/utf7.c buffer-
|
||||
overflow.
|
||||
* Fri Jan 24 2003 - mmj@suse.de
|
||||
- Add --enable-buffy-size which got lost because the maintainer
|
||||
kept several versions around
|
||||
* Thu Jan 23 2003 - mmj@suse.de
|
||||
- Add patch to use sasl2 instead og sasl
|
||||
* Mon Jan 06 2003 - mmj@suse.de
|
||||
- Below action was not A Good Thing[tm] for all, so made it a
|
||||
configure option again.
|
||||
* Fri Nov 15 2002 - mmj@suse.de
|
||||
- Fold the group reply patch in to always be default behaviour
|
||||
* Fri Nov 08 2002 - mmj@suse.de
|
||||
- Apply fresh 1.4 compressed folder patch instead of 1.3.99 repatch
|
||||
* Sat Nov 02 2002 - mmj@suse.de
|
||||
- Better version from ME of longline patch
|
||||
* Fri Nov 01 2002 - mmj@suse.de
|
||||
- Add patch from Michael Elkins to allow lines > 255 [#16030]
|
||||
- Make patches have a unique name
|
||||
- Trim the neededforbuild
|
||||
* Fri May 31 2002 - ro@suse.de
|
||||
- changed neededforbuild <slang> to <slang slang-devel>
|
||||
* Fri May 31 2002 - mmj@suse.de
|
||||
- Disabled patches that broke IMAP support.
|
||||
* Wed May 29 2002 - mmj@suse.de
|
||||
- Updated to the next STABLE Mutt release 1.4, which includes
|
||||
improved IMAP and POP support. Better maildir handling,
|
||||
improved threading. And lots more, which is better summarized
|
||||
on http://www.mutt.org
|
||||
* Tue May 28 2002 - mmj@suse.de
|
||||
- Added a patch to allow longer lines [Bug #16030]
|
||||
- Added a patch to allow mailboxes > 2 GB [Bug #16356]
|
||||
* Tue May 14 2002 - mmj@suse.de
|
||||
- Added a patch from Matthias Eckermann to include the original
|
||||
To: field in the new To: when doing group reply, and the boolean
|
||||
'send_group_reply_to' is set.
|
||||
* Fri May 03 2002 - mmj@suse.de
|
||||
- Update to 1.3.99 which is just bugfix release towards 1.4
|
||||
* Wed Apr 03 2002 - mmj@suse.de
|
||||
- automake/autoconf fix. Use AC_LIBOBJ instead of LIBOBJS.
|
||||
* Wed Mar 20 2002 - mmj@suse.de
|
||||
- Fix segfault in pgpewrap when invoked with incorrect arguments.
|
||||
Fixes Bug #15213, patch from axboe@
|
||||
* Wed Mar 13 2002 - mmj@suse.de
|
||||
- Make /etc/Muttrc %%config(noreplace)
|
||||
* Wed Mar 13 2002 - mmj@suse.de
|
||||
- Updated to 1.3.28
|
||||
* Sun Feb 24 2002 - mmj@suse.de
|
||||
- Re-added patches known to work very well, but that was left out
|
||||
to evaluate vanilla 1.3.27i:
|
||||
- Compressed folder support
|
||||
- Iconv patch that fixes qp problems in multibyte locales
|
||||
* Thu Feb 14 2002 - schwab@suse.de
|
||||
- Don't add /usr/include to include search path.
|
||||
* Mon Feb 04 2002 - mmj@suse.de
|
||||
- Updated to newest beta-release 1.3.27
|
||||
* Wed Jan 02 2002 - poeml@suse.de
|
||||
- add patch-1.2,3.rfc822_terminate.1 which fixes a remote
|
||||
exploitable string buffer overflow
|
||||
(minus hunks #8 and #10 which are already in 1.3.22.1)
|
||||
* Tue Sep 18 2001 - bjacke@suse.de
|
||||
- fix a possible segfault for a certain search pattern
|
||||
- fix a possible crash scenario when using gpg and attachments
|
||||
* Tue Sep 04 2001 - bjacke@suse.de
|
||||
- fix some memory leaks in imap code
|
||||
- fix bug where non-regular files could be attached
|
||||
- po updates
|
||||
* Sun Sep 02 2001 - bjacke@suse.de
|
||||
- update to 1.3.22.1
|
||||
* Fri Aug 24 2001 - bjacke@suse.de
|
||||
- update to 1.3.21 which fixes some MH bugs and others
|
||||
* Mon Aug 13 2001 - ro@suse.de
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
* Thu Jul 26 2001 - bjacke@suse.de
|
||||
- update to 1.3.20
|
||||
- patched to speed up mbox-sort from n^2 to n*log(n)
|
||||
* Sat Apr 28 2001 - bjacke@suse.de
|
||||
- another l10n fix
|
||||
- save manuals gzipped
|
||||
* Wed Apr 25 2001 - mfabian@suse.de
|
||||
- remove "fuzzy" in header of ja.po. When the header is marked
|
||||
as "fuzzy", the charset will not be written to the .mo file
|
||||
and mutt will not show Japanese messages correctly.
|
||||
- don't convert string received from gettext again, the new
|
||||
version of gettext already does the conversion to the charset
|
||||
of the current locale.
|
||||
* Thu Apr 19 2001 - bjacke@suse.de
|
||||
- fixed a buffer underrun
|
||||
- fixed possible segfault (#6979)
|
||||
- redisabled buffy fix
|
||||
* Sun Mar 25 2001 - bjacke@suse.de
|
||||
- update to 1.3.16i
|
||||
- dropped superfluous additional options patch
|
||||
- add compressed folder patch
|
||||
- activated buffy fix to circumvent recent NFS a-time problems
|
||||
* Wed Jan 31 2001 - bjacke@suse.de
|
||||
- fixed version in specfile
|
||||
* Thu Jan 25 2001 - bjacke@suse.de
|
||||
- dropped tmp patch wich did more bad than good
|
||||
* Wed Jan 10 2001 - bjacke@suse.de
|
||||
- fixed latest fix
|
||||
* Tue Jan 09 2001 - bjacke@suse.de
|
||||
- applied tmp file patch
|
||||
- added smtp_daemon to requires
|
||||
* Mon Dec 18 2000 - bjacke@suse.de
|
||||
- merged muttssl and mutt
|
||||
* Mon Dec 11 2000 - bjacke@suse.de
|
||||
- enable fcntl and disable flock locking
|
||||
* Tue Nov 28 2000 - bjacke@suse.de
|
||||
- update to 1.3.12i due to glibc 2.2 locale issues
|
||||
- fixed neededforbuild (bug 4254)
|
||||
- minor specfile changes
|
||||
* Mon Sep 04 2000 - vinil@suse.cz
|
||||
- czech po file corrected
|
||||
* Mon Jul 31 2000 - werner@suse.de
|
||||
- Update to 1.2.5i due bug fixes (IMAP, SIGSEGV in curs_main.c)
|
||||
* Fri Jul 07 2000 - werner@suse.de
|
||||
- Update to 1.2.4i due to fixes (IMAP, SSL, ...) done in 1.2.3
|
||||
and 1.2.4
|
||||
* Thu Jun 29 2000 - werner@suse.de
|
||||
- Split spec of mutt and muttssl to avoid conflicts during build
|
||||
- Use different build root to avoid mixed versions
|
||||
- Update to 1.2.2i to avoid bugs in SSL code, core dumps, and
|
||||
mailbox corruption
|
||||
* Mon May 15 2000 - werner@suse.de
|
||||
- Update to new version 1.2i
|
||||
* move changes to 1.2i
|
||||
* enable SSL for imap
|
||||
* add *.rc from contrib path to doc (samples for pgp using)
|
||||
- Split mutt into mutt and muttssl
|
||||
* Wed Mar 08 2000 - werner@suse.de
|
||||
- Disable --enable-exact-address because it fools the users by
|
||||
asking questions for nothing.
|
||||
* Tue Feb 22 2000 - werner@suse.de
|
||||
- Fix programming bug: ncurses now does what the docu says.
|
||||
Therefore use_default_color() should be called only once
|
||||
after start_color().
|
||||
* Tue Jan 25 2000 - werner@suse.de
|
||||
- New version 1.0.1i with some minor bug fixes
|
||||
* Tue Jan 25 2000 - kasal@suse.de
|
||||
- urlview moved to a new package
|
||||
* Tue Jan 18 2000 - werner@suse.de
|
||||
- /usr/man -> /usr/share/man
|
||||
- target is ${RPM_ARCH}-suse-linux and nothing more
|
||||
* Tue Jan 18 2000 - werner@suse.de
|
||||
- New mutt version 1.0i
|
||||
* patch for two letter year (e.g. 00)
|
||||
- New urlview version
|
||||
* A SuSE url_handler.sh script
|
||||
* A SuSE urlview.conf
|
||||
* Mon Oct 18 1999 - garloff@suse.de
|
||||
- highlight_unread sometimes didn't work. Fixed.
|
||||
* Thu Oct 14 1999 - garloff@suse.de
|
||||
- Added contrib/Pine.rc and Mush.rc to as %%docs
|
||||
* Wed Oct 13 1999 - garloff@suse.de
|
||||
- Two new options: "delete_tilde" and "highlight_unread".
|
||||
The meaning is obvious ...
|
||||
* Fri Oct 01 1999 - werner@suse.de
|
||||
- Added gpg in neededforbuild to get both pgp and gpg
|
||||
path included into mutt.
|
||||
* Tue Sep 28 1999 - werner@suse.de
|
||||
- Put urlview into mutt package
|
||||
- Use changes Muttrc instead of my.Muttrc
|
||||
* there is no variable web_browser anymore
|
||||
- Require ispell to get spell feature
|
||||
- A few sample muttrc and urlview(rc) for aaa_skel
|
||||
* Tue Sep 28 1999 - ro@suse.de
|
||||
- update to 1.0pre3
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Tue Jul 20 1999 - florian@suse.de
|
||||
- update to 0.95.6i
|
||||
* Wed Apr 14 1999 - ro@suse.de
|
||||
- use gettext in neededforbuilt (builtin won't work)
|
||||
* Tue Apr 06 1999 - ro@suse.de
|
||||
- update to 0.95.4i
|
||||
* Thu Dec 03 1998 - bs@suse.de
|
||||
- added sp and sp_libs to neededforbuild
|
||||
* Wed Dec 02 1998 - bs@suse.de
|
||||
- use sgmtools instead of linuxdoc for build
|
||||
* Wed Jul 29 1998 - florian@suse.de
|
||||
- add security patch
|
||||
* Sun Jul 19 1998 - florian@suse.de
|
||||
- update to version 0.93.1i
|
||||
* Thu Feb 05 1998 - florian@suse.de
|
||||
- update to version 0.89.1
|
||||
* Thu Oct 09 1997 - florian@suse.de
|
||||
- update to version 0.85
|
||||
* Tue May 20 1997 - florian@suse.de
|
||||
- update to version 0.74
|
||||
* Sun Apr 13 1997 - florian@suse.de
|
||||
- update to new version 0.69
|
||||
* Tue Jan 28 1997 - florian@suse.de
|
||||
- update to new version 0.59
|
||||
- pgp-support is enabled
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.52
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.51
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.50
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.49
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- Neue Version 0.48.1 mit vielen Veraenderungen.
|
||||
- Anpassungen fuer eine korrekte Host-Absenderadresse.
|
||||
- Umstieg auf non-sgid-mail spool-Verzeichnis.
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to newer version
|
||||
Mon Sep 2 03:06:07 MET DST 1996
|
||||
new version.
|
516
mutt.spec-9.3
Normal file
516
mutt.spec-9.3
Normal file
@ -0,0 +1,516 @@
|
||||
#
|
||||
# spec file for package mutt (Version 1.5.13)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# neededforbuild -sendmail cyrus-sasl-devel cyrus-sasl-gssapi desktop-data-SuSE docbook-xsl-stylesheets docbook_4 glibc-i18ndata gpgme krb5 krb5-devel ispell e2fsprogs e2fsprogs-devel libgcrypt libgpg-error libgpg-error-devel libidn-devel libxml2 libxslt lynx openssl-devel postfix sgml-skel update-desktop-files xli
|
||||
|
||||
Name: mutt
|
||||
#!BuildIgnore: sendmail
|
||||
BuildRequires: cyrus-sasl-devel cyrus-sasl-gssapi desktop-data-SuSE docbook-xsl-stylesheets docbook_4 glibc-i18ndata gpgme krb5 krb5-devel ispell libcom_err libgcrypt libgpg-error libgpg-error-devel libidn libidn-devel libxml2 libxslt lynx openssl-devel postfix sgml-skel update-desktop-files xli
|
||||
License: GPL
|
||||
Group: Productivity/Networking/Email/Clients
|
||||
URL: http://www.mutt.org
|
||||
Provides: muttssl
|
||||
Obsoletes: muttssl
|
||||
Requires: smtp_daemon
|
||||
# NOTE: We don't want this dependency and desktop-data-SuSE is in all
|
||||
# desktop selections.
|
||||
#Requires: desktop-data-SuSE
|
||||
Autoreqprov: on
|
||||
Version: 1.5.13
|
||||
Release: 6
|
||||
Summary: Mail Program
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# ftp://ftp.mutt.org/mutt/devel/
|
||||
Source0: %name-%version.tar.bz2
|
||||
Source1: Signature_conversion
|
||||
Source2: README.alternates
|
||||
Patch: %name-%version.dif
|
||||
# http://www.spinnaker.de/mutt/compressed/
|
||||
Patch1: patch-%version.rr.compressed.1.bz2
|
||||
Patch2: %name-1.5.9i-pgpewrap.diff
|
||||
Patch3: %name-1.5.9i-sendgroupreplyto.diff
|
||||
Patch4: %name-1.5.11-wrapcolumn.diff
|
||||
Patch5: patch-1.5.5.1.nt.xtitles.3.ab.1
|
||||
# http://lunar-linux.org/index.php?page=mutt-sidebar
|
||||
Patch6: patch-1.5.13.sidebar.20061023.txt.bz2
|
||||
Patch7: mutt-1.5.13.sidebar-fix.dif
|
||||
Patch8: mutt-1.5.13-opennfs.dif
|
||||
|
||||
%description
|
||||
A very powerful mail user agent. It supports (among other nice things)
|
||||
highlighting, threading, and PGP. It takes some time to get used to,
|
||||
however.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Michael Elkins <me@cs.hmc.edu>
|
||||
Thomas Roessler <roessler@does-not-exist.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n mutt-%version
|
||||
%patch
|
||||
%patch1 -p1
|
||||
%patch2 -p0
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p0
|
||||
%patch8 -p0
|
||||
cp Muttrc Muttrc.SuSE
|
||||
cp %{S:2} .
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
CFLAGS="-Wall $RPM_OPT_FLAGS -I. -D_GNU_SOURCE -fno-strict-aliasing"
|
||||
%if %suse_version > 1000
|
||||
CFLAGS="$CFLAGS -fstack-protector"
|
||||
%endif
|
||||
%if %suse_version < 1020
|
||||
CFLAGS="$CFLAGS -DSUSE_IMAP_FORCE_SSL"
|
||||
%endif
|
||||
KRB5CFGPATH=/usr/lib/mit/bin/krb5-config
|
||||
export CC CFLAGS KRB5CFGPATH
|
||||
./configure $RPM_ARCH-suse-linux \
|
||||
--disable-domain \
|
||||
--prefix=/usr \
|
||||
--datadir=/usr/share \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=%_mandir \
|
||||
--with-docdir=%_defaultdocdir/%name \
|
||||
--enable-imap \
|
||||
--enable-pop \
|
||||
--enable-pgp \
|
||||
--enable-gpgme \
|
||||
--enable-nfs-fix \
|
||||
--enable-compressed \
|
||||
--with-ssl=/usr \
|
||||
--with-sasl=/usr \
|
||||
--with-sasl2=/usr \
|
||||
--with-gss=/usr \
|
||||
--enable-buffy-size \
|
||||
--enable-hcache \
|
||||
--with-idn \
|
||||
--disable-inodesort
|
||||
make -C doc clean
|
||||
make
|
||||
make -C doc
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mv Muttrc.SuSE $RPM_BUILD_ROOT/etc/Muttrc
|
||||
install -m 755 %{S:1} $RPM_BUILD_ROOT/usr/bin
|
||||
gzip -9 doc/manu*.txt
|
||||
# datadir not automatically created:
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/mutt
|
||||
# mbox/mmdf manual page conflicts with the one from tin, so rename it
|
||||
mv $RPM_BUILD_ROOT%_mandir/man5/mbox.5 \
|
||||
$RPM_BUILD_ROOT%_mandir/man5/mbox_mutt.5
|
||||
mv $RPM_BUILD_ROOT%_mandir/man5/mmdf.5 \
|
||||
$RPM_BUILD_ROOT%_mandir/man5/mmdf_mutt.5
|
||||
%find_lang %name
|
||||
# We get mime.types from aaa_base
|
||||
rm -f $RPM_BUILD_ROOT/etc/mime.types
|
||||
# Mutt BTS is gone
|
||||
rm -f $RPM_BUILD_ROOT/%_mandir/man1/{flea*,muttbug*}
|
||||
rm -f $RPM_BUILD_ROOT/usr/bin/{flea,muttbug}
|
||||
rm -f $RPM_BUILD_ROOT/etc/Muttrc.dist
|
||||
rm -f $RPM_BUILD_ROOT/etc/mime.types.dist
|
||||
%suse_update_desktop_file -i mutt ConsoleOnly Email
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/pixmaps/email.png
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %name.lang
|
||||
%defattr(-,root,root)
|
||||
%doc doc/manual*.html doc/manual.txt.gz COPYRIGHT INSTALL README* NEWS TODO
|
||||
%doc doc/PGP-Notes.txt doc/applying-patches.txt doc/devel-notes.txt
|
||||
%doc contrib/
|
||||
/usr/bin/mutt
|
||||
/usr/bin/pgpewrap
|
||||
/usr/bin/pgpring
|
||||
/usr/bin/smime_keys
|
||||
/usr/bin/Signature_conversion
|
||||
/usr/share/applications/*.desktop
|
||||
%_mandir/man1/mutt.1.gz
|
||||
%_mandir/man1/mutt_dotlock.1.gz
|
||||
%_mandir/man5/mmdf_mutt.5.gz
|
||||
%_mandir/man5/muttrc.5.gz
|
||||
%_mandir/man5/mbox_mutt.5.gz
|
||||
/usr/share/mutt
|
||||
%config(noreplace) /etc/Muttrc
|
||||
|
||||
%changelog -n mutt
|
||||
* Fri Sep 15 2006 - werner@suse.de
|
||||
- Enable libgpgme (bug #203486)
|
||||
* Mon Aug 28 2006 - werner@suse.de
|
||||
- Add sidebar patch to mutt to have the mailboxes around
|
||||
- Make the old variable imap_force_ssl an alias to ssl_force_tls
|
||||
for older SuSE distributions
|
||||
* Thu Aug 17 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.13
|
||||
* Various fixes in imap handling
|
||||
* Mon Jul 17 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.12
|
||||
* Include previous security fixes
|
||||
* Fix bug in curses handling
|
||||
* Better caching of mail bodies
|
||||
* Remove memory leaks
|
||||
* Thu Jun 29 2006 - werner@suse.de
|
||||
- Update to mutt 1.5.11
|
||||
* Wed Jun 28 2006 - werner@suse.de
|
||||
- Fix mutt IMAP buffer overflow in namespace parsing (bug #188872)
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 16 2006 - mmj@suse.de
|
||||
- Compile with -fstack-protector
|
||||
* Tue Nov 29 2005 - sbrabec@suse.cz
|
||||
- Don't package icon already present in desktop-data-SuSE.
|
||||
Cleans rpm -V output.
|
||||
* Mon Oct 10 2005 - mmj@suse.de
|
||||
- Readd -fno-strict-aliasing
|
||||
* Mon Oct 03 2005 - mmj@suse.de
|
||||
- Signatures with no newline should not cause mutt to think
|
||||
it's a changed message [#117451]
|
||||
* Thu Jul 28 2005 - mmj@suse.de
|
||||
- Add patch to set term window title bar with the mbox name [#98557]
|
||||
* Sun Jul 24 2005 - mmj@suse.de
|
||||
- Fix segfault with S/Mime [#87177]
|
||||
* Fri Jul 08 2005 - mmj@suse.de
|
||||
- Remove bogus hunk from imap race fix patch
|
||||
* Mon Jun 27 2005 - mmj@suse.de
|
||||
- Add patch from Thomas Glanzmann to fix imap crashes
|
||||
* Mon May 09 2005 - mmj@suse.de
|
||||
- Add patch for wrapcolumn by Manfred Hollstein
|
||||
* Tue Mar 15 2005 - mmj@suse.de
|
||||
- Update to 1.5.9
|
||||
* Mon Feb 28 2005 - mmj@suse.de
|
||||
- Make sure a pointer is not NULL before we start referencing it
|
||||
* Mon Feb 14 2005 - mmj@suse.de
|
||||
- Update to 1.5.8
|
||||
* Fri Feb 11 2005 - mmj@suse.de
|
||||
- Disable inode sort due to recommendations from the header
|
||||
cache developer
|
||||
* Fri Feb 04 2005 - mmj@suse.de
|
||||
- Update header cache patch and fix build in PLUS
|
||||
* Wed Feb 02 2005 - mmj@suse.de
|
||||
- Rename mmdf.5 -> mmdf_mutt.5 to not conflict with tin
|
||||
* Tue Feb 01 2005 - mmj@suse.de
|
||||
- Update to 1.5.7
|
||||
* Tue Jan 11 2005 - mmj@suse.de
|
||||
- Fix plain auth for sasl with patch from HEAD [#49573]
|
||||
- Update header cache patch to latest
|
||||
* Wed Nov 17 2004 - mmj@suse.de
|
||||
- Package pixmaps
|
||||
* Sat Oct 23 2004 - mmj@suse.de
|
||||
- Switch heimdal-* to kerberos-devel-packages in #nfb as pr. requst
|
||||
of Mr. Carsten Höger
|
||||
* Tue Aug 31 2004 - mmj@suse.de
|
||||
- Update to a new version with bugfixes of the header cache patch
|
||||
* Wed Aug 18 2004 - mmj@suse.de
|
||||
- Apply a new version of the header cache patch that also supports
|
||||
IMAP.
|
||||
* Fri Jul 02 2004 - mmj@suse.de
|
||||
- Using upstream fix for problem with stat() on source files
|
||||
which could contain extra chars such as pipe [#42658]
|
||||
* Sat Jun 05 2004 - mmj@suse.de
|
||||
- Enable idn support [#41456]
|
||||
* Thu May 13 2004 - mmj@suse.de
|
||||
- Add maildir header cache patch from
|
||||
Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
|
||||
- Don't remove buildroot in %%install
|
||||
- Don't strip when installing
|
||||
* Wed Apr 21 2004 - mmj@suse.de
|
||||
- When requiring postfix, don't install sendmail
|
||||
* Thu Apr 15 2004 - mmj@suse.de
|
||||
- Add the contrib/ directory to the documentation [#38955]
|
||||
* Fri Mar 26 2004 - mmj@suse.de
|
||||
- Add # postfix to neededforbuild
|
||||
* Mon Feb 16 2004 - mmj@suse.de
|
||||
- People are going to ask over and over again about the alternates
|
||||
error, even though it's documented in the manual page, so install
|
||||
/usr/share/doc/packages/mutt/README.alternates
|
||||
* Wed Feb 04 2004 - mmj@suse.de
|
||||
- Readd cast that got lost when 99%% of a patch was merged upstream
|
||||
* Wed Feb 04 2004 - mmj@suse.de
|
||||
- Update to 1.5.6
|
||||
- Include patch from Joël Riou <joel.riou@normalesup.org> which
|
||||
adds a variable config_charset that one may define in a rc file
|
||||
that contains non ascii characters (aliases files for
|
||||
instance). Where a rc file is sourced, the commands are
|
||||
converted from this encoding, so that it works well if you are
|
||||
used to working in UTF8 xterms but sometimes have to use a
|
||||
latin-encoded terminal.
|
||||
* Mon Nov 17 2003 - mmj@suse.de
|
||||
- Use rr.compressed for 1.5.5.1 from the author
|
||||
* Wed Nov 05 2003 - mmj@suse.de
|
||||
- Update to mutt-1.5.5.1i which includes the missing files
|
||||
* Wed Nov 05 2003 - mmj@suse.de
|
||||
- Update to mutt-1.5.5i which is the last planned development snap-
|
||||
shot.
|
||||
- Remove included/obsoleted patches
|
||||
- Don't strip explicitly
|
||||
- For now include snprintf.c and regex.c, they were forgotten in the
|
||||
mutt tarball.
|
||||
* Wed Oct 15 2003 - mmj@suse.de
|
||||
- Don't build as root
|
||||
- Cleanup specfile a bit
|
||||
* Thu Sep 18 2003 - mmj@suse.de
|
||||
- Fix head syntax [#31228]
|
||||
* Tue Sep 09 2003 - pthomas@suse.de
|
||||
- Fix for real :(
|
||||
* Tue Sep 09 2003 - pthomas@suse.de
|
||||
- Fix the type-punning patch.
|
||||
* Thu Sep 04 2003 - sndirsch@suse.de
|
||||
- fixed attaching signature; ".signature" must be "~/.signature"
|
||||
* Sat Aug 16 2003 - adrian@suse.de
|
||||
- install desktop file from kappfinder
|
||||
* Fri Aug 15 2003 - ro@suse.de
|
||||
- changed neededforbuild: cyrus-sasl
|
||||
* Wed Aug 13 2003 - pthomas@suse.de
|
||||
- Fix all cases of (unnecessary) type-punning, thus no need for
|
||||
-fno-strict-aliasing.
|
||||
- Include stdlib.h in lib.h for declaration of exit.
|
||||
- Fix permissions for mutt-1.4.1i-authsasl.diff
|
||||
* Wed Aug 13 2003 - mmj@suse.de
|
||||
- Add a better fix from Brendan Cully to fix [#25026]
|
||||
- Add -fno-strict-aliasing
|
||||
* Sat Jul 26 2003 - kukuk@suse.de
|
||||
- cryus-sasl2 was renamed to cyrus-sasl
|
||||
* Wed Jul 16 2003 - mmj@suse.de
|
||||
- Add patch from Brendan Cully to fix DIGEST-MD5 sasl
|
||||
authentication. [#25026]
|
||||
* Wed Jun 11 2003 - mmj@suse.de
|
||||
- Rename mbox.5 to mbox_mutt.5 to avoid conflict with tin
|
||||
- Use %%find_lang macro
|
||||
* Mon Jun 02 2003 - mmj@suse.de
|
||||
- Add script from Mike Fabian to handle UTF-8 encodings back and
|
||||
forth [#27140]
|
||||
* Tue May 13 2003 - mmj@suse.de
|
||||
- Use %%defattr
|
||||
- Package muttbug
|
||||
* Tue Apr 15 2003 - ro@suse.de
|
||||
- fixed neededforbuild
|
||||
* Fri Mar 21 2003 - mmj@suse.de
|
||||
- Update to 1.4.1 which primarily fixes the imap/utf7.c buffer-
|
||||
overflow.
|
||||
* Fri Jan 24 2003 - mmj@suse.de
|
||||
- Add --enable-buffy-size which got lost because the maintainer
|
||||
kept several versions around
|
||||
* Thu Jan 23 2003 - mmj@suse.de
|
||||
- Add patch to use sasl2 instead og sasl
|
||||
* Mon Jan 06 2003 - mmj@suse.de
|
||||
- Below action was not A Good Thing[tm] for all, so made it a
|
||||
configure option again.
|
||||
* Fri Nov 15 2002 - mmj@suse.de
|
||||
- Fold the group reply patch in to always be default behaviour
|
||||
* Fri Nov 08 2002 - mmj@suse.de
|
||||
- Apply fresh 1.4 compressed folder patch instead of 1.3.99 repatch
|
||||
* Sat Nov 02 2002 - mmj@suse.de
|
||||
- Better version from ME of longline patch
|
||||
* Fri Nov 01 2002 - mmj@suse.de
|
||||
- Add patch from Michael Elkins to allow lines > 255 [#16030]
|
||||
- Make patches have a unique name
|
||||
- Trim the neededforbuild
|
||||
* Fri May 31 2002 - ro@suse.de
|
||||
- changed neededforbuild <slang> to <slang slang-devel>
|
||||
* Fri May 31 2002 - mmj@suse.de
|
||||
- Disabled patches that broke IMAP support.
|
||||
* Wed May 29 2002 - mmj@suse.de
|
||||
- Updated to the next STABLE Mutt release 1.4, which includes
|
||||
improved IMAP and POP support. Better maildir handling,
|
||||
improved threading. And lots more, which is better summarized
|
||||
on http://www.mutt.org
|
||||
* Tue May 28 2002 - mmj@suse.de
|
||||
- Added a patch to allow longer lines [Bug #16030]
|
||||
- Added a patch to allow mailboxes > 2 GB [Bug #16356]
|
||||
* Tue May 14 2002 - mmj@suse.de
|
||||
- Added a patch from Matthias Eckermann to include the original
|
||||
To: field in the new To: when doing group reply, and the boolean
|
||||
'send_group_reply_to' is set.
|
||||
* Fri May 03 2002 - mmj@suse.de
|
||||
- Update to 1.3.99 which is just bugfix release towards 1.4
|
||||
* Wed Apr 03 2002 - mmj@suse.de
|
||||
- automake/autoconf fix. Use AC_LIBOBJ instead of LIBOBJS.
|
||||
* Wed Mar 20 2002 - mmj@suse.de
|
||||
- Fix segfault in pgpewrap when invoked with incorrect arguments.
|
||||
Fixes Bug #15213, patch from axboe@
|
||||
* Wed Mar 13 2002 - mmj@suse.de
|
||||
- Make /etc/Muttrc %%config(noreplace)
|
||||
* Wed Mar 13 2002 - mmj@suse.de
|
||||
- Updated to 1.3.28
|
||||
* Sun Feb 24 2002 - mmj@suse.de
|
||||
- Re-added patches known to work very well, but that was left out
|
||||
to evaluate vanilla 1.3.27i:
|
||||
- Compressed folder support
|
||||
- Iconv patch that fixes qp problems in multibyte locales
|
||||
* Thu Feb 14 2002 - schwab@suse.de
|
||||
- Don't add /usr/include to include search path.
|
||||
* Mon Feb 04 2002 - mmj@suse.de
|
||||
- Updated to newest beta-release 1.3.27
|
||||
* Wed Jan 02 2002 - poeml@suse.de
|
||||
- add patch-1.2,3.rfc822_terminate.1 which fixes a remote
|
||||
exploitable string buffer overflow
|
||||
(minus hunks #8 and #10 which are already in 1.3.22.1)
|
||||
* Tue Sep 18 2001 - bjacke@suse.de
|
||||
- fix a possible segfault for a certain search pattern
|
||||
- fix a possible crash scenario when using gpg and attachments
|
||||
* Tue Sep 04 2001 - bjacke@suse.de
|
||||
- fix some memory leaks in imap code
|
||||
- fix bug where non-regular files could be attached
|
||||
- po updates
|
||||
* Sun Sep 02 2001 - bjacke@suse.de
|
||||
- update to 1.3.22.1
|
||||
* Fri Aug 24 2001 - bjacke@suse.de
|
||||
- update to 1.3.21 which fixes some MH bugs and others
|
||||
* Mon Aug 13 2001 - ro@suse.de
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
* Thu Jul 26 2001 - bjacke@suse.de
|
||||
- update to 1.3.20
|
||||
- patched to speed up mbox-sort from n^2 to n*log(n)
|
||||
* Sat Apr 28 2001 - bjacke@suse.de
|
||||
- another l10n fix
|
||||
- save manuals gzipped
|
||||
* Wed Apr 25 2001 - mfabian@suse.de
|
||||
- remove "fuzzy" in header of ja.po. When the header is marked
|
||||
as "fuzzy", the charset will not be written to the .mo file
|
||||
and mutt will not show Japanese messages correctly.
|
||||
- don't convert string received from gettext again, the new
|
||||
version of gettext already does the conversion to the charset
|
||||
of the current locale.
|
||||
* Thu Apr 19 2001 - bjacke@suse.de
|
||||
- fixed a buffer underrun
|
||||
- fixed possible segfault (#6979)
|
||||
- redisabled buffy fix
|
||||
* Sun Mar 25 2001 - bjacke@suse.de
|
||||
- update to 1.3.16i
|
||||
- dropped superfluous additional options patch
|
||||
- add compressed folder patch
|
||||
- activated buffy fix to circumvent recent NFS a-time problems
|
||||
* Wed Jan 31 2001 - bjacke@suse.de
|
||||
- fixed version in specfile
|
||||
* Thu Jan 25 2001 - bjacke@suse.de
|
||||
- dropped tmp patch wich did more bad than good
|
||||
* Wed Jan 10 2001 - bjacke@suse.de
|
||||
- fixed latest fix
|
||||
* Tue Jan 09 2001 - bjacke@suse.de
|
||||
- applied tmp file patch
|
||||
- added smtp_daemon to requires
|
||||
* Mon Dec 18 2000 - bjacke@suse.de
|
||||
- merged muttssl and mutt
|
||||
* Mon Dec 11 2000 - bjacke@suse.de
|
||||
- enable fcntl and disable flock locking
|
||||
* Tue Nov 28 2000 - bjacke@suse.de
|
||||
- update to 1.3.12i due to glibc 2.2 locale issues
|
||||
- fixed neededforbuild (bug 4254)
|
||||
- minor specfile changes
|
||||
* Mon Sep 04 2000 - vinil@suse.cz
|
||||
- czech po file corrected
|
||||
* Mon Jul 31 2000 - werner@suse.de
|
||||
- Update to 1.2.5i due bug fixes (IMAP, SIGSEGV in curs_main.c)
|
||||
* Fri Jul 07 2000 - werner@suse.de
|
||||
- Update to 1.2.4i due to fixes (IMAP, SSL, ...) done in 1.2.3
|
||||
and 1.2.4
|
||||
* Thu Jun 29 2000 - werner@suse.de
|
||||
- Split spec of mutt and muttssl to avoid conflicts during build
|
||||
- Use different build root to avoid mixed versions
|
||||
- Update to 1.2.2i to avoid bugs in SSL code, core dumps, and
|
||||
mailbox corruption
|
||||
* Mon May 15 2000 - werner@suse.de
|
||||
- Update to new version 1.2i
|
||||
* move changes to 1.2i
|
||||
* enable SSL for imap
|
||||
* add *.rc from contrib path to doc (samples for pgp using)
|
||||
- Split mutt into mutt and muttssl
|
||||
* Wed Mar 08 2000 - werner@suse.de
|
||||
- Disable --enable-exact-address because it fools the users by
|
||||
asking questions for nothing.
|
||||
* Tue Feb 22 2000 - werner@suse.de
|
||||
- Fix programming bug: ncurses now does what the docu says.
|
||||
Therefore use_default_color() should be called only once
|
||||
after start_color().
|
||||
* Tue Jan 25 2000 - werner@suse.de
|
||||
- New version 1.0.1i with some minor bug fixes
|
||||
* Tue Jan 25 2000 - kasal@suse.de
|
||||
- urlview moved to a new package
|
||||
* Tue Jan 18 2000 - werner@suse.de
|
||||
- /usr/man -> /usr/share/man
|
||||
- target is ${RPM_ARCH}-suse-linux and nothing more
|
||||
* Tue Jan 18 2000 - werner@suse.de
|
||||
- New mutt version 1.0i
|
||||
* patch for two letter year (e.g. 00)
|
||||
- New urlview version
|
||||
* A SuSE url_handler.sh script
|
||||
* A SuSE urlview.conf
|
||||
* Mon Oct 18 1999 - garloff@suse.de
|
||||
- highlight_unread sometimes didn't work. Fixed.
|
||||
* Thu Oct 14 1999 - garloff@suse.de
|
||||
- Added contrib/Pine.rc and Mush.rc to as %%docs
|
||||
* Wed Oct 13 1999 - garloff@suse.de
|
||||
- Two new options: "delete_tilde" and "highlight_unread".
|
||||
The meaning is obvious ...
|
||||
* Fri Oct 01 1999 - werner@suse.de
|
||||
- Added gpg in neededforbuild to get both pgp and gpg
|
||||
path included into mutt.
|
||||
* Tue Sep 28 1999 - werner@suse.de
|
||||
- Put urlview into mutt package
|
||||
- Use changes Muttrc instead of my.Muttrc
|
||||
* there is no variable web_browser anymore
|
||||
- Require ispell to get spell feature
|
||||
- A few sample muttrc and urlview(rc) for aaa_skel
|
||||
* Tue Sep 28 1999 - ro@suse.de
|
||||
- update to 1.0pre3
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Tue Jul 20 1999 - florian@suse.de
|
||||
- update to 0.95.6i
|
||||
* Wed Apr 14 1999 - ro@suse.de
|
||||
- use gettext in neededforbuilt (builtin won't work)
|
||||
* Tue Apr 06 1999 - ro@suse.de
|
||||
- update to 0.95.4i
|
||||
* Thu Dec 03 1998 - bs@suse.de
|
||||
- added sp and sp_libs to neededforbuild
|
||||
* Wed Dec 02 1998 - bs@suse.de
|
||||
- use sgmtools instead of linuxdoc for build
|
||||
* Wed Jul 29 1998 - florian@suse.de
|
||||
- add security patch
|
||||
* Sun Jul 19 1998 - florian@suse.de
|
||||
- update to version 0.93.1i
|
||||
* Thu Feb 05 1998 - florian@suse.de
|
||||
- update to version 0.89.1
|
||||
* Thu Oct 09 1997 - florian@suse.de
|
||||
- update to version 0.85
|
||||
* Tue May 20 1997 - florian@suse.de
|
||||
- update to version 0.74
|
||||
* Sun Apr 13 1997 - florian@suse.de
|
||||
- update to new version 0.69
|
||||
* Tue Jan 28 1997 - florian@suse.de
|
||||
- update to new version 0.59
|
||||
- pgp-support is enabled
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.52
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.51
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.50
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to version 0.49
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- Neue Version 0.48.1 mit vielen Veraenderungen.
|
||||
- Anpassungen fuer eine korrekte Host-Absenderadresse.
|
||||
- Umstieg auf non-sgid-mail spool-Verzeichnis.
|
||||
* Thu Jan 02 1997 - florian@suse.de
|
||||
- update to newer version
|
||||
Mon Sep 2 03:06:07 MET DST 1996
|
||||
new version.
|
3
patch-1.5.13.rr.compressed.1.bz2
Normal file
3
patch-1.5.13.rr.compressed.1.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b2277cc35b9ba3fcca913ccf919e8896ccf540b17348218a6d2c41ceed976fb
|
||||
size 10151
|
3
patch-1.5.13.sidebar.20061023.txt.bz2
Normal file
3
patch-1.5.13.sidebar.20061023.txt.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65f683c9cf0367408a9181ce407203a6b78747c32947597af3f7935f92d15eb0
|
||||
size 11552
|
154
patch-1.5.5.1.nt.xtitles.3.ab.1
Normal file
154
patch-1.5.5.1.nt.xtitles.3.ab.1
Normal file
@ -0,0 +1,154 @@
|
||||
diff -ur ../MUTT/mutt/PATCHES mutt/PATCHES
|
||||
--- ../MUTT/mutt/PATCHES 2002-12-09 18:44:54.000000000 +0100
|
||||
+++ mutt/PATCHES 2004-01-19 13:50:52.000000000 +0100
|
||||
@@ -1,0 +1 @@
|
||||
+patch-1.5.5.1.nt.xtitles.3.ab.1
|
||||
diff -ur ../MUTT/mutt/curs_main.c mutt/curs_main.c
|
||||
--- ../MUTT/mutt/curs_main.c 2003-09-03 19:09:09.000000000 +0200
|
||||
+++ mutt/curs_main.c 2004-01-19 13:45:37.000000000 +0100
|
||||
@@ -103,6 +103,19 @@
|
||||
extern const char *ReleaseDate;
|
||||
extern size_t UngetCount;
|
||||
|
||||
+#define ASCII_CTRL_G 0x07
|
||||
+#define ASCII_CTRL_OPEN_SQUARE_BRAKET 0x1b
|
||||
+
|
||||
+void set_xterm_title_bar(char *title)
|
||||
+{
|
||||
+ fprintf(stderr ,"%c]2;%s%c", ASCII_CTRL_OPEN_SQUARE_BRAKET, title, ASCII_CTRL_G);
|
||||
+}
|
||||
+
|
||||
+void set_xterm_icon_name(char *name)
|
||||
+{
|
||||
+ fprintf(stderr, "%c]1;%s%c", ASCII_CTRL_OPEN_SQUARE_BRAKET, name, ASCII_CTRL_G);
|
||||
+}
|
||||
+
|
||||
void index_make_entry (char *s, size_t l, MUTTMENU *menu, int num)
|
||||
{
|
||||
format_flag flag = M_FORMAT_MAKEPRINT | M_FORMAT_ARROWCURSOR | M_FORMAT_INDEX;
|
||||
@@ -562,6 +575,13 @@
|
||||
mutt_paddstr (COLS, buf);
|
||||
SETCOLOR (MT_COLOR_NORMAL);
|
||||
menu->redraw &= ~REDRAW_STATUS;
|
||||
+ if (option(OPTXTERMSETTITLES))
|
||||
+ {
|
||||
+ menu_status_line (buf, sizeof (buf), menu, NONULL (XtermTitle));
|
||||
+ set_xterm_title_bar(buf);
|
||||
+ menu_status_line (buf, sizeof (buf), menu, NONULL (XtermIcon));
|
||||
+ set_xterm_icon_name(buf);
|
||||
+ }
|
||||
}
|
||||
|
||||
menu->redraw = 0;
|
||||
diff -ur ../MUTT/mutt/globals.h mutt/globals.h
|
||||
--- ../MUTT/mutt/globals.h 2003-07-15 13:41:32.000000000 +0200
|
||||
+++ mutt/globals.h 2004-01-19 13:45:37.000000000 +0100
|
||||
@@ -112,6 +112,8 @@
|
||||
WHERE char *Tochars;
|
||||
WHERE char *Username;
|
||||
WHERE char *Visual;
|
||||
+WHERE char *XtermTitle;
|
||||
+WHERE char *XtermIcon;
|
||||
|
||||
WHERE char *LastFolder;
|
||||
|
||||
diff -ur ../MUTT/mutt/init.c mutt/init.c
|
||||
--- ../MUTT/mutt/init.c 2004-01-05 19:49:00.000000000 +0100
|
||||
+++ mutt/init.c 2004-01-19 13:48:45.000000000 +0100
|
||||
@@ -891,6 +891,26 @@
|
||||
toggle_option (MuttVars[idx].data);
|
||||
else
|
||||
set_option (MuttVars[idx].data);
|
||||
+
|
||||
+ /* sanity check for xterm */
|
||||
+ if ((mutt_strcmp (MuttVars[idx].option, "xterm_set_titles") == 0)
|
||||
+ && option (OPTXTERMSETTITLES))
|
||||
+ {
|
||||
+ char *ep = getenv ("TERM");
|
||||
+ /* Make sure that the terminal can take the control codes */
|
||||
+ if (ep == NULL) unset_option (MuttVars[idx].data);
|
||||
+ else if (mutt_strncasecmp (ep, "xterm", 5) &&
|
||||
+ mutt_strncasecmp (ep, "color-xterm", 11) &&
|
||||
+ mutt_strncasecmp (ep, "eterm", 5) &&
|
||||
+ mutt_strncasecmp (ep, "kterm", 5) &&
|
||||
+ mutt_strncasecmp (ep, "nxterm", 6) &&
|
||||
+ mutt_strncasecmp (ep, "putty", 5) &&
|
||||
+ mutt_strncasecmp (ep, "screen", 6) &&
|
||||
+ mutt_strncasecmp (ep, "cygwin", 6) &&
|
||||
+ mutt_strncasecmp (ep, "rxvt", 4) )
|
||||
+ unset_option (MuttVars[idx]. data);
|
||||
+
|
||||
+ }
|
||||
}
|
||||
else if (DTYPE (MuttVars[idx].type) == DT_STR ||
|
||||
DTYPE (MuttVars[idx].type) == DT_PATH ||
|
||||
diff -ur ../MUTT/mutt/init.h mutt/init.h
|
||||
--- ../MUTT/mutt/init.h 2004-01-05 19:49:00.000000000 +0100
|
||||
+++ mutt/init.h 2004-01-19 13:45:37.000000000 +0100
|
||||
@@ -2670,6 +2670,27 @@
|
||||
** Controls whether mutt writes out the Bcc header when preparing
|
||||
** messages to be sent. Exim users may wish to use this.
|
||||
*/
|
||||
+ {"xterm_icon", DT_STR, R_BOTH, UL &XtermIcon, UL "M%?n?AIL&ail?"},
|
||||
+ /*
|
||||
+ ** .pp
|
||||
+ ** Controls the format of the icon title, as long as xterm_set_titles
|
||||
+ ** is enabled. This string is identical in formatting to the one used by
|
||||
+ ** ``$$status_format''.
|
||||
+ */
|
||||
+ {"xterm_set_titles", DT_BOOL, R_BOTH, OPTXTERMSETTITLES, 0},
|
||||
+ /*
|
||||
+ ** .pp
|
||||
+ ** Controls whether mutt sets the xterm title bar and icon name
|
||||
+ ** (as long as you're in an appropriate terminal). The default must
|
||||
+ ** be off to force in the validity checking.
|
||||
+ */
|
||||
+ {"xterm_title", DT_STR, R_BOTH, UL &XtermTitle, UL "Mutt with %?m?%m messages&no messages?%?n? [%n NEW]?"},
|
||||
+ /*
|
||||
+ ** .pp
|
||||
+ ** Controls the format of the title bar of the xterm provided that
|
||||
+ ** xterm_set_titles has been set. This string is identical in formatting
|
||||
+ ** to the one used by ``$$status_format''.
|
||||
+ */
|
||||
/*--*/
|
||||
{ NULL }
|
||||
};
|
||||
diff -ur ../MUTT/mutt/mutt.h mutt/mutt.h
|
||||
--- ../MUTT/mutt/mutt.h 2004-01-05 19:49:00.000000000 +0100
|
||||
+++ mutt/mutt.h 2004-01-19 13:45:37.000000000 +0100
|
||||
@@ -424,6 +424,7 @@
|
||||
OPTWRAPSEARCH,
|
||||
OPTWRITEBCC, /* write out a bcc header? */
|
||||
OPTXMAILER,
|
||||
+ OPTXTERMSETTITLES,
|
||||
|
||||
/* PGP options */
|
||||
|
||||
diff -ur ../MUTT/mutt/pager.c mutt/pager.c
|
||||
--- ../MUTT/mutt/pager.c 2004-01-05 19:49:00.000000000 +0100
|
||||
+++ mutt/pager.c 2004-01-19 13:45:37.000000000 +0100
|
||||
@@ -1740,6 +1740,13 @@
|
||||
SETCOLOR (MT_COLOR_STATUS);
|
||||
mutt_paddstr (COLS, buffer);
|
||||
SETCOLOR (MT_COLOR_NORMAL);
|
||||
+ if (option(OPTXTERMSETTITLES))
|
||||
+ {
|
||||
+ menu_status_line (buffer, sizeof (buffer), index, NONULL (XtermTitle));
|
||||
+ set_xterm_title_bar(buffer);
|
||||
+ menu_status_line (buffer, sizeof (buffer), index, NONULL (XtermIcon));
|
||||
+ set_xterm_icon_name(buffer);
|
||||
+ }
|
||||
}
|
||||
|
||||
redraw = 0;
|
||||
diff -ur ../MUTT/mutt/mutt_menu.h mutt/mutt_menu.h
|
||||
--- ../MUTT/mutt/mutt_menu.h 2005-09-18 10:22:22.000000000 +0200
|
||||
+++ mutt/mutt_menu.h 2006-08-28 13:17:19.000000000 +0200
|
||||
@@ -112,4 +112,7 @@
|
||||
void index_make_entry (char *, size_t, struct menu_t *, int);
|
||||
int index_color (int);
|
||||
|
||||
+void set_xterm_title_bar(char *);
|
||||
+void set_xterm_icon_name(char *);
|
||||
+
|
||||
#endif /* _MUTT_MENU_H_ */
|
Loading…
Reference in New Issue
Block a user