Add p5-Net-Wake 0.01, Send Wake On Lan (WOL) packets to power on computers.
PR: 26595 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
This commit is contained in:
parent
41caa65c20
commit
cf9046834a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41438
6 changed files with 45 additions and 0 deletions
|
@ -236,6 +236,7 @@
|
||||||
SUBDIR += p5-Net-SSH
|
SUBDIR += p5-Net-SSH
|
||||||
SUBDIR += p5-Net-Telnet
|
SUBDIR += p5-Net-Telnet
|
||||||
SUBDIR += p5-Net-Traceroute
|
SUBDIR += p5-Net-Traceroute
|
||||||
|
SUBDIR += p5-Net-Wake
|
||||||
SUBDIR += p5-Net-Whois
|
SUBDIR += p5-Net-Whois
|
||||||
SUBDIR += p5-Net-ext
|
SUBDIR += p5-Net-ext
|
||||||
SUBDIR += p5-NetAddr-IP
|
SUBDIR += p5-NetAddr-IP
|
||||||
|
|
22
net/p5-Net-Wake/Makefile
Normal file
22
net/p5-Net-Wake/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# New ports collection makefile for: p5-Net-Wake-0.01
|
||||||
|
# Date created: 15 April 2001
|
||||||
|
# Whom: Yoshihiko Sarumaru <mistral@imasy.or.jp>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= Net-Wake
|
||||||
|
PORTVERSION= 0.01
|
||||||
|
CATEGORIES= net perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= Net
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= mistral@imasy.or.jp
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||||
|
MAN3= Net::Wake.3
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
net/p5-Net-Wake/distinfo
Normal file
1
net/p5-Net-Wake/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (Net-Wake-0.01.tar.gz) = f6b9d89888153ef4f8c0e55456f6c80e
|
1
net/p5-Net-Wake/pkg-comment
Normal file
1
net/p5-Net-Wake/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Send Wake On Lan (WOL) packets to power on computers
|
15
net/p5-Net-Wake/pkg-descr
Normal file
15
net/p5-Net-Wake/pkg-descr
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
This package sends wake-on-lan packets to turn on machines
|
||||||
|
that are wake-on-lan capable.
|
||||||
|
|
||||||
|
For now there is only one function in this package:
|
||||||
|
|
||||||
|
Net::Wake::by_udp(host, mac_address, [port]);
|
||||||
|
|
||||||
|
You can power on PCs by
|
||||||
|
perl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
|
||||||
|
|
||||||
|
You can also specify broadcast address for `host'. It is useful in a
|
||||||
|
intelligent network.
|
||||||
|
|
||||||
|
--
|
||||||
|
Yoshihiko Sarumaru <mistral@imasy.or.jp>
|
5
net/p5-Net-Wake/pkg-plist
Normal file
5
net/p5-Net-Wake/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/Net/Wake.pm
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Wake/.packlist
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Wake
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
|
Loading…
Reference in a new issue