Sync from SUSE:SLFO:Main aspell revision 4e9507b04f31270bf31310b7dab8ee1b
This commit is contained in:
commit
3a4ee2c0d9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
aspell-0.60.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
aspell-0.60.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
7
aspell-0.60.8.tar.gz.sig
Normal file
7
aspell-0.60.8.tar.gz.sig
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEABECAAYFAl2iVDoACgkQttnQzDizJ9ekcACfWDC/8lwAPGiRtC+mTjSXc0Nx
|
||||
4xoAn24YScVIJ8Zk5yQ7lZ1fFX9Z8sMb
|
||||
=k99I
|
||||
-----END PGP SIGNATURE-----
|
86
aspell-CVE-2019-25051.patch
Normal file
86
aspell-CVE-2019-25051.patch
Normal file
@ -0,0 +1,86 @@
|
||||
diff --git a/common/objstack.hpp b/common/objstack.hpp
|
||||
index 3997bf7..bd97ccd 100644
|
||||
--- a/common/objstack.hpp
|
||||
+++ b/common/objstack.hpp
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "parm_string.hpp"
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
+#include <stddef.h>
|
||||
|
||||
namespace acommon {
|
||||
|
||||
@@ -26,6 +27,12 @@ class ObjStack
|
||||
byte * temp_end;
|
||||
void setup_chunk();
|
||||
void new_chunk();
|
||||
+ bool will_overflow(size_t sz) const {
|
||||
+ return offsetof(Node,data) + sz > chunk_size;
|
||||
+ }
|
||||
+ void check_size(size_t sz) {
|
||||
+ assert(!will_overflow(sz));
|
||||
+ }
|
||||
|
||||
ObjStack(const ObjStack &);
|
||||
void operator=(const ObjStack &);
|
||||
@@ -56,7 +63,7 @@ class ObjStack
|
||||
void * alloc_bottom(size_t size) {
|
||||
byte * tmp = bottom;
|
||||
bottom += size;
|
||||
- if (bottom > top) {new_chunk(); tmp = bottom; bottom += size;}
|
||||
+ if (bottom > top) {check_size(size); new_chunk(); tmp = bottom; bottom += size;}
|
||||
return tmp;
|
||||
}
|
||||
// This alloc_bottom will insure that the object is aligned based on the
|
||||
@@ -66,7 +73,7 @@ class ObjStack
|
||||
align_bottom(align);
|
||||
byte * tmp = bottom;
|
||||
bottom += size;
|
||||
- if (bottom > top) {new_chunk(); goto loop;}
|
||||
+ if (bottom > top) {check_size(size); new_chunk(); goto loop;}
|
||||
return tmp;
|
||||
}
|
||||
char * dup_bottom(ParmString str) {
|
||||
@@ -79,7 +86,7 @@ class ObjStack
|
||||
// always be aligned as such.
|
||||
void * alloc_top(size_t size) {
|
||||
top -= size;
|
||||
- if (top < bottom) {new_chunk(); top -= size;}
|
||||
+ if (top < bottom) {check_size(size); new_chunk(); top -= size;}
|
||||
return top;
|
||||
}
|
||||
// This alloc_top will insure that the object is aligned based on
|
||||
@@ -88,7 +95,7 @@ class ObjStack
|
||||
{loop:
|
||||
top -= size;
|
||||
align_top(align);
|
||||
- if (top < bottom) {new_chunk(); goto loop;}
|
||||
+ if (top < bottom) {check_size(size); new_chunk(); goto loop;}
|
||||
return top;
|
||||
}
|
||||
char * dup_top(ParmString str) {
|
||||
@@ -117,6 +124,7 @@ class ObjStack
|
||||
void * alloc_temp(size_t size) {
|
||||
temp_end = bottom + size;
|
||||
if (temp_end > top) {
|
||||
+ check_size(size);
|
||||
new_chunk();
|
||||
temp_end = bottom + size;
|
||||
}
|
||||
@@ -131,6 +139,7 @@ class ObjStack
|
||||
} else {
|
||||
size_t s = temp_end - bottom;
|
||||
byte * p = bottom;
|
||||
+ check_size(size);
|
||||
new_chunk();
|
||||
memcpy(bottom, p, s);
|
||||
temp_end = bottom + size;
|
||||
@@ -150,6 +159,7 @@ class ObjStack
|
||||
} else {
|
||||
size_t s = temp_end - bottom;
|
||||
byte * p = bottom;
|
||||
+ check_size(size);
|
||||
new_chunk();
|
||||
memcpy(bottom, p, s);
|
||||
temp_end = bottom + size;
|
||||
|
9
aspell-quotes.patch
Normal file
9
aspell-quotes.patch
Normal file
@ -0,0 +1,9 @@
|
||||
--- a/scripts/run-with-aspell.create
|
||||
+++ b/scripts/run-with-aspell.create
|
||||
@@ -3,5 +3,5 @@
|
||||
echo "#!/bin/sh"
|
||||
echo "PATH=$1:\$PATH"
|
||||
echo "export PATH"
|
||||
-echo "exec \$@"
|
||||
+echo "exec \"\$@\""
|
||||
|
22
aspell-strict-aliasing.patch
Normal file
22
aspell-strict-aliasing.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- a/modules/speller/default/writable.cpp
|
||||
+++ b/modules/speller/default/writable.cpp
|
||||
@@ -672,7 +672,7 @@
|
||||
|
||||
static void repl_next(WordEntry * w)
|
||||
{
|
||||
- const Str * & i = (const Str * &)(w->intr[0]);
|
||||
+ const Str * i = (const Str * )(w->intr[0]);
|
||||
const Str * end = (const Str * )(w->intr[1]);
|
||||
set_word(*w, *i);
|
||||
++i;
|
||||
--- a/modules/speller/default/writable.cpp
|
||||
+++ b/modules/speller/default/writable.cpp
|
||||
@@ -246,7 +246,7 @@
|
||||
|
||||
static void soundslike_next(WordEntry * w)
|
||||
{
|
||||
- const Str * & i = (const Str * &)(w->intr[0]);
|
||||
+ const Str * i = (const Str * )(w->intr[0]);
|
||||
const Str * end = (const Str * )(w->intr[1]);
|
||||
set_word(*w, *i);
|
||||
++i;
|
541
aspell.changes
Normal file
541
aspell.changes
Normal file
@ -0,0 +1,541 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 12:28:47 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- switch source urls to https
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 2 14:34:44 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- security update
|
||||
- modified patches
|
||||
% aspell-quotes.patch (p1)
|
||||
% aspell-strict-aliasing.patch (p1)
|
||||
- added patches
|
||||
fix CVE-2019-25051 [bsc#1188576], heap-buffer-overflow in acommon:ObjStack:dup_top
|
||||
+ aspell-CVE-2019-25051.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 9 14:19:57 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- recommend aspell-en also from the library [bsc#1177523]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 8 13:55:21 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Remove/replace old specfile constructs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 07:42:20 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.60.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. @xref{Upgrading from Aspell 0.60.7}.
|
||||
* 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 @option{wordlists} option, which is a list of UTF-8 files that
|
||||
contain additional words to accept.
|
||||
* Add new @option{camel-case} option, which enables support for checking
|
||||
camelCase words.
|
||||
* Sort personal and replacement dictionaries.
|
||||
* Change @code{ultra} suggestion mode to only find words that are within
|
||||
one-edit distance or have the same soundslike.
|
||||
* Implement the @code{aspell filter} command.
|
||||
* Fix a bug in @code{AspellDocumentChecker} that prevented it from
|
||||
working with UCS-2 and UCS-4 encoded strings.
|
||||
* Remove unused @option{sug-edit-dist} option.
|
||||
* @code{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 @option{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
|
||||
@uref{http://aspell.net/0.60.7/man-html/}.
|
||||
* Fix various crashes and other problems found by Google's OSS-Fuzz.
|
||||
* 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.
|
||||
- deleted patches
|
||||
- aspell-automake-1.13.patch (upstreamed)
|
||||
- aspell-epmty_file.patch (upstreamed, bsc#266130 does not exhibit)
|
||||
- gcc7-fix-warnings.patch (upstreamed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 13:32:04 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Compact descriptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 10:27:40 UTC 2016 - mliska@suse.cz
|
||||
|
||||
- gcc7-fix-warnings.patch - Fix warnings reported by GCC7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 08:28:55 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Add gpg signature
|
||||
- Remove old ppc provides/obsoletes
|
||||
- Cleanup spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 14:04:48 UTC 2014 - pgajdos@suse.com
|
||||
|
||||
- baselibs.conf: libaspell15
|
||||
obsoletes "aspell-<targettype> <= <version>"
|
||||
provides "aspell-<targettype> = <version>"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 13:00:31 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
- license GFDL-1.1+ and LGPL-2.1 and HPND and SUSE-BSD-Mark-Modifications
|
||||
[bnc#777131]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 10:48:02 UTC 2013 - cfarrell@suse.com
|
||||
|
||||
- license update: GFDL-1.1+ and LGPL-2.1 and HPND and BSD-3-Clause
|
||||
SDPX
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 08:44:42 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
- license GFDL-1.1+ and LGPL-2.1 and HPND and BSD-Mark-Modifications
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 15:34:59 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
- fix build with new automake
|
||||
* automake-1.13.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 9 06:32:36 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- license FDL-1.1+ and LGPL-2.1 and HPND and BSD-Mark-Modifications
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 24 21:06:58 UTC 2012 - crrodriguez@opensuse.org
|
||||
|
||||
- Build C++ code with -fvisibility-inlines-hidden
|
||||
- Fix ncurses linkage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 28 21:01:20 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections per specfile guideline suggestions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 22 14:03:06 UTC 2011 - pgajdos@suse.com
|
||||
|
||||
- add -ltinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 2 17:58:18 UTC 2011 - asterios.dramis@gmail.com
|
||||
|
||||
- update to version 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.
|
||||
- Spec file updates:
|
||||
* Changes based on spec-cleaner run.
|
||||
* Changed License: to LGPL-2.1+.
|
||||
* Splitted the package according to the shared library packaging policy
|
||||
(added libaspell15 and libpspell15 sub-packages).
|
||||
* Added descriptions for the patches based on openSUSE guidelines.
|
||||
* Suggest also aspell-spell sub-package.
|
||||
* Added versioned Provides:/Obsoletes: for pspell and pspell-devel (rpmlint
|
||||
warning fix).
|
||||
* Removed libstdc++-devel from Requires: of aspell-devel (not needed).
|
||||
* Improved summaries and descriptions.
|
||||
* Clean up in %build, %install and %files sections.
|
||||
* Install the "spell" script provided by the package for compatibility
|
||||
reasons (added a aspell-spell sub-package containing this script and moved
|
||||
the Provides: entry for "spell" into this package).
|
||||
* Use %fdupes macro to fix rpmlint warning about duplicate files.
|
||||
* Use %install_info_delete in %preun instead of %postun section.
|
||||
* Add pspell-config.1 man page to the aspell-devel sub-package instead of
|
||||
aspell.
|
||||
- Removed the following patches (fixed upstream):
|
||||
* aspell-iterator-after-erase.patch
|
||||
* aspell-make-static-filters.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:07:42 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to make the spec file more reliable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 23:02:54 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 20 15:19:24 CEST 2009 - pgajdos@suse.cz
|
||||
|
||||
- fixed invalid iterator [bnc#523345]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 20 18:07:06 CET 2008 - pgajdos@suse.cz
|
||||
|
||||
- fixed wrong static filter handling [bnc#441008]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 14:13:33 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- created aspell-ispell subpackage [bnc#165023]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 10:37:20 CEST 2008 - lmichnovic@suse.cz
|
||||
|
||||
- update to version 0.60.6
|
||||
* bugfix release
|
||||
- obsoletes *duplicate_name.patch, *gcc4_3.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 18:55:18 CEST 2007 - nadvornik@suse.cz
|
||||
|
||||
- fixed to compile with gcc 4.3 (gcc4_3.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 22 15:29:31 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- defining ncurses_wide library for configure to enable wide
|
||||
UTF-8 characters [#266153]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 16:38:45 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- fixed SIGSEV when checking empty file(epmty_file.patch) [#266130]
|
||||
- using parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 14:38:45 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- changed dict- and data-dir back to /usr/{%lib} because dictionary
|
||||
files depends on endian.
|
||||
- fixed command execution in script "run-with-aspell" (quotes.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 13:26:44 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- using lang macro
|
||||
- not using obsoleted %run_ldconfig macro
|
||||
- defining dict- and data-dir to arch independent directory which
|
||||
allow made dictionaries noarch and save 30 MB on BiArch media
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 31 19:23:54 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- add ncurses-devel BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 31 15:19:36 CEST 2007 - aj@suse.de
|
||||
|
||||
- Cleanup BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 14:09:22 CET 2007 - lmichnovic@suse.cz
|
||||
|
||||
- gettextize is needed before autoreconf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 12:28:38 CET 2007 - lmichnovic@suse.cz
|
||||
|
||||
- update to version 0.60.5
|
||||
* Compile fix for gcc 4.1 (obsoletes gcc-warning.patch)
|
||||
* 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 12:16:07 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- changed Requires to aspell-en to Recommends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 2 14:56:54 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- fixed wrong parametr name in header file [#175555]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 30 14:56:21 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to 0.60.4
|
||||
primary a bug fix release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 13:34:06 CET 2006 - pnemec@suse.cz
|
||||
|
||||
- removed virtual package dependency
|
||||
- added aspell-en to Requires #158675
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 06:54:55 CET 2006 - aj@suse.de
|
||||
|
||||
- Fix Require for devel package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 13:01:10 CET 2006 - pnemec@suse.cz
|
||||
|
||||
- fixed virtual package name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 3 11:51:20 CET 2006 - pnemec@suse.cz
|
||||
|
||||
- added virtual package aspell_dictionary to Requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Added %install_info_prereq.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:34:25 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 14:50:47 CET 2006 - pnemec@suse.cz
|
||||
|
||||
- fixed gcc strict aliasing warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 17:23:45 CEST 2005 - pnemec@suse.cz
|
||||
|
||||
- fixed gcc warning and aspell-devel requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 20:00:31 CEST 2005 - ltinkl@suse.cz
|
||||
|
||||
- update to 0.60.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 15:34:11 CET 2005 - ltinkl@suse.cz
|
||||
|
||||
- update to 0.60.2 which fixes some critical bugs (munch-list, better
|
||||
support for non-English languages)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 02:42:55 CET 2004 - ro@suse.de
|
||||
|
||||
- fix file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:22:05 CET 2004 - ro@suse.de
|
||||
|
||||
- fix libdir usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 13:49:36 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- update to 0.60.1.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 26 11:57:30 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- updated to 0.60
|
||||
- correctly install info pages
|
||||
- package the HTML manuals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 15:29:14 CEST 2004 - lnussel@suse.de
|
||||
|
||||
- apply corrected patch for #42197
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 24 13:44:38 CEST 2004 - ltinkl@suse.cz
|
||||
|
||||
- fix #42197
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 16:11:28 CET 2004 - ltinkl@suse.cz
|
||||
|
||||
- update to 0.50.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 11:25:48 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 14:09:43 CEST 2003 - ltinkl@suse.cz
|
||||
|
||||
- update to latest stable version (0.50.4.1)
|
||||
- throw away unused patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 23 16:41:40 CEST 2003 - ltinkl@suse.cz
|
||||
|
||||
- updated sources to 0.50.3
|
||||
- package ChangeLog instead of empty TODO
|
||||
- removed unused patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 21:25:48 CEST 2003 - pmladek@suse.cz
|
||||
|
||||
- fixed installation of documentation that rpm does not complain
|
||||
about unpacked files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 09:12:03 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Include assert.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 20:48:36 CET 2003 - pmladek@suse.cz
|
||||
|
||||
- fixed to link the libraries with -lstdc++
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 12:03:58 CET 2002 - pmladek@suse.cz
|
||||
|
||||
- fixed invalid declaration which breaks building with gcc-3.3
|
||||
- used x-devel-packages in neededforbuild instead of the obsolete xf86
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 01 19:28:21 CET 2002 - pmladek@suse.cz
|
||||
|
||||
- updated to version 0.50.2:
|
||||
* merged with pspell
|
||||
* changed way to handle dictionaries
|
||||
* added aspell-import script to convert old dictionaries
|
||||
* pspell ABI is now part of aspell except that the name of everything has
|
||||
changed due to the renaming of pspell to aspell
|
||||
* provided pspell backward compatibility header file
|
||||
* the name of the language-tag option has changed to lang
|
||||
* backward compatible the language-tag option will still work
|
||||
* english dictionaries are built from separate package
|
||||
* see more details in /usr/share/doc/packages/aspell/README
|
||||
- removed obsolete config files
|
||||
- removed obsolete patches for automake, gcc3.x and x86_64
|
||||
- fixed list of documentation to install
|
||||
- fixed to compile example with gcc
|
||||
- fixed problem with locking on nfs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 15:48:48 CEST 2002 - pmladek@suse.cz
|
||||
|
||||
- fixed dependency of the devel subpackage on the main package (used %version)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 16:11:36 CEST 2002 - meissner@suse.de
|
||||
|
||||
- The hashing code did not halt in some hash bucket size cases
|
||||
which were reached due to slightly different floating point
|
||||
handling in x86_64.
|
||||
Now using integer arithmetic.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 19:37:15 CEST 2002 - pmladek@suse.cz
|
||||
|
||||
- fixed to compile with gcc-3.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 10:31:07 CET 2002 - pmladek@suse.cz
|
||||
|
||||
- used macro %{_libdir} to fix for lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 14 17:20:04 CET 2001 - pmladek@suse.cz
|
||||
|
||||
- updated to version .33.7.1:
|
||||
* Minor manual fixes
|
||||
* compile fix for gcc 3.0 and Solaris
|
||||
- added the patch aspell-.33-fix2.diff from sourceforge
|
||||
- removed obsolete axp patch
|
||||
- fixed file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 18 10:48:21 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- moved spell to /usr/bin (default path)
|
||||
- added spell to Provides
|
||||
- added aspell-en to Requires because of spell
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 4 14:58:01 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Fix for automake 1.5.
|
||||
- Avoid macro in Version tag.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 15:08:23 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed to compile on axp:
|
||||
* fixed declaration of friend classes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 17 10:41:17 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed file list
|
||||
- added ed and dialog to neededforbuild through tetex
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 13:25:22 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- updated to version 0.33.7
|
||||
- fixed documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 26 15:23:26 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Remove -I$(includedir).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 17:55:05 CEST 2001 - ro@suse.de
|
||||
|
||||
- libtoolize to build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 10:51:32 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- package created
|
||||
- added start script and configurations for each spelling and jargon
|
26
aspell.keyring
Normal file
26
aspell.keyring
Normal file
@ -0,0 +1,26 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQGiBD87+hkRBADTsq4JVCKqYQKfjvNnQ60D6QJ/uEGaNPwF++0kxhxul0xpG2Ln
|
||||
dAzYdzq6ibAyUFrAmAj6zQ3YWb/xqRWxJVtvrOyR32exPhR67yHJ82nOkJd6D761
|
||||
UIfSJYzmdNE6SCc8/mtWJJoSlqZICjeQpOiX4C7JGscB4apxKHkzPvUqjwCggVNy
|
||||
CzulDa0Q+3qJjHufvSuwNcMEAKFQT5k7O46JwNvoH4UAmL6T3FRFFCDdXO48EeJu
|
||||
ukQJ1TGvff0e5Kj9RuQ/Vkc0QSR4aMu0ImLxAPpsP3dbE5zsvVuDmJhTsVLsAS1N
|
||||
UkenxwHvUanhBNr62519WGmxEfJLYFIBDwBporkL5Ugr8j0CJTi1fn8xolDPPNEK
|
||||
BTQzA/9OsrasBoRgBfutSfG1gy7kIlvB0X5TGKjSFUZPxMRbGXPPHI1UIVdBFDTx
|
||||
y/fGWkUl8TzDf6XkblGcUpYwFPchMDYCkW8gc9iJZTfxLMbw2RYaMvKGQXuBJC1i
|
||||
wTe9LW6c9l0b/R0Ryp4ZLAzLzoFSRS3I2dOWuSq2zmv80N6797QnS2V2aW4gQXRr
|
||||
aW5zb24gPGtldmluQGF0a2luc29uLmRocy5vcmc+iFkEExECABkFAj87+hkECwcD
|
||||
AgMVAgMDFgIBAh4BAheAAAoJELbZ0Mw4syfXJUQAn1UZN8jR6eulFicwZ862fjpO
|
||||
o+yUAJ4rnvYv0Q/8J3gsbDtwCeXp8c5pR4hhBBMRAgAZBQI/O/oZBAsHAwIDFQID
|
||||
AxYCAQIeAQIXgAASCRC22dDMOLMn1wdlR1BHAAEBJUQAn1UZN8jR6eulFicwZ862
|
||||
fjpOo+yUAJ4rnvYv0Q/8J3gsbDtwCeXp8c5pR7kBDQQ/O/ocEAQA1Lu0o3sFsxaq
|
||||
PMo1JD9qxqxD7SaKU8MtFN7sTfqVpUwtrt2DlIdGsXB6QA5unWrMT50yO1JwAXsM
|
||||
5/UX1bpuFnILMS9JxspQ1c7NJU4kD07Si6BDHg5ygOWnzIR/aB7mfL29jogSb6hq
|
||||
4Bkb3nEEGmU3CSHYPV0hs0Sl48GdtLsAAwUD/1T46hu+QgDEpgjwCU+vxVRGU3yE
|
||||
bJ40nRQ2iGV5eO81XAFZA0p9QOu3wd53BkBKptdyJ9hL5PNrRI9XaOjM/+vh2PKU
|
||||
bbAqJBYOTMTZIq+wh1uweoKxJ7YTQTWGbdSgQpBT++ci8MOvPRTcnw8oVucwd7f3
|
||||
tZmbkbwGeRBlb3DUiE4EGBECAAYFAj87+hwAEgkQttnQzDizJ9cHZUdQRwABAXFT
|
||||
AJwJzpsAUu2T1swtKPnTS9FR6lJ4fACbBzU71letFWQNTEeRHxLYkXpCLHU=
|
||||
=jYxS
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
201
aspell.spec
Normal file
201
aspell.spec
Normal file
@ -0,0 +1,201 @@
|
||||
#
|
||||
# spec file for package aspell
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: aspell
|
||||
Version: 0.60.8
|
||||
Release: 0
|
||||
Summary: A Spell Checker
|
||||
License: GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
|
||||
Group: Productivity/Text/Spell
|
||||
URL: http://aspell.net/
|
||||
Source0: https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
|
||||
Source1: https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source100: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE aspell-strict-aliasing.patch pnemec@suse.cz -- Fix gcc strict aliasing warnings
|
||||
Patch0: aspell-strict-aliasing.patch
|
||||
# PATCH-FIX-OPENSUSE aspell-quotes.patch lmichnovic@suse.cz -- Fix command execution in script "run-with-aspell"
|
||||
Patch1: aspell-quotes.patch
|
||||
# CVE-2019-25051 [bsc#1188576], heap-buffer-overflow in acommon:ObjStack:dup_top
|
||||
Patch2: aspell-CVE-2019-25051.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
Requires(post): info
|
||||
Requires(preun):info
|
||||
Recommends: aspell-en
|
||||
Suggests: aspell-ispell
|
||||
Suggests: aspell-spell
|
||||
Provides: pspell = %{version}
|
||||
Obsoletes: pspell < %{version}
|
||||
|
||||
%description
|
||||
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
||||
can be used as a library or as an independent spell checker.
|
||||
|
||||
Its main feature is an improved method for finding possible
|
||||
suggestions for the English language, arguably surpassing Ispell and
|
||||
Microsoft Word. It also has many other technical enhancements over
|
||||
Ispell, such as using shared memory for dictionaries and
|
||||
intelligently handling personal dictionaries when more than one
|
||||
Aspell process is open at once.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries Mandatory for Development with aspell
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: libaspell15 = %{version}
|
||||
Requires: libpspell15 = %{version}
|
||||
Requires(post): info
|
||||
Requires(preun):info
|
||||
Provides: pspell-devel = %{version}
|
||||
Obsoletes: pspell-devel < %{version}
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require aspell.
|
||||
|
||||
%package ispell
|
||||
Summary: GNU Aspell - Ispell compatibility
|
||||
Group: Productivity/Text/Spell
|
||||
Requires: %{name} = %{version}
|
||||
Conflicts: ispell
|
||||
|
||||
%description ispell
|
||||
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
||||
can be used as a library or as an independent spell checker.
|
||||
|
||||
This package contains an ispell script for compatibility reasons so that
|
||||
programs that expect the "ispell" command will work correctly.
|
||||
|
||||
%package spell
|
||||
Summary: GNU Aspell - Spell compatibility
|
||||
Group: Productivity/Text/Spell
|
||||
Requires: %{name} = %{version}
|
||||
Provides: spell
|
||||
|
||||
%description spell
|
||||
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
||||
can be used as a library or as an independent spell checker.
|
||||
|
||||
This package contains a spell script for compatibility reasons so that programs
|
||||
that expect the "spell" command will work correctly.
|
||||
|
||||
%package -n libaspell15
|
||||
Summary: GNU Aspell Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libaspell15
|
||||
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
||||
can be used as a library or as an independent spell checker.
|
||||
|
||||
This package contains the aspell library.
|
||||
|
||||
%package -n libpspell15
|
||||
Summary: GNU Aspell - Pspell Compatibility Library
|
||||
Group: System/Libraries
|
||||
Recommends: aspell-en
|
||||
|
||||
%description -n libpspell15
|
||||
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
||||
can be used as a library or as an independent spell checker.
|
||||
|
||||
This package contains the pspell compatibility library.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
export CXXFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
||||
#this is an ugly kludge , don't look :-)
|
||||
export LDFLAGS="`ncursesw6-config --libs`"
|
||||
%configure \
|
||||
--enable-curses="-lncursesw" \
|
||||
--disable-rpath
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# Links for compatibility reasons (ispell and spell)
|
||||
ln -s %{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir}
|
||||
ln -s %{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info%{ext_info}
|
||||
|
||||
%preun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info%{ext_info}
|
||||
|
||||
%post -n libaspell15 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libaspell15 -p /sbin/ldconfig
|
||||
|
||||
%post -n libpspell15 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libpspell15 -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc README TODO
|
||||
%doc manual/aspell.html/
|
||||
%{_bindir}/aspell
|
||||
%{_bindir}/aspell-import
|
||||
%{_bindir}/pre*
|
||||
%{_bindir}/run-with-aspell
|
||||
%{_bindir}/word-list-compress
|
||||
%{_infodir}/%{name}.info%{ext_info}
|
||||
%{_mandir}/man1/*.1%{ext_man}
|
||||
%exclude %{_mandir}/man1/pspell-config.1%{ext_man}
|
||||
|
||||
%files devel
|
||||
%doc manual/aspell-dev.html/
|
||||
%{_bindir}/pspell-config
|
||||
%{_includedir}/pspell/
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libaspell.so
|
||||
%{_libdir}/libpspell.so
|
||||
%{_infodir}/%{name}-dev.info%{ext_info}
|
||||
%{_mandir}/man1/pspell-config.1%{ext_man}
|
||||
|
||||
%files ispell
|
||||
%{_bindir}/ispell
|
||||
|
||||
%files spell
|
||||
%{_bindir}/spell
|
||||
|
||||
%files -n libaspell15
|
||||
%{_libdir}/aspell-0.60/
|
||||
%{_libdir}/libaspell.so.15*
|
||||
|
||||
%files -n libpspell15
|
||||
%{_libdir}/libpspell.so.15*
|
||||
|
||||
%changelog
|
4
baselibs.conf
Normal file
4
baselibs.conf
Normal file
@ -0,0 +1,4 @@
|
||||
libaspell15
|
||||
obsoletes "aspell-<targettype> <= <version>"
|
||||
provides "aspell-<targettype> = <version>"
|
||||
libpspell15
|
Loading…
Reference in New Issue
Block a user