diff --git a/libthai-0.1.13.tar.bz2 b/libthai-0.1.13.tar.bz2 new file mode 100644 index 0000000..7ab6baf --- /dev/null +++ b/libthai-0.1.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1510b6a2518d5a77d7b1c812515289e0e6071d5f6fe6c97dcb2cb9b2a5404df9 +size 410799 diff --git a/libthai-0.1.9.tar.bz2 b/libthai-0.1.9.tar.bz2 deleted file mode 100644 index ffde7a8..0000000 --- a/libthai-0.1.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:442d784c01d529cd9adee662170c6f6a9b577cc66886a9ad5ce05c0f6d7048c1 -size 363364 diff --git a/libthai.changes b/libthai.changes index 07e8a3d..3113651 100644 --- a/libthai.changes +++ b/libthai.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Jan 17 20:09:00 CET 2010 - vuntz@opensuse.org + +- Update to version 0.1.13: + + Fix integer overflow vulnerabilities (CVE-2009-4012). + + Updated word break dictionary. +- Changes from version 0.1.12: + + Improved unknown words boundary. + + Add symbol versioning. + + Updated word break dictionary. +- Changes from version 0.1.11: + + Diminished link flags in pkg-config info, for less dependency + for clients. + + More words in word break dictionary. +- Changes from version 0.1.10: + + More dictionary capacity with libdatrie 0.2. + + Dictionary clean-up on unload. + + Some performance fine-tuning. + + More words in word break dictionary. +- Drop warnings.patch: fixed upstream. +- Drop bug-569615_01_integer-overflow-vuln.patch: fixed upstream. + ------------------------------------------------------------------- Fri Jan 16 19:54:50 CET 2009 - crrodriguez@suse.de diff --git a/libthai.spec b/libthai.spec index 8b9de2c..2f65fa6 100644 --- a/libthai.spec +++ b/libthai.spec @@ -1,7 +1,7 @@ # -# spec file for package libthai (Version 0.1.9) +# spec file for package libthai (Version 0.1.13) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libthai -Url: http://linux.thai.net/plone/TLWG/libthai/ -License: LGPL v2.1 or later -Group: System/Libraries -AutoReqProv: on -Version: 0.1.9 -Release: 37 +Version: 0.1.13 +Release: 1 +License: LGPLv2.1+ Summary: Thai Language Support Routines -Source: %name-%version.tar.bz2 -Patch: warnings.patch +Url: http://linux.thai.net/plone/TLWG/libthai/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +BuildRequires: libdatrie-devel +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libdatrie-devel pkg-config %description LibThai is a set of Thai language support routines aimed to ease @@ -38,21 +36,12 @@ applications. It includes important Thai-specific functions, such as word breaking, input and output methods, and basic character and string support. - - -Authors: --------- - Theppitak Karoonboonyanan - Chanop Silpa-Anan - Pattara Kiatisevi - Poonlap Veerathanabutr - Vuthichai Ampornaramveth - %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Thai Language Support Routines (development files) Group: System/Libraries -Requires: %{name} = %{version} libdatrie-devel +Requires: %{name} = %{version} +Requires: libdatrie-devel %description devel LibThai is a set of Thai language support routines aimed to ease @@ -64,19 +53,8 @@ support. This package contains headers and libraries required for developing software using libthai. - - -Authors: --------- - Theppitak Karoonboonyanan - Chanop Silpa-Anan - Pattara Kiatisevi - Poonlap Veerathanabutr - Vuthichai Ampornaramveth - %prep %setup -q -%patch %build %configure --disable-static --with-pic @@ -84,10 +62,10 @@ make %{?jobs:-j%jobs} %install %makeinstall -rm $RPM_BUILD_ROOT%{_libdir}/*.la +rm %{buildroot}%{_libdir}/*.la %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -p /sbin/ldconfig @@ -105,34 +83,3 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog -* Fri Jan 16 2009 crrodriguez@suse.de -- remove static libraries and "la" files -* Wed May 21 2008 sbrabec@suse.cz -- Fixed devel depenendencies. -* Mon Apr 07 2008 uli@suse.de -- update -> 0.1.9 (bug #326002) - * Rewritten itemization for line breaker, for conformance to UAX#14. - * Revised dictionary for compound words support. - * Improved handling of white spaces in word break routine, for better quality - line wrapping in Gecko libthai component. - * More words in word break dictionary. - * Excessive exported symbols are eliminated from library. - * Rewritten word break routines: - - Split dictionary from source, thus new dependency on libdatrie - - New word break routine from scratch, for maintainability - * Improved dictionary for word segmentation: - - New word list preparation process from multiple categories - - New contemporary words not included in Royal Institute dictionary, - as well as some proper names for countries and locations, etc. - - Fine-tuned dictionary to get rid of some potential ambiguities - * Documentation with doxygen. - * Add missing APIs. - * Fix compiler warnings. - * Improved word breaking. Space is now also considered a breakable point. - * More PUA support for Mac fonts rendering. - * Start maintaining library version info from now on. -- created devel subpackage -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Sep 15 2005 uli@suse.de -- initial package diff --git a/warnings.patch b/warnings.patch deleted file mode 100644 index dc1244d..0000000 --- a/warnings.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/thinp/thinp.c -+++ src/thinp/thinp.c -@@ -10,6 +10,7 @@ - #include - #include - -+#include - - int th_isaccept(thchar_t c1, thchar_t c2, thstrict_t s) - { ---- src/thrend/thrend.c -+++ src/thrend/thrend.c -@@ -9,6 +9,7 @@ - #include - #include - -+#include - - typedef struct { - thglyph_t ShiftDown_TONE_AD[8];