pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hunspell hunspell: update to 1.7.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1af47f9b754e
branches:  trunk
changeset: 384997:1af47f9b754e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Sep 09 15:17:20 2022 +0000

description:
hunspell: update to 1.7.1.

2022-08-22: Hunspell 1.7.1 release:
  - Merge chromium fix for #714 OOB string write in hunspell
  - Merge firefox fix for #756 various issues parsing incomplete aff files
  - Fix #492 crash with hunspell -l -r
  - Merge in weblate translations

diffstat:

 textproc/hunspell/Makefile                                  |   6 +---
 textproc/hunspell/distinfo                                  |   9 +++----
 textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx |  16 -------------
 3 files changed, 6 insertions(+), 25 deletions(-)

diffs (59 lines):

diff -r e2c6b3748ef8 -r 1af47f9b754e textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile        Fri Sep 09 15:14:48 2022 +0000
+++ b/textproc/hunspell/Makefile        Fri Sep 09 15:17:20 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2022/06/28 11:36:10 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2022/09/09 15:17:20 wiz Exp $
 
-DISTNAME=      hunspell-1.7.0
-PKGREVISION=   7
+DISTNAME=      hunspell-1.7.1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hunspell/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -38,7 +37,6 @@
 
 post-patch:
        cd ${WRKSRC} && ${TOOLS_PATH.autoreconf} -v -i --force
-       
 
 .include "options.mk"
 .include "../../converters/libiconv/buildlink3.mk"
diff -r e2c6b3748ef8 -r 1af47f9b754e textproc/hunspell/distinfo
--- a/textproc/hunspell/distinfo        Fri Sep 09 15:14:48 2022 +0000
+++ b/textproc/hunspell/distinfo        Fri Sep 09 15:17:20 2022 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 11:22:04 nia Exp $
+$NetBSD: distinfo,v 1.16 2022/09/09 15:17:20 wiz Exp $
 
-BLAKE2s (hunspell-1.7.0.tar.gz) = c9bf2226ad2b9bc5f094914f5e40f961a61120cc102d76f3d4716468940fef59
-SHA512 (hunspell-1.7.0.tar.gz) = 8149b2e8b703a0610c9ca5160c2dfad3cf3b85b16b3f0f5cfcb7ebb802473b2d499e8e2d0a637a97a37a24d62424e82d3880809210d3f043fa17a4970d47c903
-Size (hunspell-1.7.0.tar.gz) = 482156 bytes
+BLAKE2s (hunspell-1.7.1.tar.gz) = 23bef2131389cea1468e6b48d411cc9c855353e46d6cb45e2005e394e25a6a4d
+SHA512 (hunspell-1.7.1.tar.gz) = 472249309aecbbc58a025445781268867173e0651a6147f29644975ad65af043a1e2fbe91f2094934526889c7f9944739dc0a5f0d25328a77d22db1fd8f055ec
+Size (hunspell-1.7.1.tar.gz) = 526464 bytes
 SHA1 (patch-aa) = 8c6102ddb2e449b6f1abc23f679e0f6f38bfd0b5
 SHA1 (patch-ab) = ee127b1d8f55ceefa807c2fa440885b4fa5d029c
 SHA1 (patch-ac) = c25cdfe80452cb4ca9850354c9fa8581c787c086
-SHA1 (patch-src_hunspell_suggestmgr.cxx) = e1460987dd787720d9783cdf6cd2b060a68d74da
 SHA1 (patch-src_tools_Makefile.am) = e5f67855c48e04fe12deb90904c9c27e2441a8cf
diff -r e2c6b3748ef8 -r 1af47f9b754e textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx
--- a/textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx       Fri Sep 09 15:14:48 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_hunspell_suggestmgr.cxx,v 1.1 2020/08/03 11:19:28 wiz Exp $
-
-Fix CVE-2019-16707
-https://github.com/hunspell/hunspell/commit/ac938e2ecb48ab4dd21298126c7921689d60571b#diff-783289d6b6330291ec79bf507002106e
-
---- src/hunspell/suggestmgr.cxx.orig   2018-11-12 20:38:56.000000000 +0000
-+++ src/hunspell/suggestmgr.cxx
-@@ -2040,7 +2040,7 @@ int SuggestMgr::leftcommonsubstring(
-   int l2 = su2.size();
-   // decapitalize dictionary word
-   if (complexprefixes) {
--    if (su1[l1 - 1] == su2[l2 - 1])
-+    if (l1 && l2 && su1[l1 - 1] == su2[l2 - 1])
-       return 1;
-   } else {
-     unsigned short idx = su2.empty() ? 0 : (su2[0].h << 8) + su2[0].l;



Home | Main Index | Thread Index | Old Index