Date: Wed, 2 Jan 2019 07:43:05 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489059 - in head/net/py-netifaces: . files Message-ID: <201901020743.x027h5sB010017@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Wed Jan 2 07:43:05 2019 New Revision: 489059 URL: https://svnweb.freebsd.org/changeset/ports/489059 Log: net/py-netifaces: Update version 0.10.6=>0.10.7 - Fix invalid errno check in netifaces.gateways() [1] PR: 234558 [1] Submitted by: asomers [1] Added: head/net/py-netifaces/files/ head/net/py-netifaces/files/patch-netifaces.c (contents, props changed) Modified: head/net/py-netifaces/Makefile head/net/py-netifaces/distinfo Modified: head/net/py-netifaces/Makefile ============================================================================== --- head/net/py-netifaces/Makefile Wed Jan 2 07:24:33 2019 (r489058) +++ head/net/py-netifaces/Makefile Wed Jan 2 07:43:05 2019 (r489059) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= netifaces -PORTVERSION= 0.10.6 +PORTVERSION= 0.10.7 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/net/py-netifaces/distinfo ============================================================================== --- head/net/py-netifaces/distinfo Wed Jan 2 07:24:33 2019 (r489058) +++ head/net/py-netifaces/distinfo Wed Jan 2 07:43:05 2019 (r489059) @@ -1,3 +1,3 @@ -TIMESTAMP = 1505758293 -SHA256 (netifaces-0.10.6.tar.gz) = 0c4da523f36d36f1ef92ee183f2512f3ceb9a9d2a45f7d19cda5a42c6689ebe0 -SIZE (netifaces-0.10.6.tar.gz) = 25166 +TIMESTAMP = 1546412087 +SHA256 (netifaces-0.10.7.tar.gz) = bd590fcb75421537d4149825e1e63cca225fd47dad861710c46bd1cb329d8cbd +SIZE (netifaces-0.10.7.tar.gz) = 29330 Added: head/net/py-netifaces/files/patch-netifaces.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-netifaces/files/patch-netifaces.c Wed Jan 2 07:43:05 2019 (r489059) @@ -0,0 +1,11 @@ +--- netifaces.c.orig 2019-01-02 06:57:05 UTC ++++ netifaces.c +@@ -2007,7 +2007,7 @@ gateways (PyObject *self) + buffer = ptr; + + ret = sysctl (mib, 6, buffer, &len, 0, 0); +- } while (ret != 0 || errno == ENOMEM || errno == EINTR); ++ } while (ret != 0 && (errno == ENOMEM || errno == EINTR)); + + if (ret < 0) { + PyErr_SetFromErrno (PyExc_OSError);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901020743.x027h5sB010017>