Hello community,
here is the log from the commit of package mozilla-nspr for openSUSE:Factory
checked in at Mon Dec 21 14:21:20 CET 2009.
--------
--- GNOME/mozilla-nspr/mozilla-nspr.changes 2009-10-13 10:00:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/mozilla-nspr/mozilla-nspr.changes 2009-12-19 13:26:21.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Dec 18 13:48:16 CET 2009 - wr@rosenauer.org
+
+- update to 4.8.3
+ * NSPR logging timestamp month number is off by one
+ * fixed possible DoS in prdtoa
+- added baselibs.conf
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
nspr-4.8.2.tar.bz2
New:
----
nspr-4.8.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mozilla-nspr.spec ++++++
--- /var/tmp/diff_new_pack.4Ugqib/_old 2009-12-21 14:20:26.000000000 +0100
+++ /var/tmp/diff_new_pack.4Ugqib/_new 2009-12-21 14:20:26.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package mozilla-nspr (Version 4.8.2)
+# spec file for package mozilla-nspr (Version 4.8.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 2006-2009 Wolfgang Rosenauer
@@ -21,8 +21,8 @@
Name: mozilla-nspr
BuildRequires: gcc-c++
-License: GPL v2 or later ; LGPL v2.1 or later ; MPL ..
-Version: 4.8.2
+License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
+Version: 4.8.3
Release: 1
Summary: Netscape Portable Runtime
Url: http://www.mozilla.org/projects/nspr/
@@ -33,6 +33,7 @@
#
Group: System/Libraries
Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2
+Source1: baselibs.conf
Patch3: pkgconfig.patch
# Remove remnant traces from the package split.
Provides: libnspr4 = %{version}-%{release}
@@ -47,7 +48,7 @@
%package devel
-License: GPL v2 or later ; LGPL v2.1 or later ; MPL ..
+License: GPLv2+ ; LGPLv2.1+ ; MPL ..
Summary: Netscape Portable Runtime development files
Group: Development/Libraries/Other
Requires: mozilla-nspr = %{version}
++++++ nspr-4.8.2.tar.bz2 -> nspr-4.8.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/admin/repackage.sh new/nspr-4.8.3/mozilla/nsprpub/admin/repackage.sh
--- old/nspr-4.8.2/mozilla/nsprpub/admin/repackage.sh 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/admin/repackage.sh 2009-12-18 13:46:54.000000000 +0100
@@ -64,10 +64,10 @@
#
# ------------------------------------------------------------------
-FROMTOP=/share/builds/components/nspr20/v4.8.2
-TOTOP=./v4.8.2
-NSPRDIR=nspr-4.8.2
-SOURCETAG=NSPR_4_8_2_RTM
+FROMTOP=/share/builds/components/nspr20/v4.8.3
+TOTOP=./v4.8.3
+NSPRDIR=nspr-4.8.3
+SOURCETAG=NSPR_4_8_3_RTM
#
# enumerate Unix object directories on /s/b/c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/config/prdepend.h new/nspr-4.8.3/mozilla/nsprpub/config/prdepend.h
--- old/nspr-4.8.2/mozilla/nsprpub/config/prdepend.h 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/config/prdepend.h 2009-12-18 13:46:54.000000000 +0100
@@ -42,3 +42,4 @@
*/
#error "Do not include this header file."
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/config/rules.mk new/nspr-4.8.3/mozilla/nsprpub/config/rules.mk
--- old/nspr-4.8.2/mozilla/nsprpub/config/rules.mk 2009-05-20 21:54:24.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/config/rules.mk 2009-12-18 13:46:54.000000000 +0100
@@ -172,18 +172,13 @@
RELEASE_LIBS_DEST = $(RELEASE_LIB_DIR)
endif
+define MAKE_IN_DIR
+ $(MAKE) -C $(dir) $@
+
+endef # do not remove the blank line!
+
ifdef DIRS
-LOOP_OVER_DIRS = \
- @for d in $(DIRS); do \
- if test -d $$d; then \
- set -e; \
- echo "cd $$d; $(MAKE) $@"; \
- $(MAKE) -C $$d $@; \
- set +e; \
- else \
- echo "Skipping non-directory $$d..."; \
- fi; \
- done
+LOOP_OVER_DIRS = $(foreach dir,$(DIRS),$(MAKE_IN_DIR))
endif
################################################################################
@@ -387,9 +382,8 @@
endif
ifdef NEED_ABSOLUTE_PATH
-PWD := $(shell pwd)
# The quotes allow absolute paths to contain spaces.
-pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(PWD)/$(1)))"
+pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(CURDIR)/$(1)))"
endif
$(OBJDIR)/%.$(OBJ_SUFFIX): %.cpp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/configure new/nspr-4.8.3/mozilla/nsprpub/configure
--- old/nspr-4.8.2/mozilla/nsprpub/configure 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/configure 2009-12-18 13:46:54.000000000 +0100
@@ -695,7 +695,7 @@
MOD_MAJOR_VERSION=4
MOD_MINOR_VERSION=8
-MOD_PATCH_VERSION=2
+MOD_PATCH_VERSION=3
NSPR_MODNAME=nspr20
_HAVE_PTHREADS=
USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/configure.in new/nspr-4.8.3/mozilla/nsprpub/configure.in
--- old/nspr-4.8.2/mozilla/nsprpub/configure.in 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/configure.in 2009-12-18 13:46:54.000000000 +0100
@@ -50,7 +50,7 @@
dnl ========================================================
MOD_MAJOR_VERSION=4
MOD_MINOR_VERSION=8
-MOD_PATCH_VERSION=2
+MOD_PATCH_VERSION=3
NSPR_MODNAME=nspr20
_HAVE_PTHREADS=
USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/pr/include/prinit.h new/nspr-4.8.3/mozilla/nsprpub/pr/include/prinit.h
--- old/nspr-4.8.2/mozilla/nsprpub/pr/include/prinit.h 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/pr/include/prinit.h 2009-12-18 13:46:55.000000000 +0100
@@ -63,10 +63,10 @@
** The format of the version string is
** "<major version>.<minor version>[.<patch level>] [<Beta>]"
*/
-#define PR_VERSION "4.8.2"
+#define PR_VERSION "4.8.3"
#define PR_VMAJOR 4
#define PR_VMINOR 8
-#define PR_VPATCH 2
+#define PR_VPATCH 3
#define PR_BETA PR_FALSE
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/pr/src/io/prlog.c new/nspr-4.8.3/mozilla/nsprpub/pr/src/io/prlog.c
--- old/nspr-4.8.2/mozilla/nsprpub/pr/src/io/prlog.c 2009-05-20 21:54:25.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/pr/src/io/prlog.c 2009-12-18 13:46:55.000000000 +0100
@@ -456,7 +456,7 @@
PR_ExplodeTime(PR_Now(), PR_GMTParameters, &now);
nb_tid = PR_snprintf(line, sizeof(line)-1,
"%04d-%02d-%02d %02d:%02d:%02d.%06d UTC - ",
- now.tm_year, now.tm_month, now.tm_mday,
+ now.tm_year, now.tm_month + 1, now.tm_mday,
now.tm_hour, now.tm_min, now.tm_sec,
now.tm_usec);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/pr/src/misc/prdtoa.c new/nspr-4.8.3/mozilla/nsprpub/pr/src/misc/prdtoa.c
--- old/nspr-4.8.2/mozilla/nsprpub/pr/src/misc/prdtoa.c 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/pr/src/misc/prdtoa.c 2009-12-18 13:46:55.000000000 +0100
@@ -1728,6 +1728,8 @@
}
}
dig_done:
+ if (nd > 64 * 1024)
+ goto ret0;
e = 0;
if (c == 'e' || c == 'E') {
if (!nd && !nz && !nz0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nspr-4.8.2/mozilla/nsprpub/pr/tests/dtoa.c new/nspr-4.8.3/mozilla/nsprpub/pr/tests/dtoa.c
--- old/nspr-4.8.2/mozilla/nsprpub/pr/tests/dtoa.c 2009-10-13 08:06:49.000000000 +0200
+++ new/nspr-4.8.3/mozilla/nsprpub/pr/tests/dtoa.c 2009-12-18 13:46:55.000000000 +0100
@@ -47,6 +47,7 @@
*
*****************************************************************************/
#include