mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Add p5-Net-Ping-External 0.11,
Net::Ping::External is a module which interfaces with the "ping" command on many systems. It presently provides a single function, ping(), that takes in a hostname and (optionally) a timeout and returns true if the host is alive, and false otherwise. Unless you have the ability (and willingness) to run your scripts as the superuser on your system, this module will probably provide more accurate results than Net::Ping will. PR: ports/63826 Submitted by: Douglas Thrift <douglas@douglasthrift.net>
This commit is contained in:
parent
6a5b943ba0
commit
9c0586294f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103548
@ -419,6 +419,7 @@
|
||||
SUBDIR += p5-Net-ParseWhois
|
||||
SUBDIR += p5-Net-Patricia
|
||||
SUBDIR += p5-Net-Pcap
|
||||
SUBDIR += p5-Net-Ping-External
|
||||
SUBDIR += p5-Net-Radius
|
||||
SUBDIR += p5-Net-RawIP
|
||||
SUBDIR += p5-Net-RawSock
|
||||
|
22
net/p5-Net-Ping-External/Makefile
Normal file
22
net/p5-Net-Ping-External/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: p5-Net-Ping-External
|
||||
# Date created: March 5th 2004
|
||||
# Whom: Douglas Thrift <douglas@douglasthrift.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Net-Ping-External
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Net
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= douglas@douglasthrift.net
|
||||
COMMENT= Perl cross-platform interface to ICMP "ping" utilities
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Net::Ping::External.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/p5-Net-Ping-External/distinfo
Normal file
2
net/p5-Net-Ping-External/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Net-Ping-External-0.11.tar.gz) = de9fd436c6749e1a2330eae4aae856fb
|
||||
SIZE (Net-Ping-External-0.11.tar.gz) = 6377
|
12
net/p5-Net-Ping-External/pkg-descr
Normal file
12
net/p5-Net-Ping-External/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
Net::Ping::External is a module which interfaces with the "ping"
|
||||
command on many systems. It presently provides a single function,
|
||||
ping(), that takes in a hostname and (optionally) a timeout and
|
||||
returns true if the host is alive, and false otherwise. Unless you
|
||||
have the ability (and willingness) to run your scripts as the
|
||||
superuser on your system, this module will probably provide more
|
||||
accurate results than Net::Ping will.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Net-Ping-External/
|
||||
|
||||
- Douglas Thrift
|
||||
douglas@douglasthrift.net
|
7
net/p5-Net-Ping-External/pkg-plist
Normal file
7
net/p5-Net-Ping-External/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Net/Ping/External.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Ping/External/.packlist
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Net/Ping 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Ping/External
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Ping 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user