pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/aspell



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Oct 19 10:43:28 UTC 2019

Modified Files:
        pkgsrc/textproc/aspell: Makefile PLIST distinfo
Removed Files:
        pkgsrc/textproc/aspell: options.mk

Log Message:
aspell: Update to 0.68.8

Please note that this version has the potential to break some applications
that use null-terminated UCS-2 and UCS-4 encoded strings in order to fix a
potentially unbounded buffer over-read.  Very few applications do this
however.  For additional information please see "Upgrading from Aspell 0.60.7"
in the manual.
(http://aspell.net/man-html/Upgrading-from-Aspell-0_002e60_002e7.html)

Major changes from 0.60.7 to 0.68.8:

    * Prevent a potentially unbounded buffer over-read by no longer
      supporting null-terminated UCS-2 and UCS-4 encoded strings with the
      original C API.

    * Ensure that possible typos are listed before other suggestions when
      typo analysis is used.  Also fix a bug so that suggestions that
      split a word using a space or hyphen are not always first.

    * Add Markdown filter.

    * Add new 'wordlists' option, which is a list of UTF-8 files that
      contain additional words to accept.

    * Add new 'camel-case' option, which enables support for checking
      camelCase words.

    * Sort personal and replacement dictionaries.

    * Change 'ultra' suggestion mode to only find words that are within
      one-edit distance or have the same soundslike.

Other changes from 0.60.7:

    * Implement the 'aspell filter' command.
    * Fix a bug in 'AspellDocumentChecker' that prevented it from working
      with UCS-2 and UCS-4 encoded strings.
    * Remove unused 'sug-edit-dist' option.
    * 'AspellDocumentChecker' now expects the document a line at a time
      in order to work with the new Markdown filter.  If the document is
      split on white space characters instead, nothing will break, but
      new filters such as the Markdown filter may give incorrect results.
    * The 'clean' option and command will no longer split a word.
    * Various documentation improvements.
    * Removal of several outdated appendices that don't really belong in
      the main manual.  Parts that are still relevent may eventually be
      moved elsewhere, but for now they are available online at
      <http://aspell.net/0.60.7/man-html/>.
    * Fix various crashes and other problems found by Google's OSS-Fuzz.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/textproc/aspell/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/aspell/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/aspell/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/aspell/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/aspell/Makefile
diff -u pkgsrc/textproc/aspell/Makefile:1.73 pkgsrc/textproc/aspell/Makefile:1.74
--- pkgsrc/textproc/aspell/Makefile:1.73        Sun Sep 15 06:53:36 2019
+++ pkgsrc/textproc/aspell/Makefile     Sat Oct 19 10:43:28 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2019/09/15 06:53:36 maya Exp $
-#
+# $NetBSD: Makefile,v 1.74 2019/10/19 10:43:28 nia Exp $
 
-DISTNAME=              aspell-0.60.7
+DISTNAME=              aspell-0.60.8
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GNU:=aspell/}
 
@@ -15,6 +14,7 @@ CONFLICTS=            libpspell-[0-9]*
 GNU_CONFIGURE=         yes
 USE_FEATURES=          snprintf vsnprintf
 USE_TOOLS+=            gmake
+USE_TOOLS+=            msgfmt msgmerge xgettext
 # for bin/aspell-import
 USE_TOOLS+=            perl:run
 USE_LIBTOOL=           yes
