diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-Wake/Makefile | 22 | ||||
-rw-r--r-- | net/p5-Net-Wake/distinfo | 1 | ||||
-rw-r--r-- | net/p5-Net-Wake/pkg-comment | 1 | ||||
-rw-r--r-- | net/p5-Net-Wake/pkg-descr | 15 | ||||
-rw-r--r-- | net/p5-Net-Wake/pkg-plist | 5 |
6 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index df606449740e..50c3200e3aa3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -236,6 +236,7 @@ SUBDIR += p5-Net-SSH SUBDIR += p5-Net-Telnet SUBDIR += p5-Net-Traceroute + SUBDIR += p5-Net-Wake SUBDIR += p5-Net-Whois SUBDIR += p5-Net-ext SUBDIR += p5-NetAddr-IP diff --git a/net/p5-Net-Wake/Makefile b/net/p5-Net-Wake/Makefile new file mode 100644 index 000000000000..e3a1cac9c2c2 --- /dev/null +++ b/net/p5-Net-Wake/Makefile @@ -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> diff --git a/net/p5-Net-Wake/distinfo b/net/p5-Net-Wake/distinfo new file mode 100644 index 000000000000..4f9a0783eff8 --- /dev/null +++ b/net/p5-Net-Wake/distinfo @@ -0,0 +1 @@ +MD5 (Net-Wake-0.01.tar.gz) = f6b9d89888153ef4f8c0e55456f6c80e diff --git a/net/p5-Net-Wake/pkg-comment b/net/p5-Net-Wake/pkg-comment new file mode 100644 index 000000000000..52cc5b4241da --- /dev/null +++ b/net/p5-Net-Wake/pkg-comment @@ -0,0 +1 @@ +Send Wake On Lan (WOL) packets to power on computers diff --git a/net/p5-Net-Wake/pkg-descr b/net/p5-Net-Wake/pkg-descr new file mode 100644 index 000000000000..0d54bd75af9b --- /dev/null +++ b/net/p5-Net-Wake/pkg-descr @@ -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> diff --git a/net/p5-Net-Wake/pkg-plist b/net/p5-Net-Wake/pkg-plist new file mode 100644 index 000000000000..f7a2486892f7 --- /dev/null +++ b/net/p5-Net-Wake/pkg-plist @@ -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 |