Date: Tue, 09 Dec 2025 05:05:56 +0000 From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7f937bcc8e50 - main - net/py-icmplib: Add new port Message-ID: <6937ae34.90c3.1eb89159@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f937bcc8e50bc4a626c72aba2b09a160154db48 commit 7f937bcc8e50bc4a626c72aba2b09a160154db48 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2025-12-09 04:57:43 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2025-12-09 05:05:43 +0000 net/py-icmplib: Add new port icmplib provides the capability to easily forge ICMP packets to build ping- and tracroute-like functionality into python scripts. A full description can be found at, https://pypi.org/project/icmplib/ --- net/Makefile | 3 ++- net/py-icmplib/Makefile | 19 +++++++++++++++++++ net/py-icmplib/distinfo | 3 +++ net/py-icmplib/pkg-descr | 24 ++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 1 deletion(-) diff --git a/net/Makefile b/net/Makefile index 33c87bc74b27..6f8bfd5f2bf9 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ - COMMENT = Networking tools + cOMMENT = Networking tools SUBDIR += 3proxy SUBDIR += 44bsd-rdist @@ -1077,6 +1077,7 @@ SUBDIR += py-haproxy-log-analysis SUBDIR += py-haproxyctl SUBDIR += py-httpstat + SUBDIR += py-icmplib SUBDIR += py-ifaddr SUBDIR += py-impacket SUBDIR += py-iplib diff --git a/net/py-icmplib/Makefile b/net/py-icmplib/Makefile new file mode 100644 index 000000000000..f932f38aade7 --- /dev/null +++ b/net/py-icmplib/Makefile @@ -0,0 +1,19 @@ +PORTNAME= icmplib +DISTVERSION= 3.0.4 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= cy@FreeBSD.org +COMMENT= Easily generate ICMP packets +WWW= https://pypi.org/project/icmplib/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/py-icmplib/distinfo b/net/py-icmplib/distinfo new file mode 100644 index 000000000000..f02dff617580 --- /dev/null +++ b/net/py-icmplib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1765255433 +SHA256 (icmplib-3.0.4.tar.gz) = 57868f2cdb011418c0e1d5586b16d1fabd206569fe9652654c27b6b2d6a316de +SIZE (icmplib-3.0.4.tar.gz) = 26744 diff --git a/net/py-icmplib/pkg-descr b/net/py-icmplib/pkg-descr new file mode 100644 index 000000000000..80834de39089 --- /dev/null +++ b/net/py-icmplib/pkg-descr @@ -0,0 +1,24 @@ +icmplib is a brand new and modern implementation of the ICMP protocol +in Python. Use the built-in functions or build your own, you have the +choice! + + + - Ready-to-use: icmplib offers ready-to-use functions such as the + most popular ones: ping, multiping and traceroute. An extensive + documentation also helps you get started. + - Modern: This library uses the latest mechanisms offered by Python + 3.7+ and is fully object-oriented. + - Fast: Each class and function has been designed and optimized to + deliver the best performance. Some functions are also asynchronous + like the async_ping and async_multiping functions. You can ping + the world in seconds! + - Powerful: Use the library without root privileges, set the traffic + class of ICMP packets, customize their payload, send broadcast + requests and more! + - Evolutive: Easily build your own classes and functions with ICMPv4 + and ICMPv6 sockets. + - Seamless integration of IPv6: Use IPv6 the same way you use IPv4. + - Cross-platform: Optimized for Linux, macOS and Windows. The library + automatically manages the specificities of each system. + - No dependency: icmplib is a pure Python implementation of the ICMP + protocol. It does not rely on any external dependency.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6937ae34.90c3.1eb89159>
