Security update to mozilla-thunderbird 1.5.0.10.

http://www.mozilla.org/projects/security/known-vulnerabilities.html#thunderbird1.5.0.10
ok kurt@, naddy@
This commit is contained in:
martynas 2007-03-19 22:02:38 +00:00
parent 4fb4dcf541
commit 67c01b8094
17 changed files with 44 additions and 193 deletions

View File

@ -1,23 +1,24 @@
# $OpenBSD: Makefile,v 1.52 2007/02/22 00:40:59 naddy Exp $
# $OpenBSD: Makefile,v 1.53 2007/03/19 22:02:38 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
COMMENT= "redesign of the integrated Mozilla App-Suite mail component"
VER= 1.5.0.9
VER= 1.5.0.10
DISTNAME= mozilla
PKGNAME= mozilla-thunderbird-${VER}p1
SO_VERSION= 12.0
PKGNAME= mozilla-thunderbird-${VER}
SO_VERSION= 12.1
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues. Whenever PKGNAME gets
# bumped and/or SO_VERSION changes, remember to update enigmail's
# SO_VERSION and LIB_DEPENDS to match.
.for _lib in accessibility appcomps auth autoconfig caps chrome commandlines \
composer docshell editor embedcomponents fileview gfx_gtk gfxps \
gfxpsshar gkgfx gklayout gtkembedmoz gtkxtbin htmlpars i18n imglib2 \
import jar50 jsd ldap50 mail mailcomps mork mozfind mozjs mozldap \
msgsmime myspell necko necko2 nsappshell nss3 nssckbi pipboot \
composer docshell editor embedcomponents fileview freebl3 gfx_gtk \
gfxps gfxpsshar gkgfx gklayout gtkembedmoz gtkxtbin htmlpars i18n \
imglib2 import jar50 jsd ldap50 mail mailcomps mork mozfind mozjs \
mozldap msgsmime myspell necko necko2 nsappshell nss3 nssckbi pipboot \
pipnss pippki pref prldap50 rdf remoteservice smime3 \
softokn3 spellchecker ssl3 system-pref toolkitcomps txmgr uconv \
universalchardet wallet walletviewers webbrwsr websrvcs widget_gtk2 \
@ -91,7 +92,8 @@ MAKE_ENV= MOZ_CO_PROJECT=mail \
LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
BUILD_OFFICIAL=1 \
MOZILLA_OFFICIAL=1 \
SO_VERSION="${SO_VERSION}"
SO_VERSION="${SO_VERSION}" \
NSPR_LIB_DIR="${LOCALBASE}/lib"
CONFIGURE_ENV= ${MAKE_ENV} \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"

View File

