pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-Levenshtein py-Levenshtein: updated to 0.12.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eecd941d2cce
branches:  trunk
changeset: 445324:eecd941d2cce
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 20 09:09:41 2021 +0000

description:
py-Levenshtein: updated to 0.12.1

0.12.1
------
* Fixed handling of numerous possible wraparounds in calculating the size
  of memory allocations; incorrect handling of which could cause denial
  of service or even possible remote code execution in previous versions
  of the library.

diffstat:

 textproc/py-Levenshtein/Makefile |   6 ++++--
 textproc/py-Levenshtein/PLIST    |  18 +++++++++---------
 textproc/py-Levenshtein/distinfo |  10 +++++-----
 3 files changed, 18 insertions(+), 16 deletions(-)

diffs (64 lines):

diff -r 216c1c30413b -r eecd941d2cce textproc/py-Levenshtein/Makefile
--- a/textproc/py-Levenshtein/Makefile  Wed Jan 20 09:08:46 2021 +0000
+++ b/textproc/py-Levenshtein/Makefile  Wed Jan 20 09:09:41 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/03/01 10:31:19 leot Exp $
+# $NetBSD: Makefile,v 1.2 2021/01/20 09:09:41 adam Exp $
 
-DISTNAME=      python-Levenshtein-0.12.0
+DISTNAME=      python-Levenshtein-0.12.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-Levenshtein/}
@@ -10,5 +10,7 @@
 COMMENT=       Python extension for computing string edit distances
 LICENSE=       gnu-gpl-v2
 
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 216c1c30413b -r eecd941d2cce textproc/py-Levenshtein/PLIST
--- a/textproc/py-Levenshtein/PLIST     Wed Jan 20 09:08:46 2021 +0000
+++ b/textproc/py-Levenshtein/PLIST     Wed Jan 20 09:09:41 2021 +0000
@@ -1,4 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/01 10:31:19 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/01/20 09:09:41 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/Levenshtein/StringMatcher.py
 ${PYSITELIB}/Levenshtein/StringMatcher.pyc
 ${PYSITELIB}/Levenshtein/StringMatcher.pyo
@@ -8,11 +16,3 @@
 ${PYSITELIB}/Levenshtein/_levenshtein.c
 ${PYSITELIB}/Levenshtein/_levenshtein.h
 ${PYSITELIB}/Levenshtein/_levenshtein.so
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 216c1c30413b -r eecd941d2cce textproc/py-Levenshtein/distinfo
--- a/textproc/py-Levenshtein/distinfo  Wed Jan 20 09:08:46 2021 +0000
+++ b/textproc/py-Levenshtein/distinfo  Wed Jan 20 09:09:41 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/03/01 10:31:19 leot Exp $
+$NetBSD: distinfo,v 1.2 2021/01/20 09:09:41 adam Exp $
 
-SHA1 (python-Levenshtein-0.12.0.tar.gz) = e24d85c9d632038f98202af687eb3d428eca0ac1
-RMD160 (python-Levenshtein-0.12.0.tar.gz) = 710a87493ceef19ae046195c2d561f2d4d64cf6e
-SHA512 (python-Levenshtein-0.12.0.tar.gz) = 95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5
-Size (python-Levenshtein-0.12.0.tar.gz) = 48617 bytes
+SHA1 (python-Levenshtein-0.12.1.tar.gz) = 54a5ca861ec021d76c113a4e490993f8bcad50da
+RMD160 (python-Levenshtein-0.12.1.tar.gz) = 6f341d2446d03d713591a62b4ce05fce1274ed87
+SHA512 (python-Levenshtein-0.12.1.tar.gz) = e5b9dfda4ebe1f1111e2ac86219be5659a763368759d13393bd32c6c5d78d9b183c757c7e8ff1bd8a2f73450f0a255cc78664f03d899e1e5af2e58d871843722
+Size (python-Levenshtein-0.12.1.tar.gz) = 50567 bytes



Home | Main Index | Thread Index | Old Index