Port details
py-netifaces Getting network addresses from Python 3
0.11.0_1 net Σ=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.11.0_1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2009-07-29 14:13:04
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch: libgd, p5-Socket6, docbook-xml, gmake, png
Also Listed In: python
License: MIT
WWW:
https://pypi.org/project/netifaces/
Description: #
Getting network addresses from Python It's been irritating me for ages that it isn't possible to straightforwardly get the network address(es) of the machine you're running on from a Python program.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR}
To install the port: #
cd /usr/ports/net/py-netifaces/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-netifaces
  • pkg install py312-netifaces
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-netifaces listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-netifaces
Package flavors (<flavor>: <package>) #
  • py312: py312-netifaces
distinfo: #
TIMESTAMP = 1622784135 SHA256 (netifaces-0.11.0.tar.gz) = 043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32 SIZE (netifaces-0.11.0.tar.gz) = 30106

Packages (timestamps in pop-ups are UTC): #
py311-netifaces
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.11.0_1-
FreeBSD:14:quarterly---0.11.0_1-
FreeBSD:15:latest--n/a0.11.0_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 

py312-netifaces
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.11.0_10.11.0_1--0.11.0_1
FreeBSD:14:quarterly0.11.0_10.11.0_1--0.11.0_1
FreeBSD:15:latest0.11.0_10.11.0_1n/a-n/a
FreeBSD:15:quarterly0.11.0_10.11.0_1n/a-n/a
FreeBSD:16:latest CURRENT0.11.0_10.11.0_1n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  2. python3.12 : lang/python312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Build #
  1. audio/py-pyradio
  2. net/dshell
  3. sysutils/jadm
for Run #
  1. audio/py-pyradio
  2. deskutils/calibre
  3. filesystems/py-tahoe-lafs
  4. net/cloud-init
  5. net/dshell
  6. net/tiny-network-utilities
  7. net-p2p/reticulum
Expand this list (23 items / 16 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. net-p2p/warpinator
  3. sysutils/archey4
  4. sysutils/iocage
  5. sysutils/iocage-devel
  6. sysutils/jadm
  7. sysutils/py-google-compute-engine
  8. x11/xpra
  9. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. audio/py-gmusicproxy*
  2. databases/py-swift*
  3. devel/py-openstacksdk043*
  4. devel/py-oslo.utils3*
  5. emulators/py-nova*
  6. net/cloud-init-devel*
  7. net-mgmt/noc*
  8. net-p2p/tribler*
  9. www/py-octoprint*
  10. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
No options to configure
Options name: #
net_py-netifaces
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/n/netifaces/
  2. https://pypi.org/packages/source/n/netifaces/
Collapse this list.

Number of commits found: 26 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.0_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.11.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.11.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.11.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.0
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.11.0
04 Jun 2021 11:14:05
commit hash: 15f5b273145f8d717bdf161c9d86ee93592e0f22commit hash: 15f5b273145f8d717bdf161c9d86ee93592e0f22commit hash: 15f5b273145f8d717bdf161c9d86ee93592e0f22commit hash: 15f5b273145f8d717bdf161c9d86ee93592e0f22 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
net/py-netifaces: Update version 0.10.9=>0.11.0

- Add TEST framework

Relnotes: https://pypi.org/project/netifaces/0.11.0/
0.10.9
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.10.9
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.10.9
24 Dec 2020 13:46:02
Revision:559094commit hash: 9cb5898561b302d952fec8e2fac66a945a2c4915commit hash: 9cb5898561b302d952fec8e2fac66a945a2c4915commit hash: 9cb5898561b302d952fec8e2fac66a945a2c4915commit hash: 9cb5898561b302d952fec8e2fac66a945a2c4915Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
0.10.9
03 Jan 2019 20:57:42
Revision:489221commit hash: 816dfdb4f0a3c9c51b172c03004242480c3dc2a1commit hash: 816dfdb4f0a3c9c51b172c03004242480c3dc2a1commit hash: 816dfdb4f0a3c9c51b172c03004242480c3dc2a1commit hash: 816dfdb4f0a3c9c51b172c03004242480c3dc2a1Original commit files touched by this commit
bofh search for other commits by this committer
net/py-netifaces: Update version 0.10.7=>0.10.9

Approved by:	ports-secteam (blanket, bugfix)
MFH:		2019Q1
Relnotes:	https://pypi.org/project/netifaces/0.10.9/#history
0.10.7_1
03 Jan 2019 11:32:51
Revision:489164commit hash: 09ab01b953801035f3760e38e65a97f816c857e7commit hash: 09ab01b953801035f3760e38e65a97f816c857e7commit hash: 09ab01b953801035f3760e38e65a97f816c857e7commit hash: 09ab01b953801035f3760e38e65a97f816c857e7Original commit files touched by this commit
bofh search for other commits by this committer
net/py-netifaces: Merge Quarterly

- Port BUMP due to mistake in merge

PR:		234558
Reported by:	koobs
Approved by:	ports-secteam (blanket, bugfix)
MFH:		2019Q1
0.10.7
02 Jan 2019 07:43:05
Revision:489059commit hash: cac60279ccc7c3c972b5fc7483118b4409cd0f9fcommit hash: cac60279ccc7c3c972b5fc7483118b4409cd0f9fcommit hash: cac60279ccc7c3c972b5fc7483118b4409cd0f9fcommit hash: cac60279ccc7c3c972b5fc7483118b4409cd0f9fOriginal commit files touched by this commit
bofh search for other commits by this committer
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]
0.10.6
25 Apr 2018 16:42:38
Revision:468282commit hash: c63740208199641936685ceb327218d7e846b7c8commit hash: c63740208199641936685ceb327218d7e846b7c8commit hash: c63740208199641936685ceb327218d7e846b7c8commit hash: c63740208199641936685ceb327218d7e846b7c8Original commit files touched by this commit
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
0.10.6
30 Nov 2017 15:50:34
Revision:455210commit hash: 551be3c7231225ed9c26479af2b8914fb2ef0ea8commit hash: 551be3c7231225ed9c26479af2b8914fb2ef0ea8commit hash: 551be3c7231225ed9c26479af2b8914fb2ef0ea8commit hash: 551be3c7231225ed9c26479af2b8914fb2ef0ea8Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.10.5
13 Dec 2016 15:20:48
Revision:428497commit hash: 919779e16b9129c91adab37a4f473cbbfceab117commit hash: 919779e16b9129c91adab37a4f473cbbfceab117commit hash: 919779e16b9129c91adab37a4f473cbbfceab117commit hash: 919779e16b9129c91adab37a4f473cbbfceab117Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 0.10.5

