pkgsrc/mail/thunderbird/options.mk
ryoon 78782af087 Update to 31.0
* Update enigmail to 1.7

Changelog:
    NEW
    Autocompleting email addresses now matches against any part of the name or email (bug 529584)

    NEW
    Composing a mail to a newsgroup will now autocomplete newsgroup names (bug 61491)

    FIXED
    Insecure NTLM (pre-NTLMv2) authentication disabled (see 828183)

Fixed in Thunderbird 31
MFSA 2014-66 IFRAME sandbox same-origin access through redirect
MFSA 2014-65 Certificate parsing broken by non-standard character encoding
MFSA 2014-64 Crash in Skia library when scaling high quality images
MFSA 2014-63 Use-after-free while when manipulating certificates in the trusted cache
MFSA 2014-62 Exploitable WebGL crash with Cesium JavaScript library
MFSA 2014-61 Use-after-free with FireOnStateChange event
MFSA 2014-59 Use-after-free in DirectWrite font handling
MFSA 2014-58 Use-after-free in Web Audio due to incorrect control message ordering
MFSA 2014-57 Buffer overflow during Web Audio buffering for playback
MFSA 2014-56 Miscellaneous memory safety hazards (rv:31.0 / rv:24.7)
2014-07-27 20:04:59 +00:00

82 lines
2.3 KiB
Makefile

# $NetBSD: options.mk,v 1.14 2014/07/27 20:04:59 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird
PKG_SUPPORTED_OPTIONS= alsa debug mozilla-jemalloc gnome \
official-mozilla-branding pulseaudio \
mozilla-lightning mozilla-enigmail
PKG_SUGGESTED_OPTIONS= mozilla-lightning
PLIST_VARS+= branding nobranding debug gnome jemalloc
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= alsa mozilla-jemalloc
.else
PKG_SUGGESTED_OPTIONS+= pulseaudio
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+= --enable-alsa
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
.if !empty(PKG_OPTIONS:Mgnome)
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
PLIST.jemalloc= yes
CONFIGURE_ARGS+= --enable-jemalloc
.else
CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols --disable-optimize
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-optimize=-O2
CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --enable-pulseaudio
.else
CONFIGURE_ARGS+= --disable-pulseaudio
.endif
.if !empty(PKG_OPTIONS:Mmozilla-lightning)
CONFIGURE_ARGS+= --enable-calendar
PLIST_SRC+= PLIST.lightning
XPI_FILES+= ${WRKSRC}/${OBJDIR}/mozilla/dist/xpi-stage/gdata-provider.xpi
XPI_FILES+= ${WRKSRC}/${OBJDIR}/mozilla/dist/xpi-stage/lightning.xpi
.else
CONFIGURE_ARGS+= --disable-calendar
.endif
.if !empty(PKG_OPTIONS:Mmozilla-enigmail) || make(distinfo)
.include "enigmail.mk"
.endif
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
CONFIGURE_ARGS+= --enable-official-branding
PLIST.branding= yes
LICENSE= mozilla-trademark-license
RESTRICTED= Trademark holder prohibits distribution of modified versions.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
.else
CONFIGURE_ARGS+= --disable-official-branding
PLIST.nobranding= yes
.endif