From e9292c50d227ae40ec39c067092d72aa978135670943b3d2a3729f77b94ed5f9 Mon Sep 17 00:00:00 2001
From: Marcus Rueckert <mrueckert@suse.com>
Date: Thu, 5 Nov 2020 16:00:11 +0000
Subject: [PATCH] - Update to 6.9.6   - When using configure script, if you
 have the POSIX API enabled     in an earlier version (disabled by default in
 6.9.5) and you     need application binary compatibility with the POSIX API, 
    specify "--enable-binary-compatible-posix-api=yes" instead of    
 "--enable-posix-api=yes". Starting in 6.9.6,     "--enable-posix-api=yes"
 only supports source-level     compatibility for 6.9.5 and earlier about
 POSIX API. (Issue     #210)   - NEW: configure option    
 --enable-binary-compatible-posix-api=[yes/no]   - NEW API: Limiting the
 maximum number of calls of subexp-call   - NEW API:
 ONIG_OPTION_NOT_BEGIN_STRING / NOT_END_STRING /     NOT_BEGIN_POSITION   -
 Fixed behavior of ONIG_OPTION_NOTBOL / NOTEOL   - Fixed many problems found
 by OSS-Fuzz   - Fixed many problems found by Coverity   - Fixed
 CVE-2020-26159 (This turned out not to be a problem     later. #221)   -
 Under cygwin and mingw, generate and install the libonig.def     file (Issue
 #220)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/oniguruma?expand=0&rev=19
---
 onig-6.9.5_rev1.tar.gz |  3 ---
 onig-6.9.6.tar.gz      |  3 +++
 oniguruma.changes      | 25 +++++++++++++++++++++++++
 oniguruma.spec         |  6 +++---
 4 files changed, 31 insertions(+), 6 deletions(-)
 delete mode 100644 onig-6.9.5_rev1.tar.gz
 create mode 100644 onig-6.9.6.tar.gz

diff --git a/onig-6.9.5_rev1.tar.gz b/onig-6.9.5_rev1.tar.gz
deleted file mode 100644
index bc03d8b..0000000
--- a/onig-6.9.5_rev1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d33c849d1672af227944878cefe0a8fcf26fc62bedba32aa517f2f63c314a99e
-size 889770
diff --git a/onig-6.9.6.tar.gz b/onig-6.9.6.tar.gz
new file mode 100644
index 0000000..fb9f8ae
--- /dev/null
+++ b/onig-6.9.6.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bd0faeb887f748193282848d01ec2dad8943b5dfcb8dc03ed52dcc963549e819
+size 926459
diff --git a/oniguruma.changes b/oniguruma.changes
index 061ad3d..7b555ae 100644
--- a/oniguruma.changes
+++ b/oniguruma.changes
@@ -1,3 +1,28 @@
+-------------------------------------------------------------------
+Thu Nov  5 15:57:25 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
+
+- Update to 6.9.6 
+  - When using configure script, if you have the POSIX API enabled
+    in an earlier version (disabled by default in 6.9.5) and you
+    need application binary compatibility with the POSIX API,
+    specify "--enable-binary-compatible-posix-api=yes" instead of
+    "--enable-posix-api=yes". Starting in 6.9.6,
+    "--enable-posix-api=yes" only supports source-level
+    compatibility for 6.9.5 and earlier about POSIX API. (Issue
+    #210)
+  - NEW: configure option
+    --enable-binary-compatible-posix-api=[yes/no]
+  - NEW API: Limiting the maximum number of calls of subexp-call
+  - NEW API: ONIG_OPTION_NOT_BEGIN_STRING / NOT_END_STRING /
+    NOT_BEGIN_POSITION
+  - Fixed behavior of ONIG_OPTION_NOTBOL / NOTEOL
+  - Fixed many problems found by OSS-Fuzz
+  - Fixed many problems found by Coverity
+  - Fixed CVE-2020-26159 (This turned out not to be a problem
+    later. #221)
+  - Under cygwin and mingw, generate and install the libonig.def
+    file (Issue #220)
+
 -------------------------------------------------------------------
 Mon Jun 15 21:57:36 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
 
diff --git a/oniguruma.spec b/oniguruma.spec
index 4b2b64f..42e3b83 100644
--- a/oniguruma.spec
+++ b/oniguruma.spec
@@ -17,11 +17,11 @@
 
 
 %define lib_name libonig5
-%define pkg_version 6.9.5_rev1
-%define pkg_short_version 6.9.5
+%define pkg_version 6.9.6
+%define pkg_short_version 6.9.6
 
 Name:           oniguruma
-Version:        6.9.5.1
+Version:        6.9.6
 Release:        0
 Summary:        Regex Library Supporting Different Character Encodings
 License:        BSD-2-Clause