Update to mutt-1.5.12 snapshot.

tested by many
This commit is contained in:
bernd 2006-08-02 14:30:09 +00:00
parent 5fcb5b773a
commit 909e1ec157
11 changed files with 63 additions and 85 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.21 2006/03/22 12:43:09 bernd Exp $
# $OpenBSD: Makefile.inc,v 1.22 2006/08/02 14:30:09 bernd Exp $
CATEGORIES= mail
@ -25,6 +25,7 @@ WANTLIB= c crypto des ssl
FLAVORS+= slang mixmaster compressed
FLAVOR?=
AUTOCONF_VERSION?= 2.59
CONFIGURE_STYLE= autoconf old
CONFIGURE_ARGS= --with-sharedir="${PREFIX}/share/mutt" \
--with-docdir="${PREFIX}/share/doc/mutt" \
@ -70,10 +71,10 @@ RUN_DEPENDS+= ::mail/mixmaster
.endif
.if ${FLAVOR:L:Mhcache}
CONFIGURE_ARGS+= --enable-hcache
CONFIGURE_ARGS+= --enable-hcache --without-qdbm
LIB_DEPENDS+= gdbm.2::databases/gdbm
.else
CONFIGURE_ARGS+= --without-gdbm
CONFIGURE_ARGS+= --without-gdbm --without-qdbm
.endif
.if ${FLAVOR:L:Midn}
@ -84,10 +85,10 @@ CONFIGURE_ARGS+= --without-idn
.endif
.if ${FLAVOR:L:Msidebar}
PATCHFILES+= patch-1.5.10i.sidebar.20050816.txt-fixed:1
PATCHFILES+= patch-1.5.12.sidebar.20060720.txt-fixed:1
PATCH_DIST_STRIP= -p1
.else
SUPDISTFILES+= patch-1.5.10i.sidebar.20050816.txt-fixed:1
SUPDISTFILES+= patch-1.5.12.sidebar.20060720.txt-fixed:1
.endif
.if defined(HOMESPOOL)

View File

@ -1,14 +1,11 @@
# $OpenBSD: Makefile,v 1.39 2006/06/21 08:16:45 bernd Exp $
# $OpenBSD: Makefile,v 1.40 2006/08/02 14:30:09 bernd Exp $
COMMENT= "tty-based e-mail client, development version"
VERSION= 1.5.11
VERSION= 1.5.12
DISTNAME= mutt-${VERSION}
PKGNAME= ${DISTNAME}p3
MASTER_SITES= ${MASTER_SITES_MUTT:=devel/}
AUTOCONF_VERSION= 2.59
FLAVORS= hcache idn sidebar
.include <bsd.port.mk>

View File

@ -1,12 +1,12 @@
MD5 (mutt-1.5.11.tar.gz) = 00e6f8f7c37d4840e5e30583ebee21ce
MD5 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 5ea280615802a0b95c1460021d85cbec
MD5 (patch-1.5.11.rr.compressed.1.gz) = fb79645e8269e2f5bfb53a8ecf955bf7
RMD160 (mutt-1.5.11.tar.gz) = 812bfa6b1c9bfb1650341f7522298699c7b214a5
RMD160 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 8a0db3dd9f368f0685739ef995d06bc69c9885d4
RMD160 (patch-1.5.11.rr.compressed.1.gz) = 00f3302e86ce382e274e1b1745e0082ef1f643c4
SHA1 (mutt-1.5.11.tar.gz) = cc5823016fe7de6ee3a131b19a3f78796f9f53d5
SHA1 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 43372798b01357ab7162ab7051a556d378e34e4f
SHA1 (patch-1.5.11.rr.compressed.1.gz) = 0a82f2253d11655a6f743d1a2cfc82877c4ef134
SIZE (mutt-1.5.11.tar.gz) = 3187375
SIZE (patch-1.5.10i.sidebar.20050816.txt-fixed) = 47269
SIZE (patch-1.5.11.rr.compressed.1.gz) = 10433
MD5 (mutt-1.5.12.tar.gz) = 57196c816211a72900fdc54341eb0132
MD5 (patch-1.5.12.rr.compressed.1.gz) = bb7e439d74b22ede912d2d30862b1367
MD5 (patch-1.5.12.sidebar.20060720.txt-fixed) = 0f9d206c2d63b29581a934f6aedffbc2
RMD160 (mutt-1.5.12.tar.gz) = e68d4c5b099b8148769d138a36fa8561b278969c
RMD160 (patch-1.5.12.rr.compressed.1.gz) = 7c9ba32d944cc842c340535ee629133052e2680f
RMD160 (patch-1.5.12.sidebar.20060720.txt-fixed) = bea87a7cbbff8389912dbd95231619f5d2d027ee
SHA1 (mutt-1.5.12.tar.gz) = bb888a35f42a77de7e326c03b60854ad1cc266ea
SHA1 (patch-1.5.12.rr.compressed.1.gz) = 23d231f43d83e01e79cde9861679116541436446
SHA1 (patch-1.5.12.sidebar.20060720.txt-fixed) = dedf1e370c08c224d562b52493598a34a7b61cff
SIZE (mutt-1.5.12.tar.gz) = 3440835
SIZE (patch-1.5.12.rr.compressed.1.gz) = 10430
SIZE (patch-1.5.12.sidebar.20060720.txt-fixed) = 47421

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.3 2006/08/02 14:30:09 bernd Exp $
--- Makefile.in.orig Fri Jul 14 20:21:03 2006
+++ Makefile.in Fri Jul 21 18:08:41 2006
@@ -939,7 +939,7 @@ info: info-recursive
info-am:
-install-data-am: install-data-local
+install-data-am: Muttrc
install-exec-am: install-binPROGRAMS install-binSCRIPTS
@$(NORMAL_INSTALL)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_in,v 1.4 2005/09/29 17:25:28 bernd Exp $
--- configure.in.orig Thu Sep 15 16:21:24 2005
+++ configure.in Thu Sep 15 20:05:30 2005
@@ -459,7 +459,7 @@ docdir=$mutt_cv_docdir
$OpenBSD: patch-configure_in,v 1.5 2006/08/02 14:30:09 bernd Exp $
--- configure.in.orig Fri Jul 14 20:15:32 2006
+++ configure.in Sat Jul 15 11:06:15 2006
@@ -476,7 +476,7 @@ docdir=$mutt_cv_docdir
AC_SUBST(docdir)
if test x$mutt_cv_setgid = xyes; then

