Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 20:56:41 +0900 (JST)
From:      mistral@imasy.or.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26595: New port: p5-Net-Wake
Message-ID:  <200104151156.f3FBueR38769@mistral.imasy.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         26595
>Category:       ports
>Synopsis:       New port: p5-Net-Wake (a perl5 interface for Wake-On-Lan)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 15 06:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 4.3-RC i386
>Organization:
>Environment:
System: FreeBSD mistral.imasy.or.jp 4.3-RC FreeBSD 4.3-RC #6: Wed Apr 11 11:46:29 JST 2001 yohta@mistral.imasy.or.jp:/usr/obj/usr/src/sys/PCG-505R i386


	
>Description:
	A new port for p5-Net-Wake. This perl5 module is for Wake-On-Lan.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net
#	net/p5-Net-Wake
#	net/p5-Net-Wake/Makefile
#	net/p5-Net-Wake/distinfo
#	net/p5-Net-Wake/pkg-comment
#	net/p5-Net-Wake/pkg-descr
#	net/p5-Net-Wake/pkg-plist
#
echo c - net
mkdir -p net > /dev/null 2>&1
echo c - net/p5-Net-Wake
mkdir -p net/p5-Net-Wake > /dev/null 2>&1
echo x - net/p5-Net-Wake/Makefile
sed 's/^X//' >net/p5-Net-Wake/Makefile << 'END-of-net/p5-Net-Wake/Makefile'
X# New ports collection makefile for:	p5-Net-Wake-0.01
X# Date created:				15 April 2001
X# Whom:	      				Yoshihiko Sarumaru <mistral@imasy.or.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Net-Wake
XPORTVERSION=	0.01
XCATEGORIES=	net perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Net
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	mistral@imasy.or.jp
X
XPERL_CONFIGURE=	yes
X
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=		Net::Wake.3
X
X.include <bsd.port.mk>
END-of-net/p5-Net-Wake/Makefile
echo x - net/p5-Net-Wake/distinfo
sed 's/^X//' >net/p5-Net-Wake/distinfo << 'END-of-net/p5-Net-Wake/distinfo'
XMD5 (Net-Wake-0.01.tar.gz) = f6b9d89888153ef4f8c0e55456f6c80e
END-of-net/p5-Net-Wake/distinfo
echo x - net/p5-Net-Wake/pkg-comment
sed 's/^X//' >net/p5-Net-Wake/pkg-comment << 'END-of-net/p5-Net-Wake/pkg-comment'
XA package to send packets to power on computers
END-of-net/p5-Net-Wake/pkg-comment
echo x - net/p5-Net-Wake/pkg-descr
sed 's/^X//' >net/p5-Net-Wake/pkg-descr << 'END-of-net/p5-Net-Wake/pkg-descr'
XThis package sends wake-on-lan packets to turn on machines
Xthat are wake-on-lan capable.
X
XFor now there is only one function in this package:
X
XNet::Wake::by_udp(host, mac_address, [port]);
X
XYou can power on PCs by
Xperl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
X
XYou can also specify broadcast address for `host'. It is useful in a
Xintelligent network.
X
X--
XYoshihiko Sarumaru <mistral@imasy.or.jp>
END-of-net/p5-Net-Wake/pkg-descr
echo x - net/p5-Net-Wake/pkg-plist
sed 's/^X//' >net/p5-Net-Wake/pkg-plist << 'END-of-net/p5-Net-Wake/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Net/Wake.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Wake/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Wake
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
END-of-net/p5-Net-Wake/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104151156.f3FBueR38769>