commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2019-06-01 09:45:09 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new.5148 (New) Package is "python-netifaces" Sat Jun 1 09:45:09 2019 rev:14 rq:705225 version:0.10.9 Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2018-09-14 00:01:00.909970959 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new.5148/python-netifaces.changes 2019-06-01 09:45:22.463408791 +0200 @@ -1,0 +2,9 @@ +Fri May 24 11:00:13 UTC 2019 - pgaj...@suse.com + +- version update to 0.10.9 + * Fixed a bug that in certain circumstances could lead to an infinite +loop in netifaces.gateways() (thanks asomers). + * Fixed a memory management bug in an error path (thanks NicoPy). +- created a small test + +--- Old: netifaces-0.10.7.tar.gz New: LICENSE netifaces-0.10.9.tar.gz test.py Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.1SbBey/_old 2019-06-01 09:45:23.127408564 +0200 +++ /var/tmp/diff_new_pack.1SbBey/_new 2019-06-01 09:45:23.127408564 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -13,19 +13,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netifaces -Version:0.10.7 +Version:0.10.9 Release:0 Summary:Portable network interface information License:MIT Group: Development/Languages/Python -Url:http://alastairs-place.net/projects/netifaces/ -Source: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz +Url:https://github.com/al45tair/netifaces +Source0: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz +# https://github.com/al45tair/netifaces/issues/40 +Source1: https://raw.githubusercontent.com/al45tair/netifaces/master/LICENSE +Source2: https://raw.githubusercontent.com/al45tair/netifaces/master/test.py BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -48,6 +51,7 @@ %prep %setup -q -n netifaces-%{version} +cp %{SOURCE1} %{SOURCE2} . %build %python_build @@ -55,8 +59,12 @@ %install %python_install +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python test.py | grep 'Interface lo' + %files %{python_files} %defattr(-,root,root,-) +%license LICENSE %doc README.rst %{python_sitearch}/* ++ LICENSE ++ Copyright (c) 2007-2018 Alastair Houghton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++ netifaces-0.10.7.tar.gz -> netifaces-0.10.9.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/LICENSE new/netifaces-0.10.9/LICENSE --- old/netifaces-0.10.7/LICENSE1970-01-01 01:00:00.0 +0100 +++ new/netifaces-0.10.9/LICENSE2018-12-12 11:41:00.0 +0100 @@ -0,0 +1,19 @@ +Copyright (c) 2007-2018 Alastair Houghton + +Permission is hereby granted, free of charge, to any pers
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2018-09-14 00:00:56 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces" Fri Sep 14 00:00:56 2018 rev:13 rq:634718 version:0.10.7 Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2017-07-19 12:21:40.846672002 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2018-09-14 00:01:00.909970959 +0200 @@ -1,0 +2,6 @@ +Mon Sep 10 11:00:01 UTC 2018 - dmuel...@suse.com + +- update to 0.10.7: + * move to github + +--- Old: netifaces-0.10.6.tar.gz New: netifaces-0.10.7.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.TbLAU3/_old 2018-09-14 00:01:01.337970632 +0200 +++ /var/tmp/diff_new_pack.TbLAU3/_new 2018-09-14 00:01:01.337970632 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netifaces -Version:0.10.6 +Version:0.10.7 Release:0 Summary:Portable network interface information License:MIT ++ netifaces-0.10.6.tar.gz -> netifaces-0.10.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.6/PKG-INFO new/netifaces-0.10.7/PKG-INFO --- old/netifaces-0.10.6/PKG-INFO 2017-06-01 15:44:11.0 +0200 +++ new/netifaces-0.10.7/PKG-INFO 2018-05-02 11:15:38.0 +0200 @@ -1,17 +1,27 @@ Metadata-Version: 1.1 Name: netifaces -Version: 0.10.6 +Version: 0.10.7 Summary: Portable network interface information. -Home-page: https://bitbucket.org/al45tair/netifaces +Home-page: https://github.com/al45tair/netifaces Author: Alastair Houghton Author-email: alast...@alastairs-place.net License: MIT License -Description: netifaces 0.10.6 +Description: netifaces 0.10.7 -.. image:: https://drone.io/bitbucket.org/al45tair/netifaces/status.png - :target: https://drone.io/bitbucket.org/al45tair/netifaces/latest - :alt: Build Status ++-+--+ +| Linux/macOS | |BuildStatus|| ++-+--+ +| Windows | |WinBuildStatus| | ++-+--+ + +.. |BuildStatus| image:: https://travis-ci.org/al45tair/netifaces.svg?branch=master + :target: https://travis-ci.org/al45tair/dmgbuild + :alt: Build Status (Linux/Mac) + +.. |WinBuildStatus| image:: https://ci.appveyor.com/api/projects/status/3ctn1bl0aigpfjoo/branch/master?svg=true + :target: https://ci.appveyor.com/project/al45tair/netifaces/branch/master + :alt: Build Status (Windows) 1. What is this? @@ -32,8 +42,8 @@ First you need to install it, which you can do by typing:: - tar xvzf netifaces-0.10.6.tar.gz - cd netifaces-0.10.6 + tar xvzf netifaces-0.10.7.tar.gz + cd netifaces-0.10.7 python setup.py install **Note that you will need the relevant developer tools for your platform**, @@ -168,14 +178,14 @@ It gets regular testing on OS X, Linux and Windows. It has also been used successfully on Solaris, and it's expected to work properly on other UNIX-like systems as well. If you are running something that is not supported, and -wish to contribute a patch, please use BitBucket to send a pull request. +wish to contribute a patch, please use Github to send a pull request. 4. What license is this under? -- It's an MIT-style license. Here goes: -Copyright (c) 2007-2017 Alastair Houghton +Copyright (c) 2007-2018 Alastair Houghton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -199,8 +209,8 @@ -- Because someone released a fork of netifaces
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2017-07-19 11:20:31 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces" Wed Jul 19 11:20:31 2017 rev:12 rq:509012 version:0.10.6 Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2017-04-28 09:12:24.153703661 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2017-07-19 12:21:40.846672002 +0200 @@ -1,0 +2,7 @@ +Fri Jul 7 23:04:50 UTC 2017 - antoine.belv...@opensuse.org + +- Update to version 0.10.6: + * All addresses are now unicode strings on all platforms, +regardless of Python version. + +--- Old: netifaces-0.10.5.tar.gz New: netifaces-0.10.6.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.CdTtvc/_old 2017-07-19 12:21:41.410592426 +0200 +++ /var/tmp/diff_new_pack.CdTtvc/_new 2017-07-19 12:21:41.414591862 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netifaces -Version:0.10.5 +Version:0.10.6 Release:0 Summary:Portable network interface information License:MIT ++ netifaces-0.10.5.tar.gz -> netifaces-0.10.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.5/PKG-INFO new/netifaces-0.10.6/PKG-INFO --- old/netifaces-0.10.5/PKG-INFO 2016-08-23 17:28:47.0 +0200 +++ new/netifaces-0.10.6/PKG-INFO 2017-06-01 15:44:11.0 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: netifaces -Version: 0.10.5 +Version: 0.10.6 Summary: Portable network interface information. Home-page: https://bitbucket.org/al45tair/netifaces Author: Alastair Houghton Author-email: alast...@alastairs-place.net License: MIT License -Description: netifaces 0.10.4 +Description: netifaces 0.10.6 .. image:: https://drone.io/bitbucket.org/al45tair/netifaces/status.png @@ -32,10 +32,13 @@ First you need to install it, which you can do by typing:: - tar xvzf netifaces-0.10.4.tar.gz - cd netifaces-0.10.4 + tar xvzf netifaces-0.10.6.tar.gz + cd netifaces-0.10.6 python setup.py install +**Note that you will need the relevant developer tools for your platform**, +as netifaces is written in C and installing this way will compile the extension. + Once that's done, you'll need to start Python and do something like the following:: @@ -172,7 +175,7 @@ It's an MIT-style license. Here goes: -Copyright (c) 2007-2014 Alastair Houghton +Copyright (c) 2007-2017 Alastair Houghton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.5/README.rst new/netifaces-0.10.6/README.rst --- old/netifaces-0.10.5/README.rst 2014-05-19 13:39:26.0 +0200 +++ new/netifaces-0.10.6/README.rst 2017-06-01 15:31:23.0 +0200 @@ -1,4 +1,4 @@ -netifaces 0.10.4 +netifaces 0.10.6 .. image:: https://drone.io/bitbucket.org/al45tair/netifaces/status.png @@ -24,10 +24,13 @@ First you need to install it, which you can do by typing:: - tar xvzf netifaces-0.10.4.tar.gz - cd netifaces-0.10.4 + tar xvzf netifaces-0.10.6.tar.gz + cd netifaces-0.10.6 python setup.py install +**Note that you will need the relevant developer tools for your platform**, +as netifaces is written in C and installing this way will compile the extension. + Once that's done, you'll need to start Python and do something like the following:: @@ -164,7 +167,7 @@ It's an MIT-style license. Here goes: -Copyright (c) 2007-2014 Alastair Houghton +Copyright (c) 2007-2017 Alastair Houghton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.5/netifaces.c new/netifaces-0.10.6/netifaces.c --- old/netifaces-0.10.5/netifaces.c2016-08-23 17:00:14.0 +0200 +++ new/netifaces-0.10.6/netifaces.c2017-
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2017-04-28 09:12:11 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces" Fri Apr 28 09:12:11 2017 rev:11 rq:484783 version:0.10.5 Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2014-05-26 14:43:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2017-04-28 09:12:24.153703661 +0200 @@ -1,0 +2,17 @@ +Fri Mar 31 17:31:37 UTC 2017 - antoine.belv...@opensuse.org + +- Use pypi.io as source url. + +--- +Sat Mar 18 19:50:34 UTC 2017 - antoine.belv...@opensuse.org + +- Update to version 0.10.5: + * Fix setup.py in case there's no print + * Fix a potential one-byte stack overwrite + * Fix possible null pointer deference + * Respect interface priorities when determining default gateway + * Use CIDR notation for IPv6 netmasks + * Ignore broadcast addresses in the 169.254.0.0/16 range +- Convert package to python singlespec. + +--- Old: netifaces-0.10.4.tar.gz New: netifaces-0.10.5.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.2GfRn8/_old 2017-04-28 09:12:24.989585791 +0200 +++ /var/tmp/diff_new_pack.2GfRn8/_new 2017-04-28 09:12:24.993585227 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -17,21 +17,21 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netifaces -Version:0.10.4 +Version:0.10.5 Release:0 Summary:Portable network interface information License:MIT Group: Development/Languages/Python Url:http://alastairs-place.net/projects/netifaces/ -Source: https://pypi.python.org/packages/source/n/netifaces/netifaces-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -Provides: netifaces +Source: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif + +%python_subpackages %description netifaces provides a (hopefully portable-ish) way for Python programmers to @@ -50,12 +50,12 @@ %setup -q -n netifaces-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitearch}/* ++ netifaces-0.10.4.tar.gz -> netifaces-0.10.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.4/PKG-INFO new/netifaces-0.10.5/PKG-INFO --- old/netifaces-0.10.4/PKG-INFO 2014-05-19 13:40:12.0 +0200 +++ new/netifaces-0.10.5/PKG-INFO 2016-08-23 17:28:47.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: netifaces -Version: 0.10.4 +Version: 0.10.5 Summary: Portable network interface information. Home-page: https://bitbucket.org/al45tair/netifaces Author: Alastair Houghton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.4/netifaces.c new/netifaces-0.10.5/netifaces.c --- old/netifaces-0.10.4/netifaces.c2014-05-19 13:38:09.0 +0200 +++ new/netifaces-0.10.5/netifaces.c2016-08-23 17:00:14.0 +0200 @@ -45,6 +45,14 @@ #include # endif +# if HAVE_GETIFADDRS +#if HAVE_IPV6_SOCKET_IOCTLS +# include +# include +# include +#endif +# endif + # if HAVE_SOCKET_IOCTLS #include #include @@ -397,7 +405,8 @@ sprintf (ptr, "%02x:", data[n] & 0xff); ptr += 3; } -*--ptr = '\0'; +if (len) + *--ptr = '\0'; } if (!buffer[0]) @@ -405,6 +414,94 @@ return 0; } + +/* Tries to format in CIDR form where possible; falls back to using + string_from_sockaddr(). */ +sta
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2014-05-26 14:43:41 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces" Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2013-10-25 11:23:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2014-05-26 14:43:43.0 +0200 @@ -1,0 +2,34 @@ +Sat May 24 09:42:16 UTC 2014 - tchva...@suse.com + +- Version bump to 0.10.4: + * Various small fixes +- Fix source download url +- Fix homepage + +--- +Mon May 12 19:16:49 UTC 2014 - h...@urpla.net + +- Update to version 0.10.3: + - Version 0.10.3 ++ When using Netlink (i.e. Linux), check for the constant + NLM_F_DUMP_INTR, since it only appeared in kernel version 3.1 + + - Version 0.10.2 ++ Added a workaround for broken netlink headers on certain Linux + distributions (the problem being that the netlink headers fail to + include , which causes a build failure). + + - Version 0.10.1 ++ Fixed a problem with the gateways() function that caused it a + crash on PyPy. ++ The CI system is now set up to build for PyPy as well, so + problems will be found sooner. + + - Version 0.10.0 ++ Python 3 compatibility. ++ Improved Windows source code compatibility. ++ Added gateway detection via gateways() function. ++ New version number format (skipped 0.9.0 due to its use by + the netifaces-merged fork). + +--- Old: netifaces-0.8.tar.gz New: netifaces-0.10.4.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.vqOtyg/_old 2014-05-26 14:43:44.0 +0200 +++ /var/tmp/diff_new_pack.vqOtyg/_new 2014-05-26 14:43:44.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -18,13 +18,13 @@ Name: python-netifaces -Version:0.8 +Version:0.10.4 Release:0 Summary:Portable network interface information License:MIT Group: Development/Languages/Python -Url:http://alastairs-place.net/netifaces/ -Source: http://alastairs-place.net/projects/netifaces/netifaces-%{version}.tar.gz +Url:http://alastairs-place.net/projects/netifaces/ +Source: https://pypi.python.org/packages/source/n/netifaces/netifaces-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools Provides: netifaces @@ -57,7 +57,7 @@ %files %defattr(-,root,root,-) -%doc README +%doc README.rst %{python_sitearch}/* %changelog ++ netifaces-0.8.tar.gz -> netifaces-0.10.4.tar.gz ++ 2794 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2013-10-25 11:23:36 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces" Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2012-06-26 17:57:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2013-10-25 11:23:37.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 24 11:09:09 UTC 2013 - speili...@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +--- Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.n8RaAj/_old 2013-10-25 11:23:37.0 +0200 +++ /var/tmp/diff_new_pack.n8RaAj/_new 2013-10-25 11:23:37.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -26,7 +26,7 @@ Url:http://alastairs-place.net/netifaces/ Source: http://alastairs-place.net/projects/netifaces/netifaces-%{version}.tar.gz BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools Provides: netifaces BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2012-06-26 17:57:05 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces", Maintainer is "cth...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2012-06-18 17:35:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2012-06-26 17:57:07.0 +0200 @@ -1,0 +2,10 @@ +Mon Jun 25 15:17:42 UTC 2012 - sasc...@suse.de + +- Update to version 0.8: + + Fixed bit-rot in the ioctl() code path. + + Fixed a problem with setup.py that might manifest itself if the +config.cache file was manually edited. + + Fixed the ioctl() code path to cope with systems that have sa_len and +return longer than normal struct ifreq results from SIOCG[L]IFCONF; + +--- Old: netifaces-0.6.tar.gz New: netifaces-0.8.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.L8ppWF/_old 2012-06-26 17:57:08.0 +0200 +++ /var/tmp/diff_new_pack.L8ppWF/_new 2012-06-26 17:57:08.0 +0200 @@ -18,7 +18,7 @@ Name: python-netifaces -Version:0.6 +Version:0.8 Release:0 Summary:Portable network interface information License:MIT ++ netifaces-0.6.tar.gz -> netifaces-0.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.6/PKG-INFO new/netifaces-0.8/PKG-INFO --- old/netifaces-0.6/PKG-INFO 2011-11-04 18:18:25.0 +0100 +++ new/netifaces-0.8/PKG-INFO 2012-01-31 12:48:39.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: netifaces -Version: 0.6 +Version: 0.8 Summary: Portable network interface information. Home-page: http://alastairs-place.net/netifaces Author: Alastair Houghton @@ -11,8 +11,7 @@ obtain the addresses of those network interfaces. The package has been tested on Mac OS X, Windows XP, Windows Vista, Linux -and Solaris. On Windows, it is currently not able to retrieve IPv6 -addresses, owing to shortcomings of the Windows API. +and Solaris. It should work on other UNIX-like systems provided they implement either getifaddrs() or support the SIOCGIFxxx socket options, although the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.6/netifaces.c new/netifaces-0.8/netifaces.c --- old/netifaces-0.6/netifaces.c 2011-11-04 18:10:03.0 +0100 +++ new/netifaces-0.8/netifaces.c 2012-01-31 12:43:39.0 +0100 @@ -145,7 +145,10 @@ #else /* defined(WIN32) */ +#define _WIN32_WINNT 0x0501 + # include +# include # include #endif /* defined(WIN32) */ @@ -296,9 +299,9 @@ } failure = getnameinfo (gniaddr, gnilen, - buffer, buflen, - NULL, 0, - NI_NUMERICHOST); + buffer, buflen, + NULL, 0, + NI_NUMERICHOST); if (bigaddr) { free(bigaddr); @@ -306,7 +309,7 @@ } if (failure) { -int n, len; +size_t n, len; char *ptr; const char *data; @@ -352,13 +355,54 @@ *--ptr = '\0'; } + if (!buffer[0]) +return -1; + return 0; } #endif /* !defined(WIN32) */ +#if defined(WIN32) +static int +compare_bits (const void *pva, + const void *pvb, + unsigned bits) +{ + const unsigned char *pa = (const unsigned char *)pva; + const unsigned char *pb = (const unsigned char *)pvb; + unsigned char a, b; + static unsigned char masks[] = { +0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe + }; + while (bits >= 8) { +a = *pa++; +b = *pb++; +if (a < b) + return -1; +else if (a > b) + return +1; +bits -= 8; + } + + if (bits) { +a = *pa++ & masks[bits]; +b = *pb++ & masks[bits]; +if (a < b) + return -1; +else if (a > b) + return +1; + } + + return 0; +} +#endif + static int add_to_family (PyObject *result, int family, PyObject *dict) { + if (!PyDict_Size (dict)) +return TRUE; + PyObject *py_family = PyInt_FromLong (family); PyObject *list = PyDict_GetItem (result, py_family); @@ -394,11 +438,10 @@ PyObject *result; int found = FALSE; #if defined(WIN32) - PIP_ADAPTER_INFO pAdapterInfo = NULL; - PIP_ADAPTER_INFO pInfo = NULL; + PIP_ADAPTER_ADDRESSES pAdapterAddresses = NULL, pInf
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2012-06-18 17:35:25 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2012-06-13 13:32:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2012-06-18 17:35:55.0 +0200 @@ -1,0 +2,8 @@ +Fri Jun 15 08:55:18 UTC 2012 - sasc...@suse.de + +- Update to version 0.6: + + Added a workaround for a FreeBSD kernel bug (kern/152036). + + Added address_families dictionary to allow code to look up the symbolic +name corresponding to a given numeric address family code. + +--- Old: netifaces-0.5.tar.bz2 New: netifaces-0.6.tar.gz Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.bVWF7l/_old 2012-06-18 17:35:57.0 +0200 +++ /var/tmp/diff_new_pack.bVWF7l/_new 2012-06-18 17:35:57.0 +0200 @@ -18,21 +18,20 @@ Name: python-netifaces -Version:0.5 +Version:0.6 Release:0 Summary:Portable network interface information License:MIT Group: Development/Languages/Python Url:http://alastairs-place.net/netifaces/ -Source: netifaces-%{version}.tar.bz2 +Source: http://alastairs-place.net/projects/netifaces/netifaces-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute Provides: netifaces BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} -%py_requires -%endif +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%endif %description netifaces provides a (hopefully portable-ish) way for Python programmers to -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-netifaces for openSUSE:Factory
Hello community, here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2012-06-13 13:32:43 Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old) and /work/SRC/openSUSE:Factory/.python-netifaces.new (New) Package is "python-netifaces", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2011-12-07 14:39:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-netifaces.new/python-netifaces.changes 2012-06-13 13:32:55.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 11 12:37:51 UTC 2012 - sasc...@suse.de + +- Spec header cleanup + +--- Other differences: -- ++ python-netifaces.spec ++ --- /var/tmp/diff_new_pack.WUBGTL/_old 2012-06-13 13:32:57.0 +0200 +++ /var/tmp/diff_new_pack.WUBGTL/_new 2012-06-13 13:32:57.0 +0200 @@ -1,21 +1,29 @@ # -# spec file for package python-netifaces (Version 0.5) +# spec file for package python-netifaces # +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Novell -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-netifaces Version:0.5 Release:0 -License:MIT Summary:Portable network interface information -Url:http://alastairs-place.net/netifaces/ +License:MIT Group: Development/Languages/Python +Url:http://alastairs-place.net/netifaces/ Source: netifaces-%{version}.tar.bz2 BuildRequires: python-devel BuildRequires: python-distribute -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org