summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-07-09 13:15:51 +0000
committerAli Polatel <hawking@gentoo.org>2007-07-09 13:15:51 +0000
commit090684d9d3fbb27084177a3c4cfb6e3db547b77e (patch)
tree30b105c7518722220dec06c6e0df038c2407afbf /dev-python/pylibpcap
parentBug 184513, keywording ~amd64. Also added fixlocalpod call to resolve collisi... (diff)
downloadhistorical-090684d9d3fbb27084177a3c4cfb6e3db547b77e.tar.gz
historical-090684d9d3fbb27084177a3c4cfb6e3db547b77e.tar.bz2
historical-090684d9d3fbb27084177a3c4cfb6e3db547b77e.zip
Apply fix from upstream to make pcap.findalldevs() work fine (bug #179342)
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'dev-python/pylibpcap')
-rw-r--r--dev-python/pylibpcap/ChangeLog6
-rw-r--r--dev-python/pylibpcap/Manifest20
-rw-r--r--dev-python/pylibpcap/files/pylibpcap-unknown_addr.patch13
-rw-r--r--dev-python/pylibpcap/pylibpcap-0.5.1.ebuild3
4 files changed, 32 insertions, 10 deletions
diff --git a/dev-python/pylibpcap/ChangeLog b/dev-python/pylibpcap/ChangeLog
index a7119fd4be3e..ee801b219dc7 100644
--- a/dev-python/pylibpcap/ChangeLog
+++ b/dev-python/pylibpcap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pylibpcap
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.16 2007/04/01 10:02:43 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.17 2007/07/09 13:15:51 hawking Exp $
+
+ 09 Jul 2007; Ali Polatel <hawking@gentoo.org>
+ +files/pylibpcap-unknown_addr.patch, pylibpcap-0.5.1.ebuild:
+ Apply fix from upstream to make pcap.findalldevs() work fine (bug #179342)
01 Apr 2007; Raúl Porcel <armin76@gentoo.org> pylibpcap-0.5.1.ebuild:
ia64 stable wrt bug 168330
diff --git a/dev-python/pylibpcap/Manifest b/dev-python/pylibpcap/Manifest
index 849efcc23fc8..937f236c1ce5 100644
--- a/dev-python/pylibpcap/Manifest
+++ b/dev-python/pylibpcap/Manifest
@@ -2,15 +2,19 @@ AUX pylibpcap-swig-1.3.29.patch 2043 RMD160 4d2be282f3b3bfe9074fa74a358cb37f54bd
MD5 22cabbd0269b6969baf6fc5f827894db files/pylibpcap-swig-1.3.29.patch 2043
RMD160 4d2be282f3b3bfe9074fa74a358cb37f54bdb824 files/pylibpcap-swig-1.3.29.patch 2043
SHA256 9e5a135693db8fab47c52281cc5d6627d785b3023a3d07099cf1f5502fce3624 files/pylibpcap-swig-1.3.29.patch 2043
+AUX pylibpcap-unknown_addr.patch 417 RMD160 63ac24f37d1f9acc72f1e9fa37b60a754d7c657a SHA1 fe932ae4d2514cae3964ab6b8fc245ef64d8606d SHA256 4432fa13e9b3e113a8eb849b3380e3a0cdd7abb56ac336a8e68afc4e427fe3c0
+MD5 59b2acfc3de9afe0961edbfe07ee8815 files/pylibpcap-unknown_addr.patch 417
+RMD160 63ac24f37d1f9acc72f1e9fa37b60a754d7c657a files/pylibpcap-unknown_addr.patch 417
+SHA256 4432fa13e9b3e113a8eb849b3380e3a0cdd7abb56ac336a8e68afc4e427fe3c0 files/pylibpcap-unknown_addr.patch 417
DIST pylibpcap-0.5.1.tar.gz 25171 RMD160 f1e2309fbaf0878e6b4fb87b626686377c6c105a SHA1 c8e85258b3b3f79d629531856cfb3242c07f5796 SHA256 4b7eb79d5e476cc0e03bcdb13c4a874cf7edac650ef55a21fde385d676e3a7dd
-EBUILD pylibpcap-0.5.1.ebuild 744 RMD160 b644a0d08305d888650571247f4bbc4e71448565 SHA1 73eb634010931a048cf77df32dc63b8945ccad33 SHA256 1a33f80d51042cc6f4feedbba93a8a5c05428599409f1581dd109e0972d5d7da
-MD5 621d93c0fbd91462c14087f8251ba833 pylibpcap-0.5.1.ebuild 744
-RMD160 b644a0d08305d888650571247f4bbc4e71448565 pylibpcap-0.5.1.ebuild 744
-SHA256 1a33f80d51042cc6f4feedbba93a8a5c05428599409f1581dd109e0972d5d7da pylibpcap-0.5.1.ebuild 744
-MISC ChangeLog 2064 RMD160 8d3e667d2c41375deb418dfdeb6827023cd72fbe SHA1 2570e7cb5083f85c4037deb96901393b1512a4ba SHA256 cbc2fda2f0da92d743526a6912a334727e02c180aa64edc119dd26e45148167c
-MD5 f7aa0ba9d3f55e18a7d3feba19d0f1b9 ChangeLog 2064
-RMD160 8d3e667d2c41375deb418dfdeb6827023cd72fbe ChangeLog 2064
-SHA256 cbc2fda2f0da92d743526a6912a334727e02c180aa64edc119dd26e45148167c ChangeLog 2064
+EBUILD pylibpcap-0.5.1.ebuild 791 RMD160 c2ee48478fd4a9eac5f003ff742ab416a1eaa251 SHA1 9242f8c79799825881cc36d169516070d2bb8003 SHA256 f47171b08b4e3868c6bc2a693a24f8db3635c7695dc7858c3e0f1dfead33fae1
+MD5 1b312b361d5c2c448112977cd537f890 pylibpcap-0.5.1.ebuild 791
+RMD160 c2ee48478fd4a9eac5f003ff742ab416a1eaa251 pylibpcap-0.5.1.ebuild 791
+SHA256 f47171b08b4e3868c6bc2a693a24f8db3635c7695dc7858c3e0f1dfead33fae1 pylibpcap-0.5.1.ebuild 791
+MISC ChangeLog 2253 RMD160 f77015de896eac18ab8eda90caf7df950c68ae8b SHA1 2c7effccb40bdea35287f07230087ad71a7fee4e SHA256 7f97dcba57689e56239f6ae695d3fae3035cd60aa1ad4a1577eb1e3fb846fe37
+MD5 c8853375221d7ccd0122c7cb172817fd ChangeLog 2253
+RMD160 f77015de896eac18ab8eda90caf7df950c68ae8b ChangeLog 2253
+SHA256 7f97dcba57689e56239f6ae695d3fae3035cd60aa1ad4a1577eb1e3fb846fe37 ChangeLog 2253
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
diff --git a/dev-python/pylibpcap/files/pylibpcap-unknown_addr.patch b/dev-python/pylibpcap/files/pylibpcap-unknown_addr.patch
new file mode 100644
index 000000000000..babb4d0a1dc9
--- /dev/null
+++ b/dev-python/pylibpcap/files/pylibpcap-unknown_addr.patch
@@ -0,0 +1,13 @@
+--- pcap_interface.c.orig 2004-07-10 07:58:10.000000000 +0300
++++ pcap_interface.c 2007-07-09 13:40:18.000000000 +0300
+@@ -513,9 +513,7 @@
+ break;
+ #endif
+ default:
+- fprintf(stderr, "at line %d\n", __LINE__);
+- throw_exception(-1, "unsupported address family");
+- return NULL;
++ return PyString_FromFormat("<AF %d>", sa->sa_family);
+ case AF_UNSPEC:
+ Py_INCREF(Py_None);
+ return Py_None;
diff --git a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild
index a320fb6213be..4d6821050df4 100644
--- a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild
+++ b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.7 2007/04/01 10:02:43 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.8 2007/07/09 13:15:51 hawking Exp $
inherit distutils eutils
@@ -21,6 +21,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-swig-1.3.29.patch"
+ epatch "${FILESDIR}/${PN}-unknown_addr.patch"
}
src_install() {