summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-07 14:36:50 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-07 14:36:50 +0000
commitca0bfba2f57570a7ae71ae0b91e384cd8d2db4ec (patch)
treee2bd479f4f556c5d5df622215b2821e58d41a804
parentadd p5-Class-Date (diff)
add wakeonlan
Sends magic packets to WOL enabled NIC to switch on the called PC PR: 28530 Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
Notes
Notes: svn path=/head/; revision=44880
-rw-r--r--net/Makefile1
-rw-r--r--net/wakeonlan/Makefile23
-rw-r--r--net/wakeonlan/distinfo1
-rw-r--r--net/wakeonlan/pkg-comment1
-rw-r--r--net/wakeonlan/pkg-descr4
-rw-r--r--net/wakeonlan/pkg-plist5
6 files changed, 35 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 0f22f6b35ad9..af639818d236 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -390,6 +390,7 @@
SUBDIR += vrrp
SUBDIR += vtun
SUBDIR += wais
+ SUBDIR += wakeonlan
SUBDIR += walker
SUBDIR += whatmask
SUBDIR += wide-dhcp
diff --git a/net/wakeonlan/Makefile b/net/wakeonlan/Makefile
new file mode 100644
index 000000000000..b056876cced5
--- /dev/null
+++ b/net/wakeonlan/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: wakeonlan
+# Date created: 30 June 2001
+# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wakeonlan
+PORTVERSION= 0.40
+CATEGORIES= net
+MASTER_SITES= http://gsd.di.uminho.pt/jpo/software/wakeonlan/downloads/
+
+MAINTAINER= ports@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN1= wakeonlan.1
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/examples/lab001.wol ${PREFIX}/share/examples/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/wakeonlan/distinfo b/net/wakeonlan/distinfo
new file mode 100644
index 000000000000..32f753bec078
--- /dev/null
+++ b/net/wakeonlan/distinfo
@@ -0,0 +1 @@
+MD5 (wakeonlan-0.40.tar.gz) = d045e8e4c1db580e9bc16404c711dabc
diff --git a/net/wakeonlan/pkg-comment b/net/wakeonlan/pkg-comment
new file mode 100644
index 000000000000..6a976a26c679
--- /dev/null
+++ b/net/wakeonlan/pkg-comment
@@ -0,0 +1 @@
+Sends magic packets to WOL enabled NIC to switch on the called PC
diff --git a/net/wakeonlan/pkg-descr b/net/wakeonlan/pkg-descr
new file mode 100644
index 000000000000..ca92fb9fbdbb
--- /dev/null
+++ b/net/wakeonlan/pkg-descr
@@ -0,0 +1,4 @@
+Wakeonlan is a Perl script that sends 'magic packets' to wake-on-LAN enabled
+ethernet adapters and motherboards, in order to switch on remote computers.
+
+WWW: http://gsd.di.uminho.pt/jpo/software/wakeonlan/
diff --git a/net/wakeonlan/pkg-plist b/net/wakeonlan/pkg-plist
new file mode 100644
index 000000000000..0ea3783ed223
--- /dev/null
+++ b/net/wakeonlan/pkg-plist
@@ -0,0 +1,5 @@
+bin/wakeonlan
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/wakeonlan/.packlist
+share/examples/wakeonlan/lab001.wol
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/wakeonlan
+@dirrm share/examples/wakeonlan