Date: Monday, March 28, 2022 @ 18:46:55 Author: foutrelis Revision: 1177392
upgpkg: python-pcapy 1.0.5-1: new upstream release Modified: python-pcapy/trunk/PKGBUILD Deleted: python-pcapy/trunk/replace-one-more-unsigned-int-len-with-Py_ssize_t.patch ---------------------------------------------------------+ PKGBUILD | 15 +++------ replace-one-more-unsigned-int-len-with-Py_ssize_t.patch | 23 -------------- 2 files changed, 5 insertions(+), 33 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-28 18:32:57 UTC (rev 1177391) +++ PKGBUILD 2022-03-28 18:46:55 UTC (rev 1177392) @@ -3,8 +3,8 @@ _pyname=pcapy-ng pkgname=python-pcapy -pkgver=1.0.4 -pkgrel=2 +pkgver=1.0.5 +pkgrel=1 pkgdesc='Extension module that interfaces with the libpcap packet capture library' url='https://github.com/stamparm/pcapy-ng' arch=('x86_64') @@ -11,17 +11,12 @@ license=('Apache') depends=('python' 'libpcap') makedepends=('python' 'python-setuptools') -source=(https://github.com/stamparm/pcapy-ng/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz - replace-one-more-unsigned-int-len-with-Py_ssize_t.patch) -sha256sums=('2fd66fbf5915199a9b92fd23051a0404fc95eca5ad0e9b20777539b314132951' - 'cef155f680372ba4a9bbd7dcc8fb1279b60147fefe960047fd84c95e3f0e16e7') -sha512sums=('713238a91037c2b420df81cce68bc26e5993d40ba4797914798ea071b6a7fdc66530b6ab17cbd32aee4b77436e9d1bd8f54f9bda1f98f7d4363435c7e05ac190' - '3fdba64da2ace23d3fb31938c213aeb4e0858d93bf21093f27f44fa7f9bd43a54e5e8293683f703b9a3cb4fdaa3e4ccc4d5f22fa629bf70bf2a0e183df049f80') +source=(https://github.com/stamparm/pcapy-ng/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz) +sha256sums=('69b0294fdebbb2acd66f171e9b606db2fcd927d256674bb6681b9bdc2e0c5ca8') +sha512sums=('aa41772541a769c4a4d8f76b46dac26079e5c66f915cfa57b9344186e5d823c928ea16bd327c35eecf8beaf0f74e881501d68d2583543142fecdb83ed7f9eafe') prepare() { cd ${_pyname}-${pkgver} - # https://github.com/stamparm/pcapy-ng/pull/2 - patch -Np1 -i ../replace-one-more-unsigned-int-len-with-Py_ssize_t.patch sed -i '/self.assertEqual(refNone, sys.getrefcount(None))/d' tests/pcapytests.py } Deleted: replace-one-more-unsigned-int-len-with-Py_ssize_t.patch =================================================================== --- replace-one-more-unsigned-int-len-with-Py_ssize_t.patch 2022-03-28 18:32:57 UTC (rev 1177391) +++ replace-one-more-unsigned-int-len-with-Py_ssize_t.patch 2022-03-28 18:46:55 UTC (rev 1177392) @@ -1,23 +0,0 @@ -From 2a95795c87738600a9dd1bf12db674614263f93e Mon Sep 17 00:00:00 2001 -From: Evangelos Foutras <evange...@foutrelis.com> -Date: Thu, 9 Dec 2021 19:30:20 +0200 -Subject: [PATCH] Replace one more 'unsigned int len' with Py_ssize_t - -Similar to commit 9d62fd8b86c0 ("Bug fix (segfault reported privately"). ---- - bpfobj.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bpfobj.cc b/bpfobj.cc -index b8c164b..63d6af0 100644 ---- a/bpfobj.cc -+++ b/bpfobj.cc -@@ -193,7 +193,7 @@ p_filter(register bpfobject* bpf, PyObject* args) - { - int status; - u_char* packet; -- unsigned int len; -+ Py_ssize_t len; - - if (Py_TYPE(bpf) != &BPFProgramType) - {