Index: head/mail/mutt/Makefile =================================================================== --- head/mail/mutt/Makefile (revision 331251) +++ head/mail/mutt/Makefile (revision 331252) @@ -1,498 +1,499 @@ # Created by: Udo Schweigert # $FreeBSD$ PORTNAME= mutt -PORTVERSION= 1.5.21 -PORTREVISION= 5 +PORTVERSION= 1.5.22 +PORTREVISION= 0 CATEGORIES+= mail ipv6 MASTER_SITES= ftp://ftp.mutt.org/mutt/devel/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/devel/ \ ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \ http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \ ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \ http://www.spinnaker.de/mutt/compressed/:rr \ http://lunar-linux.org/~tchan/mutt/:tchan DISTNAME= mutt-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \ ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \ ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \ http://home.woolridge.ca/mutt/patches/:dw \ http://www.spinnaker.de/mutt/compressed/:rr \ http://www.emaillab.org/mutt/${AC_PATCH_VERSION}/:jp MAINTAINER?= udo.schweigert@siemens.com COMMENT?= The Mongrel of Mail User Agents (development version) CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-1.4* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]* DIST_SUBDIR= mutt DOCSDIR?= ${PREFIX}/share/doc/mutt EXAMPLESDIR?= ${PREFIX}/share/examples/mutt DATADIR?= ${PREFIX}/share/mutt CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" CONFIGURE_ARGS= --disable-fcntl --with-ssl=${OPENSSLBASE} \ --with-docdir=${DOCSDIR} --sysconfdir=${PREFIX}/etc \ --enable-external-dotlock --enable-pop --enable-imap \ --disable-warnings .if defined(MUTT_CONFIGURE_ARGS) CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS} .endif USE_AUTOTOOLS= automake autoconf AUTOMAKE_ARGS= --add-missing USE_OPENSSL= yes .if defined (MUTT_LITE) LITE= YES .endif .if !defined (LITE) OPTIONS_DEFINE= COMPRESSED_FOLDERS SASL DEBUG FLOCK \ GPGME GREETING_PATCH GSSAPI HTML ICONV IDN IFDEF_PATCH \ IMAP_HEADER_CACHE LOCALES_FIX MAILBOX_MANPAGES \ MAILDIR_HEADER_CACHE MAILDIR_MTIME_PATCH \ NNTP PARENT_CHILD_MATCH_PATCH \ QUOTE_PATCH REVERSE_REPLY_PATCH SGMLFORMAT SIDEBAR_PATCH \ SIGNATURE_MENU SMART_DATE SMIME_OUTLOOK_COMPAT SMTP \ TOKYOCABINET TRASH_PATCH XML OPTIONS_SINGLE= SCREEN OPTIONS_RADIO= SPELL OPTIONS_RADIO_SPELL= ASPELL ISPELL OPTIONS_SINGLE_SCREEN= NCURSES SLANG COMPRESSED_FOLDERS_DESC= Compressed folders SASL_DESC= SASL authentication DEBUG_DESC= Debugging capabilities FLOCK_DESC= flock() usage GPGME_DESC= Gpgme interface GREETING_PATCH_DESC= Greeting support GSSAPI_DESC= Use the gss API HTML_DESC= HTML documentation IFDEF_PATCH_DESC= ifdef feature IMAP_HEADER_CACHE_DESC= IMAP header cache LOCALES_FIX_DESC= Locales fix MAILBOX_MANPAGES_DESC= Install mbox.5/mmdf.5 manpages MAILDIR_HEADER_CACHE_DESC= Maildir header cache MAILDIR_MTIME_PATCH_DESC= Maildir mtime patch MBOX_HOOK_PATCH_DESC= Enhanced mbox-hook NCURSES_DESC= Ncurses support PARENT_CHILD_MATCH_PATCH_DESC= Parent/child match QUOTE_PATCH_DESC= Extended quoting REVERSE_REPLY_PATCH_DESC= Reverse_reply SGMLFORMAT_DESC= SGML support SIDEBAR_PATCH_DESC= Sidebar support SIGNATURE_MENU_DESC= Signature menu SLANG_DESC= SLANG support SMART_DATE_DESC= Dynamic date formatting with "%@" SMIME_OUTLOOK_COMPAT_DESC= SMIME outlook compatibility SMTP_DESC= SMTP relay support TOKYOCABINET_DESC= Use tokyocabinet instead of Berkley DB TRASH_PATCH_DESC= Trash folder support XML_DESC= Use XML tools for building documentation OPTIONS_DEFAULT= COMPRESSED_FOLDERS HTML ICONV MAILBOX_MANPAGES \ NCURSES QUOTE_PATCH SGMLFORMAT SMIME_OUTLOOK_COMPAT \ NLS XML .endif PLIST= ${WRKDIR}/PLIST PKGMESSAGE= ${WRKDIR}/pkg-message SCRIPTS_ENV= WRKDIR="${WRKDIR}" NO_STAGE= yes .include DW_PATCH_VERSION= 1.5.6 AC_PATCH_VERSION= 1.5.9 DW_MBOX_PATCH_VERSION= 1.5.18 .if !defined(VVV_PATCH_VERSION) VVV_PATCH_VERSION= ${PORTVERSION} .endif .if !defined(RR_PATCH_VERSION) RR_PATCH_VERSION= ${PORTVERSION} .endif .if !defined(DW_PATCH_VERSION) DW_PATCH_VERSION= ${PORTVERSION} .endif .if !defined(DW_MBOX_PATCH_VERSION) DW_MBOX_PATCH_VERSION= ${DW_PATCH_VERSION} .endif .if !defined(AC_PATCH_VERSION) AC_PATCH_VERSION= ${PORTVERSION} .endif .if defined (LITE) PKGNAMESUFFIX= -lite .endif # XXX # this should be done automagically by aclocal but .... # for now, this will have to do pre-build: @${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \ -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \ -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \ -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \ ${BUILD_WRKSRC}/Makefile RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support .if !defined (LITE) .if ${PORT_OPTIONS:MASPELL} BUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell .elif ${PORT_OPTIONS:MISPELL} BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell .endif .if defined(PACKAGE_BUILDING) RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview .endif .endif # Handle ncurses/ncurses-port/slang .if ${PORT_OPTIONS:MSLANG} CONFIGURE_ARGS+= --with-slang=${LOCALBASE} -LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 +LIB_DEPENDS+= libslang.so:${PORTSDIR}/devel/libslang2 .endif -.if ${PORT_OPTIONS:NCURSES} +.if ${PORT_OPTIONS:MNCURSES} USES= ncurses .endif .if ! ${PORT_OPTIONS:MSGMLFORMAT} || ! ${PORT_OPTIONS:MXML} || !defined(XML_USED) \ || ! ${PORT_OPTIONS:MDOCS} XML_USED= no .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext SCRIPTS_ENV+= NLS="yes" .else CONFIGURE_ARGS+= --disable-nls .endif .if ${PORT_OPTIONS:MSASL} -LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2 +LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .endif .if ${PORT_OPTIONS:MSMIME_OUTLOOK_COMPAT} post-patch:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smime-outlook .endif .if ${PORT_OPTIONS:MSMART_DATE} post-patch:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smartdate .endif .if ${PORT_OPTIONS:MSIGNATURE_MENU} IGNORE= the WITH_SIGNATURE_MENU does not work at the moment XML_NEEDED= yes SCRIPTS_ENV+= SIGNATURE_MENU="yes" post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-signature-menu .endif .if ${PORT_OPTIONS:MMAILDIR_MTIME_PATCH} post-patch:: .if ${PORT_OPTIONS:MNNTP} @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime-nntp .else @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime .endif .endif .if ${PORT_OPTIONS:MASPELL} post-patch:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-aspell .endif .if ${PORT_OPTIONS:MREVERSE_REPLY_PATCH} post-patch:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-reverse_reply .endif .if ${PORT_OPTIONS:MPARENT_CHILD_MATCH_PATCH} post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match .endif .if ${PORT_OPTIONS:MFLOCK} CONFIGURE_ARGS+= --enable-flock .else CONFIGURE_ARGS+= --disable-flock .endif .if ${PORT_OPTIONS:MLOCALES_FIX} CONFIGURE_ARGS+= --enable-locales-fix .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} .else CONFIGURE_ARGS+= --disable-iconv .endif .if ${PORT_OPTIONS:MIDN} -LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn +LIB_DEPENDS+= libidn.so:${PORTSDIR}/dns/libidn CONFIGURE_ARGS+= --with-idn .else CONFIGURE_ARGS+= --without-idn .endif .if ${PORT_OPTIONS:MGPGME} -LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme +LIB_DEPENDS+= libgpgme.so:${PORTSDIR}/security/gpgme CONFIGURE_ARGS+= --enable-gpgme .else CONFIGURE_ARGS+= --disable-gpgme .endif LDFLAGS= .if ${PORT_OPTIONS:MGSSAPI} .if exists(${LOCALBASE}/bin/krb5-config) -LIB_DEPENDS+= gssapi_krb5.2:${PORTSDIR}/security/krb5 +LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-gss=${LOCALBASE} .elif exists(${KRB5_HOME}/bin/krb5-config) -LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 +LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-gss=${KRB5_HOME} LDFLAGS+= -L${KRB5_HOME}/lib -rpath=${KRB5_HOME}/lib .elif exists(${HEIMDAL_HOME}/bin/krb5-config) -LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 +LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-gss=${HEIMDAL_HOME} LDFLAGS+= -L${HEIMDAL_HOME}/lib -rpath=${HEIMDAL_HOME}/lib .elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+= --with-gss WITH_KRB5_SYS=YES .endif .endif LDFLAGS+= -L${LOCALBASE}/lib -rpath=${LOCALBASE}/lib:/usr/lib CFLAGS+= ${CFLAGS_ADD} LDFLAGS+= ${LDFLAGS_ADD} .if ${PORT_OPTIONS:MSMTP} CONFIGURE_ARGS+= --enable-smtp .else CONFIGURE_ARGS+= --disable-smtp .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif PATCH_DIST_STRIP= -p1 .if ${PORT_OPTIONS:MCOMPRESSED_FOLDERS} DISTFILES+= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv CONFIGURE_ARGS+= --enable-compressed XML_NEEDED= yes pre-patch:: @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${RR_PATCH_VERSION}.rr.compressed.gz > ${WRKDIR}/patch-compressed @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \ ${WRKDIR}/patch-compressed @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-compressed .endif .if ${PORT_OPTIONS:MNNTP} DISTFILES+= patch-${VVV_PATCH_VERSION}.vvv.nntp.gz:vvv +DISTFILES+= patch-${VVV_PATCH_VERSION}.vvv.nntp_ru.gz:vvv CONFIGURE_ARGS+= --enable-nntp XML_NEEDED= yes CATEGORIES+= news SCRIPTS_ENV+= NNTP="yes" pre-patch:: @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${VVV_PATCH_VERSION}.vvv.nntp.gz > ${WRKDIR}/patch-nntp @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \ ${WRKDIR}/patch-nntp @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-nntp .endif .if ${PORT_OPTIONS:MQUOTE_PATCH} PATCHFILES+= patch-${VVV_PATCH_VERSION}.vvv.initials.gz:vvv \ patch-${VVV_PATCH_VERSION}.vvv.quote.gz:vvv XML_NEEDED= yes .endif .if ${PORT_OPTIONS:MIFDEF_PATCH} post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-ifdef .endif .if ${PORT_OPTIONS:MMBOX_HOOK_PATCH} IGNORE= the MBOX_HOOK_PATCH does not work at the moment #PATCHFILES+= p0-patch-${DW_MBOX_PATCH_VERSION}.dw.mbox-hook.1:dw .endif .if ${PORT_OPTIONS:MSIDEBAR_PATCH} XML_NEEDED= yes .if ${PORT_OPTIONS:MNNTP} post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar-nntp .else post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar .endif .endif .if ${PORT_OPTIONS:MGREETING_PATCH} post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-greeting .endif .if ${PORT_OPTIONS:MTRASH_PATCH} post-patch:: @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-trash-purge .endif WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} -MAN1= mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1 +MAN1= mutt.1 mutt_dotlock.1 flea.1 muttbug.1 pgpewrap.1 pgpring.1 smime_keys.1 MAN5= muttrc.5 .if ${PORT_OPTIONS:MMAILBOX_MANPAGES} MAN5+= mbox.5 mmdf.5 .endif post-patch:: @${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \ ${WRKSRC}/contrib/gpg.rc @${REINPLACE_CMD} -e 's,pgp6,pgp,g' \ ${WRKSRC}/contrib/pgp6.rc @${REINPLACE_CMD} -E -e 's|@samplesdir@|${EXAMPLESDIR}|g' \ ${WRKSRC}/contrib/Makefile.am .if ! ${PORT_OPTIONS:MMAILBOX_MANPAGES} @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-no-mbox-manpage .endif pre-configure:: @(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4) .if defined(WITH_KRB5_SYS) @${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/imap/auth_gss.c .endif .if ${PORT_OPTIONS:MSLAVE_HTML_PAGES} SCRIPTS_ENV+= SLAVE_HTML_PAGES="${SLAVE_HTML_PAGES}" .endif .if ${PORT_OPTIONS:MCOMPRESSED_FOLDERS} SCRIPTS_ENV+= COMPRESSED_FOLDERS="yes" .endif .if ${PORT_OPTIONS:MQUOTE_PATCH} SCRIPTS_ENV+= QUOTE_PATCH="yes" .endif .if ${PORT_OPTIONS:MIMAP_HEADER_CACHE} || ${PORT_OPTIONS:MMAILDIR_HEADER_CACHE} .if ${PORT_OPTIONS:MTOKYOCABINET} CONFIGURE_ARGS+= --enable-hcache --without-gdbm --without-bdb --with-tokyocabinet -LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet +LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet .else USE_BDB= 42+ CONFIGURE_ARGS+= --enable-hcache --without-gdbm --with-bdb .endif .else CONFIGURE_ARGS+= --disable-hcache .endif .if ${PORT_OPTIONS:MMAILDIR_HEADER_CACHE} CONFIGURE_ARGS+= --without-qdbm .endif .if ${PORT_OPTIONS:MSIDEBAR_PATCH} SCRIPTS_ENV+= SIDEBAR_PATCH="yes" .endif .if ${PORT_OPTIONS:MIFDEF_PATCH} SCRIPTS_ENV+= IFDEF_PATCH="yes" .endif .if ${PORT_OPTIONS:MREVERSE_REPLY_PATCH} SCRIPTS_ENV+= REVERSE_REPLY_PATCH="yes" .endif .if defined (XML_NEEDED) && ${PORT_OPTIONS:MXML} XML_USED= yes .endif .if ${PORT_OPTIONS:MHTML} XML_USED= yes .endif .if ${PORT_OPTIONS:MDOCS} || ${XML_USED} == yes INSTALL_DOCS= yes .else INSTALL_DOCS= no .endif .if ${INSTALL_DOCS} == yes SCRIPTS_ENV+= PORTDOCS="yes" .if ${PORT_OPTIONS:MHTML} SCRIPTS_ENV+= HTML="yes" .endif post-build: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \ -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \ -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \ ${WRKSRC}/doc/mutt.man @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \ -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \ -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \ ${WRKSRC}/doc/muttrc.man .else # ! INSTALL_DOCS post-patch:: .if ${PORT_OPTIONS:MMAILBOX_MANPAGES} @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-mailbox-contrib .else @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib .endif .endif # ! INSTALL_DOCS .if ${XML_USED} == yes BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ lynx:${PORTSDIR}/www/lynx post-patch:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-xml .endif pre-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST} post-install: ${INSTALL_DATA} ${WRKSRC}/doc/Muttrc ${PREFIX}/etc/Muttrc.dist .if ${INSTALL_DOCS} == yes @${ECHO} "===> Installing Mutt documentation" @${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR} @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \ ../ABOUT-NLS ../contrib/language* ${DOCSDIR} .if ${PORT_OPTIONS:MNNTP} @cd ${WRKSRC} ; ${INSTALL_MAN} ChangeLog.nntp ${DOCSDIR} .endif .if ${PORT_OPTIONS:MHTML} @${MKDIR} ${DOCSDIR}/html && ${CHMOD} a+rx ${DOCSDIR}/html ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html .endif .endif .if ${PORT_OPTIONS:MSLANG} @${ECHO} "=====================================================" > ${PKGMESSAGE} @${ECHO} "You have installed ${PORTNAME} with SLANG support." >> ${PKGMESSAGE} @${ECHO} "This may work for a color terminal only when defining" >> ${PKGMESSAGE} @${ECHO} "COLORTERM=yes and COLORFGBG=\"color1;color2\" in your" >> ${PKGMESSAGE} @${ECHO} "environment." >> ${PKGMESSAGE} @${ECHO} "=====================================================" >> ${PKGMESSAGE} .endif .if !defined(BATCH) && ${PORT_OPTIONS:MSLANG} @${CAT} ${PKGMESSAGE} @${ECHO} .endif .include Index: head/mail/mutt/distinfo =================================================================== --- head/mail/mutt/distinfo (revision 331251) +++ head/mail/mutt/distinfo (revision 331252) @@ -1,10 +1,12 @@ -SHA256 (mutt/mutt-1.5.21.tar.gz) = 2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0 -SIZE (mutt/mutt-1.5.21.tar.gz) = 3716886 -SHA256 (mutt/patch-1.5.21.rr.compressed.gz) = 5056b181222c4322667fd99a6314e80a4a8b4613357364d9deddef626136b4d9 -SIZE (mutt/patch-1.5.21.rr.compressed.gz) = 10133 -SHA256 (mutt/patch-1.5.21.vvv.nntp.gz) = 514cb4c3404bb68fef08781c17be41c6cd1251d05442db4105c6258f0b9d4928 -SIZE (mutt/patch-1.5.21.vvv.nntp.gz) = 55611 -SHA256 (mutt/patch-1.5.21.vvv.initials.gz) = ecce3643b04d1aced7085bca506896298bd56d991a5d1af057922c8358abf141 -SIZE (mutt/patch-1.5.21.vvv.initials.gz) = 691 -SHA256 (mutt/patch-1.5.21.vvv.quote.gz) = b0613d305932b31eaf005ee0740558d46561a6d7a333c97a00d34a1d0c1ef843 -SIZE (mutt/patch-1.5.21.vvv.quote.gz) = 1280 +SHA256 (mutt/mutt-1.5.22.tar.gz) = 8feae890ed0758a5108bafaef27bd8fc9c378675acf25a3c620f2c7b7540f3a7 +SIZE (mutt/mutt-1.5.22.tar.gz) = 3782237 +SHA256 (mutt/patch-1.5.22.rr.compressed.gz) = 88480159f4b30a5d257665aa091c651eb934502db08c3459975fe64a1cd700e1 +SIZE (mutt/patch-1.5.22.rr.compressed.gz) = 10214 +SHA256 (mutt/patch-1.5.22.vvv.nntp.gz) = 0de014565facf48f368cf74d8d25c31c2e68cd22810e84d1b64b55befbe48fe6 +SIZE (mutt/patch-1.5.22.vvv.nntp.gz) = 61382 +SHA256 (mutt/patch-1.5.22.vvv.nntp_ru.gz) = 899dc48b2873a6965f54c1d3a5da22f7ff94b2e4e0bdc2df6828266420dc8b07 +SIZE (mutt/patch-1.5.22.vvv.nntp_ru.gz) = 5726 +SHA256 (mutt/patch-1.5.22.vvv.initials.gz) = d5d25971f5d91b22554fa151b05ba5b76a88d8541158620eee5ae43047cd2b4b +SIZE (mutt/patch-1.5.22.vvv.initials.gz) = 684 +SHA256 (mutt/patch-1.5.22.vvv.quote.gz) = deb5c212adddf4723618a351d456989addd8840d647cb487a44545113ba5c14d +SIZE (mutt/patch-1.5.22.vvv.quote.gz) = 1288 Property changes on: head/mail/mutt/distinfo ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/mutt/files/patch-bdb =================================================================== --- head/mail/mutt/files/patch-bdb (revision 331251) +++ head/mail/mutt/files/patch-bdb (nonexistent) @@ -1,11 +0,0 @@ ---- configure.ac.orig 2009-06-09 08:50:33.000000000 +0200 -+++ configure.ac 2010-01-27 18:15:31.000000000 +0100 -@@ -976,7 +976,7 @@ - bdbpfx="$bdbpfx $d/$v" - done - done -- BDB_VERSIONS="db-4 db4 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db ''" -+ BDB_VERSIONS="db-4 db4 db-5 db5 db-5.2 db5.2 db52 db-5.1 db5.1 db51 db-5.0 db5.0 db50 db-4.8 db4.8 db48 db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db ''" - AC_MSG_CHECKING([for BerkeleyDB > 4.0]) - for d in $bdbpfx; do - BDB_INCLUDE_DIR="" Property changes on: head/mail/mutt/files/patch-bdb ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-crypt-gpgme.c =================================================================== --- head/mail/mutt/files/patch-crypt-gpgme.c (revision 331251) +++ head/mail/mutt/files/patch-crypt-gpgme.c (nonexistent) @@ -1,10 +0,0 @@ ---- ./crypt-gpgme.c.orig 2009-07-01 21:28:51.000000000 -0400 -+++ ./crypt-gpgme.c 2009-07-01 21:31:52.000000000 -0400 -@@ -342,6 +342,7 @@ - gpgme_error_t err; - gpgme_ctx_t ctx; - -+ gpgme_check_version (NULL); - if (!GpgmeLocaleSet) - { - gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL)); Property changes on: head/mail/mutt/files/patch-crypt-gpgme.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-init.c =================================================================== --- head/mail/mutt/files/patch-init.c (revision 331251) +++ head/mail/mutt/files/patch-init.c (nonexistent) @@ -1,39 +0,0 @@ ---- init.c.orig Wed Jul 24 10:41:29 2002 -+++ init.c Sat May 3 08:46:29 2003 -@@ -1707,7 +1707,11 @@ - void mutt_init (int skip_sys_rc, LIST *commands) - { - struct passwd *pw; -+#if __FreeBSD_version < 500000 -+ char nodename[STRING]; -+#else - struct utsname utsname; -+#endif - char *p, buffer[STRING], error[STRING]; - int i, default_rc = 0, need_pause = 0; - BUFFER err; -@@ -1765,16 +1769,21 @@ - #endif - - /* And about the host... */ -+#if __FreeBSD_version < 500000 -+ gethostname(nodename, sizeof (nodename)); -+#else - uname (&utsname); -+ strfcpy (nodename, utsname.nodename, sizeof (nodename)); -+#endif - /* some systems report the FQDN instead of just the hostname */ -- if ((p = strchr (utsname.nodename, '.'))) -+ if ((p = strchr (nodename, '.'))) - { -- Hostname = mutt_substrdup (utsname.nodename, p); -+ Hostname = mutt_substrdup (nodename, p); - p++; - strfcpy (buffer, p, sizeof (buffer)); /* save the domain for below */ - } - else -- Hostname = safe_strdup (utsname.nodename); -+ Hostname = safe_strdup (nodename); - - #ifndef DOMAIN - #define DOMAIN buffer Property changes on: head/mail/mutt/files/patch-init.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-color-eol =================================================================== --- head/mail/mutt/files/patch-color-eol (revision 331251) +++ head/mail/mutt/files/patch-color-eol (nonexistent) @@ -1,62 +0,0 @@ ---- mutt.h.orig Fri Jun 4 13:35:59 2004 -+++ mutt.h Fri Jun 4 13:49:26 2004 -@@ -350,6 +350,7 @@ - OPTBEEPNEW, - OPTBOUNCEDELIVERED, - OPTCHECKNEW, -+ OPTCOLORAFTEREOL, - OPTCOLLAPSEUNREAD, - OPTCONFIRMAPPEND, - OPTCONFIRMCREATE, ---- init.h.orig Fri Jun 4 13:35:56 2004 -+++ init.h Fri Jun 4 13:45:43 2004 -@@ -315,6 +315,12 @@ - ** \fIcheck_new\fP is \fIunset\fP, no check for new mail is performed - ** while the mailbox is open. - */ -+ { "color_after_eol", DT_BOOL, R_NONE, OPTCOLORAFTEREOL, 1 }, -+ /* -+ ** .pp -+ ** When \fIset\fP, Mutt will color a line after the last character extending -+ ** to the end of the window. -+ */ - { "collapse_unread", DT_BOOL, R_NONE, OPTCOLLAPSEUNREAD, 1 }, - /* - ** .pp ---- pager.c.orig Sat Jun 5 09:13:33 2004 -+++ pager.c Sat Jun 5 09:12:31 2004 -@@ -1392,7 +1392,7 @@ - * ncurses does an implicit clrtoeol() when you do addch('\n') so we have - * to make sure to reset the color *after* that - */ -- if (flags & M_SHOWCOLOR) -+ if (option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR)) - { - m = ((*lineInfo)[n].continuation) ? ((*lineInfo)[n].syntax)[0].first : n; - if ((*lineInfo)[m].type == MT_COLOR_HEADER) -@@ -1406,6 +1406,16 @@ - #endif - } - -+ /* -+ * reset the color back to normal. This *must* come before the -+ * addch('\n') for the color not to be filled to the right margin. -+ */ -+ if (!option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR)) -+ { -+ SETCOLOR(MT_COLOR_NORMAL); -+ BKGDSET(MT_COLOR_NORMAL); -+ } -+ - /* ncurses always wraps lines when you get to the right side of the - * screen, but S-Lang seems to only wrap if the next character is *not* - * a newline (grr!). -@@ -1420,7 +1430,7 @@ - * addch('\n'), otherwise the color for this line will not be - * filled to the right margin. - */ -- if (flags & M_SHOWCOLOR) -+ if (option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR)) - { - SETCOLOR(MT_COLOR_NORMAL); - BKGDSET(MT_COLOR_NORMAL); Property changes on: head/mail/mutt/files/patch-color-eol ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-gnutls-CN-validation =================================================================== --- head/mail/mutt/files/patch-gnutls-CN-validation (revision 331251) +++ head/mail/mutt/files/patch-gnutls-CN-validation (nonexistent) @@ -1,29 +0,0 @@ ---- mutt_ssl_gnutls.c.orig -+++ mutt_ssl_gnutls.c -@@ -999,6 +999,7 @@ - unsigned int cert_list_size = 0; - gnutls_certificate_status certstat; - int certerr, i, preauthrc, savedcert, rc = 0; -+ int rcpeer; - - if (gnutls_auth_get_type (state) != GNUTLS_CRD_CERTIFICATE) - { -@@ -1024,6 +1025,9 @@ - for (i = 0; i < cert_list_size; i++) { - rc = tls_check_preauth(&cert_list[i], certstat, conn->account.host, i, - &certerr, &savedcert); -+ if (i == 0) -+ rcpeer = rc; -+ - preauthrc += rc; - - if (savedcert) -@@ -1049,7 +1053,7 @@ - dprint (1, (debugfile, "error trusting certificate %d: %d\n", i, rc)); - - certstat = tls_verify_peers (state); -- if (!certstat) -+ if (!certstat && !rcpeer) - return 1; - } - } Property changes on: head/mail/mutt/files/patch-gnutls-CN-validation ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-nbsp =================================================================== --- head/mail/mutt/files/patch-nbsp (revision 331251) +++ head/mail/mutt/files/patch-nbsp (nonexistent) @@ -1,22 +0,0 @@ -diff --git a/pager.c b/pager.c ---- pager.c -+++ pager.c -@@ -1187,10 +1187,17 @@ - last_special = special; - } - -- if (IsWPrint (wc)) -+ if (IsWPrint (wc) || (Charset_is_utf8 && wc == 0x00A0)) - { - if (wc == ' ') - space = ch; -+ else if (Charset_is_utf8 && wc == 0x00A0) -+ { -+ /* Convert non-breaking space to normal space. The local variable -+ * `space' is not set here so that the caller of this function won't -+ * attempt to wrap at this character. */ -+ wc = ' '; -+ } - t = wcwidth (wc); - if (col + t > wrap_cols) - break; Property changes on: head/mail/mutt/files/patch-nbsp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-tls-version =================================================================== --- head/mail/mutt/files/patch-tls-version (revision 331251) +++ head/mail/mutt/files/patch-tls-version (nonexistent) @@ -1,112 +0,0 @@ ---- init.h.orig 2010-09-15 08:39:31.000000000 -0700 -+++ init.h 2012-03-28 10:58:42.870572835 -0700 -@@ -2972,6 +2972,18 @@ struct option_t MuttVars[] = { - ** SSL authentication process. - */ - #ifdef USE_SSL_OPENSSL -+ { "ssl_use_tlsv1_1", DT_BOOL, R_NONE, OPTTLSV1_1, 1 }, -+ /* -+ ** .pp -+ ** This variable specifies whether to attempt to use TLSv1.1 in the -+ ** SSL authentication process. -+ */ -+ { "ssl_use_tlsv1_2", DT_BOOL, R_NONE, OPTTLSV1_2, 1 }, -+ /* -+ ** .pp -+ ** This variable specifies whether to attempt to use TLSv1.2 in the -+ ** SSL authentication process. -+ */ - { "ssl_usesystemcerts", DT_BOOL, R_NONE, OPTSSLSYSTEMCERTS, 1 }, - /* - ** .pp ---- mutt.h 2010-09-13 10:19:55.000000000 -0700 -+++ mutt.h 2012-03-28 10:59:24.437237530 -0700 -@@ -376,6 +376,8 @@ enum - # endif /* USE_SSL_GNUTLS */ - OPTSSLV3, - OPTTLSV1, -+ OPTTLSV1_1, -+ OPTTLSV1_2, - OPTSSLFORCETLS, - OPTSSLVERIFYDATES, - OPTSSLVERIFYHOST, ---- mutt_ssl.c.orig 2010-08-25 18:31:40.000000000 +0200 -+++ mutt_ssl.c 2013-08-20 13:51:14.000000000 +0200 -@@ -100,12 +100,33 @@ - goto bail; - - ssldata = (sslsockdata*) safe_calloc (1, sizeof (sslsockdata)); -- /* the ssl_use_xxx protocol options don't apply. We must use TLS in TLS. */ -- if (! (ssldata->ctx = SSL_CTX_new (TLSv1_client_method ()))) -+ /* the ssl_use_xxx protocol options don't apply. We must use TLS in TLS. -+ * TLSv1.2 support was added in OpenSSL 1.0.1. RHEL6 shipped with 1.0.0 so -+ * our configure script checks for TLSv1.2 availability. -+ */ -+ if (! (ssldata->ctx = SSL_CTX_new ( -+#ifdef HAVE_TLSV1_2_CLIENT_METHOD -+ TLSv1_2_client_method () -+#else -+ TLSv1_client_method () -+#endif -+ ))) - { - dprint (1, (debugfile, "mutt_ssl_starttls: Error allocating SSL_CTX\n")); - goto bail_ssldata; - } -+#ifdef SSL_OP_NO_TLSv1_1 -+ if (!option(OPTTLSV1_1)) -+ { -+ SSL_CTX_set_options(ssldata->ctx, SSL_OP_NO_TLSv1_1); -+ } -+#endif -+#ifdef SSL_OP_NO_TLSv1_2 -+ if (!option(OPTTLSV1_2)) -+ { -+ SSL_CTX_set_options(ssldata->ctx, SSL_OP_NO_TLSv1_2); -+ } -+#endif - - ssl_get_client_cert(ssldata, conn); - -@@ -303,6 +324,21 @@ - { - SSL_CTX_set_options(data->ctx, SSL_OP_NO_TLSv1); - } -+ /* TLSv1.1/1.2 support was added in OpenSSL 1.0.1, but some OS distros such -+ * as Fedora 17 are on OpenSSL 1.0.0. -+ */ -+#ifdef SSL_OP_NO_TLSv1_1 -+ if (!option(OPTTLSV1_1)) -+ { -+ SSL_CTX_set_options(data->ctx, SSL_OP_NO_TLSv1_1); -+ } -+#endif -+#ifdef SSL_OP_NO_TLSv1_2 -+ if (!option(OPTTLSV1_2)) -+ { -+ SSL_CTX_set_options(data->ctx, SSL_OP_NO_TLSv1_2); -+ } -+#endif - if (!option(OPTSSLV2)) - { - SSL_CTX_set_options(data->ctx, SSL_OP_NO_SSLv2); -@@ -375,8 +411,8 @@ - if (!ssl_check_certificate (conn, ssldata)) - return -1; - -- mutt_message (_("SSL connection using %s (%s)"), -- SSL_get_cipher_version (ssldata->ssl), SSL_get_cipher_name (ssldata->ssl)); -+ mutt_message (_("%s connection using %s (%s)"), -+ SSL_get_version(ssldata->ssl), SSL_get_cipher_version (ssldata->ssl), SSL_get_cipher_name (ssldata->ssl)); - mutt_sleep (0); - - return 0; -@@ -911,7 +947,7 @@ - - static int interactive_check_cert (X509 *cert, int idx, int len) - { -- char *part[] = -+ static const char * const part[] = - {"/CN=", "/Email=", "/O=", "/OU=", "/L=", "/ST=", "/C="}; - char helpstr[LONG_STRING]; - char buf[STRING]; Property changes on: head/mail/mutt/files/patch-tls-version ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/mutt/files/patch-configure.ac =================================================================== --- head/mail/mutt/files/patch-configure.ac (revision 331251) +++ head/mail/mutt/files/patch-configure.ac (nonexistent) @@ -1,9 +0,0 @@ ---- configure.ac.orig 2010-08-24 09:34:21.000000000 -0700 -+++ configure.ac 2012-05-03 18:14:34.000000000 -0700 -@@ -29,6 +29,2 @@ - AC_ISC_POSIX --AM_C_PROTOTYPES --if test "x$U" != "x"; then -- AC_MSG_ERROR(Compiler not ANSI compliant) --fi - AC_PROG_CPP Property changes on: head/mail/mutt/files/patch-configure.ac ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/patch-pgp =================================================================== --- head/mail/mutt/files/patch-pgp (revision 331251) +++ head/mail/mutt/files/patch-pgp (nonexistent) @@ -1,134 +0,0 @@ ---- crypt-gpgme.c~ 2010-09-10 07:41:33.584316201 +1000 -+++ crypt-gpgme.c 2010-09-10 08:22:32.948976728 +1000 -@@ -2003,12 +2003,14 @@ - { - if (!mutt_strncmp ("-----BEGIN PGP ", buf, 15)) - { -- if (!mutt_strcmp ("MESSAGE-----\n", buf + 15)) -+ if (!mutt_strcmp ("MESSAGE-----\n", buf + 15) || -+ !mutt_strcmp ("MESSAGE-----\r\n", buf + 15)) - { - enc = 1; - break; - } -- else if (!mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15)) -+ else if (!mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) || -+ !mutt_strcmp ("SIGNED MESSAGE-----\r\n", buf + 15)) - { - sgn = 1; - break; -@@ -2128,7 +2130,8 @@ - continue; - } - -- if (!mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\n")) -+ if (!mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\n") || -+ !mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\r\n")) - break; - - if (armor_header) -@@ -2196,14 +2199,17 @@ - clearsign = 0; - start_pos = last_pos; - -- if (!mutt_strcmp ("MESSAGE-----\n", buf + 15)) -+ if (!mutt_strcmp ("MESSAGE-----\n", buf + 15) || -+ !mutt_strcmp ("MESSAGE-----\r\n", buf + 15)) - needpass = 1; -- else if (!mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15)) -+ else if (!mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) || -+ !mutt_strcmp ("SIGNED MESSAGE-----\r\n", buf + 15)) - { - clearsign = 1; - needpass = 0; - } -- else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15)) -+ else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15) || -+ !mutt_strcmp ("PUBLIC KEY BLOCK-----\r\n", buf + 15)) - { - needpass = 0; - pgp_keyblock = 1; ---- pgp.c~ 2009-05-31 03:20:08.000000000 +1000 -+++ pgp.c 2010-09-10 08:27:40.317064142 +1000 -@@ -219,7 +219,8 @@ - continue; - } - -- if (mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\n") == 0) -+ if (mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\n") == 0 || -+ mutt_strcmp (buf, "-----BEGIN PGP SIGNATURE-----\r\n") == 0) - break; - - if (armor_header) -@@ -287,14 +288,17 @@ - clearsign = 0; - start_pos = last_pos; - -- if (mutt_strcmp ("MESSAGE-----\n", buf + 15) == 0) -+ if (mutt_strcmp ("MESSAGE-----\n", buf + 15) == 0 || -+ mutt_strcmp ("MESSAGE-----\r\n", buf + 15) == 0) - needpass = 1; -- else if (mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) == 0) -+ else if (mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) == 0 || -+ mutt_strcmp ("SIGNED MESSAGE-----\r\n", buf + 15) == 0) - { - clearsign = 1; - needpass = 0; - } -- else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15)) -+ else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15) || -+ !mutt_strcmp ("PUBLIC KEY BLOCK-----\r\n", buf + 15)) - { - needpass = 0; - pgp_keyblock = 1; -@@ -327,10 +331,14 @@ - - fputs (buf, tmpfp); - -- if ((needpass && mutt_strcmp ("-----END PGP MESSAGE-----\n", buf) == 0) || -- (!needpass -- && (mutt_strcmp ("-----END PGP SIGNATURE-----\n", buf) == 0 -- || mutt_strcmp ("-----END PGP PUBLIC KEY BLOCK-----\n",buf) == 0))) -+ if ((needpass && -+ (mutt_strcmp ("-----END PGP MESSAGE-----\n", buf) == 0 || -+ mutt_strcmp ("-----END PGP MESSAGE-----\r\n", buf) == 0)) || -+ (!needpass && -+ (mutt_strcmp ("-----END PGP SIGNATURE-----\n", buf) == 0 || -+ mutt_strcmp ("-----END PGP SIGNATURE-----\r\n", buf) == 0 || -+ mutt_strcmp ("-----END PGP PUBLIC KEY BLOCK-----\n",buf) == 0 || -+ mutt_strcmp ("-----END PGP PUBLIC KEY BLOCK-----\r\n",buf) == 0))) - break; - /* remember optional Charset: armor header as defined by RfC4880 */ - if (mutt_strncmp ("Charset: ", buf, 9) == 0) -@@ -554,11 +562,14 @@ - { - if (mutt_strncmp ("-----BEGIN PGP ", buf, 15) == 0) - { -- if (mutt_strcmp ("MESSAGE-----\n", buf + 15) == 0) -+ if (mutt_strcmp ("MESSAGE-----\n", buf + 15) == 0 || -+ mutt_strcmp ("MESSAGE-----\r\n", buf + 15) == 0) - enc = 1; -- else if (mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) == 0) -+ else if (mutt_strcmp ("SIGNED MESSAGE-----\n", buf + 15) == 0 || -+ mutt_strcmp ("SIGNED MESSAGE-----\r\n", buf + 15) == 0) - sgn = 1; -- else if (mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15) == 0) -+ else if (mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15) == 0 || -+ mutt_strcmp ("PUBLIC KEY BLOCK-----\r\n", buf + 15) == 0) - key = 1; - } - } -@@ -1067,9 +1078,11 @@ - */ - while (fgets (buffer, sizeof (buffer) - 1, pgpout) != NULL) - { -- if (mutt_strcmp ("-----BEGIN PGP MESSAGE-----\n", buffer) == 0) -+ if (mutt_strcmp ("-----BEGIN PGP MESSAGE-----\n", buffer) == 0 || -+ mutt_strcmp ("-----BEGIN PGP MESSAGE-----\r\n", buffer) == 0) - fputs ("-----BEGIN PGP SIGNATURE-----\n", fp); -- else if (mutt_strcmp("-----END PGP MESSAGE-----\n", buffer) == 0) -+ else if (mutt_strcmp("-----END PGP MESSAGE-----\n", buffer) == 0 || -+ mutt_strcmp("-----END PGP MESSAGE-----\r\n", buffer) == 0) - fputs ("-----END PGP SIGNATURE-----\n", fp); - else - fputs (buffer, fp); Property changes on: head/mail/mutt/files/patch-pgp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/mutt/files/extra-patch-doc-xml =================================================================== --- head/mail/mutt/files/extra-patch-doc-xml (revision 331251) +++ head/mail/mutt/files/extra-patch-doc-xml (revision 331252) @@ -1,11 +1,11 @@ --- doc/Makefile.am.orig 2010-09-17 16:23:30.000000000 +0200 +++ doc/Makefile.am 2010-09-17 16:25:01.000000000 +0200 @@ -47,7 +47,7 @@ all: makedoc-all --makedoc-all: mutt.1 smime_keys.1 muttrc.man -+makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-chunked manual.txt +-makedoc-all: mutt.1 smime_keys.1 muttrc.man pgpewrap.1 pgpring.1 ++makedoc-all: mutt.1 smime_keys.1 muttrc.man pgpewrap.1 pgpring.1 manual.html stamp-doc-chunked manual.txt install-data-local: makedoc-all instdoc $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 Property changes on: head/mail/mutt/files/extra-patch-doc-xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/mutt/files/patch-02 =================================================================== --- head/mail/mutt/files/patch-02 (revision 331251) +++ head/mail/mutt/files/patch-02 (revision 331252) @@ -1,32 +1,32 @@ ---- doc/Makefile.am.orig 2010-09-17 16:04:58.000000000 +0200 -+++ doc/Makefile.am 2010-09-17 16:09:09.000000000 +0200 -@@ -47,7 +47,7 @@ +--- doc/Makefile.am.orig 2013-10-18 06:48:24.000000000 +0200 ++++ doc/Makefile.am 2013-10-18 12:30:09.000000000 +0200 +@@ -48,7 +48,7 @@ all: makedoc-all --makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt -+makedoc-all: mutt.1 smime_keys.1 muttrc.man +-makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt pgpewrap.1 pgpring.1 ++makedoc-all: mutt.1 smime_keys.1 muttrc.man pgpewrap.1 pgpring.1 install-data-local: makedoc-all instdoc $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 -@@ -70,9 +70,6 @@ +@@ -73,9 +73,6 @@ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \ done -$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir) - -for f in $(HTML_DOCFILES) ; do \ - $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \ - done $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \ mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \ -@@ -103,9 +100,7 @@ +@@ -106,9 +103,7 @@ check: manual.txt: manual.html - -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \ - LC_ALL=C w3m -dump manual.html > $@ || \ - LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@ + -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ Muttrc: stamp-doc-rc Property changes on: head/mail/mutt/files/patch-02 ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property