diff options
author | pi <pi@FreeBSD.org> | 2016-05-06 14:58:17 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-05-06 14:58:17 +0800 |
commit | 43ac4e019ede583fb0fa85a616f8d02f363c5731 (patch) | |
tree | 6d7596da0750d264a5dc12581e99388e96511089 /mail | |
parent | 9a41aff59cfd6868414436cd76897c21864532a6 (diff) | |
download | freebsd-ports-gnome-43ac4e019ede583fb0fa85a616f8d02f363c5731.tar.gz freebsd-ports-gnome-43ac4e019ede583fb0fa85a616f8d02f363c5731.tar.zst freebsd-ports-gnome-43ac4e019ede583fb0fa85a616f8d02f363c5731.zip |
mail/mutt: 1.6.0 -> 1.6.1
- bug-fixing release - no new functions
PR: 209224
Submitted by: Udo.Schweigert@siemens.com (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt/Makefile | 15 | ||||
-rw-r--r-- | mail/mutt/distinfo | 4 | ||||
-rw-r--r-- | mail/mutt/files/extra-patch-idna_no_iconv | 134 |
3 files changed, 7 insertions, 146 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 27a37f7f6b4f..9e11ccee9734 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= mutt -PORTVERSION= 1.6.0 -PORTREVISION?= 2 +PORTVERSION= 1.6.1 +PORTREVISION?= 0 CATEGORIES+= mail ipv6 MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \ @@ -211,6 +211,8 @@ DOCS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-doc-ref .include <bsd.port.options.mk> DW_PATCH_VERSION= 1.5.6 +VVV_PATCH_VERSION:= 1.6.0 +RR_PATCH_VERSION:= 1.6.0 .if !defined(VVV_PATCH_VERSION) VVV_PATCH_VERSION= ${PORTVERSION} .endif @@ -237,13 +239,6 @@ LDFLAGS+= ${LDFLAGS_ADD} PATCH_DIST_STRIP= -p1 -.if defined (LITE) -pre-patch: -.else -pre-patch-ICONV-off: -.endif - @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-idna_no_iconv - pre-patch-PARENT_CHILD_MATCH_PATCH-on: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match @@ -321,7 +316,7 @@ pre-configure:: CONFIGURE_ARGS+= --enable-hcache --without-gdbm --without-bdb --with-tokyocabinet LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet .else -USE_BDB= 42+ +USES+= bdb:42+ CONFIGURE_ARGS+= --enable-hcache --without-gdbm --with-bdb CONFIGURE_SED= -e 's/BDB_VERSIONS="/&${BDB_LIB_NAME} db${BDB_VER} /' pre-configure:: diff --git a/mail/mutt/distinfo b/mail/mutt/distinfo index 6011342306f1..22511dbe2798 100644 --- a/mail/mutt/distinfo +++ b/mail/mutt/distinfo @@ -1,5 +1,5 @@ -SHA256 (mutt/mutt-1.6.0.tar.gz) = 29afb6238ab7a540c0e3a78ce25c970f975ab6c0f0bc9f919993aab772136c19 -SIZE (mutt/mutt-1.6.0.tar.gz) = 3954591 +SHA256 (mutt/mutt-1.6.1.tar.gz) = 98b26cecc6b1713082fc880344fa345c20bd7ded6459abe18c84429c7cf8ed20 +SIZE (mutt/mutt-1.6.1.tar.gz) = 3956840 SHA256 (mutt/patch-1.6.0.rr.compressed.gz) = c57ad6b19b2dbd812c27a098273b68b2d3b45ce2d36c3a4bff3493ad2cb75b85 SIZE (mutt/patch-1.6.0.rr.compressed.gz) = 9977 SHA256 (mutt/patch-1.6.0.vvv.nntp.gz) = 6a69429c2942f438d5c22cfc3f97564bbbf689b2ea482d440692048bd92f5355 diff --git a/mail/mutt/files/extra-patch-idna_no_iconv b/mail/mutt/files/extra-patch-idna_no_iconv deleted file mode 100644 index f078919a2600..000000000000 --- a/mail/mutt/files/extra-patch-idna_no_iconv +++ /dev/null @@ -1,134 +0,0 @@ -# HG changeset patch -# User Kevin McCarthy <kevin@8t8.us> -# Date 1459891896 25200 -# Tue Apr 05 14:31:36 2016 -0700 -# Branch stable -# Node ID f7db9cefd3b0e10f0136ec8c07190a8a2f6ce697 -# Parent b983eb6c1a044c8cda5cbdc02a8e84acb946fb99 -Fix IDNA functions for systems without iconv. - -The IDNA changes for SMTPUTF8 support introduced a bug for systems -without iconv. For those systems, the local<->intl functions would -return an error due to the charset conversion failing. - -Change mutt_idna.c back to being conditionally compiled, but this time -based on HAVE_ICONV. If there is no iconv, stub out the functions in -mutt_idna.h. - -diff --git a/Makefile.am b/Makefile.am ---- a/Makefile.am -+++ b/Makefile.am -@@ -28,17 +28,17 @@ - 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 \ - postpone.c query.c recvattach.c recvcmd.c \ - rfc822.c rfc1524.c rfc2047.c rfc2231.c rfc3676.c \ - score.c send.c sendlib.c signal.c sort.c \ - status.c system.c thread.c charset.c history.c lib.c \ -- muttlib.c editmsg.c mbyte.c mutt_idna.c \ -+ muttlib.c editmsg.c mbyte.c \ - url.c ascii.c crypt-mod.c crypt-mod.h safe_asprintf.c - - nodist_mutt_SOURCES = $(BUILT_SOURCES) - - mutt_LDADD = $(MUTT_LIB_OBJECTS) $(LIBOBJS) $(LIBIMAP) $(MUTTLIBS) \ - $(INTLLIBS) $(LIBICONV) $(GPGME_LIBS) - - mutt_DEPENDENCIES = $(MUTT_LIB_OBJECTS) $(LIBOBJS) $(LIBIMAPDEPS) \ -@@ -48,17 +48,17 @@ - -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \ - -DHAVE_CONFIG_H=1 - - AM_CPPFLAGS=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(GPGME_CFLAGS) -Iintl - - EXTRA_mutt_SOURCES = account.c bcache.c crypt-gpgme.c crypt-mod-pgp-classic.c \ - crypt-mod-pgp-gpgme.c crypt-mod-smime-classic.c \ - crypt-mod-smime-gpgme.c dotlock.c gnupgparse.c hcache.c md5.c \ -- mutt_sasl.c mutt_socket.c mutt_ssl.c mutt_ssl_gnutls.c \ -+ mutt_idna.c mutt_sasl.c mutt_socket.c mutt_ssl.c mutt_ssl_gnutls.c \ - mutt_tunnel.c pgp.c pgpinvoke.c pgpkey.c pgplib.c pgpmicalg.c \ - pgppacket.c pop.c pop_auth.c pop_lib.c remailer.c resize.c sha1.c \ - smime.c smtp.c utf8.c wcwidth.c \ - bcache.h browser.h hcache.h mbyte.h mutt_idna.h remailer.h url.h - - EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO UPDATING \ - configure account.h \ - attach.h buffy.h charset.h copy.h crypthash.h dotlock.h functions.h gen_defs \ -diff --git a/configure.ac b/configure.ac ---- a/configure.ac -+++ b/configure.ac -@@ -1159,16 +1159,23 @@ - AC_CHECK_FUNCS(bind_textdomain_codeset) - LIBS="$mutt_save_LIBS" - fi - - fi # libiconv - - dnl -- IDN depends on iconv - -+dnl mutt_idna.c will perform charset transformations (for smtputf8 -+dnl support) as long as at least iconv is installed. If there is no -+dnl iconv, then it doesn't need to be included in the build. -+if test "$am_cv_func_iconv" = yes; then -+ MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_idna.o" -+fi -+ - AC_ARG_WITH(idn, AS_HELP_STRING([--with-idn=@<:@PFX@:>@],[Use GNU libidn for internationalized domain names]), - [ - if test "$with_idn" != "no" ; then - if test "$with_idn" != "yes" ; then - CPPFLAGS="$CPPFLAGS -I$with_idn/include" - LDFLAGS="$LDFLAGS -L$with_idn/lib" - fi - fi -diff --git a/mutt_idna.h b/mutt_idna.h ---- a/mutt_idna.h -+++ b/mutt_idna.h -@@ -40,18 +40,45 @@ - # define idna_to_ascii_lz(a,b,c) idna_to_ascii_from_locale(a,b,(c)&1,((c)&2)?1:0) - # endif - # if (!defined(HAVE_IDNA_TO_UNICODE_8Z8Z) && defined(HAVE_IDNA_TO_UNICODE_UTF8_FROM_UTF8)) - # define idna_to_unicode_8z8z(a,b,c) idna_to_unicode_utf8_from_utf8(a,b,(c)&1,((c)&2)?1:0) - # endif - #endif /* HAVE_LIBIDN */ - - -+#ifdef HAVE_ICONV - int mutt_addrlist_to_intl (ADDRESS *, char **); - int mutt_addrlist_to_local (ADDRESS *); - - void mutt_env_to_local (ENVELOPE *); - int mutt_env_to_intl (ENVELOPE *, char **, char **); - - const char *mutt_addr_for_display (ADDRESS *a); -+#else -+static inline int mutt_addrlist_to_intl (ADDRESS *addr, char **err) -+{ -+ return 0; -+} -+ -+static inline int mutt_addrlist_to_local (ADDRESS *addr) -+{ -+ return 0; -+} -+ -+static inline void mutt_env_to_local (ENVELOPE *env) -+{ -+ return; -+} -+ -+static inline int mutt_env_to_intl (ENVELOPE *env, char **tag, char **err) -+{ -+ return 0; -+} -+ -+static inline const char *mutt_addr_for_display (ADDRESS *a) -+{ -+ return a->mailbox; -+} -+#endif /* HAVE_LIBICONV */ - - - #endif |