From ad25e99fefd882b2995ff567db00e95a7649384a Mon Sep 17 00:00:00 2001 From: Phil Eichinger Date: Tue, 17 Oct 2017 16:37:38 +0200 Subject: [PATCH] mutt: bump version * no-po-no-docs patch reworked, docs are disabled via ./configure now * drop CVE patch, fix already in upstream * autoreconf to fix CI build Signed-off-by: Phil Eichinger --- mail/mutt/Makefile | 8 ++++-- mail/mutt/patches/0001-no-po-and-docs.patch | 27 ------------------ mail/mutt/patches/0001-no-po.patch | 26 +++++++++++++++++ mail/mutt/patches/100-CVE-2014-9116.patch | 31 --------------------- 4 files changed, 31 insertions(+), 61 deletions(-) delete mode 100644 mail/mutt/patches/0001-no-po-and-docs.patch create mode 100644 mail/mutt/patches/0001-no-po.patch delete mode 100644 mail/mutt/patches/100-CVE-2014-9116.patch diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 8da33ecb68..2621c768d7 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -8,18 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mutt -PKG_VERSION:=1.7.2 +PKG_VERSION:=1.9.1 PKG_RELEASE:=1 PKG_SOURCE_URL:=ftp://ftp.mutt.org/pub/mutt/ \ https://bitbucket.org/mutt/mutt/downloads/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_HASH:=1553501687cd22d5b8aaee4dc5a7d9dcf6cc61d7956f6aabaadd252d10cd5ff9 +PKG_HASH:=749b83a96373c6e2101ebe8c4b9a651735e02c478edb750750a5146a15d91bb1 PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=GPL PKG_MAINTAINER:=Phil Eichinger +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 @@ -44,7 +45,8 @@ CONFIGURE_ARGS += \ --enable-pop \ --enable-imap \ --with-ssl \ - --without-idn + --without-idn \ + --disable-doc define Package/mutt/install $(INSTALL_DIR) $(1)/usr/bin diff --git a/mail/mutt/patches/0001-no-po-and-docs.patch b/mail/mutt/patches/0001-no-po-and-docs.patch deleted file mode 100644 index 08d6e65a50..0000000000 --- a/mail/mutt/patches/0001-no-po-and-docs.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b0e285a8c7faaec8807fdd677da6750f341f0109 Mon Sep 17 00:00:00 2001 -From: Phil Eichinger -Date: Thu, 19 Nov 2015 13:18:53 +0100 -Subject: [PATCH] no po and docs - -[adapted old patch and converted to git patch] -Signed-off-by: Phil Eichinger ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 1909835..cfa7ca0 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -470,7 +470,7 @@ get_cs_cmdline = $(call get_cs_compile,$ - AUTOMAKE_OPTIONS = 1.6 foreign - @BUILD_IMAP_TRUE@IMAP_SUBDIR = imap - @BUILD_IMAP_TRUE@IMAP_INCLUDES = -I$(top_srcdir)/imap --SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR) -+SUBDIRS = m4 intl contrib $(IMAP_SUBDIR) - bin_SCRIPTS = muttbug flea $(SMIMEAUX_TARGET) - @BUILD_HCACHE_TRUE@HCVERSION = hcversion.h - BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h conststrings.c $(HCVERSION) --- -2.1.4 - diff --git a/mail/mutt/patches/0001-no-po.patch b/mail/mutt/patches/0001-no-po.patch new file mode 100644 index 0000000000..51ea760a9f --- /dev/null +++ b/mail/mutt/patches/0001-no-po.patch @@ -0,0 +1,26 @@ +From 6dbfafd4b8bfc9f5e53db90c5279784c506a3253 Mon Sep 17 00:00:00 2001 +From: Phil Eichinger +Date: Tue, 17 Oct 2017 06:44:04 +0200 +Subject: [PATCH] no po + +docs are disabled via ./configure --disable-doc now +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 4bc2db4..bb00927 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -14,7 +14,7 @@ IMAP_SUBDIR = imap + IMAP_INCLUDES = -I$(top_srcdir)/imap + endif + +-SUBDIRS = m4 po intl $(DOC_SUBDIR) contrib $(IMAP_SUBDIR) ++SUBDIRS = m4 intl $(DOC_SUBDIR) contrib $(IMAP_SUBDIR) + + bin_SCRIPTS = muttbug flea $(SMIMEAUX_TARGET) + +-- +2.11.0 + diff --git a/mail/mutt/patches/100-CVE-2014-9116.patch b/mail/mutt/patches/100-CVE-2014-9116.patch deleted file mode 100644 index b1cf0f98eb..0000000000 --- a/mail/mutt/patches/100-CVE-2014-9116.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Antonio Radici -Date: Fri, 18 Sep 2015 11:48:47 +0200 -Subject: 771125-CVE-2014-9116-jessie - -This patch solves the issue raised by CVE-2014-9116 in bug 771125. - -We correctly redefine what are the whitespace characters as per RFC5322; by -doing so we prevent mutt_substrdup from being used in a way that could lead to -a segfault. - -The lib.c part was written by Antonio Radici to prevent -crashes due to this kind of bugs from happening again. - -Signed-off-by: Matteo F. Vescovi ---- - lib.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff -rupN a/lib.c b/lib.c ---- a/lib.c -+++ b/lib.c -@@ -815,6 +815,9 @@ char *mutt_substrdup (const char *begin, - size_t len; - char *p; - -+ if (end != NULL && end < begin) -+ return NULL; -+ - if (end) - len = end - begin; - else -- 2.30.2