pkgsrc/mail/thunderbird/Makefile-thunderbird.common
ghen 6f3c46292b Update thunderbrd and thunderbird-gtk1 to 2.0.0.12 (.10 and .11 where skipped).
Security fixes in this version:

MFSA 2008-12 Heap buffer overflow in external MIME bodies
MFSA 2008-07 Possible information disclosure in BMP decoder
MFSA 2008-05 Directory traversal via chrome: URI
MFSA 2008-03 Privilege escalation, XSS, Remote Code Execution
MFSA 2008-01 Crashes with evidence of memory corruption (rv:1.8.1.12)

For more info, see http://www.mozilla.com/en-US/thunderbird/2.0.0.12/releasenotes/
2008-02-27 10:00:47 +00:00

38 lines
1.3 KiB
Text

# $NetBSD: Makefile-thunderbird.common,v 1.33 2008/02/27 10:00:47 ghen Exp $
MOZILLA_BIN= thunderbird-bin
MOZ_VER= 2.0.0.12
EXTRACT_SUFX= .tar.bz2
DISTNAME= thunderbird-${MOZ_VER}-source
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${MOZ_VER}/source/}
HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/
CONFIGURE_ENV+= MOZ_THUNDERBIRD=1
MAKE_ENV+= MOZ_THUNDERBIRD=1
DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo
PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches
CONFIGURE_ARGS+= --enable-application=mail
CONFIGURE_ARGS+= --enable-debug=-g
CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat
post-install:
cd ${PREFIX}/lib/${MOZILLA} && \
${SETENV} LD_LIBRARY_PATH=.:${PREFIX}/lib MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
./${MOZILLA_BIN} -register
${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \;
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0
.endif
.include "../../www/seamonkey/Makefile.common"