View File

@ -1,23 +1,23 @@
$OpenBSD: patch-doc_Makefile_in,v 1.4 2005/09/29 17:25:28 bernd Exp $
--- doc/Makefile.in.orig Thu Sep 15 16:19:54 2005
+++ doc/Makefile.in Tue Sep 27 15:52:56 2005
@@ -68,7 +68,7 @@ topsrcdir_DOCFILES = COPYRIGHT GPL INSTA
ChangeLog.old \
README NEWS TODO README.SECURITY README.SSL
$OpenBSD: patch-doc_Makefile_in,v 1.5 2006/08/02 14:30:09 bernd Exp $
--- doc/Makefile.in.orig Wed Jul 5 10:40:07 2006
+++ doc/Makefile.in Sat Jul 15 11:08:39 2006
@@ -71,7 +71,7 @@ topsrcdir_DOCFILES = COPYRIGHT GPL INSTA
all: ../makedoc$(EXEEXT)
$(MAKE) makedoc-all
-all: mutt.1 muttrc.man manual.html stamp-doc-chunked manual.txt
+all: mutt.1 muttrc.man
-makedoc-all: mutt.1 muttrc.man manual.html stamp-doc-chunked manual.txt
+makedoc-all: mutt.1 muttrc.man
install: all instdoc
install: makedoc-all instdoc
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
@@ -169,8 +169,8 @@ update-doc: ../makedoc$(EXEEXT) stamp-d
@@ -171,8 +171,8 @@ update-doc: stamp-doc-xml stamp-doc-chun
muttrc.man stamp-doc-man: ../makedoc$(EXEEXT) $(top_srcdir)/init.h muttrc.man.head muttrc.man.tail
muttrc.man: ../makedoc$(EXEEXT) $(top_srcdir)/init.h muttrc.man.head muttrc.man.tail
$(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -m | \
- cat $(srcdir)/muttrc.man.head - $(srcdir)/muttrc.man.tail\
- > muttrc.man
+ cat $(srcdir)/muttrc.man.head - $(srcdir)/muttrc.man.tail | \
+ /usr/bin/tbl > muttrc.man
touch stamp-doc-man
EDIT = sed -e 's,@sysconfdir\@,$(sysconfdir),g' \
-e 's,@bindir\@,$(bindir),g' \

View File

@ -1,33 +0,0 @@
$OpenBSD: patch-imap_browse_c,v 1.1 2006/06/21 08:16:45 bernd Exp $
From mutt CVS:
Fix browse_get_namespace() which could overflow ns[LONG_STRING].
(Possible remote vulnerability)
--- imap/browse.c.orig Tue Jun 20 15:40:30 2006
+++ imap/browse.c Tue Jun 20 15:42:34 2006
@@ -512,7 +512,7 @@ static int browse_get_namespace (IMAP_DA
if (*s == '\"')
{
s++;
- while (*s && *s != '\"')
+ while (*s && *s != '\"' && n < sizeof (ns) - 1)
{
if (*s == '\\')
s++;
@@ -523,12 +523,14 @@ static int browse_get_namespace (IMAP_DA
s++;
}
else
- while (*s && !ISSPACE (*s))
+ while (*s && !ISSPACE (*s) && n < sizeof (ns) - 1)
{
ns[n++] = *s;
s++;
}
ns[n] = '\0';
+ if (n == sizeof (ns) - 1)
+ dprint (1, (debugfile, "browse_get_namespace: too long: [%s]\n", ns));
/* delim? */
s = imap_next_word (s);
/* delimiter is meaningless if namespace is "". Why does

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-mutt_tunnel_c,v 1.3 2005/09/14 21:00:03 bernd Exp $
--- mutt_tunnel.c.orig Thu Aug 11 21:37:02 2005
+++ mutt_tunnel.c Fri Aug 12 09:21:37 2005
@@ -95,7 +95,7 @@ static int tunnel_socket_open (CONNECTIO
$OpenBSD: patch-mutt_tunnel_c,v 1.4 2006/08/02 14:30:09 bernd Exp $
--- mutt_tunnel.c.orig Tue Dec 20 10:36:02 2005
+++ mutt_tunnel.c Sat Jul 15 11:06:15 2006
@@ -97,7 +97,7 @@ static int tunnel_socket_open (CONNECTIO
/* Don't let the subprocess think it can use the controlling tty */
setsid ();

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2005/09/29 17:25:28 bernd Exp $
@comment $OpenBSD: PLIST,v 1.15 2006/08/02 14:30:09 bernd Exp $
bin/flea
bin/mutt
bin/mutt_dotlock
@ -31,6 +31,7 @@ share/doc/mutt/configuration.html
share/doc/mutt/devel-notes.txt
share/doc/mutt/gettingstarted.html
share/doc/mutt/index.html
share/doc/mutt/intro.html
share/doc/mutt/manual.html
share/doc/mutt/manual.txt
share/doc/mutt/mimesupport.html
@ -80,8 +81,6 @@ share/examples/mutt/sample.muttrc-tlr
share/examples/mutt/smime.rc
share/examples/mutt/smime_keys_test.pl
share/locale/bg/LC_MESSAGES/mutt.mo
share/locale/ca/
share/locale/ca/LC_MESSAGES/
share/locale/ca/LC_MESSAGES/mutt.mo
share/locale/cs/LC_MESSAGES/mutt.mo
share/locale/da/LC_MESSAGES/mutt.mo
@ -90,7 +89,11 @@ share/locale/el/LC_MESSAGES/mutt.mo
share/locale/eo/LC_MESSAGES/mutt.mo
share/locale/es/LC_MESSAGES/mutt.mo
share/locale/et/LC_MESSAGES/mutt.mo
share/locale/eu/
share/locale/eu/LC_MESSAGES/
share/locale/eu/LC_MESSAGES/mutt.mo
share/locale/fr/LC_MESSAGES/mutt.mo
share/locale/ga/LC_MESSAGES/mutt.mo
share/locale/gl/LC_MESSAGES/mutt.mo
share/locale/hu/LC_MESSAGES/mutt.mo
share/locale/id/LC_MESSAGES/mutt.mo

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2006/07/24 09:44:20 bernd Exp $
# $OpenBSD: Makefile,v 1.30 2006/08/02 14:30:09 bernd Exp $
COMMENT= "tty-based e-mail client"
@ -6,6 +6,4 @@ VERSION= 1.4.2.2
DISTNAME= mutt-${VERSION}i
MASTER_SITES= ${MASTER_SITES_MUTT}
AUTOCONF_VERSION=2.59
.include <bsd.port.mk>

View File

@ -1,12 +1,12 @@
MD5 (mutt-1.4.2.2i.tar.gz) = 51a08429c5bd5c34af3f4268b8cbcda3
MD5 (patch-1.4.2.2.rr.compressed.1.gz) = 6b61f6bf10794a33b8d2970b83bc3648
MD5 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 5ea280615802a0b95c1460021d85cbec
MD5 (patch-1.5.12.sidebar.20060720.txt-fixed) = 0f9d206c2d63b29581a934f6aedffbc2
RMD160 (mutt-1.4.2.2i.tar.gz) = a749c13e9b56b0f3cf09ce5eabae3fd2edce4c0a
RMD160 (patch-1.4.2.2.rr.compressed.1.gz) = 0ae34b049db504071d88089610ddf59f3a66d8e0
RMD160 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 8a0db3dd9f368f0685739ef995d06bc69c9885d4
RMD160 (patch-1.5.12.sidebar.20060720.txt-fixed) = bea87a7cbbff8389912dbd95231619f5d2d027ee
SHA1 (mutt-1.4.2.2i.tar.gz) = 0ee12f734f21186b143fa96a5ea79f72397747fb
SHA1 (patch-1.4.2.2.rr.compressed.1.gz) = f6379734199055ad4abc9821bbe6d96356fbb75e
SHA1 (patch-1.5.10i.sidebar.20050816.txt-fixed) = 43372798b01357ab7162ab7051a556d378e34e4f
SHA1 (patch-1.5.12.sidebar.20060720.txt-fixed) = dedf1e370c08c224d562b52493598a34a7b61cff
SIZE (mutt-1.4.2.2i.tar.gz) = 2676306
SIZE (patch-1.4.2.2.rr.compressed.1.gz) = 13567
SIZE (patch-1.5.10i.sidebar.20050816.txt-fixed) = 47269
SIZE (patch-1.5.12.sidebar.20060720.txt-fixed) = 47421