pkgsrc/www/seamonkey/enigmail.mk
ryoon dbc497a111 Update to 2.16
* enigmail is broken

Changelog:
SeaMonkey-specific changes
    Reply to List is now supported.
    SSL-related warning prompts (leaving or entering a secure site, viewing mixed content) have been replaced by less intrusive, non-modal notification bars.
    See the changes page for minor changes.

Mozilla platform changes
    Image quality has been improved through a new HTML scaling algorithm.
    Canvas elements can export their content as an image blob using canvas.toBlob() now.
    CSS @page is now supported.
    CSS viewport-percentage length units have been implemented (vh, vw, vmin and vmax).
    CSS text-transform now supports full-width.
    Fixed several stability issues.

Fixed in SeaMonkey 2.16
MFSA 2013-28 Use-after-free, out of bounds read, and buffer overflow issues found using Address Sanitizer
MFSA 2013-27 Phishing on HTTPS connection through malicious proxy
MFSA 2013-26 Use-after-free in nsImageLoadingContent
MFSA 2013-25 Privacy leak in JavaScript Workers
MFSA 2013-24 Web content bypass of COW and SOW security wrappers
MFSA 2013-23 Wrapped WebIDL objects can be wrapped again
MFSA 2013-22 Out-of-bounds read in image rendering
MFSA 2013-21 Miscellaneous memory safety hazards (rv:19.0 / rv:17.0.3)
2013-02-23 23:54:02 +00:00

48 lines
1.7 KiB
Makefile

# $NetBSD: enigmail.mk,v 1.8 2013/02/23 23:54:02 ryoon Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
ENIGMAIL_DIST= enigmail-1.5.1.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/
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
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 && \
${PATCH} < ${FILESDIR}/patch-files_mailnews_extensions_enigmail_ipc_src_Makefile.in
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure
enigmail-post-configure:
${RUN} cd ${WRKSRC}/mailnews/extensions/enigmail && \
${SETENV} ${CONFIGURE_ENV} ${PERL5} ./makemake -r
# 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}/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}/mozilla/dist/bin/enigmail*.xpi \
${WRKDIR}/enigmail.xpi
${RUN} rm -rf ${WRKSRC}/mozilla/dist
${RUN} cd ${WRKSRC}/mozilla/dist.save && pax -rwpe . ../dist