[libstemmer] Update to 2.2.0 (#40531)

This commit is contained in:
jim wang 2024-08-26 08:34:25 +00:00 committed by GitHub
parent 3c12be00c8
commit 509f71e53f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 32 deletions

View File

@ -1,19 +0,0 @@
Snowball - License
Except where explicitly noted, all the software given out on this Snowball site is covered by the 3-clause BSD License:
Copyright (c) 2001, Dr Martin Porter,
Copyright (c) 2002, Richard Boulton.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Essentially, all this means is that you can do what you like with the code, except claim another Copyright for it, or claim that it is issued under a different license. The software is also issued without warranties, which means that if anyone suffers through its use, they cannot come back and sue you. You also have to alert anyone to whom you give the Snowball software to the fact that it is covered by the BSD license.
We have not bothered to insert the licensing arrangement into the text of the Snowball software.

View File

@ -1,9 +1,10 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
string(SUBSTRING "${VERSION}" 5 -1 VERSION)
vcpkg_download_distfile(ARCHIVE
URLS "http://snowball.tartarus.org/dist/libstemmer_c.tgz"
FILENAME "libstemmer_c.tgz"
SHA512 9ab5b8bfd5b4071dbbd63d769e09fae3971b49ee441ad970aa95d90b3297f5ffc9deed1613d99974d1485bf3b69292663591957f52bbeddcadbf9d9a4af432f2
URLS "https://snowballstem.org/dist/libstemmer_c-${VERSION}.tar.gz"
FILENAME "libstemmer_c-${VERSION}.tar.gz"
SHA512 a61a06a046a6a5e9ada12310653c71afb27b5833fa9e21992ba4bdf615255de991352186a8736d0156ed754248a0ffb7b7712e8d5ea16f75174d1c8ddd37ba4a
)
vcpkg_extract_source_archive(
@ -20,4 +21,4 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

View File

@ -1,17 +1,12 @@
{
"name": "libstemmer",
"version": "2017-9",
"port-version": 8,
"version": "2021.2.2.0",
"description": "Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval",
"homepage": "https://snowball.tartarus.org/",
"homepage": "https://snowballstem.org/",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -5089,8 +5089,8 @@
"port-version": 2
},
"libstemmer": {
"baseline": "2017-9",
"port-version": 8
"baseline": "2021.2.2.0",
"port-version": 0
},
"libstk": {
"baseline": "4.6.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "121970e398a11c25667cd1393158fb76a105ba9b",
"version": "2021.2.2.0",
"port-version": 0
},
{
"git-tree": "df38970bafcdd4475d3d15732a891ad2f897bede",
"version": "2017-9",