@@ -27,6 +27,8 @@ CONFIGURE_ARGS+=      --enable-doc-dir=${PREF
 CONFIGURE_ARGS+=       --enable-curses=${CURSES_TYPE}
 CONFIGURE_ARGS+=       --enable-pkgdatadir=${PREFIX}/share/aspell
 CONFIGURE_ARGS+=       --enable-dict-dir=${PREFIX}/lib/aspell
+# https://github.com/GNUAspell/aspell/issues/336
+CONFIGURE_ARGS+=       --enable-compile-in-filters
 CONFIGURE_ENV+=                gt_cv_func_gnugettext1_libintl=yes
 
 .include "../../mk/bsd.prefs.mk"
@@ -43,8 +45,6 @@ CPPFLAGS+=    -DDECLARE_VSNPRINTF -DDECLARE
 CPPFLAGS+=     -DHAVE_OLD_SIGNAL
 .endif
 
-.include "options.mk"
-
 REPLACE_PERL=          scripts/aspell-import
 
 NOT_FOR_COMPILER=      xlc

Index: pkgsrc/textproc/aspell/PLIST
diff -u pkgsrc/textproc/aspell/PLIST:1.17 pkgsrc/textproc/aspell/PLIST:1.18
--- pkgsrc/textproc/aspell/PLIST:1.17   Sun Sep 15 06:53:36 2019
+++ pkgsrc/textproc/aspell/PLIST        Sat Oct 19 10:43:28 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2019/09/15 06:53:36 maya Exp $
+@comment $NetBSD: PLIST,v 1.18 2019/10/19 10:43:28 nia Exp $
 bin/aspell
 bin/aspell-import
 bin/precat
@@ -14,19 +14,14 @@ info/aspell-dev.info
 info/aspell.info
 lib/aspell/ccpp.amf
 lib/aspell/comment.amf
-${PLIST.filters}lib/aspell/context-filter.la
-${PLIST.filters}lib/aspell/email-filter.la
 lib/aspell/email.amf
 lib/aspell/html.amf
+lib/aspell/markdown.amf
 lib/aspell/none.amf
-${PLIST.filters}lib/aspell/nroff-filter.la
 lib/aspell/nroff.amf
 lib/aspell/perl.amf
-${PLIST.filters}lib/aspell/sgml-filter.la
 lib/aspell/sgml.amf
-${PLIST.filters}lib/aspell/tex-filter.la
 lib/aspell/tex.amf
-${PLIST.filters}lib/aspell/texinfo-filter.la
 lib/aspell/texinfo.amf
 lib/aspell/url.amf
 lib/libaspell.la
@@ -37,7 +32,6 @@ man/man1/prezip-bin.1
 man/man1/pspell-config.1
 man/man1/run-with-aspell.1
 man/man1/word-list-compress.1
-${PLIST.filters}share/aspell/context-filter.info
 share/aspell/cp1250.cmap
 share/aspell/cp1250.cset
 share/aspell/cp1251.cmap
@@ -57,8 +51,6 @@ share/aspell/cp1257.cset
 share/aspell/cp1258.cmap
 share/aspell/cp1258.cset
 share/aspell/dvorak.kbd
-${PLIST.filters}share/aspell/email-filter.info
-${PLIST.filters}share/aspell/html-filter.info
 share/aspell/iso-8859-1.cmap
 share/aspell/iso-8859-1.cset
 share/aspell/iso-8859-10.cmap
@@ -94,13 +86,9 @@ share/aspell/koi8-r.cmap
 share/aspell/koi8-r.cset
 share/aspell/koi8-u.cmap
 share/aspell/koi8-u.cset
-${PLIST.filters}share/aspell/nroff-filter.info
-${PLIST.filters}share/aspell/sgml-filter.info
 share/aspell/spell
 share/aspell/split.kbd
 share/aspell/standard.kbd
-${PLIST.filters}share/aspell/tex-filter.info
-${PLIST.filters}share/aspell/texinfo-filter.info
 share/locale/ast/LC_MESSAGES/aspell.mo
 share/locale/be/LC_MESSAGES/aspell.mo
 share/locale/ca/LC_MESSAGES/aspell.mo

Index: pkgsrc/textproc/aspell/distinfo
diff -u pkgsrc/textproc/aspell/distinfo:1.30 pkgsrc/textproc/aspell/distinfo:1.31
--- pkgsrc/textproc/aspell/distinfo:1.30        Sun Sep 15 06:53:36 2019
+++ pkgsrc/textproc/aspell/distinfo     Sat Oct 19 10:43:28 2019
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.30 2019/09/15 06:53:36 maya Exp $
+$NetBSD: distinfo,v 1.31 2019/10/19 10:43:28 nia Exp $
 
-SHA1 (aspell-0.60.7.tar.gz) = 80ef99a68e7e672f0eb06fac844387494e594948
-RMD160 (aspell-0.60.7.tar.gz) = 9463ce8f8f5db73e403cc8ee4ea9f4c66fb1ed25
-SHA512 (aspell-0.60.7.tar.gz) = 6f5fcd1c29164ee18f205594b66f382b51d19b17686293a931ca92c1442d3f7228627ca7d604d860551d0d367ac34dfb2ae34170a844f51e84e390fb1edc4535
-Size (aspell-0.60.7.tar.gz) = 2071890 bytes
+SHA1 (aspell-0.60.8.tar.gz) = ae554df297aee676b4d16f261fa5c60e285478f6
+RMD160 (aspell-0.60.8.tar.gz) = 331a10149aa4efe9b6798137d6a56a0a44fcf570
+SHA512 (aspell-0.60.8.tar.gz) = 8ef4952c553b6234dfe777240d2d97beb13ef9201e18d56bee3b5068d13525db3625b7130d9f5122f7c529da0ccb0c70eb852a81472a7d15fb7c4ee5ba21cd29
+Size (aspell-0.60.8.tar.gz) = 3486448 bytes
 SHA1 (patch-ab) = 615a676128dab7d79e697f56330c8aaa6c901d3f
 SHA1 (patch-ac) = e748877b22ca116454155d3659c16efaf02e7963
 SHA1 (patch-ad) = 5e525ed1e91b3271567f4255729e94159be86f58



Home | Main Index | Thread Index | Old Index