Commit graph

34 commits

Author SHA1 Message Date
nia
a643c936b3 textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
2021-10-26 11:21:28 +00:00
nia
e05b375eba textproc: Remove SHA1 hashes for distfiles 2021-10-07 15:00:34 +00:00
rin
74bd7f6ef1 aspell: Fix for recent regex(3) update for NetBSD. Bump revision.
Stop using GNU regex(3) extension \w.

XXX
Alternatively, should we build lang/perl5 with REG_GNU?
2021-05-11 01:26:25 +00:00
nia
1a777eacbf 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.
2019-10-19 10:43:28 +00:00
maya
d081d481f0 aspell: update to 0.60.7
Changes from 0.60.6.1 to 0.60.7 (July 29, 2019)

    Add partial support for recognizing the Unicode apostrophe (’) in words. In particular Aspell will accept the Unicode apostrophe when the language uses an ISO Latin charset that doesn’t already have a Unicode apostrophe. For now, Aspell will still use the ASCII version in suggestions.
    Detect when a dictionary compiled on a 32-bit machine is used on a 64-bit one (and vise versa), as due to an oversight, compiled dictionaries depend on more than the endianness. Also added a compile time option to remove this dependency, but at the cost of breaking compatibility with already compiled dictionaries on 64-bit systems.
    Fix a bug which caused Aspell to crash when passing in a null string to almost any of the C API functions. This should not happen if the size is also zero as the pointer should never be derefrenced.
    Fix a bug that caused Aspell to crash with a SEGFAULT when built with mingw-w64.
    In addition to outputting a warning when building with NDEBUG defined, also include NDEBUG in the version string.
    Various compile fixes for newer version of Gcc and Clang.
    Fix VPATH builds.
    Use utf-8 encoding for manual instead of iso-8859-1.
    Other minor updates and bug fixes.


