initial import of p5-Net-Ping-External

--
Net::Ping::External is a module which interfaces with the ping(1) 
command on the system. 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 (bundled with the perl
base installation) will.
This commit is contained in:
heko 2001-09-20 14:00:26 +00:00
parent 8a7bdfc84b
commit d0774cb5fd
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/20 14:00:26 heko Exp $
COMMENT= "alternative Perl interface to ping(1)"
DISTNAME= Net-Ping-External-0.06
PKGNAME= p5-${DISTNAME}
CATEGORIES= net
NEED_VERSION= 1.457
MAINTAINER= Heikki Korpela <heko@openbsd.org>
# License: Artistic / GPL.
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
CONFIGURE_STYLE= perl
test: build
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} test
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Net-Ping-External-0.06.tar.gz) = 66aacebadd4a9f8cc01d783d82d5c411
RMD160 (Net-Ping-External-0.06.tar.gz) = 31c2de277f8870b9887d94b4892e7e27bf7674a6
SHA1 (Net-Ping-External-0.06.tar.gz) = c9638fc01b8ee2aa809414437dde543b40277e61

View File

@ -0,0 +1,9 @@
Net::Ping::External is a module which interfaces with the ping(1)
command on the system. 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 (bundled with the perl
base installation) will.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/20 14:00:26 heko Exp $
libdata/perl5/site_perl/Net/Ping/External.pm
man/man3/Net::Ping::External.3p
@dirrm libdata/perl5/site_perl/Net/Ping