net/py-pyroute2 0.9.6 FreeBSD
Python Netlink library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
fbe2ea3d98- License
- APACHE20, GPLv2+
- Categories
- net, python
- Package size
- 936.2 KiB, 5896.3 KiB installed
Description
Pyroute2 is a pure Python netlink library. It requires only Python stdlib, no 3rd party libraries. The library was started as an RTNL protocol implementation, so the name is pyroute2, but now it supports many netlink protocols. Some supported netlink families and protocols:
- rtnl, network settings --- addresses, routes, traffic controls
- nfnetlink --- netfilter API: ipset, nftables, ...
- ipq --- simplest userspace packet filtering, iptables QUEUE target
- devlink --- manage and monitor devlink-enabled hardware
- generic --- generic netlink families
- nl80211 --- wireless functions API (basic support)
- taskstats --- extended process statistics
- acpi_events --- ACPI events monitoring
- thermal_events --- thermal events monitoring
- VFS_DQUOT --- disk quota events monitoring
Starting with 0.5.2 the library supports also PF_ROUTE sockets on BSD systems.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net/py-pyroute2 | 0.9.6 |
| DragonFly | net/py-pyroute2 | 0.7.12 |
| HardenedBSD | net/py-pyroute2 | 0.9.6 |
| GhostBSD | net/py-pyroute2 | 0.7.12 |
Install
Binary package:
pkg install py312-pyroute2
From the ports tree:
cd /usr/ports/net/py-pyroute2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pyroute2>0:net/py-pyroute2
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.6 | 0.9.6 | 0.7.3 | 0.7.12 | 0.9.6 |
| FreeBSD:14:quarterly | 0.9.6 | 0.9.6 | n/a | 0.7.12 | 0.9.6 |
| FreeBSD:15:latest | 0.9.6 | 0.9.6 | n/a | 0.7.12 | 0.7.12 |
| FreeBSD:15:quarterly | 0.9.6 | 0.9.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.6 | 0.9.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Required by 2
Configuration
Options name: net_pyroute2
| Option | Default | Description |
|---|---|---|
| SS2 | off | Socket statistics |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyroute2-0.9.6.tar.gz | 478486 | 6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2 |
Master sites 2
- PYPI
- https://github.com/svinota/pyroute2/releases/download/0.9.6/