2018-07-30 21:51:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.212 2018/07/30 19:51:47 ryoon Exp $
|
2004-04-20 01:25:27 +02:00
|
|
|
|
2016-04-17 20:33:50 +02:00
|
|
|
DISTNAME= thunderbird-${TB_VER}.source
|
2009-11-29 04:06:42 +01:00
|
|
|
PKGNAME= thunderbird-${TB_VER}
|
2018-07-30 21:51:47 +02:00
|
|
|
TB_VER= 52.9.1
|
2009-11-29 13:00:42 +01:00
|
|
|
CATEGORIES= mail
|
2013-11-12 21:50:51 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/}
|
2016-04-17 20:33:50 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2005-04-02 16:48:35 +02:00
|
|
|
|
2013-02-01 23:21:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-09-06 11:02:59 +02:00
|
|
|
HOMEPAGE= https://www.mozillamessaging.com/en-US/thunderbird/
|
2009-11-29 04:06:42 +01:00
|
|
|
COMMENT= Organize, secure and customize your mail
|
2004-04-20 01:25:27 +02:00
|
|
|
|
2010-07-12 18:49:21 +02:00
|
|
|
USE_TOOLS+= unzip pax
|
2016-04-17 20:33:50 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2009-11-29 04:06:42 +01:00
|
|
|
MOZILLA_DIR= mozilla/
|
2012-02-21 06:07:21 +01:00
|
|
|
PLIST_SRC+= ${PLIST_SRC_DFLT}
|
2007-08-15 18:02:41 +02:00
|
|
|
|
2011-08-19 16:39:09 +02:00
|
|
|
CONFIG_GUESS_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.guess
|
|
|
|
CONFIG_SUB_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.sub
|
2009-11-29 04:06:42 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-application=mail
|
2013-11-12 21:50:51 +01:00
|
|
|
# Disable WebRTC support for Thunderbird unconditionally.
|
|
|
|
CONFIGURE_ARGS+= --disable-webrtc
|
2009-11-29 04:06:42 +01:00
|
|
|
|
2016-06-11 14:10:00 +02:00
|
|
|
NOT_PAX_MPROTECT_SAFE+= lib/thunderbird/thunderbird
|
|
|
|
NOT_PAX_MPROTECT_SAFE+= lib/thunderbird/thunderbird-bin
|
2016-06-11 08:29:30 +02:00
|
|
|
|
2009-11-29 04:06:42 +01:00
|
|
|
ALL_ENV+= MOZILLA_PKG_NAME=thunderbird
|
|
|
|
|
2012-03-10 12:42:38 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2012-01-06 09:40:01 +01:00
|
|
|
|
2011-11-13 17:59:58 +01:00
|
|
|
#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'
|
2011-08-19 16:39:09 +02:00
|
|
|
|
2013-11-12 21:50:51 +01:00
|
|
|
SUBST_CLASSES+= sys-dic
|
|
|
|
SUBST_STAGE.sys-dic= pre-configure
|
|
|
|
SUBST_MESSAGE.sys-dic= Reference to system hunspell dictionaries.
|
2018-03-28 22:13:55 +02:00
|
|
|
SUBST_FILES.sys-dic= mozilla/extensions/spellcheck/hunspell/glue/mozHunspell.cpp
|
2018-03-29 12:19:30 +02:00
|
|
|
SUBST_VARS.sys-dic= LOCALBASE
|
2013-11-12 21:50:51 +01:00
|
|
|
|
|
|
|
CHECK_INTERPRETER_SKIP+=lib/thunderbird-sdk/sdk/bin/header.py
|
|
|
|
CHECK_INTERPRETER_SKIP+=lib/thunderbird-sdk/sdk/bin/typelib.py
|
|
|
|
CHECK_INTERPRETER_SKIP+=lib/thunderbird-sdk/sdk/bin/xpidl.py
|
|
|
|
CHECK_INTERPRETER_SKIP+=lib/thunderbird-sdk/sdk/bin/xpt.py
|
|
|
|
|
2017-04-27 15:32:40 +02:00
|
|
|
CHECK_WRKREF_SKIP+=lib/thunderbird/chrome/toolkit/content/global/buildconfig.html
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
mv ${WRKSRC}/mozilla/gfx/ycbcr/yuv_row_arm.s \
|
|
|
|
${WRKSRC}/mozilla/gfx/ycbcr/yuv_row_arm.S
|
|
|
|
|
2009-11-29 04:06:42 +01:00
|
|
|
pre-configure:
|
2014-07-27 22:04:59 +02:00
|
|
|
cd ${WRKSRC} && mkdir ${OBJDIR}
|
2009-11-29 04:06:42 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf
|
|
|
|
cd ${WRKSRC}/mozilla && ${SETENV} ${CONFIGURE_ENV} autoconf
|
|
|
|
cd ${WRKSRC}/mozilla/js/src && ${SETENV} ${CONFIGURE_ENV} autoconf
|
2014-07-27 22:04:59 +02:00
|
|
|
touch ${WRKSRC}/.mozconfig
|
2009-11-29 04:06:42 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
# XXX for some reason it doesn't work unless -j is explicitly specified
|
2014-07-27 22:04:59 +02:00
|
|
|
cd ${WRKSRC}/${OBJDIR} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -j${MAKE_JOBS:U1}
|
2009-11-29 04:06:42 +01:00
|
|
|
|
|
|
|
MOZILLA=thunderbird
|
2016-04-17 20:33:50 +02:00
|
|
|
MOZILLA_NAME=thunderbird
|
2009-11-29 04:28:04 +01:00
|
|
|
post-build:
|
|
|
|
${SED} -e 's|@MOZILLA@|${MOZILLA}|g' \
|
2009-11-29 04:06:42 +01:00
|
|
|
-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|g' \
|
|
|
|
-e 's|@MOZILLA_ICON@|${MOZILLA}.png|g' \
|
|
|
|
< ${FILESDIR}/desktop.in \
|
|
|
|
> ${WRKDIR}/desktop
|
2009-11-29 04:28:04 +01:00
|
|
|
|
2013-10-18 13:41:17 +02:00
|
|
|
INSTALLATION_DIRS+= lib/${MOZILLA}/extensions
|
2009-11-29 04:28:04 +01:00
|
|
|
INSTALLATION_DIRS+= share/applications share/pixmaps
|
|
|
|
post-install:
|
2009-11-29 04:06:42 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/desktop \
|
|
|
|
${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
|
Update to 38.0.1
Changelog:
What's New
New GMail supports OAuth2 authentication, removing the need to manually select "allow less secure applications" in Google options for the account. (bug 849540)
New Ship Lightning calendar addon with Thunderbird and enable with an opt-out dialog (bug 1113183)
New Filter sent messages (bug 11039)
New Filter messages when archived (bug 479823)
New Enable search in multiple/all address books (bug 170270)
New Add support for Yahoo Messenger in Chat (bug 955574)
New Support Internationalized domain name URLs for RSS feeds (Bug 1018589)
New Show expanded columns in folder pane (bug 464973)
New Allow file-per-message (maildir) local message storage (bug 845952)
New Add a Learn more link to the support page in feeds subscribe dialog (bug 1053782)
New Add reading position marker line to conversations (bug 760762)
New The editor for twitter should show inputtable character count (bug 736002)
Changed Thunderbird will no longer use SHA-1 to sign messages (bug 1018259)
Changed Removed rarely used character sets: T.61-8bit, non-encoding Mac encoders, VISCII, x-viet-tcvn5712, x-viet-vps x-johab, ARMSCII8 , map us-ascii to windows-1252, ISO-8859-6-I and -E and ISO-8859-8-E, (bug 1068505 and others.)
Changed Disable CONDSTORE support for IMAP to prevent discrepancies in IMAP message status (deleted, unread) on some servers (bug 912216)
Changed Make OpenSearch queries open in the user's default browser (bug 1120777)
Changed Default to using SSL for XMPP and IRC. This might cause issues for self-signed certificates (bug 1122567, bug 1122666)
Fixed Replied/forwarded icons disappear after folder repair, detach/delete (bug 840418)
Fixed Attachment "Save As" files are displayed in Tools/Saved Files (bug 914517)
Fixed Adding unknown email addresses to Mailing list, then deleting ghost duplicate entries from contacts pane, caused dataloss in mailing list (bug 628035)
Fixed Web site from RSS feed was not rendered correctly (bug 662907)
Fixed Email address with leading/trailing whitespace displayed wrongly with added quotes when composing ["foo"@bar.com] (bug 286760)
Fixed Force display of Sender header if S/MIME sender is the signer (bug 332639)
Fixed Addressing autocomplete widget: Typed text in red despite results/matches found if suggestions change by last input (bug 1042561)
Fixed Status bar not accessible (bug 934875)
Fixed Wrong folder may be deleted when requesting junk delete (bug 1018960)
Fixed Severe UI stutter or freezes getting new mail for very large folders (bug 870556)
Fixed Automatically rejoin multi-user conversations on reconnect for XMPP (bug 1014472)
Fixed Various improvements when using IRC on moznet (bug 1083768 and others)
Fixed Significantly improve XMPP support (bug 1085022 and others)
Fixed Fixes for connecting to non-standard IRC networks (bug 870556 and others)
Fixed Automatically reclaim IRC nicks during a reconnect (bug 1087566)
Fixed Changing location in editor doesn't preserve the font when returning to end of text/line (bug 756984)
Fixed Inline spell checker loses red underlines after a backspace is used (bug 1100966)
Known Issues
unresolved Automatic addon compatibility update checks were not completed, so existing addon compatibilities may not be accurate.
unresolved Copy/Paste into plain text editor deletes newlines from quoted text (bug 1143570)
unresolved Importing data from Outlook or Eudora crashes (bug 917961)
Security:
Fixed in Thunderbird 38.0.1
2015-58 Mozilla Windows updater can be run outside of application directory
2015-57 Privilege escalation through IPC channel messages
2015-54 Buffer overflow when parsing compressed XML
2015-51 Use-after-free during text processing with vertical text enabled
2015-48 Buffer overflow with SVG content and CSS
2015-47 Buffer overflow parsing H.264 video with Linux Gstreamer
2015-46 Miscellaneous memory safety hazards (rv:38.0 / rv:31.7)
2015-07-09 17:17:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${OBJDIR}/dist/thunderbird/chrome/icons/default/default48.png \
|
2009-11-29 04:06:42 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
|
2010-07-12 18:49:21 +02:00
|
|
|
@${STEP_MSG} "Installing bundled thunderbird extensions."
|
|
|
|
rm -rf ${WRKDIR}/extensions
|
|
|
|
${MKDIR} ${WRKDIR}/extensions
|
|
|
|
${RUN} for e in ${XPI_FILES}; do \
|
|
|
|
subdir="`${UNZIP_CMD} -c "$$e" install.rdf | awk '/^ <em:id>/ {sub(".*<em:id>","");sub("</em:id>.*","");print;exit;}'`" && \
|
|
|
|
${MKDIR} "${WRKDIR}/extensions/$$subdir" && \
|
|
|
|
cd "${WRKDIR}/extensions/$$subdir" && \
|
|
|
|
${UNZIP_CMD} -aqo $$e; \
|
|
|
|
done
|
|
|
|
cd ${WRKDIR}/extensions && pax -rw . \
|
|
|
|
${DESTDIR}${PREFIX}/lib/${MOZILLA}/extensions/.
|
|
|
|
rm -rf ${WRKDIR}/extensions
|
2009-11-29 04:06:42 +01:00
|
|
|
|
2017-04-27 15:32:40 +02:00
|
|
|
.include "../../www/firefox52/mozilla-common.mk"
|
2009-11-29 04:06:42 +01:00
|
|
|
.include "options.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2005-09-18 07:04:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|