Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2020 14:48:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522375 - in head/net: . py-pyroute2
Message-ID:  <202001081448.008EmC3V070388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jan  8 14:48:11 2020
New Revision: 522375
URL: https://svnweb.freebsd.org/changeset/ports/522375

Log:
  Add py-pyroute2 0.5.7
  
  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.
  
  WWW: https://github.com/svinota/pyroute2

Added:
  head/net/py-pyroute2/
  head/net/py-pyroute2/Makefile   (contents, props changed)
  head/net/py-pyroute2/distinfo   (contents, props changed)
  head/net/py-pyroute2/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Jan  8 14:48:06 2020	(r522374)
+++ head/net/Makefile	Wed Jan  8 14:48:11 2020	(r522375)
@@ -1076,6 +1076,7 @@
     SUBDIR += py-pynmsg
     SUBDIR += py-pynsq
     SUBDIR += py-pypcap
+    SUBDIR += py-pyroute2
     SUBDIR += py-pysendfile
     SUBDIR += py-pyshark
     SUBDIR += py-pysmb

Added: head/net/py-pyroute2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pyroute2/Makefile	Wed Jan  8 14:48:11 2020	(r522375)
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pyroute2
+PORTVERSION=	0.5.7
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python Netlink library
+
+LICENSE=	APACHE20 GPLv2+
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.Apache.v2
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/LICENSE.GPL.v2
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/net/py-pyroute2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pyroute2/distinfo	Wed Jan  8 14:48:11 2020	(r522375)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1578401118
+SHA256 (pyroute2-0.5.7.tar.gz) = 963fce07da2841456d39e3b932b071f6de28d23dadfae014022d67a752916f98
+SIZE (pyroute2-0.5.7.tar.gz) = 718123

Added: head/net/py-pyroute2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pyroute2/pkg-descr	Wed Jan  8 14:48:11 2020	(r522375)
@@ -0,0 +1,18 @@
+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.
+
+WWW: https://github.com/svinota/pyroute2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001081448.008EmC3V070388>