diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2019-02-18 03:38:34 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2019-02-18 03:38:34 +0800 |
commit | 1033dbb7b449648b4db98cfcc9206bfea6c5f3d2 (patch) | |
tree | 9410c85f6b3433516266efa1ed578c51f60b8251 | |
parent | 4b354f4de9d653b3f930329fce416e0e2b04e499 (diff) | |
download | freebsd-ports-gnome-1033dbb7b449648b4db98cfcc9206bfea6c5f3d2.tar.gz freebsd-ports-gnome-1033dbb7b449648b4db98cfcc9206bfea6c5f3d2.tar.zst freebsd-ports-gnome-1033dbb7b449648b4db98cfcc9206bfea6c5f3d2.zip |
Add p5-Net-Ping 2.71
Net::Ping contains methods to test the reachability of remote hosts on a
network. A ping object is first created with optional parameters, a variable
number of hosts may be pinged multiple times and then the connection is closed.
You may choose one of six different protocols to use for the ping. The "tcp"
protocol is the default. Note that a live remote host may still fail to be
pingable by one or more of these protocols. For example, www.microsoft.com is
generally alive but not "icmp" pingable.
WWW: https://metacpan.org/release/Net-Ping
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-Ping/Makefile | 21 | ||||
-rw-r--r-- | net/p5-Net-Ping/distinfo | 3 | ||||
-rw-r--r-- | net/p5-Net-Ping/pkg-descr | 10 | ||||
-rw-r--r-- | net/p5-Net-Ping/pkg-plist | 2 |
5 files changed, 37 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 440ffb39ceca..1242941169e7 100644 --- a/net/Makefile +++ b/net/Makefile @@ -747,6 +747,7 @@ SUBDIR += p5-Net-Patricia SUBDIR += p5-Net-Pcap SUBDIR += p5-Net-PcapUtils + SUBDIR += p5-Net-Ping SUBDIR += p5-Net-Ping-External SUBDIR += p5-Net-Proxy SUBDIR += p5-Net-PubSubHubbub-Publisher diff --git a/net/p5-Net-Ping/Makefile b/net/p5-Net-Ping/Makefile new file mode 100644 index 000000000000..c7f85b4a06dd --- /dev/null +++ b/net/p5-Net-Ping/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Net-Ping +PORTVERSION= 2.71 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Check a remote host for reachability + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/net/p5-Net-Ping/distinfo b/net/p5-Net-Ping/distinfo new file mode 100644 index 000000000000..789434c8c24a --- /dev/null +++ b/net/p5-Net-Ping/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1550365898 +SHA256 (Net-Ping-2.71.tar.gz) = 0819d0aa87b173e98ecb3ccfd92272ce53c7fc9e86f962f64602a6fa477f7d4f +SIZE (Net-Ping-2.71.tar.gz) = 50863 diff --git a/net/p5-Net-Ping/pkg-descr b/net/p5-Net-Ping/pkg-descr new file mode 100644 index 000000000000..4839574515e7 --- /dev/null +++ b/net/p5-Net-Ping/pkg-descr @@ -0,0 +1,10 @@ +Net::Ping contains methods to test the reachability of remote hosts on a +network. A ping object is first created with optional parameters, a variable +number of hosts may be pinged multiple times and then the connection is closed. + +You may choose one of six different protocols to use for the ping. The "tcp" +protocol is the default. Note that a live remote host may still fail to be +pingable by one or more of these protocols. For example, www.microsoft.com is +generally alive but not "icmp" pingable. + +WWW: https://metacpan.org/release/Net-Ping diff --git a/net/p5-Net-Ping/pkg-plist b/net/p5-Net-Ping/pkg-plist new file mode 100644 index 000000000000..312683c28d64 --- /dev/null +++ b/net/p5-Net-Ping/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Net/Ping.pm +%%PERL5_MAN3%%/Net::Ping.3.gz |