PR:             214328
Submitted by:   joneum@bsdproject.de
Approved by:    maintainer timeout (count@211.ru, 1 month)
0.10.4
01 Jul 2015 17:57:08
Revision:391113commit hash: 0961b38f37cbed85256dda6f7d3b3c9d5aebe29ccommit hash: 0961b38f37cbed85256dda6f7d3b3c9d5aebe29ccommit hash: 0961b38f37cbed85256dda6f7d3b3c9d5aebe29ccommit hash: 0961b38f37cbed85256dda6f7d3b3c9d5aebe29cOriginal commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.10.4
- While I'm here, fix WWW

Changes:	https://bitbucket.org/al45tair/netifaces/src/default/CHANGELOG
PR:		200875
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
Approved by:	maintainer (timeout, 16 days)
0.10.3
29 Aug 2014 10:44:09
Revision:366498commit hash: d65b135cba1e2e2da69290b1b1790f085de2317dcommit hash: d65b135cba1e2e2da69290b1b1790f085de2317dcommit hash: d65b135cba1e2e2da69290b1b1790f085de2317dcommit hash: d65b135cba1e2e2da69290b1b1790f085de2317dOriginal commit files touched by this commit
bapt search for other commits by this committer
Modernize mython
0.10.3
23 May 2014 08:09:36
Revision:354918commit hash: 0e7bd0c1c7752d797a479f9c1e016aa0ecd410c8commit hash: 0e7bd0c1c7752d797a479f9c1e016aa0ecd410c8commit hash: 0e7bd0c1c7752d797a479f9c1e016aa0ecd410c8commit hash: 0e7bd0c1c7752d797a479f9c1e016aa0ecd410c8Original commit files touched by this commit
culot search for other commits by this committer
- Update to 0.10.3
- Add LICENSE (MIT)
- Update MASTER_SITES
- Pet portlint(1)

PR:		ports/189475
Submitted by:	olivierd@
Approved by:	Stanislav Svirid <count@211.ru> (maintainer timeout)
0.8_1
28 Apr 2014 01:05:31
Revision:352467commit hash: 3f8003d8bb2e8d009c8d645a337cf66a8064a4ddcommit hash: 3f8003d8bb2e8d009c8d645a337cf66a8064a4ddcommit hash: 3f8003d8bb2e8d009c8d645a337cf66a8064a4ddcommit hash: 3f8003d8bb2e8d009c8d645a337cf66a8064a4ddOriginal commit files touched by this commit
swills search for other commits by this committer
- Update to 0.8

PR:		ports/187419
Submitted by:	swills (myself)
Approved by:	maintainer timeout (count@211.ru, >6 weeks)
0.6_1
09 Mar 2014 14:37:56
Revision:347605commit hash: 7163d225ffe2e2f7d4192d8372b2fcda2af26165commit hash: 7163d225ffe2e2f7d4192d8372b2fcda2af26165commit hash: 7163d225ffe2e2f7d4192d8372b2fcda2af26165commit hash: 7163d225ffe2e2f7d4192d8372b2fcda2af26165Original commit files touched by this commit
miwi search for other commits by this committer
- Convert to autoplist
- Stage support
- Bump PORTREVISIO
0.6
20 Sep 2013 22:10:25
Revision:327755commit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fOriginal commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
0.6
20 Apr 2013 14:24:15
Revision:316149commit hash: 29d83c58332e67961850413a27f0658d492aa5e8commit hash: 29d83c58332e67961850413a27f0658d492aa5e8commit hash: 29d83c58332e67961850413a27f0658d492aa5e8commit hash: 29d83c58332e67961850413a27f0658d492aa5e8Original commit files touched by this commit
olgeni search for other commits by this committer
Fix typos in pkg-descr.

Feature safe:	yes
0.6
11 Jan 2012 13:26:00
Original commit files touched by this commit
novel search for other commits by this committer
Update to 0.6.

PR:             164008
Submitted by:   novel (myself)
Approved by:    Stanislav A Svirid (maintainer)
0.5
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
0.5
29 Jul 2009 14:12:44
Original commit files touched by this commit
miwi search for other commits by this committer
Getting network addresses from Python

It.s been irritating me for ages that it isn.t possible to
straightforwardly get the network address(es) of the machine
you.re running on from a Python program.

WWW:    http://alastairs-place.net/netifaces/

PR:             ports/137236
Submitted by:   Stanislav Svirid <count at 211.ru>

Number of commits found: 26