Patch provided by Iku Iwasa in PR pkg/54548
2019-09-15 06:53:36 +00:00
jperkin
59d8bbf6e1 Pointer fixes, found by GCC 7.1 2017-05-24 09:13:09 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
joerg
32708b3c6c Clang now validates that two declarations that end up mapped to the same
name due to extern "C" are consistent. Work around this by hiding the
parts of <aspell.h> as necessary.
2013-08-17 11:19:03 +00:00
wiz
1af713d11f Update to 0.60.6.1:
Update to Automake 1.10.3
    Fix a bug which caused a race condition (leading to a likely
    crash) when two threads try to update the dictionary cache at
    the same time.
    Make it very clear that compiling Aspell with NDEBUG is a bad
    idea (see http://aspell.net/ndebug.html) by outputting a warning
    when building with NDEBUG defined.
    Numerous other minor updates and bug fixes.
2011-07-12 14:06:02 +00:00
wiz
7ba91882fb Add patch fixing problem checking html files, reported by Chris Ross
and Uwe Klaus on pkgsrc-users; using upstream patch.

Bump PKGREVISION.
2008-09-22 08:53:13 +00:00
wiz
c38e82c10b Update to 0.60.6:
Complete list of changes from 0.60.5:

  * Compile fixes for Gcc 4.3.

  * Updated to Libtool 2.2.2 and Automake 1.10.1

  * Minor tweak to suggestion code which improved suggestion results in
    certain cases.

  * Always line buffer stdout and stderr in the Aspell utility when
    there is the potential for it to be used interactively through a
    pipe.

  * Removed debug output in `aspell munch-list'.

  * Other minor updates and bug fixes.
2008-04-29 11:40:50 +00:00
wiz
0cd4d5dd5e Update to 0.60.5:
* Compile fix for gcc 4.1

   * Updated to Gettext 0.16.1, Libtool 1.5.22, Automake 1.10, Autoconf
     2.61

   * Documentation improvements, including an updated `man' page.

   * Complain if more than one file is specified when checking files
     using the `aspell check' command, rather than ignoring the other
     files.

   * Large number of bug fixes.
2007-01-06 22:07:42 +00:00
rillig
7bbdc11f15 Made the package work on Solaris. It needed an obscure patch and
USE_PKGLOCALEDIR.
2006-11-24 16:31:48 +00:00
schwarz
cf7e3d9d46 added support for IRIX 5 2006-10-01 08:52:01 +00:00
jlam
a2e0ee1a51 Welcome to the brave new world of gettext-0.14.5 -- if a source file
includes <libintl.h>, then it may also pull in macro redefintions for
all of the *printf() functions.  Unfortunately, macros do not mix well
with C++ code which expects to be able to partition names, e.g.  printf
and vprintf, into the class namespace.  (Mostly) fix this problem by
undefining printf and vprintf after <libintl.h> is included.  This
addresses PR pkg/33577.
2006-06-15 03:44:07 +00:00
adam
e57912d09b Fix buildling for gcc4 2006-06-14 19:20:05 +00:00
wiz
6ef1bf1bd8 Update to 0.60.4:
Complete list of changes from 0.60.3:

   * Fixed a bug that caused Aspell to crash when checking certain
     Russian words, this bug likely affected other languages as well.

   * Updated to Gettext 0.14.5 which is required for AMD64, also
     updated to to Libtool 1.5.20.

   * Fixed an alignment bug which causes mmap to always fail when
     reading in dictionaries.

   * Added note about how `make clean' will remove the HTML manuals.

   * Added manual page for prezip-bin and enhanced word-list-compress
     manual page thanks to the work of Jose Da Silva.

   * Other minor updates and bug fixes.
2006-01-06 14:51:19 +00:00
rillig
9bf418e4de Added two more patches for Solaris, which makes the package build.
Removed the extra LIBS for the SunPro compiler from the Makefile, as
they made the build fail for me.
2005-10-27 01:08:06 +00:00
rillig
c1111ad6da Added four patches that are required for the SunPro compiler. The
package still does not build on Solaris, but at least it's making
progress.
2005-10-27 00:18:51 +00:00
wiz
6b0d4fa999 Update to 0.60.3.
Complete list of changes from 0.60.2:

   * Fixed bugs involving several of the C API functions.

   * Fixed bug where `ultra' or `fast' mode will not return any
     suggestions when soundslike lookup is not used.

   * Made a minor, yet significant, optimization to the suggestion code.
     This speed things up by an order of magnitude in some cases.

   * Avoid using the slow ngram scan except when the `sug-mode' is
     `slow' or `bad-speller'.

   * Fixed a bug in curses mode which causes word-wrap to not work
     correctly in some cases.

   * Fixed a bug in pipe mode with a missing newline.

   * Fixed the `spell' compatibility script.

   * Several other minor bugs fixed.

   * Made note about the change in behavior of the `-l' command line
     switch.

   * Other manual update/fixes.

   * Updated to Libtool 1.5.18, Automake 1.9.6, and Makeinfo 4.8.
2005-06-28 14:17:49 +00:00
wiz
e3ee624f80 Add patch from program's author that fixes aspell-cz build.
Bump PKGREVISION to 1.
2005-06-26 05:19:10 +00:00
agc
c71cac836a Add RMD160 digests to the SHA1 ones. 2005-02-24 14:48:39 +00:00
wiz
8e8e633014 Add patch from Matthew Luckie in PR 29297 to make this compile on 1.6.1.
Will be in next aspell release.
2005-02-20 23:06:17 +00:00
wiz
398352ff8a Update to 0.60.2.
New in 0.60.2:

   * Added the `munch-list' command to the aspell utility.  The `munch'
     program in the `myspell/' directory will disappear in Aspell 0.61.
     The `munchlist' script will also likely disappear or be replaced
     when Aspell 0.61 is released since it doesn't work correctly
     anyway.

   * Several important bug fixes some of which rendered some non-English
     languages unusable.

   * Other minor changes.

New in 0.60.1.1:

   * Fix bug involving checking of capitalized word when affix
     compression is used.

   * Compile fixes.

   * Added an option to disable using the "wide" curses version in case
     it causes compile problems.

   * Minor manual updates

   * Avoided including some unnecessary files in the distribution.

New in 0.60.1:

   * Lots of compile fixes for various platforms.

   * Miscellaneous bug fixes.

   * Added Nroff filter thanks to Sergey Poznyakoff.

   * The default filter mode when in pipe mode is now nroff for
     compatibility with Ispell.

   * Added Texinfo filter.

   * Added a section detailing the differences between Ispell and
     Aspell.

   * Updated the section on thread safety.

   * Other miscellaneous manual changes such as updating the To Do and
     Authors section.

Changes since 0.50.5:

    * Added support for Affix Compression. Affix compression stores
    the root word and then a list of prefixes and suffixes that
    the word can take, and thus saves a lot of space. The codebase
    comes from MySpell found in OpenOffice. It uses the same affix
    file that OpenOffice (and Mozilla) use. Affix compression will
    even work with soundslike lookup to a limited extent.
    * Added support for accepting all input and printing all output
    in UTF-8 or some other encoding different from the one Aspell
    uses. This includes support for Unicode normalization. Aspell
    can now support any language with no more than 210 distinct
    characters, including different capitalizations and accents,
    _even if_ there is not an existing 8-bit encoding that supports
    the language.
    * Added support for loadable filters and customizable filter
    modes thanks to Christoph Hintermüller.
    * Enhanced SGML filter to also support skipping sgml tags such
    as "script" blocks thanks to Tom Snyder.
    * Added gettext support thanks to Sergey Poznyakoff
    * Reworked the compiled dictionary format. Compiled dictionaries
    now take up less space (less than 80% for the English language)
    and creating them is significantly faster (over 4 times for
    the English language).
    * Reworked suggestion code. It is significantly faster when
    dealing with short words (up to 10 times). Also added support
    for MySpell Replacement Tables and n-gram lookup. In addition,
    added basic support for compound words.
    * Manual has has been converted to texinfo format thanks to
    the work of Chris Martin.
    * Reworked the build system so that a single Makefile is used
    for most of the code.
    * All data, by default, is now included in `LIBDIR/aspell-0.60'.
    Also added a built time option to increment the major version
    number of the shared library. This should allow both Aspell
    version 0.50 and 0.60 to coexist. The major version number is
    _not_ incremented by default as Aspell 0.60 is binary compatible
    with Aspell 0.50.
	NOTE: this is not true for pkgsrc.
    * The code to handle dictionaries has been rewritten. Because
    of this support for the dictionary option `strip-accents' has
    been removed. In addition the `ignore-accents' option is
    currently unimplemented.
    * Lots of other minor changes due to massive overhaul of the
    source code.
2004-12-24 02:55:53 +00:00
salo
d2131ec308 Make it compile with SunPro C++ 2004-07-24 19:05:37 +00:00
snj
f6032286fe Update to 0.50.5. Changes sine 0.50.4.1:
* Reworked url filter which fixed several bugs and now accepts "bla.bla/
  kdkdl" as a url.
* Fixed bug in which the url filter was coming before all other filters
  when it was suppose to come after. This solved a number of problems
  where the url filter was interfering with other filters.
* Small bug fix in SGML filter.
* Added code page charsets, ie cp125?.dat.
* Added natural (split) keyboard data file as "split.kbd"
* Compile fixes for the upcoming GCC 3.4
* Removed Solaris link hack as it was causing more problems than it
  fixes.
* Compile fixes for Sun WorkShop 6 compiler, but there may still be some
  problems, especially with linking.
* Minor manual fixes.

Okayed by wiz.
2004-02-23 21:58:56 +00:00
recht
5c77c15e85 update to 0.50.4.1
changes since 0.50.2:
# Fixed major bug in pipe mode which caused the last character to be
  chopped off words before they were stored.
# Minor formating fixes in the manual.
# Minor changes in URL filter to avoid treating the double quote character
  as part of the URL, and to avoid treating words ending in more than one
  period as a URL.
# Document fixes in Aspell API
# Small compile fixes, including one for GCC 3.3
# Updated Win32 section since a port now exists thanks to Thorsten Maerz.
# Complain instead of doing nothing or aborting for unimplemented functions
  in Aspell utility.
# Portability bug fixes.
# Upgraded to Autoconf 2.57, Automake 1.7.7, Libtool 1.5 (no longer use
  CVS version of libtool).

ok'ed by wiz@
2003-12-03 16:49:06 +00:00
itojun
e91460458b work around to remove dependency to ncurses on netbsd. PR pkg/22992 2003-10-02 01:07:52 +00:00
mycroft
86281510fd I don't pretend to understand this layer of the C++ template abyss, but I found
this patch on the web that purports to make it work with GCC 3/libstdc++ 3.
2003-09-30 17:26:58 +00:00
jmmv
226bb910e0 Fix build. 2003-07-14 17:06:34 +00:00
salo
849dbef24b Update to version 0.50.3.
- added buildlink2.mk for applications using aspell and pspell
- updated DESCR

Changes:

Aspell has undergone an extremely large number of changes since the previous
Aspell/Pspell release. For one thing Pspell has been merged with Aspell so
there in no longer two separate libraries you have to worry about.

Because of the massive changes between Aspell/Pspell and Aspell 0.50 you may
want to clean out the old files before installing the the new Aspell.  To do
so do a "make uninstall" in the original Aspell and Pspell source directories.

The way dictionaries are handled has also changed. This includes a change in
the naming conventions of both language names and dictionaries. Due to the
language name change, your old personal dictionaries will not be recognized.
However, you can import the old dictionaries by running the "aspell-import"
script. This also means that dictionaries designed to work with older versions
of Aspell are not likely to function correctly.  Fortunately new dictionary
packages are available for most languages. You can find them off of the Aspell
home page at http://aspell.net.

The Pspell ABI is now part of Aspell except that the name of everything has
changed due to the renaming of Pspell to Aspell. In particular please note the
following name changes:

    pspell -> aspell
    manager -> speller
    emulation -> enumeration
    master_word_list -> main_word_list

Please also note that the name of the language-tag option has changed to lang.
However, for backward compatible the language-tag option will still work.

However, you should also be able to build applications that require Pspell
with the new Aspell as a backward compatibility header file is provided.

Due to a change in the way dictionaries are handled, scanning for .pwli files
in order to get find out which dictionaries are available will no longer work.
This means that programs that relied on this technique may have problems
finding dictionaries. Fortunately, GNU Aspell now provided a uniform way to
list all installed dictionaries via the C API. See the file "list-dicts.c" in
the examples/ directory for an example of how to due this. Unfortunately there
is isn't any simply way to find out which dictionaries are installed which
will work with both the old Aspell/Pspell and the new GNU Aspell.
2003-01-15 00:23:55 +00:00
wiz
73ed5da2b8 Add a distribution patch fixing the following two problems:
- Workaround a bug in Pspell where multi-byte words are not getting
  null terminated properly.
- Truly fix a bug in suggest.cc so that Aspell will suggest correctly
  when typo-analysis is not used such as when sug-mode is ultra
  or bad spellers.
Bump PKGREVISION to 1.
2002-12-25 03:47:36 +00:00
wiz
1d6e18fac5 Convert to buildlink2. 2002-10-05 02:48:33 +00:00
wiz
8f693822f2 Initial import of aspell:
Aspell is an Open Source spell checker designed to eventually replace
Ispell. Its main feature is that it does a much better job of coming up
with possible suggestions than Ispell does. In fact recent tests shows
that it even does better than Microsoft Word 97's spell checker in some
cases. In addition it has both compile time and run time support for other
non English languages. Aspell is also a library however the recommend way
to use aspell is through the Pspell library as the actual interface to the
aspell library is constantly changing.
2002-01-15 01:07:24 +00:00