SHA256
1
0
forked from pool/icu

Accepting request 177840 from X11:common:Factory

- Update to new upstream release 51.2
* Common Locale Data Repository (CLDR) 23.1
* Time zone database version 2013c
* Security fixes for font layout and glyph table errors. NOTE:
  Applications must implement
  LEFontInstance::getFontTable(LETag, size_t &length) in their
  LEFontInstance subclasses, so that ICU can properly bounds-check
  font tables.

OBS-URL: https://build.opensuse.org/request/show/177840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icu?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2013-06-06 12:55:46 +00:00 committed by Git OBS Bridge
commit 6bd31bb3f9
9 changed files with 38 additions and 19 deletions

View File

@ -1,3 +1,7 @@
From: <vuntz@novell.com>
Do not put date/time in icu-config (needed for build-compare)
--- ---
source/Makefile.in | 1 - source/Makefile.in | 1 -
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)

View File

@ -1,3 +1,8 @@
From: Jan Engelhardt <jengelh@inai.de>
Reference: http://bugs.icu-project.org/trac/ticket/7808
build: resolve potential buffer overflow in icu
I: Statement might be overflowing a buffer in strncat. Common mistake: I: Statement might be overflowing a buffer in strncat. Common mistake:
BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument
GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1)

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 5 17:19:12 UTC 2013 - jengelh@inai.de
- Update to new upstream release 51.2
* Common Locale Data Repository (CLDR) 23.1
* Time zone database version 2013c
* Security fixes for font layout and glyph table errors. NOTE:
Applications must implement
LEFontInstance::getFontTable(LETag, size_t &length) in their
LEFontInstance subclasses, so that ICU can properly bounds-check
font tables.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 6 07:51:07 UTC 2013 - jengelh@inai.de Mon May 6 07:51:07 UTC 2013 - jengelh@inai.de

View File

@ -18,9 +18,9 @@
Name: icu Name: icu
%define lname libicu51 %define lname libicu51
Version: 51.1 Version: 51.2
Release: 0 Release: 0
%define aversion 51_1 %define aversion 51_2
Summary: International Components for Unicode Summary: International Components for Unicode
License: X11 License: X11
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -29,11 +29,9 @@ Url: http://icu-project.org/
#DL-URL: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz #DL-URL: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz
Source: icu4c-%aversion-src.tar.xz Source: icu4c-%aversion-src.tar.xz
Source2: icu4c-%aversion-docs.tar.xz Source2: icu4c-%aversion-docs.tar.xz
Source3: download.sh Source3: sanitize_docs.sh
# PATCH-FIX-UPSTREAM icu-rpmlint.diff -- http://bugs.icu-project.org/trac/ticket/7808
Patch1: icu-rpmlint.diff Patch1: icu-rpmlint.diff
# PATCH-FIX-OPENSUSE icu-remove-datetime.patch vuntz@novell.com -- Do not put date/time in icu-config (needed for build-compare) Patch2: icu-remove-datetime.patch
Patch99: icu-remove-datetime.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
@ -56,8 +54,8 @@ This subpackage contains the runtime programs for interacting with ICU.
# icudata (largest part) is always needed. # icudata (largest part) is always needed.
Summary: International Components for Unicode (development files) Summary: International Components for Unicode (development files)
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64 %ifarch ppc64
# bug437293
Obsoletes: libicu-64bit Obsoletes: libicu-64bit
%endif %endif
Requires: timezone Requires: timezone
@ -74,11 +72,10 @@ libraries for ICU which include precompiled locale data.
%package -n libicu-devel %package -n libicu-devel
Summary: International Components for Unicode (development files) Summary: International Components for Unicode (development files)
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64 %ifarch ppc64
# bug437293
Obsoletes: libicu-devel-64bit Obsoletes: libicu-devel-64bit
%endif %endif
#
Requires: %lname = %version Requires: %lname = %version
%description -n libicu-devel %description -n libicu-devel
@ -111,8 +108,7 @@ the "%lname" package.
%prep %prep
%setup -qn icu -a2 %setup -qn icu -a2
%patch1 -p1 %patch -P 1 -P 2 -p1
%patch99 -p1
%build %build
cd source cd source

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0a57d4a10421e9ed24aed657bd430174986b85fe0e4d6df9068eaed184e7102
size 2587952

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20ac1bb25a1b4c214bd551d0bd00801952bbba2ad3b01dd1392ebcc72a07f435
size 11994208

3
icu4c-51_2-docs.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb795ee5e6d80dcc4e72087694094428f3d6a0a3e57b0d80b02a8e4157b92cba
size 2410720

3
icu4c-51_2-src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67719e4f6292e7262c4d6ddba60b3a40d5df30af5f97aa50a706a993561ca3ec
size 12147252

View File

@ -1,7 +1,9 @@
#!/bin/sh -ex #!/bin/sh -ex
ver="51.1" ver="51.2"
name="icu4c-51_1-docs.zip" name="icu4c-51_2-docs.zip"
# Put docs in a separate directory
wget -c "http://download.icu-project.org/files/icu4c/$ver/$name" wget -c "http://download.icu-project.org/files/icu4c/$ver/$name"
rm -Rf html rm -Rf html
mkdir html mkdir html