@ -1,5 +1,5 @@
MD5 (thunderbird-1.5.0.9-source.tar.bz2) = bb74629a8d99a6653c5ab978cf9c6227
RMD160 (thunderbird-1.5.0.9-source.tar.bz2) = d1efc6bd0585ce2222d0bc3065a4f748a2f0f635
SHA1 (thunderbird-1.5.0.9-source.tar.bz2) = ff1b900861422b5c657a5302d9b1deb0601a42e2
SHA256 (thunderbird-1.5.0.9-source.tar.bz2) = db61537e9fa38cf00f2c28cbda48b2f6885571b9b171b543963c3ae1a3b6dffe
SIZE (thunderbird-1.5.0.9-source.tar.bz2) = 35970591
MD5 (thunderbird-1.5.0.10-source.tar.bz2) = 65087f8a7adb0773ae7198ec21cc2975
RMD160 (thunderbird-1.5.0.10-source.tar.bz2) = 926484cd1880e7921bf10ba0774064e43acc9283
SHA1 (thunderbird-1.5.0.10-source.tar.bz2) = a6467c946f9e668bcf7b3a06dcaeceb601b98fce
SHA256 (thunderbird-1.5.0.10-source.tar.bz2) = 9b6a5a2b893594180863d4cb412a6920c698d68d8ea047c0eb38c9794e74338d
SIZE (thunderbird-1.5.0.10-source.tar.bz2) = 36159990

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.5 2006/11/10 14:16:41 wilfried Exp $
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Fri Oct 6 19:26:54 2006
+++ gfx/src/ps/nsFontMetricsPS.cpp Wed Nov 8 11:43:52 2006
@@ -1044,8 +1044,10 @@ nsFontPSXft::Init(nsXftEntry* aEntry,
nsFontPSXft::~nsFontPSXft()
{
- if (mEntry->mFace)
+ if (mEntry->mFace) {
FT_Done_Face(mEntry->mFace);
+ mEntry->mFace = nsnull;
+ }
if (FT_Done_FreeType(mFreeTypeLibrary))
return;
@@ -2336,8 +2338,10 @@ nsXftType1Generator::Init(nsXftEntry* aE
nsXftType1Generator::~nsXftType1Generator()
{
- if (mEntry->mFace)
+ if (mEntry->mFace) {
FT_Done_Face(mEntry->mFace);
+ mEntry->mFace = nsnull;
+ }
if (FT_Done_FreeType(mFreeTypeLibrary))
return;

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-security_coreconf_rules_mk,v 1.2 2006/01/23 12:34:06 wilfried Exp $
--- security/coreconf/rules.mk.orig Fri Apr 15 02:36:28 2005
+++ security/coreconf/rules.mk Sat Sep 10 09:08:28 2005
@@ -352,7 +352,6 @@ ifdef XP_OS2_VACPP
$OpenBSD: patch-security_coreconf_rules_mk,v 1.3 2007/03/19 22:02:38 martynas Exp $
--- security/coreconf/rules.mk.orig Sat Jan 6 07:48:54 2007
+++ security/coreconf/rules.mk Thu Mar 1 20:50:47 2007
@@ -358,7 +358,6 @@ ifdef XP_OS2_VACPP
else
$(MKSHLIB) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS)
$(MKSHLIB) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
endif
- chmod +x $@
ifeq ($(OS_TARGET),Darwin)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-security_manager_Makefile_in,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/manager/Makefile.in.orig Thu Jan 5 10:40:17 2006
+++ security/manager/Makefile.in Tue Nov 7 17:57:02 2006
@@ -79,7 +79,7 @@ endif
$OpenBSD: patch-security_manager_Makefile_in,v 1.2 2007/03/19 22:02:38 martynas Exp $
--- security/manager/Makefile.in.orig Wed Dec 20 00:07:37 2006
+++ security/manager/Makefile.in Thu Mar 1 20:50:47 2007
@@ -118,7 +118,7 @@ endif
# NSS makefiles are not safe for parallel execution.
DEFAULT_GMAKE_FLAGS = MAKE="$(MAKE) -j1" -j1
DEFAULT_GMAKE_FLAGS += CC="$(CC)"

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-security_nss_Makefile,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/Makefile.orig Tue Nov 7 15:24:56 2006
+++ security/nss/Makefile Tue Nov 7 15:25:02 2006
$OpenBSD: patch-security_nss_Makefile,v 1.2 2007/03/19 22:02:38 martynas Exp $
--- security/nss/Makefile.orig Sat Apr 15 01:48:17 2006
+++ security/nss/Makefile Thu Mar 1 20:50:47 2007
@@ -78,7 +78,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
@ -8,5 +8,5 @@ $OpenBSD: patch-security_nss_Makefile,v 1.1 2006/11/17 19:20:19 kurt Exp $
-nss_build_all: build_coreconf build_nspr build_dbm all
+nss_build_all: build_coreconf build_dbm all
build_coreconf:
cd $(CORE_DEPTH)/coreconf ; $(MAKE)
nss_clean_all: clobber_coreconf clobber_nspr clobber_dbm clobber

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-security_nss_cmd_pkiutil_platlibs_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/cmd/pkiutil/platlibs.mk.orig Tue Nov 7 15:25:17 2006
+++ security/nss/cmd/pkiutil/platlibs.mk Tue Nov 7 15:25:44 2006
@@ -50,8 +50,6 @@ EXTRA_SHARED_LIBS += \
-L$(DIST)/lib/ \
-lnsspki3 \
-lnss3 \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-security_nss_cmd_platlibs_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/cmd/platlibs.mk.orig Tue Nov 7 15:25:57 2006
+++ security/nss/cmd/platlibs.mk Tue Nov 7 15:26:40 2006
@@ -136,10 +136,7 @@ EXTRA_SHARED_LIBS += \
$(NULL)
else
EXTRA_SHARED_LIBS += \
- -L$(DIST)/lib \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
endif
endif
@@ -222,9 +219,7 @@ EXTRA_SHARED_LIBS += \
-lssl3 \
-lsmime3 \
-lnss3 \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
JAR_LIBS = $(DIST)/lib/$(LIB_PREFIX)jar.$(LIB_SUFFIX) \

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_nss_lib_ckfw_builtins_Makefile,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/ckfw/builtins/Makefile.orig Tue Nov 7 15:26:48 2006
+++ security/nss/lib/ckfw/builtins/Makefile Tue Nov 7 15:27:43 2006
@@ -68,8 +68,8 @@ endif
else
EXTRA_LIBS += \
- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
$(NULL)
endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_nss_lib_fortcrypt_swfort_pkcs11_Makefile,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/fortcrypt/swfort/pkcs11/Makefile.orig Tue Nov 7 15:27:57 2006
+++ security/nss/lib/fortcrypt/swfort/pkcs11/Makefile Tue Nov 7 15:28:16 2006
@@ -98,8 +98,8 @@ EXTRA_LIBS += \
$(DIST)/lib/$(LIB_PREFIX)softokn.$(LIB_SUFFIX) \
$(CRYPTO_LIB) \
$(DIST)/lib/$(LIB_PREFIX)secutil.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
$(NULL)
endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-security_nss_lib_freebl_Makefile,v 1.1 2007/03/19 22:02:38 martynas Exp $
--- security/nss/lib/freebl/Makefile.orig Thu Dec 7 03:59:41 2006
+++ security/nss/lib/freebl/Makefile Fri Mar 2 00:03:55 2007
@@ -192,7 +192,7 @@ endif
# to bind the blapi function references in FREEBLVector vector
# (ldvector.c) to the blapi functions defined in the freebl
# shared libraries.
-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD, $(OS_TARGET)))
+ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
MKSHLIB += -Wl,-Bsymbolic
endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_nss_lib_nss_config_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/nss/config.mk.orig Tue Nov 7 15:28:38 2006
+++ security/nss/lib/nss/config.mk Tue Nov 7 15:29:02 2006
@@ -74,9 +74,7 @@ else
EXTRA_SHARED_LIBS += \
-L$(DIST)/lib/ \
-lsoftokn3 \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_nss_lib_smime_config_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/smime/config.mk.orig Tue Nov 7 15:29:15 2006
+++ security/nss/lib/smime/config.mk Tue Nov 7 15:29:33 2006
@@ -68,9 +68,7 @@ else
EXTRA_SHARED_LIBS += \
-L$(DIST)/lib/ \
-lnss3 \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
ifeq ($(OS_ARCH), Darwin)

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-security_nss_lib_softoken_config_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/softoken/config.mk.orig Tue Nov 7 15:29:47 2006
+++ security/nss/lib/softoken/config.mk Tue Nov 7 15:30:06 2006
@@ -80,10 +80,7 @@ else
# $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
# $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
EXTRA_SHARED_LIBS += \
- -L$(DIST)/lib/ \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
endif

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-security_nss_lib_ssl_config_mk,v 1.1 2006/11/17 19:20:19 kurt Exp $
--- security/nss/lib/ssl/config.mk.orig Tue Nov 7 15:30:21 2006
+++ security/nss/lib/ssl/config.mk Tue Nov 7 15:30:37 2006
@@ -73,9 +73,7 @@ else
EXTRA_SHARED_LIBS += \
-L$(DIST)/lib/ \
-lnss3 \
- -lplc4 \
- -lplds4 \
- -lnspr4 \
+ $(NSPR_LIBS) \
$(NULL)
ifeq ($(OS_ARCH), BeOS)

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-xpcom_glue_standalone_Makefile_in,v 1.2 2006/07/02 15:54:55 steven Exp $
--- xpcom/glue/standalone/Makefile.in.orig Thu Jan 5 20:35:20 2006
+++ xpcom/glue/standalone/Makefile.in Thu Jun 29 08:51:04 2006
@@ -62,6 +62,9 @@ endif
ifneq (,$(filter AIX DragonFly FreeBSD Linux NetBSD OpenBSD SunOS,$(OS_ARCH)))
LINKSRC = nsGlueLinkingDlopen.cpp
endif
+ifeq (OpenBSD,$(OS_ARCH))
+LINKSRC = nsGlueLinkingDlopen.cpp
+endif
ifeq (OS2,$(OS_ARCH))
LINKSRC = nsGlueLinkingOS2.cpp
endif

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.8 2006/11/17 19:20:19 kurt Exp $
@comment $OpenBSD: PFRAG.shared,v 1.9 2007/03/19 22:02:38 martynas Exp $
@lib mozilla-thunderbird/components/libaccessibility.so.${LIBaccessibility_VERSION}
@lib mozilla-thunderbird/components/libappcomps.so.${LIBappcomps_VERSION}
@lib mozilla-thunderbird/components/libauth.so.${LIBauth_VERSION}
@ -51,6 +51,7 @@
@lib mozilla-thunderbird/components/libxpcom_compat_c.so.${LIBxpcom_compat_c_VERSION}
@lib mozilla-thunderbird/components/libxpconnect.so.${LIBxpconnect_VERSION}
@lib mozilla-thunderbird/components/libxpinstall.so.${LIBxpinstall_VERSION}
@lib mozilla-thunderbird/libfreebl3.so.${LIBfreebl3_VERSION}
@lib mozilla-thunderbird/libgfxpsshar.so.${LIBgfxpsshar_VERSION}
@lib mozilla-thunderbird/libgkgfx.so.${LIBgkgfx_VERSION}
@lib mozilla-thunderbird/libgtkembedmoz.so.${LIBgtkembedmoz_VERSION}