a350e65b3c
Changelog: new Offer to configure Exchange accounts for Office365. A third-party add-on is required for this account type. IMAP still exists as alternative. fixed Edit tag not working fixed Write window: "Insert > Characters and Symbols" not working fixed Moving/dragging messages from "Search Messages" result dialog not working fixed Command line -compose "attachment=" not working fixed Custom views not working fixed Issues with list of content types/actions for incoming attachments fixed "Learn More" links in Error Console not working fixed Visual glitches: Quick Filter Bar tag buttons too tall, missing scroll bar on Connection Setting subdialog, LDAP server selection after "New", "Edit" and "Delete" fixed Calendar: Parts of CalDAV dialog not working fixed Various security fixes Security fixes: CVE-2019-11739: Covert Content Attack on S/MIME encryption using a crafted multipart/alternative message #CVE-2019-11746: Use-after-free while manipulating video #CVE-2019-11744: XSS by breaking out of title and textarea elements using innerHTML #CVE-2019-11742: Same-origin policy violation with SVG filters and canvas to steal cross-origin images #CVE-2019-11752: Use-after-free while extracting a key value in IndexedDB #CVE-2019-11743: Cross-origin access to unload event attributes #CVE-2019-11740: Memory safety bugs fixed in Firefox 69, Firefox ESR 68.1, Firefox ESR 60.9, Thunderbird 68.1, and Thunderbird 60.9
84 lines
3 KiB
Makefile
84 lines
3 KiB
Makefile
# $NetBSD: Makefile,v 1.229 2019/09/21 10:55:16 ryoon Exp $
|
|
|
|
DISTNAME= thunderbird-${TB_VER}.source
|
|
PKGNAME= thunderbird-${TB_VER}
|
|
TB_VER= 68.1.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/${MOZILLA}/${MOZILLA}
|
|
NOT_PAX_MPROTECT_SAFE+= lib/${MOZILLA}/${MOZILLA}-bin
|
|
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${MOZILLA}
|
|
|
|
.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/${MOZILLA}/chrome/toolkit/content/global/buildconfig.html
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/cubeb_sun.c ${WRKSRC}/media/libcubeb/src/cubeb_sun.c
|
|
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/${MOZILLA}/extensions
|
|
INSTALLATION_DIRS+= share/applications share/pixmaps
|
|
post-install:
|
|
${ECHO} '#! /bin/sh' > ${DESTDIR}${PREFIX}/bin/${MOZILLA}
|
|
${ECHO} '${PREFIX}/lib/${MOZILLA}/${MOZILLA} "$$@"' >> \
|
|
${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/${MOZILLA}/chrome/icons/default/default48.png \
|
|
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
|
|
|
|
.include "../../www/firefox68/mozilla-common.mk"
|
|
.include "options.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|