pkgsrc/www/seamonkey/enigmail.mk
ryoon 42fec3ef7a Update to 2.31
Changelog:
# What's New in SeaMonkey 2.31

SeaMonkey 2.31 contains the following major changes relative to SeaMonkey 2.30:

## SeaMonkey-specific changes

    Text zoom is now available in Composer.
    GStreamer and PulseAudio support has been re-enabled on Linux.

## Mozilla platform changes

    Support for H264 (MP4) is now built in on Mac OS X Snow Leopard (10.6) and newer through native APIs.
    HTTP/2 (draft14) and ALPN have been implemented.
    Added ability to recover from a locked process in the "SeaMonkey is already running" dialog on Windows.
    Added ECDH support for WebCrypto.
    The console.table function has been added to the Error Console.
    CSS transitions start correctly now when started at the same time as changes to display, position, overflow, and similar properties.
    Also see Firefox 34 for Developers.
    Fixed several stability issues.

# Security fixes
Fixed in SeaMonkey 2.31
    2014-91 Privileged access to security wrapped protected objects
    2014-89 Bad casting from the BasicThebesLayer to BasicContainerLayer
    2014-88 Buffer overflow while parsing media content
    2014-87 Use-after-free during HTML5 parsing
    2014-86 CSP leaks redirect data via violation reports
    2014-85 XMLHttpRequest crashes with some input streams
    2014-84 XBL bindings accessible via improper CSS declarations
    2014-83 Miscellaneous memory safety hazards (rv:34.0 / rv:31.3)
2015-01-02 04:26:21 +00:00

53 lines
2 KiB
Makefile

# $NetBSD: enigmail.mk,v 1.15 2015/01/02 04:26:21 ryoon Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
ENIGMAIL_DIST= enigmail-1.7.2.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/
#SITES.${ENIGMAIL_DIST}= https://dev.gentoo.org/~polynomial-c/mozilla/
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}
USE_TOOLS+= patch pax
REPLACE_PERL+= ${WRKSRC}/${OBJDIR}/mailnews/extensions/enigmail/util/fixlang.pl
post-extract: enigmail-post-extract
.PHONY: enigmail-post-extract
enigmail-post-extract:
${RUN} mkdir ${WRKSRC}/${OBJDIR}/mailnews/extensions
${RUN} mv ${WRKDIR}/enigmail ${WRKSRC}/${OBJDIR}/mailnews/extensions
${RUN} cd ${WRKSRC}/${OBJDIR} && \
${PATCH} < ${FILESDIR}/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm && \
${PATCH} < ${FILESDIR}/patch-mailnews_extensions_enigmail_Makefile
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure
enigmail-post-configure:
cd ${WRKSRC}/${OBJDIR}/mailnews/extensions/enigmail && \
${SETENV} ${CONFIGURE_ENV} \
./configure --prefix=${PREFIX}
# 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:
rm -rf ${WRKSRC}/${OBJDIR}/mozilla/dist.save
cd ${WRKSRC}/${OBJDIR}/dist && pax -rwpe . ../dist.save
cd ${WRKSRC}/${OBJDIR}/mailnews/extensions/enigmail && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} all xpi
${CP} ${WRKSRC}/${OBJDIR}/mailnews/extensions/enigmail/build/enigmail*.xpi \
${WRKDIR}/enigmail.xpi
rm -rf ${WRKSRC}/${OBJDIR}/dist
cd ${WRKSRC}/${OBJDIR}/dist.save && pax -rwpe . ../dist