b6bf482a2c
Changelog: changed Attachment pane of Write window no longer focussed when attaching files using a keyboard shortcut fixed Various security fixes #CVE-2019-9815: Disable hyperthreading on content JavaScript threads on macOS #CVE-2019-9816: Type confusion with object groups and UnboxedObjects #CVE-2019-9817: Stealing of cross-domain images using canvas #CVE-2019-9818: Use-after-free in crash generation server #CVE-2019-9819: Compartment mismatch with fetch API #CVE-2019-9820: Use-after-free of ChromeEventHandler by DocShell #CVE-2019-11691: Use-after-free in XMLHttpRequest #CVE-2019-11692: Use-after-free removing listeners in the event listener manager #CVE-2019-11693: Buffer overflow in WebGL bufferdata on Linux #CVE-2019-7317: Use-after-free in png_image_free of libpng library #CVE-2019-9797: Cross-origin theft of images with createImageBitmap #CVE-2018-18511: Cross-origin theft of images with ImageBitmapRenderingContext #CVE-2019-11694: Uninitialized memory memory leakage in Windows sandbox #CVE-2019-11698: Theft of user history data through drag and drop of hyperlinks to and from bookmarks #CVE-2019-5798: Out-of-bounds read in Skia #CVE-2019-9800: Memory safety bugs fixed in Firefox 67, Firefox ESR 60.7, and Thunderbird 60.7
84 lines
3 KiB
Makefile
84 lines
3 KiB
Makefile
# $NetBSD: Makefile,v 1.225 2019/05/27 13:06:18 ryoon Exp $
|
|
|
|
DISTNAME= thunderbird-${TB_VER}.source
|
|
PKGNAME= thunderbird-${TB_VER}
|
|
TB_VER= 60.7.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.thunderbird.net/en-US/
|
|
COMMENT= Organize, secure and customize your mail
|
|
LICENSE= mpl-1.1
|
|
|
|
USE_TOOLS+= unzip pax
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/.source//}
|
|
MOZILLA_DIR= # empty
|
|
PLIST_SRC+= ${PLIST_SRC_DFLT}
|
|
|
|
CONFIG_GUESS_OVERRIDE+= comm/ldap/sdks/c-sdk/config/autoconf/config.guess
|
|
CONFIG_SUB_OVERRIDE+= comm/ldap/sdks/c-sdk/config/autoconf/config.sub
|
|
|
|
CONFIGURE_ARGS+= --enable-application=comm/mail
|
|
# Disable WebRTC support for Thunderbird unconditionally.
|
|
CONFIGURE_ARGS+= --disable-webrtc
|
|
|
|
NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird
|
|
NOT_PAX_MPROTECT_SAFE+= lib/${PKGBASE}/thunderbird-bin
|
|
|
|
ALL_ENV+= MOZILLA_PKG_NAME=${PKGBASE}
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${PKGBASE}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
#SUBST_CLASSES+= ext-compat
|
|
#SUBST_STAGE.ext-compat= pre-configure
|
|
#SUBST_MESSAGE.ext-compat= Fixing extension compatibility
|
|
#SUBST_FILES.ext-compat= mailnews/extensions/enigmail/package/install.rdf
|
|
#SUBST_FILES.ext-compat+= calendar/*/install.rdf
|
|
#SUBST_FILES.ext-compat+= calendar/*/*/install.rdf
|
|
#SUBST_SED.ext-compat= -e 's,\(<em:maxVersion>\).*<,\19.0<,g'
|
|
|
|
CHECK_WRKREF_SKIP+=lib/${PKGBASE}/chrome/toolkit/content/global/buildconfig.html
|
|
|
|
post-extract:
|
|
mv ${WRKSRC}${MOZILLA_DIR}/gfx/ycbcr/yuv_row_arm.s \
|
|
${WRKSRC}${MOZILLA_DIR}/gfx/ycbcr/yuv_row_arm.S
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && mkdir ${OBJDIR}
|
|
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf
|
|
cd ${WRKSRC}${MOZILLA_DIR} && ${SETENV} ${CONFIGURE_ENV} autoconf
|
|
cd ${WRKSRC}${MOZILLA_DIR}/js/src && ${SETENV} ${CONFIGURE_ENV} autoconf
|
|
touch ${WRKSRC}/.mozconfig
|
|
|
|
do-build:
|
|
# XXX for some reason it doesn't work unless -j is explicitly specified
|
|
cd ${WRKSRC}/${OBJDIR} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -j${MAKE_JOBS:U1}
|
|
|
|
MOZILLA= ${PKGBASE}
|
|
MOZILLA_NAME= ${PKGBASE}
|
|
post-build:
|
|
${SED} -e 's|@MOZILLA@|${MOZILLA}|g' \
|
|
-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|g' \
|
|
-e 's|@MOZILLA_ICON@|${MOZILLA}.png|g' \
|
|
< ${FILESDIR}/desktop.in \
|
|
> ${WRKDIR}/desktop
|
|
|
|
INSTALLATION_DIRS+= lib/${PKGBASE}/extensions
|
|
INSTALLATION_DIRS+= share/applications share/pixmaps
|
|
post-install:
|
|
${ECHO} '#! /bin/sh' > ${DESTDIR}${PREFIX}/bin/${MOZILLA}
|
|
${ECHO} '${PREFIX}/lib/${MOZILLA}/thunderbird "$$@"' >> \
|
|
${DESTDIR}${PREFIX}/bin/${MOZILLA}
|
|
${CHMOD} 755 ${DESTDIR}${PREFIX}/bin/${MOZILLA}
|
|
${INSTALL_DATA} ${WRKDIR}/desktop \
|
|
${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
|
|
${INSTALL_DATA} ${WRKSRC}/${OBJDIR}/dist/thunderbird/chrome/icons/default/default48.png \
|
|
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
|
|
|
|
.include "../../www/firefox60/mozilla-common.mk"
|
|
.include "options.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|