BSD Ports

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

SystemPortVersion
FreeBSDnet/py-pyroute20.9.6
DragonFlynet/py-pyroute20.7.12
HardenedBSDnet/py-pyroute20.9.6
GhostBSDnet/py-pyroute20.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.60.9.60.7.30.7.120.9.6
FreeBSD:14:quarterly0.9.60.9.6n/a0.7.120.9.6
FreeBSD:15:latest0.9.60.9.6n/a0.7.120.7.12
FreeBSD:15:quarterly0.9.60.9.6n/an/an/a
FreeBSD:16:latest0.9.60.9.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

Options name: net_pyroute2

OptionDefaultDescription
SS2offSocket statistics
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyroute2-0.9.6.tar.gz4784866bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2
Master sites 2
  • PYPI
  • https://github.com/svinota/pyroute2/releases/download/0.9.6/

Commit history 1

DateCommitCreditsLog message
fbe2ea3d98 Po-Chuan Hsieh net/py-pyroute2: Update to 0.9.6
- Add GitHub to MASTER_SITES Changes: https://github.com/svinota/pyroute2/releases