Import of Net-Wake-0.02
This package sends wake-on-lan (AKA magic) packets to turn on machines that are wake-on-lan capable. Submitted and maintained by Okan Demirmen <okan at demirmen.com> okay sturm@.
This commit is contained in:
parent
f6fa066df3
commit
d4997d03e6
23
net/p5-Net-Wake/Makefile
Normal file
23
net/p5-Net-Wake/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/04/17 10:39:10 xsa Exp $
|
||||
|
||||
COMMENT= "perl5 module for Wake On LAN"
|
||||
|
||||
DISTNAME= Net-Wake-0.02
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= net perl5
|
||||
|
||||
MAINTAINER= Okan Demirmen <okan@demirmen.com>
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
||||
|
||||
CONFIGURE_STYLE=perl
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/p5-Net-Wake/distinfo
Normal file
3
net/p5-Net-Wake/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Net-Wake-0.02.tar.gz) = c9514b5fb43a06b3343b5c0a498b624e
|
||||
RMD160 (Net-Wake-0.02.tar.gz) = a48aa6be0ccecab88cdd76f2772ef5d9c77c5af2
|
||||
SHA1 (Net-Wake-0.02.tar.gz) = f500ad78cfe0462ed095f7a489bbb9b0b20aa9af
|
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 (AKA magic) 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 omit the colons in the $mac_address, but not leading zeros.
|
||||
|
||||
Generally speaking, you should use a broadcast address for $host. Using
|
||||
the host's last known IP address is usually not sufficient since the IP
|
||||
address may no longer be in the ARP cache. A $host value of
|
||||
'255.255.255.255' is implied if $host is undef. If you wish to send a
|
||||
magic packet to a remote subnet, you can use a variation of
|
||||
'192.168.0.255', given that you know the subnet mask to generate the
|
||||
proper broadcast address.
|
10
net/p5-Net-Wake/pkg/PLIST
Normal file
10
net/p5-Net-Wake/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/04/17 10:39:10 xsa Exp $
|
||||
${P5SITE}/Net/Wake.pm
|
||||
@comment ${P5ARCH}/auto/Net/Wake/.packlist
|
||||
man/man3p/Net::Wake.3p
|
||||
@dirrm man/man3p
|
||||
@comment @dirrm ${P5ARCH}/auto/Net/Wake
|
||||
@comment @dirrm ${P5ARCH}/auto/Net
|
||||
@comment @dirrm ${P5ARCH}/auto
|
||||
@comment @dirrm ${P5ARCH}
|
||||
@dirrm ${P5SITE}/Net
|
Loading…
x
Reference in New Issue
Block a user