pkgsrc/mail/thunderbird/enigmail.mk
ryoon 78782af087 Update to 31.0
* Update enigmail to 1.7

Changelog:
    NEW
    Autocompleting email addresses now matches against any part of the name or email (bug 529584)

    NEW
    Composing a mail to a newsgroup will now autocomplete newsgroup names (bug 61491)

    FIXED
    Insecure NTLM (pre-NTLMv2) authentication disabled (see 828183)

Fixed in Thunderbird 31
MFSA 2014-66 IFRAME sandbox same-origin access through redirect
MFSA 2014-65 Certificate parsing broken by non-standard character encoding
MFSA 2014-64 Crash in Skia library when scaling high quality images
MFSA 2014-63 Use-after-free while when manipulating certificates in the trusted cache
MFSA 2014-62 Exploitable WebGL crash with Cesium JavaScript library
MFSA 2014-61 Use-after-free with FireOnStateChange event
MFSA 2014-59 Use-after-free in DirectWrite font handling
MFSA 2014-58 Use-after-free in Web Audio due to incorrect control message ordering
MFSA 2014-57 Buffer overflow during Web Audio buffering for playback
MFSA 2014-56 Miscellaneous memory safety hazards (rv:31.0 / rv:24.7)
2014-07-27 20:04:59 +00:00

49 lines
1.8 KiB
Makefile

# $NetBSD: enigmail.mk,v 1.13 2014/07/27 20:04:59 ryoon Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
ENIGMAIL_DIST= enigmail-1.7.tar.gz
XPI_FILES+= ${WRKDIR}/enigmail.xpi
.if !defined(DISTFILES)
DISTFILES= ${DEFAULT_DISTFILES}
.endif
DISTFILES+= ${ENIGMAIL_DIST}
SITES.${ENIGMAIL_DIST}= http://www.mozilla-enigmail.org/download/source/
REPLACE_PERL+= mailnews/extensions/enigmail/util/fixlang.pl
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
PLIST_SRC+= PLIST.enigmail
TARGET_XPCOM_ABI= ${MACHINE_ARCH:S/i386/x86/}-gcc3
PLIST_SUBST+= TARGET_XPCOM_ABI=${TARGET_XPCOM_ABI}
post-extract: enigmail-post-extract
.PHONY: enigmail-post-extract
enigmail-post-extract:
${RUN} mv ${WRKDIR}/enigmail ${WRKSRC}/mailnews/extensions/
${RUN} cd ${WRKSRC} && \
${PATCH} < ${FILESDIR}/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${PATCH} -p1 < ${FILESDIR}/patch-ipc_src_Makefile
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure
enigmail-post-configure:
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
# We need to do a switcheroo of the dist directory while building enigmail;
# otherwise we get extra files contamination in the PLIST.
post-build: enigmail-post-build
.PHONY: enigmail-post-build
enigmail-post-build:
${RUN} cd ${WRKSRC}/${OBJDIR}/mozilla/dist && pax -rwpe . ../dist.save
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} xpi
${CP} ${WRKSRC}/mailnews/extensions/enigmail/build/enigmail*.xpi\
${WRKDIR}/enigmail.xpi
# ${RUN} rm -rf ${WRKSRC}/mozilla/dist
# ${RUN} cd ${WRKSRC}/mozilla/dist.save && pax -rwpe . ../dist