1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-02-17 19:38:34 +00:00
parent 740f68e7ee
commit fa298a62dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493186
5 changed files with 37 additions and 0 deletions

View File

@ -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

21
net/p5-Net-Ping/Makefile Normal file
View File

@ -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>

3
net/p5-Net-Ping/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1550365898
SHA256 (Net-Ping-2.71.tar.gz) = 0819d0aa87b173e98ecb3ccfd92272ce53c7fc9e86f962f64602a6fa477f7d4f
SIZE (Net-Ping-2.71.tar.gz) = 50863

10
net/p5-Net-Ping/pkg-descr Normal file
View File

@ -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

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Net/Ping.pm
%%PERL5_MAN3%%/Net::Ping.3.gz