From 3b1f3f995e65ba6307222c953983296022159e837ea1f1170cc7e6e3aa954de1 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Mon, 7 Aug 2017 10:12:02 +0000 Subject: [PATCH] - Version 6.5.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=11 --- onig-5.9.6.tar.gz | 3 -- onig-6.5.0.tar.gz | 3 ++ oniguruma.changes | 102 ++++++++++++++++++++++++++++++++++++++++++++++ oniguruma.spec | 17 ++++---- 4 files changed, 114 insertions(+), 11 deletions(-) delete mode 100644 onig-5.9.6.tar.gz create mode 100644 onig-6.5.0.tar.gz diff --git a/onig-5.9.6.tar.gz b/onig-5.9.6.tar.gz deleted file mode 100644 index b8d5cc8..0000000 --- a/onig-5.9.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7 -size 588225 diff --git a/onig-6.5.0.tar.gz b/onig-6.5.0.tar.gz new file mode 100644 index 0000000..f405f26 --- /dev/null +++ b/onig-6.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc78898665dea1e2fbeda0609074ff76f5ef2001907f6184468c752eb52a3ed4 +size 911379 diff --git a/oniguruma.changes b/oniguruma.changes index 981dd67..161d196 100644 --- a/oniguruma.changes +++ b/oniguruma.changes @@ -1,3 +1,105 @@ +------------------------------------------------------------------- +Mon Aug 7 10:06:48 UTC 2017 - mrueckert@suse.de + +- Version 6.5.0 + - [new] support Absent clear (Absent functions) + - abolish configure option: --enable-combination-explosion-check + - [new] support Absent functions (?~...) + - fix #65: SIZEOF_SIZE_T doesn't exist on certain architecutres + - [new] support \O (true anychar) + - [new] support \K (keep) + - add new node type: NODE_GIMMICK + - [new] support \N (no newline) + - [new] support \R (general newline) + - [new] support if-then-else syntax + - [new] support backref validity checker +- Version 6.4.0 + - fix memory leaks + - change encoding of doc/XXXX.ja from EUC-JP to UTF-8 + - update doc/RE, and doc/RE.ja + - fix fatal bug of endless repeat check on Windows + - PR #62 : add check for return values + - [new] support call zero (\g{0}) + - [new] support relative call by positive number + - [new] support relative back-reference by positive number + - fix #60 : check value type + - change output format for ONIG_DEBUG_COMPILE and + ONIG_DEBUG_MATCH +- Version 6.3.0 + - fix #60 : invalid state(CCS_VALUE) in parse_char_class() + - fix #59 : access to invalid address by reg->dmax value + - fix invalid increment of start position in onig_scan() + - fix #58 : access to invalid address by reg->dmin value + - fix #57 : DATA_ENSURE() check must be before data access + - fix #56 : return invalid result for codepoint 0xFFFFFFFF + - [new] add \o{17777777777} syntax. + - fix #55 : Byte value expressed in octal must be smaller than + 256 +- Version 6.2.0 + - fix: size in xmemcpy in stack_double (PR #51) + - Initialize return value + - NEW API: add onig_set_capture_num_limit() + - change MemNumType from short int to int + - fix: [0-9-a] was not allowed as [0-9\-a] + - fix: illegal capture after recursive call + - fix: problem with optimization of \z + - fix: .* optimization + - Set a limit of parser recursion + - fix; that warnings are not shown properly + - fix: /[a-c#]+\W/ =~ "def#" fails when encoding is UTF-16/32 + - fix: /[\x{0}-X]/i doesn't match properly when UTF-16/32 is + used. +- Version 6.1.3 + - fix: Syntax error: redirection unexpected (expecting word) #35 +- Version 6.1.2 + - allow word bound, word begin and word end in look-behind. + - add ONIG_OPTION_CHECK_VALIDITY_OF_STRING option. + - fix use after free node. + - fix memory leaks after parsing regexp error. + - implement many of is_valid_mbc_string(). +- Version 6.1.1 + - fix segfault /W.?{888}{888}{888}\x00/ (found by libfuzzer) + - fix error unmatched close parenthesis for %{(.*?)} #23 +- Version 6.1.0 + - add contributed/libfuzzer-onig.cpp (thanks hannob) + - update LTVERSION 4:0:0 + - NEW API: onigenc_is_valid_mbc_string(). + - add is_valid_mbc_string() member into OnigEncodingType. + - fix out of bounds read. + - disable USE_INVALID_CODE_SCHEME. + - doc/RE improved. + - add onig_scan() into doc/API. + - fix bug: Out of bounds read in onig_strcpy() #17 + - fix bug: infinite loop of backreference and group. + - fix out of bounds read in mbc_to_code() #16 + - doc/RE refinements. + - add onig_scan() (NEW API) + - reimplement match stack allocation for case too many repeat + - and too many captures in regexp. + - number of captures <= 32767 for bytecode representation. + - don't use int_map_backward for thread-safe. + - fix case of enclosed option in look-behind. + - fix ignore case in look-behind. + - fix memory leak in onig_unicode_define_user_property() + - declare variables at the top of scope. (thanks nmaya) +- Version 6.0.0 + - add NEW API: onig_unicode_define_user_property() + - update Unicode data to 8.0.0 + - change OnigCodePoint type to unsigned int. + - add doc/UNICODE_PROPERTIES. + - add error code ONIGERR_FAIL_TO_INITIALIZE. + - add make_win64/32.bat. + - fix bug of uninitialized regex_t value on error. + - reimplement Unicode case folding. + - update LTVERSION = 3.0.0 + - remove all THREAD_ macro. + - add init member into OnigEncoding. (add onig_initialize()) + - remove state member of regex. + - move source files into src/ + - rename configre.in to configure.ac. + - fix memory leak. (thanks pigzang) + - change mail address. + ------------------------------------------------------------------- Tue Mar 1 01:27:17 UTC 2016 - mrueckert@suse.de diff --git a/oniguruma.spec b/oniguruma.spec index 79c9cb0..81d3a6a 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -1,7 +1,7 @@ # # spec file for package oniguruma # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: oniguruma -Version: 5.9.6 +Version: 6.5.0 Release: 0 Summary: Regex Library Supporting Different Character Encodings License: BSD-2-Clause @@ -26,6 +26,7 @@ Url: https://github.com/kkos/oniguruma Source: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define lib_name libonig4 %description Oniguruma is a regular expressions library. The characteristics of @@ -39,11 +40,11 @@ ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16. -%package -n libonig2 +%package -n %{lib_name} Summary: Regex Library Supporting Different Character Encodings Group: System/Libraries -%description -n libonig2 +%description -n %{lib_name} Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. @@ -58,7 +59,7 @@ ISO-8859-16. %package devel Summary: Regex Library Supporting Different Character Encodings - Development Files Group: Development/Languages/C and C++ -Requires: libonig2 = %{version} +Requires: %{lib_name} = %{version} Obsoletes: oniguruma <= 2.5.7 %description devel @@ -90,11 +91,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.a" -delete -print find %{buildroot} -type f -name "*.la" -delete -print -%post -n libonig2 -p /sbin/ldconfig +%post -n %{lib_name} -p /sbin/ldconfig -%postun -n libonig2 -p /sbin/ldconfig +%postun -n %{lib_name} -p /sbin/ldconfig -%files -n libonig2 +%files -n %{lib_name} %defattr(-,root,root,-) %{_libdir}/libonig.so.*